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

Backport of Telemetry Metrics Configuration. (#18186) into release/1.12.x #21092

Conversation

kitography
Copy link
Contributor

  • Telemetry Metrics Configuration.

  • Err Shadowing Fix (woah, semgrep is cool).

  • Fix TestBackend_RevokePlusTidy_Intermediate

  • Add Changelog.

  • Fix memory leak. Code cleanup as suggested by Steve.

  • Turn off metrics by default, breaking-change.

  • Show on tidy-status before start-up.

  • Fix tests

  • make fmt

  • Add emit metrics to periodicFunc

  • Test not delivering unavailable metrics + fix.

  • Better error message.

  • Fixing the false-error bug.

  • make fmt.

  • Try to fix race issue, remove confusing comments.

  • Switch metric counter variables to an atomic.Uint32

  • Switch the metric counter variables to an atomic variable type so that we are forced to properly load/store values to it
  • Fix race-issue better by trying until the metric is sunk.

  • make fmt.

  • empty commit to retrigger non-race tests that all pass locally


* Telemetry Metrics Configuration.

* Err Shadowing Fix (woah, semgrep is cool).

* Fix TestBackend_RevokePlusTidy_Intermediate

* Add Changelog.

* Fix memory leak.  Code cleanup as suggested by Steve.

* Turn off metrics by default, breaking-change.

* Show on tidy-status before start-up.

* Fix tests

* make fmt

* Add emit metrics to periodicFunc

* Test not delivering unavailable metrics + fix.

* Better error message.

* Fixing the false-error bug.

* make fmt.

* Try to fix race issue, remove confusing comments.

* Switch metric counter variables to an atomic.Uint32

 - Switch the metric counter variables to an atomic variable type
   so that we are forced to properly load/store values to it

* Fix race-issue better by trying until the metric is sunk.

* make fmt.

* empty commit to retrigger non-race tests that all pass locally

---------

Co-authored-by: Steve Clark <[email protected]>
@kitography kitography changed the title Backport of Telemetry Metrics Configuration. (#18186) Backport of Telemetry Metrics Configuration. (#18186) into release/1.12.x Jun 8, 2023
@kitography kitography added this to the 1.12.8 milestone Jun 8, 2023
Copy link
Contributor

@cipherboy cipherboy left a comment

Choose a reason for hiding this comment

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

I think this looks like a clean backport finally, thank you @kitography!

@kitography kitography merged commit 0f06076 into release/1.12.x Jun 13, 2023
@kitography kitography deleted the backport/VAULT-8784-telemetry-turn-off-on-metrics-count/dinosaurs-dinosaurs-dinosaurs branch June 13, 2023 19:54
Copy link
Contributor

@stevendpclark stevendpclark left a comment

Choose a reason for hiding this comment

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

Looks good to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants