Lauri Tulmin
Lauri Tulmin
For your use case it would probably be simpler if instead of using the context key directly you had an api. For example ```java class Foo { static final ContextKey...
If I understand this correctly the resource attributes that are added to prometheus export are determined with https://github.com/open-telemetry/opentelemetry-java/blob/468b5289564b45b7a07c5caee3972d2038dbc6ca/exporters/prometheus/src/main/java/io/opentelemetry/exporter/prometheus/PrometheusHttpServer.java#L66 By default this predicate is null and resource attributes are not added....
@zeitlinger could you take a look
@james-harlow-10x-banking looking at your command line the only instrumentation you are interested in seems to be micrometer. To understand why it isn't working you should take a look at https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/micrometer/micrometer-1.5/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/micrometer/v1_5/MetricsInstrumentation.java...
Try the agent from https://github.com/open-telemetry/opentelemetry-java-instrumentation/actions/runs/10596784571?pr=12131 You can find it in the Artifacts section at the bottom of the page. Let us know whether it resolves the issue.
This is not supported. Instead of having `requestId` etc. as part of the message isn't it more useful to capture it as an attribute.
> Is support for adding layout pattern tag planned in near future? I'm not aware of any plans to support this. For such features we rely on interested parties submitting...
> Is there any document which captures the details on how to contribute(create branch, raise PR, all the prerequisite etc) so that I can create PR for the same? There...