Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,27 @@ const OpenTelemetry.SemanticConventions.BrowserAttributes.AttributeBrowserDocume
const OpenTelemetry.SemanticConventions.BrowserAttributes.AttributeBrowserLanguage = "browser.language" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.AttributeBrowserMobile = "browser.mobile" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.AttributeBrowserPlatform = "browser.platform" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.AttributeBrowserWebVitalDelta = "browser.web_vital.delta" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.AttributeBrowserWebVitalId = "browser.web_vital.id" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.AttributeBrowserWebVitalName = "browser.web_vital.name" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.AttributeBrowserWebVitalNavigationType = "browser.web_vital.navigation_type" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.AttributeBrowserWebVitalRating = "browser.web_vital.rating" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.AttributeBrowserWebVitalValue = "browser.web_vital.value" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.BrowserWebVitalNameValues.Cls = "cls" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.BrowserWebVitalNameValues.Fcp = "fcp" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.BrowserWebVitalNameValues.Fid = "fid" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.BrowserWebVitalNameValues.Inp = "inp" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.BrowserWebVitalNameValues.Lcp = "lcp" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.BrowserWebVitalNameValues.Ttfb = "ttfb" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.BrowserWebVitalNavigationTypeValues.BackForward = "back-forward" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.BrowserWebVitalNavigationTypeValues.BackForwardCache = "back-forward-cache" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.BrowserWebVitalNavigationTypeValues.Navigate = "navigate" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.BrowserWebVitalNavigationTypeValues.Prerender = "prerender" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.BrowserWebVitalNavigationTypeValues.Reload = "reload" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.BrowserWebVitalNavigationTypeValues.Restore = "restore" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.BrowserWebVitalRatingValues.Good = "good" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.BrowserWebVitalRatingValues.NeedsImprovement = "needs-improvement" -> string!
const OpenTelemetry.SemanticConventions.BrowserAttributes.BrowserWebVitalRatingValues.Poor = "poor" -> string!
const OpenTelemetry.SemanticConventions.CassandraAttributes.AttributeCassandraConsistencyLevel = "cassandra.consistency.level" -> string!
const OpenTelemetry.SemanticConventions.CassandraAttributes.AttributeCassandraCoordinatorDc = "cassandra.coordinator.dc" -> string!
const OpenTelemetry.SemanticConventions.CassandraAttributes.AttributeCassandraCoordinatorId = "cassandra.coordinator.id" -> string!
Expand Down Expand Up @@ -296,6 +317,7 @@ const OpenTelemetry.SemanticConventions.CloudAttributes.CloudPlatformValues.Hetz
const OpenTelemetry.SemanticConventions.CloudAttributes.CloudPlatformValues.IbmCloudOpenshift = "ibm_cloud_openshift" -> string!
const OpenTelemetry.SemanticConventions.CloudAttributes.CloudPlatformValues.OracleCloudCompute = "oracle_cloud_compute" -> string!
const OpenTelemetry.SemanticConventions.CloudAttributes.CloudPlatformValues.OracleCloudOke = "oracle_cloud_oke" -> string!
const OpenTelemetry.SemanticConventions.CloudAttributes.CloudPlatformValues.ScalewayCloudCompute = "scaleway_cloud_compute" -> string!
const OpenTelemetry.SemanticConventions.CloudAttributes.CloudPlatformValues.TencentCloudCvm = "tencent_cloud_cvm" -> string!
const OpenTelemetry.SemanticConventions.CloudAttributes.CloudPlatformValues.TencentCloudEks = "tencent_cloud_eks" -> string!
const OpenTelemetry.SemanticConventions.CloudAttributes.CloudPlatformValues.TencentCloudScf = "tencent_cloud_scf" -> string!
Expand All @@ -309,6 +331,7 @@ const OpenTelemetry.SemanticConventions.CloudAttributes.CloudProviderValues.Hero
const OpenTelemetry.SemanticConventions.CloudAttributes.CloudProviderValues.Hetzner = "hetzner" -> string!
const OpenTelemetry.SemanticConventions.CloudAttributes.CloudProviderValues.IbmCloud = "ibm_cloud" -> string!
const OpenTelemetry.SemanticConventions.CloudAttributes.CloudProviderValues.OracleCloud = "oracle_cloud" -> string!
const OpenTelemetry.SemanticConventions.CloudAttributes.CloudProviderValues.ScalewayCloud = "scaleway_cloud" -> string!
const OpenTelemetry.SemanticConventions.CloudAttributes.CloudProviderValues.TencentCloud = "tencent_cloud" -> string!
const OpenTelemetry.SemanticConventions.CloudAttributes.CloudProviderValues.Vultr = "vultr" -> string!
const OpenTelemetry.SemanticConventions.CloudeventsAttributes.AttributeCloudeventsEventId = "cloudevents.event_id" -> string!
Expand Down Expand Up @@ -1262,6 +1285,7 @@ const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingGc
const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingGcpPubsubMessageAckId = "messaging.gcp_pubsub.message.ack_id" -> string!
const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingGcpPubsubMessageDeliveryAttempt = "messaging.gcp_pubsub.message.delivery_attempt" -> string!
const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingGcpPubsubMessageOrderingKey = "messaging.gcp_pubsub.message.ordering_key" -> string!
const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingKafkaClusterId = "messaging.kafka.cluster.id" -> string!
const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingKafkaConsumerGroup = "messaging.kafka.consumer.group" -> string!
const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingKafkaDestinationPartition = "messaging.kafka.destination.partition" -> string!
const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingKafkaMessageKey = "messaging.kafka.message.key" -> string!
Expand Down Expand Up @@ -1914,6 +1938,9 @@ OpenTelemetry.SemanticConventions.AzureAttributes
OpenTelemetry.SemanticConventions.AzureAttributes.AzureCosmosdbConnectionModeValues
OpenTelemetry.SemanticConventions.AzureAttributes.AzureCosmosdbConsistencyLevelValues
OpenTelemetry.SemanticConventions.BrowserAttributes
OpenTelemetry.SemanticConventions.BrowserAttributes.BrowserWebVitalNameValues
OpenTelemetry.SemanticConventions.BrowserAttributes.BrowserWebVitalNavigationTypeValues
OpenTelemetry.SemanticConventions.BrowserAttributes.BrowserWebVitalRatingValues
OpenTelemetry.SemanticConventions.CassandraAttributes
OpenTelemetry.SemanticConventions.CassandraAttributes.CassandraConsistencyLevelValues
OpenTelemetry.SemanticConventions.CicdAttributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static class AndroidAttributes
public const string AttributeAndroidAppState = "android.app.state";

/// <summary>
/// Uniquely identifies the framework API revision offered by a version (<c>os.version</c>) of the android operating system. More information can be found in the <a href="https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels">Android API levels documentation</a>.
/// Uniquely identifies the framework API revision offered by a version (<c>os.version</c>) of the Android operating system. More information can be found in the <a href="https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels">Android API levels documentation</a>.
/// </summary>
public const string AttributeAndroidOsApiLevel = "android.os.api_level";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static class AppAttributes
public const string AttributeAppBuildId = "app.build_id";

/// <summary>
/// A unique identifier representing an instance of an end-user facing app crash.
/// A unique identifier representing an instance of an end user facing app crash.
/// </summary>
/// <remarks>
/// Its value MAY be meaningful and be used as a reference for telemetry and metadata recorded by
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ public static class ArtifactAttributes
public const string AttributeArtifactAttestationHash = "artifact.attestation.hash";

/// <summary>
/// The id of the build <a href="https://slsa.dev/attestation-model">software attestation</a>.
/// The ID of the build <a href="https://slsa.dev/attestation-model">software attestation</a>.
/// </summary>
public const string AttributeArtifactAttestationId = "artifact.attestation.id";

/// <summary>
/// The human readable file name of the artifact, typically generated during build and release processes. Often includes the package name and version in the file name.
/// The human readable filename of the artifact, typically generated during build and release processes. Often includes the package name and version in the filename.
/// </summary>
/// <remarks>
/// This file name can also act as the <a href="https://slsa.dev/spec/v1.0/terminology#package-model">Package Name</a>
/// This filename can also act as the <a href="https://slsa.dev/spec/v1.0/terminology#package-model">Package Name</a>
/// in cases where the package ecosystem maps accordingly.
/// Additionally, the artifact <a href="https://slsa.dev/spec/v1.0/terminology#software-supply-chain">can be published</a>
/// for others, but that is not a guarantee.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ public static class AspnetcoreIdentityUserUpdateTypeValues
public const string Update = "update";

/// <summary>
/// Identity user name updated.
/// Identity username updated.
/// </summary>
public const string UserName = "user_name";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,128 @@ public static class BrowserAttributes
/// The list of possible values is defined in the <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform">W3C User-Agent Client Hints specification</a>. Note that some (but not all) of these values can overlap with values in the <a href="./os.md"><c>os.type</c> and <c>os.name</c> attributes</a>. However, for consistency, the values in the <c>browser.platform</c> attribute should capture the exact value that the user agent provides.
/// </remarks>
public const string AttributeBrowserPlatform = "browser.platform";

/// <summary>
/// The delta between the current value and the last-reported value. See <a href="https://github.com/GoogleChrome/web-vitals?tab=readme-ov-file#report-only-the-delta-of-changes">delta</a>.
/// </summary>
public const string AttributeBrowserWebVitalDelta = "browser.web_vital.delta";

/// <summary>
/// A unique ID representing this particular metric instance.
/// </summary>
public const string AttributeBrowserWebVitalId = "browser.web_vital.id";

/// <summary>
/// Name of the web vital.
/// </summary>
public const string AttributeBrowserWebVitalName = "browser.web_vital.name";

/// <summary>
/// The type of navigation, as reported by the <a href="https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/type">Navigation Timing API</a>, with additional values reported by the web-vitals library.
/// </summary>
public const string AttributeBrowserWebVitalNavigationType = "browser.web_vital.navigation_type";

/// <summary>
/// The rating of the web vital value against the "good", "needs improvement", and "poor" thresholds defined for the metric.
/// </summary>
public const string AttributeBrowserWebVitalRating = "browser.web_vital.rating";

/// <summary>
/// Value of the web vital.
/// </summary>
public const string AttributeBrowserWebVitalValue = "browser.web_vital.value";

/// <summary>
/// Name of the web vital.
/// </summary>
public static class BrowserWebVitalNameValues
{
/// <summary>
/// Cumulative Layout Shift. See <a href="https://web.dev/articles/cls">cls</a>.
/// </summary>
public const string Cls = "cls";

/// <summary>
/// Largest Contentful Paint. See <a href="https://web.dev/articles/lcp">lcp</a>.
/// </summary>
public const string Lcp = "lcp";

/// <summary>
/// First Contentful Paint. See <a href="https://web.dev/articles/fcp">fcp</a>.
/// </summary>
public const string Fcp = "fcp";

/// <summary>
/// Interaction to Next Paint. See <a href="https://web.dev/articles/inp">inp</a>.
/// </summary>
public const string Inp = "inp";

/// <summary>
/// Time to First Byte. See <a href="https://web.dev/articles/ttfb">ttfb</a>.
/// </summary>
public const string Ttfb = "ttfb";

/// <summary>
/// First Input Delay. See <a href="https://web.dev/articles/fid">fid</a>.
/// </summary>
[Obsolete("Replaced by Interaction to Next Paint (<c>inp</c>), which became a Core Web Vital in March 2024. See inp (https://web.dev/articles/inp).")]
public const string Fid = "fid";
}

/// <summary>
/// The type of navigation, as reported by the <a href="https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/type">Navigation Timing API</a>, with additional values reported by the web-vitals library.
/// </summary>
public static class BrowserWebVitalNavigationTypeValues
{
/// <summary>
/// Navigation started by clicking a link, entering a URL, form submission, or a script operation.
/// </summary>
public const string Navigate = "navigate";

/// <summary>
/// Navigation through a reload operation or a <c>Location.reload()</c> call.
/// </summary>
public const string Reload = "reload";

/// <summary>
/// Navigation through the browser's history traversal (e.g. back/forward buttons).
/// </summary>
public const string BackForward = "back-forward";

/// <summary>
/// Navigation restoring a page from the back/forward cache (bfcache).
/// </summary>
public const string BackForwardCache = "back-forward-cache";

/// <summary>
/// Navigation to a page that was prerendered.
/// </summary>
public const string Prerender = "prerender";

/// <summary>
/// Navigation restoring a page that was previously discarded by the browser.
/// </summary>
public const string Restore = "restore";
}

/// <summary>
/// The rating of the web vital value against the "good", "needs improvement", and "poor" thresholds defined for the metric.
/// </summary>
public static class BrowserWebVitalRatingValues
{
/// <summary>
/// The metric value is within the "good" threshold.
/// </summary>
public const string Good = "good";

/// <summary>
/// The metric value is within the "needs improvement" threshold.
/// </summary>
public const string NeedsImprovement = "needs-improvement";

/// <summary>
/// The metric value is within the "poor" threshold.
/// </summary>
public const string Poor = "poor";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace OpenTelemetry.SemanticConventions;
public static class ClientAttributes
{
/// <summary>
/// Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.
/// Client address - domain name if available without reverse DNS lookup; otherwise, IP address or UNIX domain socket name.
/// </summary>
/// <remarks>
/// When observed from the server side, and when communicating through an intermediary, <c>client.address</c> SHOULD represent the client address behind any intermediaries, for example proxies, if it's available.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,11 @@ public static class CloudPlatformValues
/// </summary>
public const string OracleCloudOke = "oracle_cloud_oke";

/// <summary>
/// Compute on Scaleway Cloud.
/// </summary>
public const string ScalewayCloudCompute = "scaleway_cloud_compute";

/// <summary>
/// Tencent Cloud Cloud Virtual Machine (CVM).
/// </summary>
Expand Down Expand Up @@ -302,6 +307,11 @@ public static class CloudProviderValues
/// </summary>
public const string OracleCloud = "oracle_cloud";

/// <summary>
/// Scaleway Cloud.
/// </summary>
public const string ScalewayCloud = "scaleway_cloud";

/// <summary>
/// Tencent Cloud.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public static class CloudfoundryAttributes
/// <remarks>
/// CloudFoundry defines the <c>instance_id</c> in the <a href="https://github.com/cloudfoundry/loggregator-api#v2-envelope">Loggregator v2 envelope</a>.
/// It is used for logs and metrics emitted by CloudFoundry. It is
/// supposed to contain the vm id for CloudFoundry components.
/// supposed to contain the vm ID for CloudFoundry components.
/// <p>
/// When system components are instrumented, values from the
/// <a href="https://bosh.io/docs/jobs/#properties-spec">Bosh spec</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static class CodeAttributes
public const string AttributeCodeColumnNumber = "code.column.number";

/// <summary>
/// The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). This attribute MUST NOT be used on the Profile signal since the data is already captured in 'message Function'. This constraint is imposed to prevent redundancy and maintain data integrity.
/// The source code filename that identifies the code unit as uniquely as possible (preferably an absolute file path). This attribute MUST NOT be used on the Profile signal since the data is already captured in 'message Function'. This constraint is imposed to prevent redundancy and maintain data integrity.
/// </summary>
public const string AttributeCodeFilePath = "code.file.path";

Expand Down
Loading