Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 25 additions & 2 deletions api/include/opentelemetry/semconv/incubating/app_attributes.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ namespace semconv
namespace app
{

/**
Unique identifier for a particular build or compilation of the application.
*/
static constexpr const char *kAppBuildId = "app.build_id";

/**
A unique identifier representing the installation of an application on a specific device
<p>
Expand All @@ -42,11 +47,29 @@ namespace app
Settings.getString(Settings.Secure.ANDROID_ID) @endcode</a>.</li>
</ul>
<p>
More information about Android identifier best practices can be found <a
href="https://developer.android.com/training/articles/user-data-ids">here</a>.
More information about Android identifier best practices can be found in the <a
href="https://developer.android.com/training/articles/user-data-ids">Android user data IDs
guide</a>.
*/
static constexpr const char *kAppInstallationId = "app.installation.id";

/**
A number of frame renders that experienced jank.
<p>
Depending on platform limitations, the value provided MAY be approximation.
*/
static constexpr const char *kAppJankFrameCount = "app.jank.frame_count";

/**
The time period, in seconds, for which this jank is being reported.
*/
static constexpr const char *kAppJankPeriod = "app.jank.period";

/**
The minimum rendering threshold for this jank, in seconds.
*/
static constexpr const char *kAppJankThreshold = "app.jank.threshold";

/**
The x (horizontal) coordinate of a screen coordinate, in screen pixels.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -409,12 +409,12 @@ static constexpr const char *kAwsStepFunctionsStateMachineArn =
namespace AwsEcsLaunchtypeValues
{
/**
none
Amazon EC2
*/
static constexpr const char *kEc2 = "ec2";

/**
none
Amazon Fargate
*/
static constexpr const char *kFargate = "fargate";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,27 +92,27 @@ static constexpr const char *kDirect = "direct";
namespace AzureCosmosdbConsistencyLevelValues
{
/**
none
Strong
*/
static constexpr const char *kStrong = "Strong";

/**
none
Bounded Staleness
*/
static constexpr const char *kBoundedStaleness = "BoundedStaleness";

/**
none
Session
*/
static constexpr const char *kSession = "Session";

/**
none
Eventual
*/
static constexpr const char *kEventual = "Eventual";

/**
none
Consistent Prefix
*/
static constexpr const char *kConsistentPrefix = "ConsistentPrefix";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ namespace azure
{

/**
Number of active client instances
Number of active client instances.
<p>
updowncounter
*/
static constexpr const char *kMetricAzureCosmosdbClientActiveInstanceCount =
"azure.cosmosdb.client.active_instance.count";
static constexpr const char *descrMetricAzureCosmosdbClientActiveInstanceCount =
"Number of active client instances";
"Number of active client instances.";
static constexpr const char *unitMetricAzureCosmosdbClientActiveInstanceCount = "{instance}";

static inline nostd::unique_ptr<metrics::UpDownCounter<int64_t>>
Expand Down Expand Up @@ -67,13 +67,13 @@ CreateAsyncDoubleMetricAzureCosmosdbClientActiveInstanceCount(metrics::Meter *me

/**
<a href="https://learn.microsoft.com/azure/cosmos-db/request-units">Request units</a> consumed by
the operation <p> histogram
the operation. <p> histogram
*/
static constexpr const char *kMetricAzureCosmosdbClientOperationRequestCharge =
"azure.cosmosdb.client.operation.request_charge";
static constexpr const char *descrMetricAzureCosmosdbClientOperationRequestCharge =
"[Request units](https://learn.microsoft.com/azure/cosmos-db/request-units) consumed by the "
"operation";
"operation.";
static constexpr const char *unitMetricAzureCosmosdbClientOperationRequestCharge = "{request_unit}";

static inline nostd::unique_ptr<metrics::Histogram<uint64_t>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,57 +55,57 @@ static constexpr const char *kCassandraSpeculativeExecutionCount =
namespace CassandraConsistencyLevelValues
{
/**
none
All
*/
static constexpr const char *kAll = "all";

/**
none
Each Quorum
*/
static constexpr const char *kEachQuorum = "each_quorum";

/**
none
Quorum
*/
static constexpr const char *kQuorum = "quorum";

/**
none
Local Quorum
*/
static constexpr const char *kLocalQuorum = "local_quorum";

/**
none
One
*/
static constexpr const char *kOne = "one";

/**
none
Two
*/
static constexpr const char *kTwo = "two";

/**
none
Three
*/
static constexpr const char *kThree = "three";

/**
none
Local One
*/
static constexpr const char *kLocalOne = "local_one";

/**
none
Any
*/
static constexpr const char *kAny = "any";

/**
none
Serial
*/
static constexpr const char *kSerial = "serial";

/**
none
Local Serial
*/
static constexpr const char *kLocalSerial = "local_serial";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,28 @@ static constexpr const char *kContainerName = "container.name";

/**
The container runtime managing this container.

@deprecated
{"note": "Replaced by @code container.runtime.name @endcode.", "reason": "renamed", "renamed_to":
"container.runtime.name"}
*/
OPENTELEMETRY_DEPRECATED static constexpr const char *kContainerRuntime = "container.runtime";

/**
A description about the runtime which could include, for example details about the CRI/API version
being used or other customisations.
*/
static constexpr const char *kContainerRuntimeDescription = "container.runtime.description";

/**
The container runtime managing this container.
*/
static constexpr const char *kContainerRuntimeName = "container.runtime.name";

/**
The version of the runtime of this process, as returned by the runtime without modification.
*/
static constexpr const char *kContainerRuntime = "container.runtime";
static constexpr const char *kContainerRuntimeVersion = "container.runtime.version";

namespace ContainerCpuStateValues
{
Expand Down
Loading
Loading