Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update exporter to OpenTelemetry api/sdk v1.15.0 #27913

Merged
merged 1 commit into from
Dec 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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