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

[NH-79350] Refactors to remove most global state #87

Merged
merged 41 commits into from
May 13, 2024
Merged

Conversation

swi-jared
Copy link
Contributor

@swi-jared swi-jared commented May 2, 2024

This PR aims to remove nearly all global state. Specifically, the pieces of global state that have been moved to local state are:

  • apm-proto-style grpc reporter
  • metrics
  • oboe settings

Each of these now lives in its own package with exposed interfaces. These interfaces should make a transition to capturing Otel metrics as well as reporting via OTLP easier.

@tammy-baylis-swi tammy-baylis-swi mentioned this pull request May 9, 2024
@swi-jared swi-jared force-pushed the refactor-reporter branch from 0b5f5c5 to 77e8520 Compare May 10, 2024 16:18
@swi-jared swi-jared changed the title WIP refactoring to remove/reduce global state [NH-79350] Refactors to remove most global state May 10, 2024
@swi-jared swi-jared marked this pull request as ready for review May 10, 2024 21:05
@swi-jared swi-jared requested a review from a team as a code owner May 10, 2024 21:05
@swi-jared swi-jared merged commit 1ba4531 into main May 13, 2024
7 checks passed
@swi-jared swi-jared deleted the refactor-reporter branch May 13, 2024 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants