Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OTLP metric to line protocol: failed to write point for gauge #276

Open
jagratac opened this issue Aug 26, 2023 · 0 comments
Open

OTLP metric to line protocol: failed to write point for gauge #276

jagratac opened this issue Aug 26, 2023 · 0 comments

Comments

@jagratac
Copy link

I am tring to get metrics form Pixie telemetry -> Otelp(otel agent ) -> Otel-gateway -> influxDB
os: Ubuntu 22.04
version: influx container 2.3.0-alpine
"2023-08-23T04:03:57.940Z error exporterhelper/queued_retry.go:401 Exporting failed. The error is not retryable. Dropping data. {"kind": "exporter", "data_type": "metrics", "name": "influxdb", "error": "Permanent error: failed to convert OTLP metric to line protocol: failed to write point for gauge: Permanent error: failed to encode point: encoding point 22: invalid tag value service.name=""", "dropped_items": 2570}
go.opentelemetry.io/collector/exporter/exporterhelper.(*retrySender).send
go.opentelemetry.io/collector@v0.71.0/exporter/exporterhelper/queued_retry.go:401
go.opentelemetry.io/collector/exporter/exporterhelper.(*metricsSenderWithObservability).send
go.opentelemetry.io/collector@v0.71.0/exporter/exporterhelper/metrics.go:136
go.opentelemetry.io/collector/exporter/exporterhelper.(*queuedRetrySender).start.func1
go.opentelemetry.io/collector@v0.71.0/exporter/exporterhelper/queued_retry.go:205
go.opentelemetry.io/collector/exporter/exporterhelper/internal.(*boundedMemoryQueue).StartConsumers.func1
go.opentelemetry.io/collector@v0.71.0/exporter/exporterhelper/internal/bounded_memory_queue.go:61"

here is my Otel configuration

receivers:

otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318

processors:
batch:

exporters:
influxdb:
endpoint: http://influxdb2:32702
timeout: 500ms
org:
bucket:
token:
metrics_schema: telegraf-prometheus-v1

service:

pipelines:

traces:
  receivers: [otlp]
  processors: [batch]
  exporters: [influxdb]

metrics:
  receivers: [otlp]
  processors: [batch]
  exporters: [influxdb]

logs:
  receivers: [otlp]
  processors: [batch]
  exporters: [influxdb]

how i can resolve this error? could you please provide some info.

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

No branches or pull requests

1 participant