From 096ec129120b124ea14c78c8721c80dd0961b8ce Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Tue, 19 Dec 2023 18:53:09 +0000 Subject: [PATCH] Update comment about metadata in types.proto Signed-off-by: Bryan Boreham --- prompb/types.pb.go | 2 +- prompb/types.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/prompb/types.pb.go b/prompb/types.pb.go index 125f868e9..93883daa1 100644 --- a/prompb/types.pb.go +++ b/prompb/types.pb.go @@ -164,7 +164,7 @@ func (Chunk_Encoding) EnumDescriptor() ([]byte, []int) { type MetricMetadata struct { // 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"` 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"` diff --git a/prompb/types.proto b/prompb/types.proto index aa322515c..61fc1e014 100644 --- a/prompb/types.proto +++ b/prompb/types.proto @@ -31,7 +31,7 @@ message MetricMetadata { } // 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; string metric_family_name = 2; string help = 4;