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

Fix/refactor metrics singleton #630

Merged
merged 5 commits into from
Sep 1, 2023
Merged

Conversation

rkolesnev
Copy link
Contributor

Refactor metrics subsytem to not use singleton - allowing to run multiple PC instances in same java process.
Introduced pcinstance tag that can be specified through PCOptions and is autogenerated as UUID value if not specified to ensure uniqueness of meters per PC instance.

Checklist

  • Documentation (if applicable)
  • Changelog

@rkolesnev rkolesnev marked this pull request as ready for review August 31, 2023 16:32
@rkolesnev rkolesnev requested a review from eddyv August 31, 2023 16:32
Copy link
Member

@eddyv eddyv left a comment

Choose a reason for hiding this comment

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

lgtm

@rkolesnev rkolesnev merged commit d0d7c09 into master Sep 1, 2023
@rkolesnev rkolesnev deleted the fix/refactor-metrics-singleton branch September 1, 2023 12:12
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.

2 participants