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

[BUG] AWS/AmazonMQ always returning No metrics data found #1552

Open
1 task done
danielbargas opened this issue Oct 29, 2024 · 0 comments
Open
1 task done

[BUG] AWS/AmazonMQ always returning No metrics data found #1552

danielbargas opened this issue Oct 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@danielbargas
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

YACE version

v0.61.2

Config file

apiVersion: v1alpha1
sts-region: redacted
discovery:
  jobs:
    - type: AWS/AmazonMQ
      regions:
        - redacted
      roles:
        - roleArn: "redacted"
      period: 300
      length: 3600
      metrics:
        - name: NetworkOut
          statistics: [Minimum, Maximum, Average]
        - name: NetworkIn
          statistics: [Minimum, Maximum, Average]
        - name: QueueSize
          statistics: [Minimum, Maximum, Average]
        - name: ConsumerCount
          statistics: [Minimum, Maximum, Average]
        - name: ProducerCount
          statistics: [Minimum, Maximum, Average]
        - name: EnqueueCount
          statistics: [Minimum, Maximum, Average]
        - name: DequeueCount
          statistics: [Minimum, Maximum, Average]
        - name: MemoryUsage
          statistics: [Minimum, Maximum, Average]
        - name: CpuUtilization
          statistics: [Minimum, Maximum, Average]
          ## Test other metrics
        - name: AckRate
          statistics: [Minimum, Maximum, Average]
        - name: SystemCpuUtilization
          statistics: [Minimum, Maximum, Average]

Current Behavior

For our RabbitMQ brokers, YACE always outputs the following for the AWS/AmazonMQ namespace

"job_type":"AWS/AmazonMQ","level":"info","msg":"No metrics data found"

Expected Behavior

I would expect YACE to find some or all the above metrics

Steps To Reproduce

Deploy MQ config
Check YACE log/stdout

Anything else?

YACE does work fine for us for other namespaces like RDS or Backup using the same AWS IAM role. I woudl expect the error to be different anyway if it was a permissions thing.

@danielbargas danielbargas added the bug Something isn't working label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant