Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions prometheus/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ import (
"time"

"github.com/golang/protobuf/proto"
"github.com/prometheus/common/model"

dto "github.com/prometheus/client_model/go"
)

const separatorByte byte = 255

var separatorByteSlice = []byte{255} // For convenient use with xxhash.
var separatorByteSlice = []byte{model.SeparatorByte} // For convenient use with xxhash.

// A Metric models a single sample value with its meta data being exported to
// Prometheus. Implementations of Metric in this package are Gauge, Counter,
Expand Down