enduser_attributes.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. * Copyright The OpenTelemetry Authors
  3. * SPDX-License-Identifier: Apache-2.0
  4. */
  5. /*
  6. * DO NOT EDIT, this is an Auto-generated file from:
  7. * buildscripts/semantic-convention/templates/registry/semantic_attributes-h.j2
  8. */
  9. #pragma once
  10. #include "opentelemetry/common/macros.h"
  11. #include "opentelemetry/version.h"
  12. OPENTELEMETRY_BEGIN_NAMESPACE
  13. namespace semconv
  14. {
  15. namespace enduser
  16. {
  17. /**
  18. Unique identifier of an end user in the system. It maybe a username, email address, or other
  19. identifier. <p> Unique identifier of an end user in the system. <blockquote>
  20. [!Warning]
  21. This field contains sensitive (PII) information.</blockquote>
  22. */
  23. static constexpr const char *kEnduserId = "enduser.id";
  24. /**
  25. Pseudonymous identifier of an end user. This identifier should be a random value that is not
  26. directly linked or associated with the end user's actual identity. <p> Pseudonymous identifier of
  27. an end user. <blockquote>
  28. [!Warning]
  29. This field contains sensitive (linkable PII) information.</blockquote>
  30. */
  31. static constexpr const char *kEnduserPseudoId = "enduser.pseudo.id";
  32. /**
  33. Deprecated, use @code user.roles @endcode instead.
  34. @deprecated
  35. {"note": "Use @code user.roles @endcode attribute instead.", "reason": "uncategorized"}
  36. */
  37. OPENTELEMETRY_DEPRECATED static constexpr const char *kEnduserRole = "enduser.role";
  38. /**
  39. Deprecated, no replacement at this time.
  40. @deprecated
  41. {"note": "Removed, no replacement at this time.", "reason": "obsoleted"}
  42. */
  43. OPENTELEMETRY_DEPRECATED static constexpr const char *kEnduserScope = "enduser.scope";
  44. } // namespace enduser
  45. } // namespace semconv
  46. OPENTELEMETRY_END_NAMESPACE