Skip to content
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
2 changes: 2 additions & 0 deletions sdk/monitor/azure-monitor-opentelemetry/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

- Update configure_azure_monitor signature and Django sample
([#33834](https://github.com/Azure/azure-sdk-for-python/pull/33834))
- Remove support for Python 3.7
([#34252](https://github.com/Azure/azure-sdk-for-python/pull/34252))

## 1.2.0 (2024-01-18)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
from azure.monitor.opentelemetry.exporter._connection_string_parser import ( # pylint: disable=import-error,no-name-in-module
ConnectionStringParser,
)
from azure.monitor.opentelemetry.exporter._constants import ( # pylint: disable=import-error,no-name-in-module
_AZURE_MONITOR_DISTRO_VERSION_ARG,
)

# --------------------Configuration------------------------------------------

Expand All @@ -21,8 +24,7 @@
DISABLE_LOGGING_ARG = "disable_logging"
DISABLE_METRICS_ARG = "disable_metrics"
DISABLE_TRACING_ARG = "disable_tracing"
# TODO: Use constant in exporter once available
DISTRO_VERSION_ARG = "distro_version"
DISTRO_VERSION_ARG = _AZURE_MONITOR_DISTRO_VERSION_ARG
LOGGER_NAME_ARG = "logger_name"
INSTRUMENTATION_OPTIONS_ARG = "instrumentation_options"
RESOURCE_ARG = "resource"
Expand Down
7 changes: 3 additions & 4 deletions sdk/monitor/azure-monitor-opentelemetry/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand All @@ -84,19 +83,19 @@
package_data={
"pytyped": ["py.typed"],
},
python_requires=">=3.7",
python_requires=">=3.8",
install_requires=[
"azure-core<2.0.0,>=1.24.0",
"azure-core-tracing-opentelemetry~=1.0.0b10",
"azure-monitor-opentelemetry-exporter~=1.0.0b21",
"azure-monitor-opentelemetry-exporter~=1.0.0b22",
"opentelemetry-instrumentation-django~=0.42b0",
"opentelemetry-instrumentation-fastapi~=0.42b0",
"opentelemetry-instrumentation-flask~=0.42b0",
"opentelemetry-instrumentation-psycopg2~=0.42b0",
"opentelemetry-instrumentation-requests~=0.42b0",
"opentelemetry-instrumentation-urllib~=0.42b0",
"opentelemetry-instrumentation-urllib3~=0.42b0",
"opentelemetry-resource-detector-azure~=0.1.1",
"opentelemetry-resource-detector-azure~=0.1.2",
],
entry_points={
"opentelemetry_distro": [
Expand Down