Skip to content

Commit

Permalink
fix(kinesis): set required dimensions for Firehose quota metrics (#378)
Browse files Browse the repository at this point in the history
According to AWS Docs [here](https://docs.aws.amazon.com/firehose/latest/dev/monitoring-with-cloudwatch-metrics.html), all firehose metrics require 'DeliveryStreamName' for filtering, this include Bytes, Records and PutRequest Per Second Limit metrics.

Fixes bug where firehose quota limits metrics not working.

---

_By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license_
  • Loading branch information
jiashuChen authored Jun 8, 2023
1 parent e9cb81c commit 957e173
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib/monitoring/aws-kinesis/KinesisFirehoseMetricFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export class KinesisFirehoseMetricFactory {
"BytesPerSecondLimit",
MetricStatistic.AVERAGE,
"Incoming Bytes/s Limit",
undefined,
this.dimensionsMap,
undefined,
FirehoseNamespace
);
Expand All @@ -162,7 +162,7 @@ export class KinesisFirehoseMetricFactory {
"RecordsPerSecondLimit",
MetricStatistic.AVERAGE,
"Records/s Limit",
undefined,
this.dimensionsMap,
undefined,
FirehoseNamespace
);
Expand All @@ -173,7 +173,7 @@ export class KinesisFirehoseMetricFactory {
"PutRequestsPerSecondLimit",
MetricStatistic.AVERAGE,
"PutRequests/s Limit",
undefined,
this.dimensionsMap,
undefined,
FirehoseNamespace
);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 957e173

Please sign in to comment.