Metrics
Use this section when you want to record application metrics or expose runtime metrics with otel4s.
Start here
- Record counters, histograms, and observable measurements in application code: Record application metrics
- Run code that requires a meter without recording or exporting measurements: Provide a no-op meter
- Create instruments with metadata from OpenTelemetry semantic conventions: Create metrics from semantic metric specs
- Customize histogram buckets for a specific metric: Customize histogram buckets
- Export Cats Effect runtime metrics from your application: Register Cats Effect runtime metrics
- Export JVM runtime metrics such as memory, threads, and GC activity: Register JVM runtime metrics