package
0.0.0-20241119074326-dcb6f7c60168
Repository: https://github.com/flashbots/go-template.git
Documentation: pkg.go.dev
# README
metrics
This example metrics module uses the OpenTelemetry package.
A solid alternative is VictoriaMetrics, see an example implementation here: https://github.com/flashbots/mev-share-node/blob/main/metrics/metrics.go
Introduction:
Clients:
- https://github.com/open-telemetry/opentelemetry-go
- https://github.com/prometheus/client_golang
- https://github.com/VictoriaMetrics/metrics
Onboarding:
- https://www.timescale.com/blog/four-types-prometheus-metrics-to-collect/
- https://blog.pvincent.io/2017/12/prometheus-blog-series-part-1-metrics-and-labels/
- https://pierrevincent.github.io/2017/12/prometheus-blog-series-part-2-metric-types/
- https://pierrevincent.github.io/2017/12/prometheus-blog-series-part-3-exposing-and-collecting-metrics/
- https://pierrevincent.github.io/2017/12/prometheus-blog-series-part-4-instrumenting-code-in-go-and-java/
- https://developers.soundcloud.com/blog/prometheus-monitoring-at-soundcloud
Best practices:
See also:
- https://pkg.go.dev/github.com/prometheus/[email protected]/prometheus#NewRegistry
- https://pkg.go.dev/go.opentelemetry.io/otel/exporters/[email protected]#New
- https://pkg.go.dev/go.opentelemetry.io/otel/sdk/[email protected]#NewMeterProvider
- https://pkg.go.dev/go.opentelemetry.io/otel/sdk/[email protected]#MeterProvider.Meter
- https://pkg.go.dev/go.opentelemetry.io/contrib/instrumentation/[email protected]#Start
# Functions
No description provided by the author
# Constants
No description provided by the author
# Variables
No description provided by the author
# Structs
No description provided by the author