json_exporter
json_exporter copied to clipboard
A prometheus exporter which scrapes remote JSON by JSONPath
I'm pulling metrics from a device that doesn't include them if they aren't valid in the current state. json_exporter doesn't output the specific missing metrics in such cases, but does...
Sometimes a JSON result is not float value. And thus can not be parsed to an float64. Example error: (msg="Failed to convert extracted value to float64" path={.state} value=GREEN err="strconv.ParseFloat: parsing...
Hi Team , I am from mainframe background and trying to add my data from mainframe which is available in json format to prometheus and came across this json_exporter ....
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.28.3 to 0.31.1. Commits c5196eb Update dependencies to v0.31.1 tag 5e3e8ea informers: add comment that Start does not block f71a5cc Call non-blocking informerFactory.Start synchronously to avoid races...
Add transformation feature. Addresses issue documented here: https://github.com/prometheus-community/json_exporter/pull/133 Allows for json object to get filtered by JQ before the json path is applied.
I can scrape a single object from the following data [kyoto-dst.json](https://github.com/user-attachments/files/17008508/kyoto-dst.json) using configuration like this: ``` modules: kyoto_dst: metrics: - name: kyoto_dst_value path: '{ [1][1] }' help: "Kyoto Dst Index...
Hello! I get errors with the following configuration ` ...Failed to execute jsonpath... or ...Failed to extract json objects for metric... ` data.json ```json { "status": "UP", "components": { "SERVICE_1":...
Hi, sorry for the long message but I can't figure out why some metrics (like ram, file system, MAC address, etc.) aren't being read from the JSON exporter. On the...
Currently, It is not possible to define in the helm chart (or at least: it's not documented as possible) targets so and their respective `PodMonitoring` Resources, so that JSON exporter...
It would be useful to enable the jsonpath AllowMissingKeys attribute on a per metrics basis. i.e. in extractValue func, if there isn't a jsonpath match then return an empty response...