Observability Instrumentation

OrtaopsEn az 32K bağlam

Adds production-grade observability to a codebase by instrumenting it with structured logs, metrics, and distributed traces. Recommends span boundaries, cardinality-safe labels, and OpenTelemetry conventions, then generates the wiring code and dashboards needed to make a service debuggable in production.

Kullanım alanları

  • Adding OpenTelemetry tracing to an existing service
  • Defining metrics and SLIs for a new API
  • Reducing metric cardinality that is blowing up costs
  • Standardizing structured logging across microservices

Örnek prompt

Instrument this Express.js service with OpenTelemetry. Add distributed tracing around the
route handlers and database calls, emit request-rate/error-rate/latency metrics, and switch
console logs to structured JSON logs with a trace_id field. Explain span boundaries and any
cardinality risks in the labels you choose.

```
[paste service code here]
```

Önerilen modeller

Uyumlu araçlar

claude-codecursorkiroany

Modaliteler

Giriş: code, text
Çıkış: code, text

İlgili Skills

Yazar

OpenModels Community

@openmodelsrun