Service metrics in json format
See original GitHub issueHello!
Endpoint /api/v1/metrics/{{service}}/
produces response like this:
Microsoft.AspNetCore.Hosting/failed-requests{instance="api_70f4d32f-5"} 0
System.Runtime/gen-1-gc-count{instance="api_70f4d32f-5"} 0
Microsoft.AspNetCore.Hosting/current-requests{instance="api_70f4d32f-5"} 0
Microsoft.AspNetCore.Hosting/total-requests{instance="api_70f4d32f-5"} 0
Microsoft.AspNetCore.Hosting/requests-per-second{instance="api_70f4d32f-5"} 0
I found this format difficult to parse. Would you mind making it more json-way, please?
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
JSON format
In a CloudWatch metric stream that uses the JSON format, each Kinesis Data Firehose record contains multiple JSON objects separated by a newline...
Read more >Transforming remote JSON into Prometheus metrics
Have you ever thought to turn JSON objects into Prometheus format metrics? The prometheus-json-exporter scrapes remote JSON by JSONPath.
Read more >Adding metric descriptors to the metrics JSON file
Specify the full path to the metrics.json file for the Big Match service that you want to update. For example: ./addTableMetrics.py -t ...
Read more >Prometheus json metrics
I have setup the Prometheus blackbox_exporter to monitor that this endpoint returns 200 Ok however I'd ideally like to get those metrics too....
Read more >Metric streams output formats - Amazon CloudWatch
The data in a CloudWatch metric stream can be in the JSON format or the OpenTelemetry format. Currently, the version of OpenTelemetry format...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s currently the Prometheus format I believe
Closing per #1130.