Registry /
serialization / gen-go-prometheus-prometheus-protocolbuffers-go
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
✓ buf.build/gen/go/prometheus/prometheus/protocolbuffers/go
Creates a Prometheus Metric protobuf message.
package main
import (
"fmt"
prometheusv1 "buf.build/gen/go/prometheus/prometheus/protocolbuffers/go/prometheus/v1"
)
func main() {
msg := &prometheusv1.Metric{}
fmt.Println(msg)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.36.11-20260331160422-eae785f0a21d.1latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.