-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Observability abstraction layer. #29911
Comments
@brunobat how can I contribute to this initiative ? |
Hi @musufyian Are you familiar with OpenTelemetry or Micrometer? |
I have the impression that currently everything moves towards OTel... and that's already a pretty generic standard. Do you have more detailed ideas as to how another level of abstraction ontop of this would look like? |
Yes @t1. I'm seriously considering this: https://micrometer.io/docs/observation |
Isn't Micrometer Observation on a too high level of abstraction? I.e., it doesn't support the concept of Traces, etc. I'm not sure if that would actually be a step backwards. |
Hmmm... I assume you would use Micrometer Tracing for Tracing, but this is only about Observability. I guess that I got it, now 😁 |
No, The observation API allows generic instrumentation with multiple libraries and is totally independent from the actual Micrometer metrics and tracing. That's why it's interesting |
Hi, I have the impression the OpenTelemetry API (its metrics part if we are talking about that) could be directly the good candidate to fill the position of the abstraction layer. If one wants to continue using micrometer as a "backend" for metrics there is the https://github.com/open-telemetry/opentelemetry-java-contrib/tree/main/micrometer-meter-provider. It would allow to keep both during a transition phase. EDIT: I guess after seeing a comment here that the point is that for metrics the OpenTelemetry API is lacking some of the feature of micrometer. |
Thanks @mederel. The idea here is to instrument libraries in one place and be able to then plug different metrics and tracing implementations... Currently we have to instrument everything with OTel and Micrometer because users can chose to use both or each one of them. |
Any update on this topic? In the Quarkus documentation for OpenTelmetry, the following is mentioned:
Can this "bridge" be considered part of this scope? |
Yes @kerkhofsd and I plan to work on this until the end of the year. |
Great, thanks for the feedback @brunobat ! |
Description
We have instrumentation comming from many places: OTel Tracing, Micrometer metrics, MP Metrics...
In the future this is likely to grow, meaning we need to create an abstraction that will help to wire many diferent observability related libraries into the main Quarkus libraries.
This might be implemented using an existing framework or coming up with our own.
Dependent on this issue:
#30712
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: