[v1.5.1] otelcol.connector.spanmetrics
causes erroneous warnings if sourced from anything other then the otelcol.receiver.otlp
#2334
Labels
bug
Something isn't working
What's wrong?
Setup
As per the example on the docs:
is fine.
There are no errors emitted from this configuration
Observation
However: sourcing it from anything else causes an annoying warning to be emitted from the alloy process.
i.e.
Caused:
to double check this, I added a batch processor:
And it caused a similiar warning:
I interpret this as the spanmetrics component being wrong.
Issue
The reason I call it "annoying" is because I have the metrics.
This pipeline is working fine, it's just emitting wrong or erroneous warnings.
Am I doing something wrong with the connector? Is the only "supported" way to hook it directly up to the receiver?
Steps to reproduce
Craft a alloy pipeline that uses a
otelcol.connector.spanmetrics
processor that is sourced from a component that is not theotelcol.receiver.otlp
.System information
Linux (amd64) [Container]
Software version
v1.5.1
Configuration
Logs
The text was updated successfully, but these errors were encountered: