Skip to main content

Observability (OpenTelemetry)

The 2026 Gold Standard for Monitoring.

Primus Observability is a vendor-neutral telemetry solution built on OpenTelemetry (OTel). It replaces legacy, vendor-specific logging SDKs with a unified standard that collects Logs, Metrics, and Distributed Traces automatically.

Why Observability?

Logging tells you what happened. Observability tells you why it happened.

FeatureLegacy LoggingPrimus Observability (OTel)
TracingManual CorrelationAutomatic Distributed Tracing
MetricsSeparate AgentBuilt-in Metrics (HTTP, CPU, GC)
VendorLocked-inUniversal (Switch via config)
ContextManual ScopesAutomatic Propagation

What it Captures

By adding one line of code, your application automatically reports:

  • HTTP Requests: Inbound API calls (Status codes, Latency).
  • Dependencies: Outbound HttpClient calls to other services.
  • Runtime Metrics: CPU usage, Memory consumption, Garbage Collection stats.
  • Structured Logs: Connects logs to traces (TraceID injection).

Next Steps