From 2e3afbfffa386bb8178b51bc40615c7bf5449592 Mon Sep 17 00:00:00 2001 From: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com> Date: Fri, 13 Mar 2020 17:09:48 -0400 Subject: [PATCH] Make field names uniform with type names (#126) Previously we had declarations like this: Int64Datapoints []*Int64DataPoint The "Datapoints" and "DataPoint" portions use non-uniform cases. Now we have: Int64DataPoints []*Int64DataPoint --- gen/go/metrics/v1/metrics.pb.go | 138 +++++++++---------- opentelemetry/proto/metrics/v1/metrics.proto | 8 +- 2 files changed, 73 insertions(+), 73 deletions(-) diff --git a/gen/go/metrics/v1/metrics.pb.go b/gen/go/metrics/v1/metrics.pb.go index 7a73370d3..c0fe5e70b 100644 --- a/gen/go/metrics/v1/metrics.pb.go +++ b/gen/go/metrics/v1/metrics.pb.go @@ -206,10 +206,10 @@ type Metric struct { // Data is a list of one or more DataPoints for a single metric. Only one of the // following fields is used for the data, depending on the type of the metric defined // by MetricDescriptor.type field. - Int64Datapoints []*Int64DataPoint `protobuf:"bytes,2,rep,name=int64_datapoints,json=int64Datapoints,proto3" json:"int64_datapoints,omitempty"` - DoubleDatapoints []*DoubleDataPoint `protobuf:"bytes,3,rep,name=double_datapoints,json=doubleDatapoints,proto3" json:"double_datapoints,omitempty"` - HistogramDatapoints []*HistogramDataPoint `protobuf:"bytes,4,rep,name=histogram_datapoints,json=histogramDatapoints,proto3" json:"histogram_datapoints,omitempty"` - SummaryDatapoints []*SummaryDataPoint `protobuf:"bytes,5,rep,name=summary_datapoints,json=summaryDatapoints,proto3" json:"summary_datapoints,omitempty"` + Int64DataPoints []*Int64DataPoint `protobuf:"bytes,2,rep,name=int64_data_points,json=int64DataPoints,proto3" json:"int64_data_points,omitempty"` + DoubleDataPoints []*DoubleDataPoint `protobuf:"bytes,3,rep,name=double_data_points,json=doubleDataPoints,proto3" json:"double_data_points,omitempty"` + HistogramDataPoints []*HistogramDataPoint `protobuf:"bytes,4,rep,name=histogram_data_points,json=histogramDataPoints,proto3" json:"histogram_data_points,omitempty"` + SummaryDataPoints []*SummaryDataPoint `protobuf:"bytes,5,rep,name=summary_data_points,json=summaryDataPoints,proto3" json:"summary_data_points,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -247,30 +247,30 @@ func (m *Metric) GetMetricDescriptor() *MetricDescriptor { return nil } -func (m *Metric) GetInt64Datapoints() []*Int64DataPoint { +func (m *Metric) GetInt64DataPoints() []*Int64DataPoint { if m != nil { - return m.Int64Datapoints + return m.Int64DataPoints } return nil } -func (m *Metric) GetDoubleDatapoints() []*DoubleDataPoint { +func (m *Metric) GetDoubleDataPoints() []*DoubleDataPoint { if m != nil { - return m.DoubleDatapoints + return m.DoubleDataPoints } return nil } -func (m *Metric) GetHistogramDatapoints() []*HistogramDataPoint { +func (m *Metric) GetHistogramDataPoints() []*HistogramDataPoint { if m != nil { - return m.HistogramDatapoints + return m.HistogramDataPoints } return nil } -func (m *Metric) GetSummaryDatapoints() []*SummaryDataPoint { +func (m *Metric) GetSummaryDataPoints() []*SummaryDataPoint { if m != nil { - return m.SummaryDatapoints + return m.SummaryDataPoints } return nil } @@ -922,61 +922,61 @@ func init() { } var fileDescriptor_3c3112f9fa006917 = []byte{ - // 884 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x56, 0x4f, 0x6f, 0xe3, 0x44, - 0x14, 0xc7, 0x71, 0xfe, 0x74, 0x5f, 0x96, 0xc6, 0x99, 0xf6, 0x60, 0xe5, 0xb0, 0x0a, 0x39, 0x40, - 0x41, 0xd4, 0xa1, 0x65, 0x59, 0x89, 0x13, 0x24, 0x4d, 0xe8, 0x46, 0x6c, 0xda, 0x68, 0x92, 0xac, - 0xb4, 0x08, 0x88, 0x1c, 0x67, 0x94, 0x8e, 0x88, 0x3d, 0x96, 0x3d, 0xae, 0x9a, 0x3b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e, 0xec, 0xb0, 0xc3, 0x47, 0x1b, 0x41, 0x6c, 0x65, - 0xe2, 0xd2, 0x19, 0x37, 0x06, 0x50, 0x7f, 0x2d, 0x0c, 0x3d, 0x01, 0xc8, 0x02, 0xd3, 0x19, 0xc8, - 0x21, 0xd9, 0x78, 0x14, 0x72, 0xe3, 0xd1, 0xe5, 0xf0, 0x1e, 0x65, 0x5b, 0x8a, 0xec, 0x3e, 0x4e, - 0xdf, 0x7d, 0x23, 0xe1, 0x18, 0x19, 0xdf, 0x7c, 0xb1, 0xa4, 0xfc, 0x2a, 0x99, 0x8b, 0x0d, 0x6a, - 0x0b, 0xea, 0x71, 0xf6, 0x9c, 0xbc, 0xa5, 0x74, 0xac, 0x1e, 0x97, 0x4b, 0x12, 0xb4, 0x97, 0xf9, - 0xd7, 0xed, 0xbc, 0x2c, 0x1d, 0x9f, 0xfe, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xc1, 0x4d, 0x70, 0xdd, - 0x06, 0x0b, 0x00, 0x00, + // 885 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x56, 0x5f, 0x6f, 0xe3, 0x44, + 0x10, 0xc7, 0x71, 0xfe, 0xf4, 0x26, 0x47, 0xe3, 0x6c, 0x0f, 0xc9, 0xca, 0xc3, 0x29, 0xe4, 0x01, + 0x0a, 0xa2, 0x0e, 0x2d, 0xc7, 0x49, 0x3c, 0x41, 0xd2, 0x84, 0x5e, 0xc4, 0xa5, 0x8d, 0x36, 0xc9, + 0x49, 0x9c, 0x74, 0x04, 0xc7, 0x59, 0xd2, 0x15, 0xf1, 0x1f, 0x79, 0xd7, 0x55, 0xf3, 0xce, 0x33, + 0x1f, 0x00, 0x81, 0x04, 0xdf, 0x07, 0xbe, 0x09, 0x1f, 0x02, 0xed, 0xae, 0x1d, 0xdb, 0x69, 0x8f, + 0x10, 0x78, 0x3a, 0xde, 0xc6, 0xb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06, 0xc6, 0x3b, + 0x90, 0x41, 0xd2, 0xf5, 0x28, 0x64, 0xd6, 0xa3, 0xcb, 0xe1, 0x5d, 0xea, 0xef, 0x28, 0xb2, 0xfb, + 0x30, 0xbe, 0xfb, 0x8d, 0x84, 0x63, 0xa4, 0xbd, 0xfc, 0x7c, 0x49, 0xf9, 0x75, 0x34, 0x17, 0x03, + 0x6a, 0x0b, 0xea, 0x49, 0x7a, 0xa5, 0xcc, 0x29, 0x9d, 0xa8, 0x0b, 0xe6, 0x92, 0x78, 0xed, 0x65, + 0xf6, 0x86, 0x3b, 0x2f, 0x4b, 0xc7, 0x27, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, 0x49, 0xe3, 0x9e, + 0x86, 0x0a, 0x0b, 0x00, 0x00, } diff --git a/opentelemetry/proto/metrics/v1/metrics.proto b/opentelemetry/proto/metrics/v1/metrics.proto index a15a7b6c2..b831a3151 100644 --- a/opentelemetry/proto/metrics/v1/metrics.proto +++ b/opentelemetry/proto/metrics/v1/metrics.proto @@ -90,10 +90,10 @@ message Metric { // Data is a list of one or more DataPoints for a single metric. Only one of the // following fields is used for the data, depending on the type of the metric defined // by MetricDescriptor.type field. - repeated Int64DataPoint int64_datapoints = 2; - repeated DoubleDataPoint double_datapoints = 3; - repeated HistogramDataPoint histogram_datapoints = 4; - repeated SummaryDataPoint summary_datapoints = 5; + repeated Int64DataPoint int64_data_points = 2; + repeated DoubleDataPoint double_data_points = 3; + repeated HistogramDataPoint histogram_data_points = 4; + repeated SummaryDataPoint summary_data_points = 5; } // Defines a metric type and its schema.