/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ /* * DO NOT EDIT, this is an Auto-generated file from: * buildscripts/semantic-convention/templates/registry/semantic_attributes-h.j2 */ #pragma once #include "opentelemetry/common/macros.h" #include "opentelemetry/version.h" OPENTELEMETRY_BEGIN_NAMESPACE namespace semconv { namespace enduser { /** Unique identifier of an end user in the system. It maybe a username, email address, or other identifier.
Unique identifier of an end user in the system.
[!Warning] This field contains sensitive (PII) information.*/ static constexpr const char *kEnduserId = "enduser.id"; /** Pseudonymous identifier of an end user. This identifier should be a random value that is not directly linked or associated with the end user's actual identity.
Pseudonymous identifier of an end user.
[!Warning] This field contains sensitive (linkable PII) information.*/ static constexpr const char *kEnduserPseudoId = "enduser.pseudo.id"; /** Deprecated, use @code user.roles @endcode instead. @deprecated {"note": "Use @code user.roles @endcode attribute instead.", "reason": "uncategorized"} */ OPENTELEMETRY_DEPRECATED static constexpr const char *kEnduserRole = "enduser.role"; /** Deprecated, no replacement at this time. @deprecated {"note": "Removed, no replacement at this time.", "reason": "obsoleted"} */ OPENTELEMETRY_DEPRECATED static constexpr const char *kEnduserScope = "enduser.scope"; } // namespace enduser } // namespace semconv OPENTELEMETRY_END_NAMESPACE