1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
/*
* 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. <p> Unique identifier of an end user in the system. <blockquote>
[!Warning]
This field contains sensitive (PII) information.</blockquote>
*/
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. <p> Pseudonymous identifier of
an end user. <blockquote>
[!Warning]
This field contains sensitive (linkable PII) information.</blockquote>
*/
static constexpr const char *kEnduserPseudoId = "enduser.pseudo.id";
/**
Deprecated, use @code user.roles @endcode instead.
@deprecated
{"note": "Replaced by @code user.roles @endcode.", "reason": "renamed", "renamed_to":
"user.roles"}
*/
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
|