Skip to content

[part 5] refactor!(telemetry): use configured intervals#203

Merged
dmehala merged 4 commits intomainfrom
dmehala/telemetry/part-5-heartbeat
Apr 7, 2025
Merged

[part 5] refactor!(telemetry): use configured intervals#203
dmehala merged 4 commits intomainfrom
dmehala/telemetry/part-5-heartbeat

Conversation

@dmehala
Copy link
Copy Markdown
Collaborator

@dmehala dmehala commented Apr 7, 2025

Description

Previously, telemetry metrics were collected every 10 seconds and heartbeats were sent every 60 seconds, matching the default configuration. However, these intervals can be customized via environment variables or code.

This commit updates the telemetry logic to use the configured intervals—whether set through environment variables or directly in the code—ensuring that metrics , heartbeat and logs messages are sent accordingly.

Previously, telemetry metrics were collected every 10 seconds and
heartbeats were sent every 60 seconds, matching the default configuration.
However, these intervals can be customized via environment variables or code.

This commit updates the telemetry logic to use the configured intervals—whether
set through environment variables or directly in the code—ensuring that metrics
, heartbeat and logs messages are sent accordingly.
@dmehala dmehala requested a review from a team as a code owner April 7, 2025 07:19
@dmehala dmehala requested review from zacharycmontoya and removed request for a team April 7, 2025 07:19
@pr-commenter
Copy link
Copy Markdown

pr-commenter bot commented Apr 7, 2025

Benchmarks

Benchmark execution time: 2025-04-07 15:40:10

Comparing candidate commit a0a29c3 in PR branch dmehala/telemetry/part-5-heartbeat with baseline commit 18afd17 in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.81%. Comparing base (18afd17) to head (a0a29c3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #203      +/-   ##
==========================================
- Coverage   90.81%   90.81%   -0.01%     
==========================================
  Files          81       81              
  Lines        4651     4649       -2     
==========================================
- Hits         4224     4222       -2     
  Misses        427      427              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@dubloom dubloom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

except a very nit comment, LGTM

@dmehala dmehala merged commit e777070 into main Apr 7, 2025
22 checks passed
@dmehala dmehala deleted the dmehala/telemetry/part-5-heartbeat branch April 7, 2025 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants