Registry /
observability / micro-go-plugins-wrapper-monitoring-prometheus-v2
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
prometheus
✓ github.com/micro/go-plugins/wrapper/monitoring/prometheus/v2
Add Prometheus monitoring to a Micro service
package main
import (
"github.com/micro/go-micro/v2"
wrappers "github.com/micro/go-plugins/wrapper/monitoring/prometheus/v2"
)
func main() {
service := micro.NewService(
micro.WrapHandler(wrappers.NewHandlerWrapper()),
)
service.Init()
service.Run()
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
2.9.1latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.