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

coralogixexporter auth issue #18096

Closed
povilasv opened this issue Jan 30, 2023 · 1 comment
Closed

coralogixexporter auth issue #18096

povilasv opened this issue Jan 30, 2023 · 1 comment
Labels
bug Something isn't working exporter/coralogix needs triage New item requiring triage

Comments

@povilasv
Copy link
Contributor

Component(s)

exporter/coralogix

What happened?

Description

Recent version caused a bug with coralogix exporter, if you had only used metrics or traces pipeline it would fail with authentication issue

Collector version

v0.70.0

Environment information

Environment

OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")

OpenTelemetry Collector configuration

coralogix/metrics:
  endpoint: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  private_key: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  metrics:
    endpoint: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  application_name: "APP_NAME"
  subsystem_name: "SUBSYSTEM_NAME"
  timeout: 5s

Log output

2023-01-29T02:23:16.287Z	error	exporterhelper/queued_retry.go:394	Exporting failed. The error is not retryable. Dropping data.	{"kind": "exporter", "data_type": "metrics", "name": "coralogix", "error": "Permanent error: rpc error: code = Unauthenticated desc = No valid auth token", "dropped_items": 187}
go.opentelemetry.io/collector/exporter/exporterhelper.(*retrySender).send
	go.opentelemetry.io/[email protected]/exporter/exporterhelper/queued_retry.go:394
go.opentelemetry.io/collector/exporter/exporterhelper.(*metricsSenderWithObservability).send
	go.opentelemetry.io/[email protected]/exporter/exporterhelper/metrics.go:136
go.opentelemetry.io/collector/exporter/exporterhelper.(*queuedRetrySender).start.func1
	go.opentelemetry.io/[email protected]/exporter/exporterhelper/queued_retry.go:205
go.opentelemetry.io/collector/exporter/exporterhelper/internal.(*boundedMemoryQueue).StartConsumers.func1
	go.opentelemetry.io/[email protected]/exporter/exporterhelper/internal/bounded_memory_queue.go:61


### Additional context

_No response_
@povilasv povilasv added bug Something isn't working needs triage New item requiring triage labels Jan 30, 2023
@github-actions
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

codeboten pushed a commit that referenced this issue Feb 21, 2023
…ue (#18095)

Fixing coralogixexporter authentication issue, which happens when coralogix is used with only metrics or only traces option.

Link to tracking Issue: #18096
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working exporter/coralogix needs triage New item requiring triage
Projects
None yet
Development

No branches or pull requests

1 participant