mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 13:44:05 -08:00
Update comment about metadata in types.proto
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
parent
c83e1fc574
commit
096ec12912
|
@ -164,7 +164,7 @@ func (Chunk_Encoding) EnumDescriptor() ([]byte, []int) {
|
||||||
|
|
||||||
type MetricMetadata struct {
|
type MetricMetadata struct {
|
||||||
// Represents the metric type, these match the set from Prometheus.
|
// Represents the metric type, these match the set from Prometheus.
|
||||||
// Refer to model/textparse/interface.go for details.
|
// Refer to github.com/prometheus/common/model/metadata.go for details.
|
||||||
Type MetricMetadata_MetricType `protobuf:"varint,1,opt,name=type,proto3,enum=prometheus.MetricMetadata_MetricType" json:"type,omitempty"`
|
Type MetricMetadata_MetricType `protobuf:"varint,1,opt,name=type,proto3,enum=prometheus.MetricMetadata_MetricType" json:"type,omitempty"`
|
||||||
MetricFamilyName string `protobuf:"bytes,2,opt,name=metric_family_name,json=metricFamilyName,proto3" json:"metric_family_name,omitempty"`
|
MetricFamilyName string `protobuf:"bytes,2,opt,name=metric_family_name,json=metricFamilyName,proto3" json:"metric_family_name,omitempty"`
|
||||||
Help string `protobuf:"bytes,4,opt,name=help,proto3" json:"help,omitempty"`
|
Help string `protobuf:"bytes,4,opt,name=help,proto3" json:"help,omitempty"`
|
||||||
|
|
|
@ -31,7 +31,7 @@ message MetricMetadata {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Represents the metric type, these match the set from Prometheus.
|
// Represents the metric type, these match the set from Prometheus.
|
||||||
// Refer to model/textparse/interface.go for details.
|
// Refer to github.com/prometheus/common/model/metadata.go for details.
|
||||||
MetricType type = 1;
|
MetricType type = 1;
|
||||||
string metric_family_name = 2;
|
string metric_family_name = 2;
|
||||||
string help = 4;
|
string help = 4;
|
||||||
|
|
Loading…
Reference in a new issue