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

chore: emit series/sketches flushed telemetry for aggregation #495

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

tobz
Copy link
Member

@tobz tobz commented Feb 11, 2025

Summary

This PR adds a new telemetry metric -- aggregate_flushed_total -- which tracks the number of series and sketches flushed by the aggregate transform. It additionally contains a new remapped variant of this metric to match the datadog.agent.aggregator.flush metric.

It remains to be seen if it's necessarily worth locally tallying up the series/sketches totals before incrementing the counters, but I went with the simpler approach for now.

Change Type

  • Bug fix
  • New feature
  • Non-functional (chore, refactoring, docs)
  • Performance

How did you test this PR?

Built and ran ADP locally and observed the new metrics when querying the internal telemetry endpoint.

References

N/A

@tobz tobz requested a review from a team as a code owner February 11, 2025 20:09
@github-actions github-actions bot added area/components Sources, transforms, and destinations. transform/aggregate Aggregate transform. labels Feb 11, 2025
@tobz tobz merged commit 594d62e into main Feb 11, 2025
21 checks passed
@tobz tobz deleted the tobz/telemetry-aggregator-part-2-or-3-or-maybe-4 branch February 11, 2025 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/components Sources, transforms, and destinations. transform/aggregate Aggregate transform.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants