Skip to content

Commit

Permalink
Switch count method to monotonic count, that's correct for OM counts (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
iliakur authored Feb 15, 2023
1 parent ee3d675 commit b7a6f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amazon_msk/datadog_checks/amazon_msk/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def transform(_metric, sample_data, _runtime_data):

def _submit_both_gauge_and_count(self, name, value, tags, hostname):
self.gauge(name, value, tags=tags, hostname=hostname)
self.count(name + ".count", value, tags=tags, hostname=hostname)
self.monotonic_count(name + ".count", value, tags=tags, hostname=hostname)

def configure_additional_transformers(self, transformer_data):
for metric, data in METRICS_WITH_NAME_AS_LABEL.items():
Expand Down

0 comments on commit b7a6f9c

Please sign in to comment.