Open bartoszcisek opened 1 year ago
@elastic/obs-cloudnative-monitoring don't you think this should be transferred to the https://github.com/elastic/integrations repository?
Yes I agree it falls into under the category of Prometheus Integration.
cc @elastic/obs-infraobs-integrations that are the owners
Having second thoughts for the implementation, the enhancement might need a variable substitution in agent side. But because it will need also some changes on the prometheus integration itself it is better to have the initial issue tracked in integrations
I added some comments in the integration issue (https://github.com/elastic/integrations/issues/7886#issuecomment-1792000387). The integration seems to be working as expected (at least on my understanding). It looks to be a miss configuration.
Describe the enhancement:
Currently prometheus integration
query
config variable accept variables, but escape them before creating query.Results in query to
json-exporter
:Describe a specific use case for the enhancement or feature:
json_exporter
,blackbox_exporter
allow unified configuration where specific endpoint url is passed viatarget
variable.What is the definition of done?
Query variables allow URL type values, which are not escaped.