-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose metrics for libp2p using OpenTelemetry (#2074)
libp2p _used_ to support metrics using OpenCensus, but this was recently changed to use Prometheus instead - libp2p/go-libp2p#1955. Unfortunately, it is extremely difficult to get Prometheus metrics into OpenTelemetry without running the external OTEL agent. This re-implements the same metrics using OpenTelemetry using the _new_ Prometheus names rather than the old OpenCensus naming. Fixes #2059
- Loading branch information
Showing
6 changed files
with
531 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.