[Feature]: spm additional query parameter required for prometheus #4221
Closed
Description
Requirement
I am using a global prometheus for spm where I need to add a specific query parameter to get data.
Currently no parameter is available to define an additional query parameter.
I only found --query.base-path which does not fit.
Problem
spm sends only e.g. "/api/v1/query?query=up", but I need to send "/api/v1/query?query=up&mykey=myvalue"
otherwise I don't get any data.
Proposal
please provide another parameter, eg. --query.additional-parameter.
Open questions
No response
Activity