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

[receiver/splunkhec] if a receiver is used for metrics and logs, metrics are lost #27473

Closed
atoulme opened this issue Oct 6, 2023 · 1 comment · Fixed by #27474
Closed

[receiver/splunkhec] if a receiver is used for metrics and logs, metrics are lost #27473

atoulme opened this issue Oct 6, 2023 · 1 comment · Fixed by #27474
Assignees
Labels
bug Something isn't working receiver/splunkhec

Comments

@atoulme
Copy link
Contributor

atoulme commented Oct 6, 2023

Component(s)

receiver/splunkhec

What happened?

Description

The splunkhecreceiver loses metrics sent to it when used for both metrics and logs.

Steps to Reproduce

Set up the same receiver for metrics and logs (used in a pipeline in both metrics and logs pipeline)
Send metric data to the receiver.

Expected Result

Metrics should make past the receiver.

Actual Result

No metrics are consumed.

Collector version

0.86.0

Environment information

Environment

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

OpenTelemetry Collector configuration

No response

Log output

No response

Additional context

No response

@atoulme atoulme added bug Something isn't working needs triage New item requiring triage labels Oct 6, 2023
@atoulme atoulme self-assigned this Oct 6, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2023

Pinging code owners for receiver/splunkhec: @atoulme. See Adding Labels via Comments if you do not have permissions to add labels yourself.

@crobert-1 crobert-1 removed the needs triage New item requiring triage label Oct 9, 2023
TylerHelmuth pushed a commit that referenced this issue Oct 10, 2023
**Description:**
Fix metrics dropped when logs and metrics used at the same time

**Link to tracking Issue:**
Fixes #27473 

**Testing:**
Unit tests.
jmsnll pushed a commit to jmsnll/opentelemetry-collector-contrib that referenced this issue Nov 12, 2023
…7474)

**Description:**
Fix metrics dropped when logs and metrics used at the same time

**Link to tracking Issue:**
Fixes open-telemetry#27473 

**Testing:**
Unit tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working receiver/splunkhec
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants