We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a2ab94 + 19af62d commit 39fc195Copy full SHA for 39fc195
prometheus/metric.go
@@ -18,13 +18,12 @@ import (
18
"time"
19
20
"github.com/golang/protobuf/proto"
21
+ "github.com/prometheus/common/model"
22
23
dto "github.com/prometheus/client_model/go"
24
)
25
-const separatorByte byte = 255
26
-
27
-var separatorByteSlice = []byte{255} // For convenient use with xxhash.
+var separatorByteSlice = []byte{model.SeparatorByte} // For convenient use with xxhash.
28
29
// A Metric models a single sample value with its meta data being exported to
30
// Prometheus. Implementations of Metric in this package are Gauge, Counter,
0 commit comments