[Enriching Prometheus metrics with exemplars for easier observation of a distributed system

30

2

Nathan Deamer](https://medium.com/go-city/enriching-prometheus-metrics-with-exemplars-for-easier-observation-of-a-distributed-system-e6b2fd0c6b74?source=post_page-----a6ddae727aed---------------------------------------)

Nathan Deamer

Follow

Jun 24, 2022

Exemplars also work on other metric types, such as counters:

Counter.builder("hello_world_counter").register(registry).increment();

No responses yet

hello_world_counter_total 1.0 # {span_id="6762b20d5804da9e",trace_id="6762b20d5804da9e"} 1.0 1656066332.725

Follow

Recommended from Medium

In

Write A Catalyst

by

Dr. Patricia Schmidt 🧠

·

Jan 14

[**As a Neuroscientist, I Quit These 5 Morning Habits That Destroy Your Brain**

**Most people do #1 within 10 minutes of waking (and it sabotages your entire day)**](https://medium.com/write-a-catalyst/as-a-neuroscientist-i-quit-these-5-morning-habits-that-destroy-your-brain-3efe1f410226?source=post_page---read_next_recirc--a6ddae727aed----0---------------------061a29fe_b669_4d13_acf7_3778b23cb528--------------)