nerdswords / yet-another-cloudwatch-exporter

Prometheus exporter for AWS CloudWatch - Discovers services through AWS tags, gets CloudWatch metrics data and provides them as Prometheus metrics with AWS tags as labels
Apache License 2.0
973 stars 332 forks source link

[FEATURE] Support AWS/EventBridge/Pipes #1422

Open cosmos-sun opened 5 months ago

cosmos-sun commented 5 months ago

Is there an existing issue for this?

Feature description

I'd like to see metrics for EventBridge pipes just like #982, it would be a great help, thanks!

What might the configuration look like?

- type: AWS/EventBridge/Pipes
      regions:
        - '%AWS_REGION%'
      searchTags:
        *searchTags
      period: 60
      length: 180
      delay: 180
      metrics:
        - name: Duration
          statistics: [Average]
        - name: TargetStageFailed
          statistics: [Average]
        - name: ExecutionTimeout
          statistics: [Average]
        - name: ExecutionFailed
          statistics: [Average]
        - name: Invocations
          statistics: [Average]
        - name: EventCount
          statistics: [Average]
        - name: TargetStageDuration
          statistics: [Average]

Anything else?

https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-monitoring.html

vainiusd commented 3 months ago

Hi. Couldn't find such Cloudwatch metric namespace You are reffering to in parameter type here: AWS metric namespaces. AWS/Events namespace is already supported - could it be that metrics for pipes land there? If not, what is the exact namespace?

cosmos-sun commented 2 months ago

Hi @vainiusd, It's listed here: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-monitoring.html Cloudwatch query sample: { "view": "timeSeries", "stacked": false, "metrics": [ [ "AWS/EventBridge/Pipes", "ExecutionThrottled", "PipeName", "docs-event-pipe" ] ], "region": "us-west-2" }