Skip to content

[FEATURE] Filter based on QueueName for SQS Metrics #1816

@caitlin-green-sp

Description

@caitlin-green-sp

Is there an existing issue for this?

  • I have searched the existing issues

Feature description

We have tons of SQS queues in our AWS account and many of them aren't tagged, so the existing filter on tags isn't a feasible way to select what we need. We are currently using a different CW exporter which allows filtering with regex on QueueName like so:

    "QueueName": "(?i:regex-.+|.+-regex-etc-.+)"

Which allows us to retrieve metrics on only specificly named SQS queues so we don't blow up our metric cardinality. Would love to see if this is possible in YACE, or even filtering with Regex on ARN like in
#1644

What might the configuration look like?

apiVersion: v1alpha1
discovery:
  jobs:
  - type: AWS/SQS
    regions:
      - us-east-1
    dimensionNameRequirements: [QueueName]
    dimensionsMatch: "QueueName": "(?i:regex-.+|.+-regex-etc-.+)"
    metrics:
      - name: ApproximateAgeOfOldestMessage
        statistics:
        - Maximum

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions