Skip to content

Commit

Permalink
Emit non moving metrics more often
Browse files Browse the repository at this point in the history
  • Loading branch information
kamaradclimber committed Jan 12, 2025
1 parent 0870390 commit 26b538c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/datadog_agentless/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class ConstantMetricEmitter:
def __init__(self):
self.last_sent = dict()
self.last_flush = int(datetime.datetime.now().timestamp())
self.flush_interval = 900
self.flush_interval = 250
self.mutex = Lock()

def record_last_sent(self, metric: MetricSeries) -> None:
Expand Down

0 comments on commit 26b538c

Please sign in to comment.