Skip to content

GC Duration Increased After Using OTel Java Agent #15225

@mike9421

Description

@mike9421

Describe the bug

Image

From left to right: average, minimum, maximum.

After migrating to OTel java agent, the average GC duration has increased from a previous peak of 87ms to 182ms.

Steps to reproduce

Just using OTel Java agent

Expected behavior

The GC duration hasn't changed significantly

Actual behavior

The GC duration has increased from a previous peak of 87ms to 182ms

Javaagent or library instrumentation version

v2.12.0

Environment

JDK:
java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)

Additional context

I saw a previous issue about this #6366, but I've noticed the GC time has increased by quite a lot. I'm a bit concerned it could start impacting our application performance.

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds triageNew issue that requires triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions