json_exporter
json_exporter copied to clipboard
A prometheus exporter which scrapes remote JSON by JSONPath
These changes allow users to define value mappings within the config file. By defining these mappings, values that are strings can be converted into a number. Included: - tests -...
I'm using https://quay.io/repository/prometheuscommunity/json-exporter Couple of my instances that I want to monitor are under local domain and I want to attach root certificate to json_exporter container. Please, advice how is...
Hi folks, Is there any way to convert directly GoLang struct to exporter yaml configuration? We've a go service that expose data as JSON but we need to convert these...
Hi all, I am thoroughly enjoying this tool, but I have reached a weird obstacle regarding parsing through data. Here's the issue: I have a JSON file that is structured...
Hi, I'm getting below error on prometheus console log while scraping metrics from [json_exporter](https://github.com/prometheus-community/json_exporter/tree/c487740bb83f5b2a682d99161cbe8e4209ba4b2e). Target endpoint is available and able to get response with curl using basic authentication. ts=2022-04-18T20:58:07.156Z caller=scrape.go:1292...
With this PR, I want to follow up on #97 after following along the discussion in #80. I was lacking this functionality, as i was scraping broadcasted messages from a...
I think we can set this header by configuration file. In our case our web service have error when json exporter send Accept header.
Some APIs that return numeric values as a string that include commas or underscores to separate digit groups. For example, `"1,000"`. This causes an error in `SanitizeValue` when the string...
Is there a way to add the support of cookie file in the request header? The cURL request must look like that: `curl 'https://172.17.101.150/rest/v1/banner/post_auth' -H 'Cookie: id=550orR9UL-Q3yBx4IWOwNQ==; user=eyJ1c2VyIjoiYWRtaW4iLCJsZXZlbCI6MTUsInR5cGUiOiJMT0NBTCIsIm1ldGhvZCI6IkxPQ0FMIn0=' ` The...
if we want to count json objects with same values we can use countbylabel type in the metric configuration