Skip to content

Commit

Permalink
[engsys] remove deprecated @opentelemetry/api-metrics dependency (#…
Browse files Browse the repository at this point in the history
…24228)

`rush update` suggests

>  WARN  deprecated @opentelemetry/api-metrics@0.33.0: Please use @opentelemetry/api >= 1.3.0
  • Loading branch information
jeremymeng committed Jan 5, 2023
1 parent 2b7f75b commit 1211d6f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion sdk/monitor/monitor-opentelemetry-exporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.1.0",
"@opentelemetry/api": "^1.3.0",
"@opentelemetry/api-metrics": "^0.33.0",
"@opentelemetry/core": "^1.8.0",
"@opentelemetry/resources": "^1.8.0",
"@opentelemetry/sdk-metrics": "^1.8.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import {
createPipelineRequest,
HttpMethods,
} from "@azure/core-rest-pipeline";
import { diag } from "@opentelemetry/api";
import {
diag,
BatchObservableResult,
Meter,
ObservableGauge,
ObservableResult,
} from "@opentelemetry/api-metrics";
import { Meter } from "@opentelemetry/api-metrics/build/src/types/Meter";
} from "@opentelemetry/api";
import {
MeterProvider,
PeriodicExportingMetricReader,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

import { MetricAttributes } from "@opentelemetry/api-metrics";
import { MetricAttributes } from "@opentelemetry/api";
import { DataPointType, Histogram, ResourceMetrics } from "@opentelemetry/sdk-metrics";
import {
TelemetryItem as Envelope,
Expand Down

0 comments on commit 1211d6f

Please sign in to comment.