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

Give dht and coordinator their own telemetry instances #891

Merged
merged 2 commits into from
Sep 11, 2023

Conversation

iand
Copy link

@iand iand commented Sep 11, 2023

Decouple dht and coordinator metrics so we separate responsibilities cleanly. Both components will use the same meter and tracer providers by default.

This also removes the error return from DefaultCoordinatorConfig() which was only needed because it was initializing a Telemetry struct with metrics that it does not touch.

@iand iand added the v2 All issues related to the v2 rewrite label Sep 11, 2023
@iand iand marked this pull request as draft September 11, 2023 14:45
@dennis-tra
Copy link
Contributor

That error return value bugged me as well! Thanks for removing it!

@iand iand marked this pull request as ready for review September 11, 2023 14:52
@iand
Copy link
Author

iand commented Sep 11, 2023

@dennis-tra happy for me to merge this?

@iand iand merged commit 7d838c5 into v2-develop Sep 11, 2023
9 of 18 checks passed
@dennis-tra dennis-tra deleted the v2-metrics-reorg branch September 11, 2023 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2 All issues related to the v2 rewrite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants