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

GCP Ops Agent | Jvm Monitoring | Multiple process | Java | Single VM | #299

Open
shivakumarss opened this issue Dec 20, 2021 · 1 comment

Comments

@shivakumarss
Copy link

shivakumarss commented Dec 20, 2021

I have GCP Ops Agent for JVM Monitoring in one of the VMs.

https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/third-party/jvm

This works fine with one jvm installed, I am able to see the data in gcp monitoring ui the data which is collected is shown in the UI.

The following configuration is used in /etc/google-cloud-ops-agent/config.yaml

metrics:
  receivers:
    jvm_metrics:
      type: jvm
      endpoint: localhost:9999
      collection_interval: 60s
  service:
    pipelines:
      jvm_pipeline:
        receivers:
          - jvm_metrics

I have a use case, there are 2 JVM processes running in a single machine, both are exposing the data in different jmx ports. Now how do I create a config in the .yml, such that I see data for both and I should be able to differentiate between these JVM metrics.

tried with different variations in the .yml file either get an invalid configuration error or the other jvm data doesn't show up in the gcp monitoring UI.

Any leads are highly appreciated.

@sophieyfang
Copy link
Contributor

Currently we don't support more than 1 JVM receivers. This is within our radar. We plan to support it in the future.

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