Closed trthomps closed 1 month ago
The committers listed above are authorized under a signed CLA.
Would be good to have a test
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 84.6%. Comparing base (
30c4a9a
) to head (3700b79
). Report is 1 commits behind head on main.
Would be good to have a test
@dashpole Added a test, let me know if you know of a better way to test this, I did step through the debugger and exemplars are getting added to the DataPoint
.
Thanks so much for working with me on this @dashpole.
Prometheus Gauge metrics don't support exemplars and while
addGaugeMetric()
doesn't add them,addSumMetric()
will if the metric is monotonic. This causes the prometheus client to throw an error: