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
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- Add auto detection for application ID from connection string if not set
([#44644](https://github.com/Azure/azure-sdk-for-python/pull/44644))
- Add support for user id and authId
([#44662](https://github.com/Azure/azure-sdk-for-python/pull/44662))
([#44662](https://github.com/Azure/azure-sdk-for-python/pull/44662))

### Breaking Changes

Expand All @@ -19,10 +19,12 @@
([#44852](https://github.com/Azure/azure-sdk-for-python/pull/44852))

### Other Changes
- Feature tracking for when customer sdkstats is disabled by the user
([#44888](https://github.com/Azure/azure-sdk-for-python/pull/44888))
- Update maximum size of custom properties
([#44684](https://github.com/Azure/azure-sdk-for-python/pull/44684))
([#44684](https://github.com/Azure/azure-sdk-for-python/pull/44684))
- Declare support for Python 3.13 and 3.14
([#44550](https://github.com/Azure/azure-sdk-for-python/pull/44550))
([#44550](https://github.com/Azure/azure-sdk-for-python/pull/44550))

## 1.0.0b46 (2025-12-04)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

from typing import TYPE_CHECKING

from azure.monitor.opentelemetry.exporter.statsbeat._state import set_statsbeat_customer_sdkstats_feature_set

from ._state import get_customer_stats_manager

Expand All @@ -21,7 +20,6 @@ def collect_customer_sdkstats(exporter: "BaseExporter") -> None: # type: ignore
if not customer_stats.is_initialized:
# The initialize method is thread-safe and handles double-initialization
customer_stats.initialize(connection_string=exporter._connection_string) # type: ignore
set_statsbeat_customer_sdkstats_feature_set()


def shutdown_customer_sdkstats_metrics() -> None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
get_compute_type,
)

from azure.monitor.opentelemetry.exporter.statsbeat._state import set_statsbeat_customer_sdkstats_feature_set
from ._utils import get_customer_sdkstats_export_interval, categorize_status_code, is_customer_sdkstats_enabled


Expand Down Expand Up @@ -62,6 +63,7 @@ def __init__(self):
self._status = CustomerSdkStatsStatus.UNINITIALIZED
else:
self._status = CustomerSdkStatsStatus.DISABLED
set_statsbeat_customer_sdkstats_feature_set()

self._counters = _CustomerSdkStatsTelemetryCounters()
self._language = _CUSTOMER_SDKSTATS_LANGUAGE
Expand Down