Skip to content

docs: document otel request/k8s tracing and log correlation - #499

Open
psanghvi17 wants to merge 3 commits into
mainfrom
EPINIO-688-689-690-otel-docs
Open

psanghvi17 wants to merge 3 commits into
mainfrom
EPINIO-688-689-690-otel-docs

Conversation

@psanghvi17

Copy link
Copy Markdown
Contributor

Summary

Documents the OpenTelemetry observability work across three Epinio PRs:

Changes

  • Updated docs/reference/cli/epinio_server.md with the --otel-exporter-otlp-endpoint / --otel-exporter-otlp-protocol flags (generated from the CLI's own flag help text).
  • Expanded docs/how-to/operator/operations/enable_request_tracing.md into a single how-to covering all three signals: enabling tracing, what gets traced (API requests + Kubernetes API calls), log/trace correlation, enabling traces or logs independently via their signal-specific OTEL_EXPORTER_OTLP_*_ENDPOINT env vars, and collector-unavailable behavior.

This addresses the outstanding review comment on epinio/epinio#3131 asking for documentation before merge.

Epinio server now supports OTLP trace export via the otelgin
middleware, configurable through --otel-exporter-otlp-endpoint and
--otel-exporter-otlp-protocol (or their OTEL_EXPORTER_OTLP_* env var
equivalents).
The otel-exporter-otlp-protocol flag description was stale relative to
the current server code. Also add a how-to page covering what gets
traced, how to enable it, and the websocket exclusion.
@netlify

netlify Bot commented Sep 18, 2026

Copy link
Copy Markdown

Deploy Preview for epinio-docs-staging ready!

Name Link
🔨 Latest commit a7e7f1b
🔍 Latest deploy log https://app.netlify.com/projects/epinio-docs-staging/deploys/6aacc15f8177940008bc5df2
😎 Deploy Preview https://deploy-preview-499--epinio-docs-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Extend the request-tracing how-to with the two follow-on pieces of the
OpenTelemetry work: client spans for outbound Kubernetes API calls
(EPINIO-689, parented under the triggering request span, baggage
intentionally not propagated), and trace/span correlation fields on
exported logs (EPINIO-690), plus the signal-specific endpoint env vars
that enable traces and logs independently of each other.
@psanghvi17
psanghvi17 force-pushed the EPINIO-688-689-690-otel-docs branch from ee6d0b7 to a7e7f1b Compare September 18, 2026 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant