From e133f3f5c3d9467c5c96df14a5fdd6c43706d450 Mon Sep 17 00:00:00 2001 From: Amir Blum Date: Wed, 16 Nov 2022 21:11:53 +0200 Subject: [PATCH] fix(api): deprecate MetricAttributes and MetricAttributeValue (#3406) * docs: fix comment in metrics api refering to span * fix(api): deprecate MetricsAttributes and MetricAttributeValue * fix: typo in changelog Co-authored-by: Daniel Dyla --- api/CHANGELOG.md | 1 + api/src/metrics/Metric.ts | 10 ++-------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/api/CHANGELOG.md b/api/CHANGELOG.md index 983a0261ce..3784f8abc8 100644 --- a/api/CHANGELOG.md +++ b/api/CHANGELOG.md @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file. ## Unreleased +* fix(api): deprecate MetricAttributes and MetricAttributeValue [#3406](https://github.com/open-telemetry/opentelemetry-js/pull/3406) @blumamir * test(api): disable module concatenation in tree-shaking test [#3409](https://github.com/open-telemetry/opentelemetry-js/pull/3409) @legendecas ## [1.3.0](https://www.github.com/open-telemetry/opentelemetry-js-api/compare/v1.2.0...v1.3.0) diff --git a/api/src/metrics/Metric.ts b/api/src/metrics/Metric.ts index d0b6909bd7..687369b92f 100644 --- a/api/src/metrics/Metric.ts +++ b/api/src/metrics/Metric.ts @@ -83,19 +83,13 @@ export interface Histogram