Describe the bug
We have an app that exports traces and metrics and that is now instrumented as described in this comment. Previously we used opentelemetry-collector-contrib version 0.38.0 and we were seeing both metrics and traces come through. Since the upgrade to 0.46.0 this has broken. We confirmed that the metrics are getting exported by the app by changing otel.exporter.otlp.endpoint property to something other than localhost:4317 (OkHttpGrpcExporter reacted by throwing errors).
Steps to reproduce
We use docker-compose to set-up our collector and apm server. These are the relevant lines from the docker-compose.yml file:
On the application side we use the autoconfigure module - both opentelemetry-api and javaagent are versions 1.12.0.
What did you expect to see?
With debug level logging enabled ☝️ we would expect to see metrics (gauges, histogram, etc.) from the application appear in followed logs.
What did you see instead?
There is plenty of metrics such as queueSize, runtime.jvm.memory.area etc. but nothing application specific.
What version did you use?
Version: v0.46.0
What config did you use?
This is the referenced in docker-compose.ymlotel-collector-config.yml file:
Additional context
As an example, there was a configuration change about the expected config location (I think the new expected location is /etc/otelcol-contrib/).
Describe the bug We have an app that exports traces and metrics and that is now instrumented as described in this comment. Previously we used
opentelemetry-collector-contrib
version0.38.0
and we were seeing both metrics and traces come through. Since the upgrade to0.46.0
this has broken. We confirmed that the metrics are getting exported by the app by changingotel.exporter.otlp.endpoint
property to something other thanlocalhost:4317
(OkHttpGrpcExporter
reacted by throwing errors).Steps to reproduce We use
docker-compose
to set-up our collector and apm server. These are the relevant lines from thedocker-compose.yml
file:On the application side we use the autoconfigure module - both
opentelemetry-api
andjavaagent
are versions1.12.0
.What did you expect to see? With debug level logging enabled ☝️ we would expect to see metrics (gauges, histogram, etc.) from the application appear in followed logs.
What did you see instead? There is plenty of metrics such as
queueSize
,runtime.jvm.memory.area
etc. but nothing application specific.What version did you use? Version:
v0.46.0
What config did you use? This is the referenced in
docker-compose.yml
otel-collector-config.yml
file:Environment Compiler: openjdk 11.0.11 2021-04-20 OS: MacOS Monterey 12.3
Additional context As an example, there was a configuration change about the expected config location (I think the new expected location is
/etc/otelcol-contrib/
).