Skip to content

Commit 642f761

Browse files
committed
Replace hidden label prefix with meta prefix.
1 parent 6cc292c commit 642f761

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

model/labelname.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ const (
3434
// label names.
3535
ReservedLabelPrefix = "__"
3636

37-
// HiddenLabelPrefix is a prefix which is legal in user-supplied label names
38-
// but will not appear in the eventual metrics.
39-
// Reserved labels may be excepted from that rule.
40-
HiddenLabelPrefix = "_"
37+
// MetaLabelPrefix is a prefix for labels that provide meta information.
38+
// Labels with this prefix are used for intermediate label processing and
39+
// will not be attached to time series.
40+
MetaLabelPrefix = "__meta_"
4141

4242
// JobLabel is the label name indicating the job from which a timeseries
4343
// was scraped.

0 commit comments

Comments
 (0)