Skip to content

Commit

Permalink
fix(datadog_metrics sink): improve aggregation performance (#18759)
Browse files Browse the repository at this point in the history
* fix(datadog_metrics sink): improve aggregation performance

* fix tests and add concurrency

* feedback

* add comment to dedupe_by

* sort by metric type as well

* fix flakey proptest

* only dedupe non-counters in prop test
  • Loading branch information
dsmith3197 authored and jszwedko committed Oct 27, 2023
1 parent 1b9a012 commit b8b6f9e
Show file tree
Hide file tree
Showing 5 changed files with 173 additions and 201 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type = "log_to_metric"
inputs = ["remap"]

[[transforms.log2metric.metrics]]
type = "gauge"
type = "counter"
field = "procid"
tags.hostname = "{{ hostname }}"
tags.facility = "{{ facility }}"
Expand Down
Loading

0 comments on commit b8b6f9e

Please sign in to comment.