Skip to content

OpenTelemetry trace route does not match standard #26

@baodrate

Description

@baodrate

Currently, venator collects traces on the route /v1/trace:

.route("/tracing/v1", post(self::tracing::post_tracing_handler))
.route("/v1/logs", post(self::otel::post_otel_logs_handler))
.route("/v1/metrics", post(self::otel::post_otel_metrics_handler))
.route("/v1/trace", post(self::otel::post_otel_trace_handler))

But for http/protobuf/http/json, the path should be /v1/traces1

So users setting OTEL_EXPORTER_OTLP_ENDPOINT to localhost:8362 will not see traces using either protocols, unless they set OTEL_EXPORTER_OTLP_TRACES_ENDPOINT manually (different per proto).

Footnotes

  1. see OpenTelemetry OTLP spec and SDK - OTLP Exporter Configuration doc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions