Skip to content
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

[APM][OTEL][Java] Add JVM Garbage Collection Visualizations for OTEL Java Agent #194204

Open
herrBez opened this issue Sep 26, 2024 · 2 comments
Open
Labels
apm:opentelemetry APM UI - OTEL Work apm enhancement New value added to drive a business result OpenTelemetry Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team

Comments

@herrBez
Copy link
Contributor

herrBez commented Sep 26, 2024

Describe the feature:

With the introduction of #161970, Kibana now offers distinct visualizations for applications instrumented using the "classic" APM Java agent and those using either the Elastic Distribution or the vanilla OpenTelemetry (OTEL) Java agent.

Currently, under the Metrics tab, the "classic" APM Java agent provides the following visualizations:

  • Garbage Collection count per minute
  • Garbage collection time spent per minute

However, these visualizations are not yet available for applications instrumented with the OTEL Java agent.

The OTEL agent, though, already collects relevant metrics under the jvm.gc.duration field, represented as a histogram. This feature request aims to implement similar visualizations based on this field for OTEL-instrumented applications, ensuring a consistent monitoring experience across both agent types.

Describe a specific use case for the feature:

  • Have a better visibility of applications instrumented with the (Elastic Distribution of or the vanilla) OTEL Java agent.
  • Make the OTEL Java Agent more integrated in the Stack
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 26, 2024
@smith smith added the Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team label Sep 26, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 26, 2024
@smith smith added enhancement New value added to drive a business result apm apm:opentelemetry APM UI - OTEL Work and removed Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team labels Sep 26, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 26, 2024
@smith smith added the Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team label Sep 26, 2024
@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 26, 2024
@SylvainJuge
Copy link
Member

While not being an expert on Kibana, I did a quick search that returned apparently related issues

Those issues were closed as duplicates and apparently using ES|QL could bring a solution, however the issue is still open:

So this brings another concrete example use-case where implementing this would be beneficial.

Also maybe there could be a work-around just for this particular use-case, and the ES|QL issue mentioned above refers to a generic and broader solution. In this case I'd be happy as well as we could add those missing charts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:opentelemetry APM UI - OTEL Work apm enhancement New value added to drive a business result OpenTelemetry Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team
Projects
None yet
Development

No branches or pull requests

4 participants