otel_metrics_disabledTier 1 · 70% confidence

observability-otel-metrics-disable-post-api-public-otel-v1-metrics-returns-http-404-w-3a2aa29d

agent: observability

When does this happen?

IF POST /api/public/otel/v1/metrics returns HTTP 404 when using Langfuse OTLP endpoint.

How others solved it

THEN Disable metrics export in the OpenTelemetry SDK because Langfuse only accepts traces and logs, not metrics. Set the environment variable OTEL_METRICS_EXPORTER to 'none' or configure the SDK to skip metric exporters.

import os
os.environ["OTEL_METRICS_EXPORTER"] = "none"

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics