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

WLS12: Not able to access JaxRsUriRuntimeMBean and JaxRsResourceMethodRuntime #369

Open
dannemano opened this issue Dec 18, 2023 · 1 comment

Comments

@dannemano
Copy link

dannemano commented Dec 18, 2023

Hi,

I have a working config for scraping ServerRuntime MBeans but I cannot get a hold on JAX-RS related details.

The below config is working and looking at the docs the "rootResourcesByUri" should return what I want. But adding rootResourcesByUri does not return anything.

- key: name
  keyName: server
  applicationRuntimes:
    key: name
    keyName: app
    componentRuntimes:
      type: WebAppComponentRuntime
      jaxRsApplications:
        type: JaxRsApplicationRuntime
        prefix: jax_rs_app_
        key: name
        values: [invocationTotalCount,executionTimeAverage,executionTimeTotal,executionTimeHigh]

I have also tried going through the libraryRuntime like the below example, but that is not working either.

- key: name
  keyName: server
  applicationRuntimes:
    key: name
    keyName: app
    libraryRuntimes:
      key: name
      referencingRuntimes:
        key: name
        type: JaxRsResourceMethodRuntime
        prefix: jaxrs_resource_
        values: [invocationCount]

Can you please point me in the right direction? How can I access JaxRsUriRuntimeMBean and JaxRsResourceMethodRuntime?

@russgold
Copy link
Member

russgold commented Feb 2, 2024

@dannemano could you tell me what you see if you replace "metrics" in the URL with "messages"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants