Skip to content

[BUG] unable to pull metrics from the specified AmazonMWAA instance using searchTags #1533

Open
@ninad-opsverse

Description

@ninad-opsverse

Is there an existing issue for this?

  • I have searched the existing issues

YACE version

I am using the latest YACE version - v0.61.2

Config file

config: |-
  apiVersion: v1alpha1
  sts-region: us-east-1
  discovery:
    jobs:
      - type: AmazonMWAA
        length: 60
        period: 60
        searchTags:
          - key: airflow
            value: dev
        regions:
          - us-east-1
        metrics:
          - name: SLAMissed
            statistics:
              - Average
          - name: FailedSLACallback
            statistics:
              - Average
          - name: Updates
            statistics:
              - Average
          - name: Orphaned
            statistics:
              - Average

Current Behavior

I have 2 airflow instances deployed on aws named mwaa-dev and mwaa-prod.

I have the following tags on the instances -
mwaa-dev -> airflow: dev
mwaa-prod -> airflow: prod

According to the configured searchTags I should be receiving metrics from mwaa-dev instance only. But I am able to see metrics for both the instances.

Expected Behavior

Metrics of only the configured mwaa instance(mwaa-dev) should be visible.

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