Skip to content

Commit

Permalink
Update to OpenTelemetry api/sdk v1.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-barry-gmo committed Dec 13, 2022
1 parent e5f061f commit 40bcec1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions sdk/monitor/azure-monitor-opentelemetry-exporter/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

### Breaking Changes

- Update to OpenTelemetry api/sdk v1.15.0
([#27900](https://github.com/Azure/azure-sdk-for-python/issues/27900))

### Bugs Fixed

- Pass along sampleRate in SpanEvents from Span
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import logging
from typing import Sequence, Any

from opentelemetry._logs.severity import SeverityNumber
from opentelemetry.semconv.trace import SpanAttributes
from opentelemetry.sdk._logs import LogData
from opentelemetry.sdk._logs.severity import SeverityNumber
from opentelemetry.sdk._logs.export import LogExporter, LogExportResult

from azure.monitor.opentelemetry.exporter import _utils
Expand Down
4 changes: 2 additions & 2 deletions sdk/monitor/azure-monitor-opentelemetry-exporter/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@
"azure-core<2.0.0,>=1.23.0",
"fixedint==0.1.6",
"msrest>=0.6.10",
"opentelemetry-api<2.0.0,>=1.12.0",
"opentelemetry-sdk<2.0.0,>=1.12.0",
"opentelemetry-api<2.0.0,>=1.15.0",
"opentelemetry-sdk<2.0.0,>=1.15.0",
],
entry_points={
"opentelemetry_traces_exporter": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from opentelemetry.sdk.util.instrumentation import InstrumentationScope
from opentelemetry.sdk.resources import Resource
from opentelemetry.sdk._logs.export import LogExportResult
from opentelemetry.sdk._logs.severity import SeverityNumber
from opentelemetry._logs.severity import SeverityNumber

from azure.monitor.opentelemetry.exporter.export._base import ExportResult
from azure.monitor.opentelemetry.exporter.export.logs._exporter import (
Expand Down
4 changes: 2 additions & 2 deletions shared_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,9 @@ opentelemetry-sdk<2.0.0,>=1.5.0,!=1.10a0
#override azure-monitor-opentelemetry-exporter fixedint==0.1.6
#override azure-monitor-opentelemetry-exporter msrest>=0.6.10
#override azure-mgmt-healthbot azure-mgmt-core>=1.3.2,<2.0.0
#override azure-monitor-opentelemetry-exporter opentelemetry-api<2.0.0,>=1.12.0
#override azure-monitor-opentelemetry-exporter opentelemetry-api<2.0.0,>=1.15.0
#override azure-mgmt-cosmosdb typing-extensions>=4.3.0; python_version<'3.8.0'
#override azure-monitor-opentelemetry-exporter opentelemetry-sdk<2.0.0,>=1.12.0
#override azure-monitor-opentelemetry-exporter opentelemetry-sdk<2.0.0,>=1.15.0
#override azure-mgmt-support msrest>=0.7.1
#override azure-core-tracing-opentelemetry opentelemetry-api<2.0.0,>=1.0.0
#override azure-identity six>=1.12.0
Expand Down

0 comments on commit 40bcec1

Please sign in to comment.