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

Set default reporting interval #226

Merged
merged 2 commits into from
Jul 28, 2023
Merged

Conversation

shaan420
Copy link
Collaborator

@shaan420 shaan420 commented Jul 27, 2023

Setting a default of 2s for now.

@CLAassistant
Copy link

CLAassistant commented Jul 27, 2023

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Jul 27, 2023

Codecov Report

Merging #226 (ffb9e5a) into master (ecb4ac9) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #226   +/-   ##
=======================================
  Coverage   47.81%   47.82%           
=======================================
  Files          64       64           
  Lines        5988     5989    +1     
=======================================
+ Hits         2863     2864    +1     
  Misses       2685     2685           
  Partials      440      440           
Files Changed Coverage Δ
scope.go 95.03% <100.00%> (+0.01%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@shaan420 shaan420 changed the title Enforce minimum reporting interval Set default reporting interval Jul 27, 2023
@shaan420 shaan420 assigned prateek and unassigned prateek Jul 27, 2023
@shaan420 shaan420 requested a review from prateek July 27, 2023 20:20
@shaan420 shaan420 merged commit 67241bf into master Jul 28, 2023
4 checks passed
shaan420 added a commit that referenced this pull request Oct 6, 2023
* Enforce minimum reporting interval

* Add new RootScope constructor with default interval
shaan420 added a commit that referenced this pull request Oct 6, 2023
* Set default reporting interval (#226)

* Enforce minimum reporting interval

* Add new RootScope constructor with default interval

* Test with go >= 1.18 (#228)

* add custom tags to internal metrics (#231)

* add custom tags to internal metrics

* make unit test stricter, update version

* update version to v3.5.6

---------

Co-authored-by: Vytenis Darulis <vytenis.darulis@chronosphere.io>
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.

3 participants