const github.com/prometheus/common/expfmt.ProtoProtocol
4 uses
github.com/prometheus/common/expfmt (current package)
decode.go#L54: if p, ok := params["proto"]; ok && p != ProtoProtocol {
encode.go#L44: if ac.Type+"/"+ac.SubType == ProtoType && ac.Params["proto"] == ProtoProtocol {
expfmt.go#L24: ProtoProtocol = `io.prometheus.client.MetricFamily`
expfmt.go#L25: ProtoFmt = ProtoType + "; proto=" + ProtoProtocol + ";"
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |