[receiver/splunkhec] if a receiver is used for metrics and logs, metrics are lost #27473
Closed
Description
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
Activity
github-actions commentedon 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.
[receiver/splunkhec] Metrics dropped when logs used (#27474)
[receiver/splunkhec] Metrics dropped when logs used (open-telemetry#2…