From 47dc9526d06179b9273d1d55b351bf9969ef184e Mon Sep 17 00:00:00 2001 From: Bogdan Drutu Date: Tue, 30 Aug 2022 16:02:54 -0700 Subject: [PATCH] Add back deprecated funcs/types deleted by mistake. (#6001) The mistake happened in https://github.com/open-telemetry/opentelemetry-collector/pull/5936 Signed-off-by: Bogdan Signed-off-by: Bogdan --- pdata/pmetric/metrics.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pdata/pmetric/metrics.go b/pdata/pmetric/metrics.go index 2e7f1e8744f..47ca937037c 100644 --- a/pdata/pmetric/metrics.go +++ b/pdata/pmetric/metrics.go @@ -286,3 +286,9 @@ func (ot OptionalType) String() string { } return "" } + +// Deprecated: [0.59.0] Use MetricDataPointFlagsImmutable. +type MetricDataPointFlagsStruct = MetricDataPointFlags + +// Deprecated: [0.59.0] Use MetricDataPointFlagsImmutable. +var NewMetricDataPointFlagsStruct = NewMetricDataPointFlags