client library
A library you add to your code that provides ready-made counters, histograms, spans and exporters so you do not write the plumbing yourself.
In more detail
Client libraries can time requests, create server spans and pass trace context automatically. They cannot know the business meaning of an operation, so your code still names important steps and records safe business attributes.
Related terms
- instrumentation — Code, often a library, that makes an application emit telemetry about its operations.
- automatic instrumentation — Telemetry a library or agent adds for you, for example by wrapping common web frameworks and HTTP clients, without you writing it.
- exporter — A component that sends telemetry out to a backend; in the collector it is the last stage of a pipeline.
Taught in
- Instrumenting A Service With Client Libraries — Full-Stack Observability: Metrics, Tracing & Logging
- Forty Seconds At Two: Push, Pull And Service Discovery — Prometheus Certified Associate (PCA) Exam Prep
- Under A Second, On Average: Histograms — Prometheus Certified Associate (PCA) Exam Prep
- PromQL Sprint: Ten Queries At Minute Twenty Two — Prometheus Certified Associate (PCA) Exam Prep
- Thirty Second Checkouts Nobody Saw: Client Libraries — Prometheus Certified Associate (PCA) Exam Prep
- Instrumentation Sprint: Sixteen Calls On Code And Exporters — Prometheus Certified Associate (PCA) Exam Prep