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

collect_jvm_metrics is advertised but doesn't work with ActiveMQ integration #1856

Open
ViliusS opened this issue Jan 14, 2025 · 0 comments
Open

Comments

@ViliusS
Copy link

ViliusS commented Jan 14, 2025

Describe the bug
Ops Agent advertises "collect_jvm_metrics" parameter in the logs and it allows to set it, however parameter doesn't do anything.

To Reproduce
Steps to reproduce the behavior:

  1. Start a GCE VM with image 'rocky-linux-9-v20240515'
  2. Install Ops Agent version 'google-cloud-ops-agent-2.52.0-1.el9.x86_64.rpm'
  3. Customize the agent with configuration and restart the agent
metrics:
  receivers:
    activemq:
      type: activemq
      endpoint: localhost:1099
      collection_interval: 15s
      collect_jvm_metrics: true
      username: admin
      password: admin
  service:
    pipelines:
      activemq:
        receivers:
          - activemq

  1. See Cloud Monitoring that no JVM metrics are collected.
  2. Now change configuration to and restart the agent
metrics:
  receivers:
    jvm:
      type: jvm
      endpoint: localhost:1099
      collection_interval: 15s
      username: admin
      password: admin
  service:
    pipelines:
      jvm:
        receivers:
          - jvm
  1. This now collects JVM metrics.

Expected behavior
ActiveMQ application integration should be able to collect JVM metrics or collect_jvm_metrics parameter advertisement should be removed.

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

1 participant