Open clux opened 3 years ago
Asked in grafana's agent slack
Grafana Agent changelog implies agent 0.13 is on prometheus 0.25, and 0.26 was released literally yesterday with the exemplar pr merged. From the looks of the PR it looks like it includes the necessary changes to the scraper, so will probably have to wait for the agent to pick it up, or try to run a headless prometheus myself.
EDIT: agent testing is not possible for a while because remote_write
support is missing for exemplars, and grafana cloud will need exemplar support in cortex.
Based on issues in prometheus https://github.com/prometheus/prometheus/issues/8707 it's possible that exemplar scraping does not work in prometheus 2.26. I could not get it to work at any rate. If it's meant to work, I'll open an issue.
error while linting: text format parsing error in line 12: expected integer as timestamp, got "#"
I am not sure that promtool check metrics checks the openmetrics format, it might just do the Prometheus text format.
We have Loki -> Tempo support so people can discover bad reconcile traces from a controller's logs. However, it would be much easier to do this based on exemplars in the tail end of its new histogram.
This currently isn't working. Here's a WIP issue.
I have a hacky implementation of exmplars in https://github.com/tikv/rust-prometheus/pull/395. With the use in
master
, it outputs:which SHOULD be in line with the openmetric spec on exemplars even matches the exemplar example
promtool
2.26 does not give good info on this (but then, not sure if it has support yet, exemplars are experimental thus far.but looks like the grafan agent (0.13) also fails to scrape it:
so we are probably blocked upstream on scraper not understanding the comment hash.
Image that SHOULD work: clux/controller:0.9.3