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

It's not possible to turn on GCPerformanceCounter using <JvmPC name="GC" enabled="true" /> #929

Closed
lidkowiak opened this issue May 15, 2019 · 2 comments · Fixed by #1017
Closed
Assignees
Labels

Comments

@lidkowiak
Copy link

It's not possible to turn on GCPerformanceCounter with such configuration:

 <PerformanceCounters collectionFrequencyInSec="60">
        <UseBuiltIn>true</UseBuiltIn>
        <Jvm enabled="true">
            <JvmPC name="GC" enabled="true" />
        </Jvm>
    </PerformanceCounters>

Is it possible to turn it on somehow?

@littleaj
Copy link
Contributor

@lidkowiak, the GC performance counters should be on by default.

On what environment are you using the SDK: OS? App Server? Web Framework (e.g. Servlets, Spring)? SDK Version?

@lidkowiak
Copy link
Author

OS: Mac
App Server: Wildfly
SDK version: 2.1.2

I haven't found code that even create instance of GCPerformanceCounter.

@littleaj littleaj added Bug and removed Question labels Aug 9, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Jul 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants