Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

atlas cloudwatch: Update all new high-res values in case we miss some. #623

Merged
merged 1 commit into from
Jan 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,7 @@ class CloudWatchPoller(
response
.datapoints()
.asScala
.headOption
.map { dp =>
.foreach { dp =>
val firehoseMetric = FirehoseMetric(
"",
metric.namespace(),
Expand All @@ -451,6 +450,8 @@ class CloudWatchPoller(
MetricMetadata(category, definition, toAWSDimensions(firehoseMetric))
registry.counter(polledPublishPath.withTag("path", "registry")).increment()
processor.sendToRegistry(metaData, firehoseMetric, nowMillis)
} else if (dp.timestamp().toEpochMilli <= prev) {
// dupe, no need to log it or anything.
} else {
debugger.debugPolled(
metric,
Expand Down