Skip to content

Commit

Permalink
Release azure-monitor-opentelemetry-exporter (Azure#38310)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzchen authored and allenkim0129 committed Nov 5, 2024
1 parent 96ba2ea commit 620fd8c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
8 changes: 2 additions & 6 deletions sdk/monitor/azure-monitor-opentelemetry-exporter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
# Release History

## 1.0.0b32 (Unreleased)

### Features Added
## 1.0.0b32 (2024-11-04)

### Breaking Changes

- Serialize complex objects provided as log or event bodies to JSON and
fall back to string representation if they are not serializable.
([37694](https://github.com/Azure/azure-sdk-for-python/pull/37694))

### Bugs Fixed
([#37694](https://github.com/Azure/azure-sdk-for-python/pull/37694))

### Other Changes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def __init__(self, **kwargs: Any) -> None:
self._base_monitoring_data_point = MonitoringDataPoint(
version=_get_sdk_version(),
# Invariant version 5 indicates filtering is supported
invariant_version=5,
invariant_version=2,
instance=part_a_fields.get(ContextTagKeys.AI_CLOUD_ROLE_INSTANCE, ""),
role_name=part_a_fields.get(ContextTagKeys.AI_CLOUD_ROLE, ""),
machine_name=platform.node(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def test_init(self, generator_mock):
"4321abcd-5678-4efa-8abc-1234567890ac",
)
self.assertEqual(qpm._base_monitoring_data_point.version, _get_sdk_version())
self.assertEqual(qpm._base_monitoring_data_point.invariant_version, 5)
self.assertEqual(qpm._base_monitoring_data_point.invariant_version, 2)
self.assertEqual(
qpm._base_monitoring_data_point.instance, part_a_fields.get(ContextTagKeys.AI_CLOUD_ROLE_INSTANCE, "")
)
Expand Down

0 comments on commit 620fd8c

Please sign in to comment.