Skip to content

[BUG] Cloudwatch exporter v0.36.2-alpha is not exposing metrics even the tags are present and the same resources with the tags are listed in debug output #1464

Open
@nix1n

Description

@nix1n

Is there an existing issue for this?

  • I have searched the existing issues

YACE version

v0.36.2-alpha

Config file

config.yaml: |
discovery:
jobs:
- type: "alb"
delay: 120
length: 60
regions:
- ap-south-1
searchTags:
- Key: ingress.k8s.aws/stack
Value: .*
metrics:
- name: HealthyHostCount
statistics:
- 'Minimum'
period: 60
- name: UnHealthyHostCount
statistics:
- 'Maximum'
period: 60
- name: RequestCount
statistics:
- 'Sum'
period: 60
nilToZero: true

Current Behavior

The ALBs with these tags are present in our AWS eks cluster.
While enabling debug logs it also prints those resources along with the same tags.
But no metrics are being exposed on it's port 5000.

Expected Behavior

It should produce metrics for those resources. The same searchTag is present in the debug output's resource list, but it doesn't actually expose metrics for those resources.

Steps To Reproduce

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions