Replace hidden label prefix with meta prefix.

This commit is contained in:
Fabian Reinartz 2015-04-21 20:24:30 +02:00
parent 6cc292c1c7
commit 642f761a3c
1 changed files with 4 additions and 4 deletions

View File

@ -34,10 +34,10 @@ const (
// label names. // label names.
ReservedLabelPrefix = "__" ReservedLabelPrefix = "__"
// HiddenLabelPrefix is a prefix which is legal in user-supplied label names // MetaLabelPrefix is a prefix for labels that provide meta information.
// but will not appear in the eventual metrics. // Labels with this prefix are used for intermediate label processing and
// Reserved labels may be excepted from that rule. // will not be attached to time series.
HiddenLabelPrefix = "_" MetaLabelPrefix = "__meta_"
// JobLabel is the label name indicating the job from which a timeseries // JobLabel is the label name indicating the job from which a timeseries
// was scraped. // was scraped.