diff --git a/pdata/pcommon/common.go b/pdata/pcommon/common.go index d70589824d6..35451dcac42 100644 --- a/pdata/pcommon/common.go +++ b/pdata/pcommon/common.go @@ -95,9 +95,6 @@ func NewValueStr(v string) Value { return newValue(&otlpcommon.AnyValue{Value: &otlpcommon.AnyValue_StringValue{StringValue: v}}) } -// Deprecated: [v0.62.0] Use NewValueStr instead. -var NewValueString = NewValueStr - // NewValueInt creates a new Value with the given int64 value. func NewValueInt(v int64) Value { return newValue(&otlpcommon.AnyValue{Value: &otlpcommon.AnyValue_IntValue{IntValue: v}}) @@ -650,14 +647,6 @@ func (m Map) PutStr(k string, v string) { } } -// PutString performs the Insert or Update action. The Value is -// inserted to the map that did not originally have the key. The key/value is -// updated to the map where the key already existed. -// Deprecated: [v0.62.0] Use PutStr instead. -func (m Map) PutString(k string, v string) { - m.PutStr(k, v) -} - // PutInt performs the Insert or Update action. The int Value is // inserted to the map that did not originally have the key. The key/value is // updated to the map where the key already existed. diff --git a/pdata/plog/logs.go b/pdata/plog/logs.go index 2ff14c8320c..dce60d56ee6 100644 --- a/pdata/plog/logs.go +++ b/pdata/plog/logs.go @@ -100,8 +100,5 @@ const ( SeverityNumberFatal4 = SeverityNumber(otlplogs.SeverityNumber_SEVERITY_NUMBER_FATAL4) ) -// Deprecated: [v0.62.0] Use SeverityNumberUnspecified instead. -const SeverityNumberUndefined = SeverityNumberUnspecified - // String returns the string representation of the SeverityNumber. func (sn SeverityNumber) String() string { return otlplogs.SeverityNumber(sn).String() } diff --git a/pdata/plog/plogotlp/logs.go b/pdata/plog/plogotlp/logs.go index b13fc1c4dd5..b1e579a2c74 100644 --- a/pdata/plog/plogotlp/logs.go +++ b/pdata/plog/plogotlp/logs.go @@ -154,9 +154,6 @@ func RegisterGRPCServer(s *grpc.Server, srv GRPCServer) { otlpcollectorlog.RegisterLogsServiceServer(s, &rawLogsServer{srv: srv}) } -// Deprecated: [v0.62.0] Use RegisterGRPCServer instead -var RegisterServer = RegisterGRPCServer - type rawLogsServer struct { srv GRPCServer } diff --git a/pdata/pmetric/metric_data_point_flags.go b/pdata/pmetric/metric_data_point_flags.go index 872e8f0fa8e..6338b9b7d67 100644 --- a/pdata/pmetric/metric_data_point_flags.go +++ b/pdata/pmetric/metric_data_point_flags.go @@ -37,9 +37,3 @@ func (ms DataPointFlags) WithNoRecordedValue(b bool) DataPointFlags { } return DataPointFlags(orig) } - -// Deprecated: [0.62.0] Use DefaultDataPointFlags instead. -var DefaultMetricDataPointFlags = DefaultDataPointFlags - -// Deprecated: [0.62.0] Use DataPointFlags instead. -type MetricDataPointFlags = DataPointFlags diff --git a/pdata/pmetric/metrics.go b/pdata/pmetric/metrics.go index 0069adedb9a..f1739630f69 100644 --- a/pdata/pmetric/metrics.go +++ b/pdata/pmetric/metrics.go @@ -111,9 +111,6 @@ const ( MetricTypeSummary ) -// Deprecated: [0.62.0] Use MetricTypeEmpty instead. -const MetricTypeNone = MetricTypeEmpty - // String returns the string representation of the MetricType. func (mdt MetricType) String() string { switch mdt { @@ -159,20 +156,6 @@ func (at AggregationTemporality) String() string { return "" } -// Deprecated: [v0.62.0] Use AggregationTemporality instead. -type MetricAggregationTemporality = AggregationTemporality - -const ( - // Deprecated: [v0.62.0] Use AggregationTemporalityUnspecified instead. - MetricAggregationTemporalityUnspecified = AggregationTemporalityUnspecified - - // Deprecated: [v0.62.0] Use AggregationTemporalityDelta instead. - MetricAggregationTemporalityDelta = AggregationTemporalityDelta - - // Deprecated: [v0.62.0] Use AggregationTemporalityCumulative instead. - MetricAggregationTemporalityCumulative = AggregationTemporalityCumulative -) - // NumberDataPointValueType specifies the type of NumberDataPoint value. type NumberDataPointValueType int32 @@ -183,9 +166,6 @@ const ( NumberDataPointValueTypeDouble ) -// Deprecated: [0.62.0] Use NumberDataPointValueTypeEmpty instead. -const NumberDataPointValueTypeNone = NumberDataPointValueTypeEmpty - // String returns the string representation of the NumberDataPointValueType. func (nt NumberDataPointValueType) String() string { switch nt { @@ -209,9 +189,6 @@ const ( ExemplarValueTypeDouble ) -// Deprecated: [0.62.0] Use ExemplarValueTypeEmpty instead. -const ExemplarValueTypeNone = ExemplarValueTypeEmpty - // String returns the string representation of the ExemplarValueType. func (nt ExemplarValueType) String() string { switch nt { @@ -224,21 +201,3 @@ func (nt ExemplarValueType) String() string { } return "" } - -// Deprecated: [v0.62.0] Use ExponentialHistogramDataPointBuckets instead. -type Buckets = ExponentialHistogramDataPointBuckets - -// Deprecated: [v0.62.0] Use NewExponentialHistogramDataPointBuckets instead. -var NewBuckets = NewExponentialHistogramDataPointBuckets - -// Deprecated: [v0.62.0] Use SummaryDataPointValueAtQuantile instead. -type ValueAtQuantile = SummaryDataPointValueAtQuantile - -// Deprecated: [v0.62.0] Use NewSummaryDataPointValueAtQuantile instead. -var NewValueAtQuantile = NewSummaryDataPointValueAtQuantile - -// Deprecated: [v0.62.0] Use SummaryDataPointValueAtQuantileSlice instead. -type ValueAtQuantileSlice = SummaryDataPointValueAtQuantileSlice - -// Deprecated: [v0.62.0] Use NewSummaryDataPointValueAtQuantileSlice instead. -var NewValueAtQuantileSlice = NewSummaryDataPointValueAtQuantileSlice diff --git a/pdata/pmetric/pmetricotlp/metrics.go b/pdata/pmetric/pmetricotlp/metrics.go index d2f6e5c36c5..7b36f543e7a 100644 --- a/pdata/pmetric/pmetricotlp/metrics.go +++ b/pdata/pmetric/pmetricotlp/metrics.go @@ -150,9 +150,6 @@ func RegisterGRPCServer(s *grpc.Server, srv GRPCServer) { otlpcollectormetrics.RegisterMetricsServiceServer(s, &rawMetricsServer{srv: srv}) } -// Deprecated: [v0.62.0] Use RegisterGRPCServer instead -var RegisterServer = RegisterGRPCServer - type rawMetricsServer struct { srv GRPCServer } diff --git a/pdata/ptrace/ptraceotlp/traces.go b/pdata/ptrace/ptraceotlp/traces.go index be55eb3d082..86acfe0f0f8 100644 --- a/pdata/ptrace/ptraceotlp/traces.go +++ b/pdata/ptrace/ptraceotlp/traces.go @@ -155,9 +155,6 @@ func RegisterGRPCServer(s *grpc.Server, srv GRPCServer) { otlpcollectortrace.RegisterTraceServiceServer(s, &rawTracesServer{srv: srv}) } -// Deprecated: [v0.62.0] Use RegisterGRPCServer instead -var RegisterServer = RegisterGRPCServer - type rawTracesServer struct { srv GRPCServer } diff --git a/pdata/ptrace/traces.go b/pdata/ptrace/traces.go index 866777f9506..29782d60eee 100644 --- a/pdata/ptrace/traces.go +++ b/pdata/ptrace/traces.go @@ -110,9 +110,3 @@ const ( // String returns the string representation of the StatusCode. func (sc StatusCode) String() string { return otlptrace.Status_StatusCode(sc).String() } - -// Deprecated: [v0.62.0] Use Status instead. -type SpanStatus = Status - -// Deprecated: [v0.62.0] Use NewStatus instead. -var NewSpanStatus = NewStatus