From 77c69255927b85bb7f78fd4a554a771ded3da054 Mon Sep 17 00:00:00 2001 From: p3dr0rv Date: Thu, 5 Mar 2026 17:52:51 -0800 Subject: [PATCH 1/2] Add device registration IPC attributes to AttributeName enum and update SpanName enum --- .../java/opentelemetry/AttributeName.java | 24 +++++++++++++++++++ .../common/java/opentelemetry/SpanName.java | 1 + 2 files changed, 25 insertions(+) diff --git a/common4j/src/main/com/microsoft/identity/common/java/opentelemetry/AttributeName.java b/common4j/src/main/com/microsoft/identity/common/java/opentelemetry/AttributeName.java index b6c2880aa2..46ce7c249a 100644 --- a/common4j/src/main/com/microsoft/identity/common/java/opentelemetry/AttributeName.java +++ b/common4j/src/main/com/microsoft/identity/common/java/opentelemetry/AttributeName.java @@ -597,4 +597,28 @@ public enum AttributeName { secret_key_serialization_duration, //endregion + + //region Device Registration IPC Attributes + + /** + * Indicates the status of content provider IPC strategy for device registration. + */ + content_provider_status, + + /** + * Indicates the status of bound service IPC strategy for device registration. + */ + bound_service_status, + + /** + * Indicates the status of Legacy Account manager IPC strategy for device registration. + */ + legacy_am_status, + + /** + * Indicates the name of the device registration protocol being executed. + */ + device_registration_protocol_name, + + //endregion } diff --git a/common4j/src/main/com/microsoft/identity/common/java/opentelemetry/SpanName.java b/common4j/src/main/com/microsoft/identity/common/java/opentelemetry/SpanName.java index d3cc70edaa..61317fd959 100644 --- a/common4j/src/main/com/microsoft/identity/common/java/opentelemetry/SpanName.java +++ b/common4j/src/main/com/microsoft/identity/common/java/opentelemetry/SpanName.java @@ -37,6 +37,7 @@ public enum SpanName { CertBasedAuth, MSAL_PerformIpcStrategy, DeviceRegistrationApi, + DeviceRegistrationIpc, WorkplaceJoinApi, AcquireTokenDcf, AcquireTokenDcfAuthRequest, From 4faa9665eba6caec92eae4c6c1bb8474ed93e16c Mon Sep 17 00:00:00 2001 From: p3dr0rv Date: Thu, 5 Mar 2026 18:24:12 -0800 Subject: [PATCH 2/2] Update legacy account manager status attribute name for clarity --- .../identity/common/java/opentelemetry/AttributeName.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common4j/src/main/com/microsoft/identity/common/java/opentelemetry/AttributeName.java b/common4j/src/main/com/microsoft/identity/common/java/opentelemetry/AttributeName.java index 46ce7c249a..f402720892 100644 --- a/common4j/src/main/com/microsoft/identity/common/java/opentelemetry/AttributeName.java +++ b/common4j/src/main/com/microsoft/identity/common/java/opentelemetry/AttributeName.java @@ -611,9 +611,9 @@ public enum AttributeName { bound_service_status, /** - * Indicates the status of Legacy Account manager IPC strategy for device registration. + * Indicates the status of Legacy Account Manager IPC strategy for device registration. */ - legacy_am_status, + legacy_account_manager_status, /** * Indicates the name of the device registration protocol being executed.