open-telemetry / opentelemetry-java-instrumentation

OpenTelemetry auto-instrumentation and instrumentation libraries for Java
https://opentelemetry.io
Apache License 2.0
1.89k stars 827 forks source link

Compared to the "Micrometer" package, the exported metrics are much fewer #11871

Open zhaomingcheng01 opened 1 month ago

zhaomingcheng01 commented 1 month ago

Is your feature request related to a problem? Please describe.

image Compared to the "Micrometer" package, the exported metrics are much fewer image

Describe the solution you'd like

I hope it can be compatible with micrometer related indicators, so that the existing Grafana dashboard can be used

Describe alternatives you've considered

No response

Additional context

No response

laurit commented 1 month ago

Opentelemetry specification defines which metrics should be emitted, being compatible with micrometer is not a goal.

zhaomingcheng01 commented 1 month ago

However, the Java metrics provided by Hotel cannot meet the current monitoring requirements. There are many missing metrics, such as disk thread pools, etc. I am just saying that Micrometer provides a comprehensive range of metrics, not necessarily compatible with Micrometer. Due to language characteristics, metrics for each language may not be unified

zhaomingcheng01 commented 1 month ago

Unified standards are important but currently cannot meet monitoring needs. Can we consider referring to other projects?

trask commented 1 month ago

hi @zhaomingcheng01! can you open an issue in https://github.com/open-telemetry/semantic-conventions/issues and request the addition of specific (JVM-specific or otherwise) metrics that you require for monitoring your application?