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
Original file line number Diff line number Diff line change
Expand Up @@ -15,35 +15,35 @@ namespace OpenTelemetry.SemanticConventions;
public static class AndroidAttributes
{
/// <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 <a href="https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels">here</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 <a href="https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels">here</a>.
/// </summary>
public const string AttributeAndroidOsApiLevel = "android.os.api_level";

/// <summary>
/// Deprecated use the <c>device.app.lifecycle</c> event definition including <c>android.state</c> as a payload field instead
/// Deprecated use the <c>device.app.lifecycle</c> event definition including <c>android.state</c> as a payload field instead.
/// </summary>
/// <remarks>
/// The Android lifecycle states are defined in <a href="https://developer.android.com/guide/components/activities/activity-lifecycle#lc">Activity lifecycle callbacks</a>, and from which the <c>OS identifiers</c> are derived
/// The Android lifecycle states are defined in <a href="https://developer.android.com/guide/components/activities/activity-lifecycle#lc">Activity lifecycle callbacks</a>, and from which the <c>OS identifiers</c> are derived.
/// </remarks>
public const string AttributeAndroidState = "android.state";

/// <summary>
/// Deprecated use the <c>device.app.lifecycle</c> event definition including <c>android.state</c> as a payload field instead
/// Deprecated use the <c>device.app.lifecycle</c> event definition including <c>android.state</c> as a payload field instead.
/// </summary>
public static class AndroidStateValues
{
/// <summary>
/// Any time before Activity.onResume() or, if the app has no Activity, Context.startService() has been called in the app for the first time
/// Any time before Activity.onResume() or, if the app has no Activity, Context.startService() has been called in the app for the first time.
/// </summary>
public const string Created = "created";

/// <summary>
/// Any time after Activity.onPause() or, if the app has no Activity, Context.stopService() has been called when the app was in the foreground state
/// Any time after Activity.onPause() or, if the app has no Activity, Context.stopService() has been called when the app was in the foreground state.
/// </summary>
public const string Background = "background";

/// <summary>
/// Any time after Activity.onResume() or, if the app has no Activity, Context.startService() has been called when the app was in either the created or background states
/// Any time after Activity.onResume() or, if the app has no Activity, Context.startService() has been called when the app was in either the created or background states.
/// </summary>
public const string Foreground = "foreground";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,33 @@ namespace OpenTelemetry.SemanticConventions;
public static class ArtifactAttributes
{
/// <summary>
/// The provenance filename of the built attestation which directly relates to the build artifact filename. This filename SHOULD accompany the artifact at publish time. See the <a href="https://slsa.dev/spec/v1.0/distributing-provenance#relationship-between-artifacts-and-attestations">SLSA Relationship</a> specification for more information
/// The provenance filename of the built attestation which directly relates to the build artifact filename. This filename SHOULD accompany the artifact at publish time. See the <a href="https://slsa.dev/spec/v1.0/distributing-provenance#relationship-between-artifacts-and-attestations">SLSA Relationship</a> specification for more information.
/// </summary>
public const string AttributeArtifactAttestationFilename = "artifact.attestation.filename";

/// <summary>
/// The full <a href="https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf">hash value (see glossary)</a>, of the built attestation. Some envelopes in the software attestation space also refer to this as the <a href="https://github.com/in-toto/attestation/blob/main/spec/README.md#in-toto-attestation-framework-spec">digest</a>
/// The full <a href="https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf">hash value (see glossary)</a>, of the built attestation. Some envelopes in the software attestation space also refer to this as the <a href="https://github.com/in-toto/attestation/blob/main/spec/README.md#in-toto-attestation-framework-spec">digest</a>.
/// </summary>
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 file name of the artifact, typically generated during build and release processes. Often includes the package name and version in the file name.
/// </summary>
/// <remarks>
/// This file name 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
/// for others, but that is not a guarantee.
/// </remarks>
public const string AttributeArtifactFilename = "artifact.filename";

/// <summary>
/// The full <a href="https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf">hash value (see glossary)</a>, often found in checksum.txt on a release of the artifact and used to verify package integrity
/// The full <a href="https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf">hash value (see glossary)</a>, often found in checksum.txt on a release of the artifact and used to verify package integrity.
/// </summary>
/// <remarks>
/// The specific algorithm used to create the cryptographic hash value is
Expand All @@ -51,17 +51,17 @@ public static class ArtifactAttributes
/// that is suitable for the situation and consistent with the
/// corresponding attestation. The implementer can then provide the other
/// hash values through an additional set of attribute extensions as they
/// deem necessary
/// deem necessary.
/// </remarks>
public const string AttributeArtifactHash = "artifact.hash";

/// <summary>
/// The <a href="https://github.com/package-url/purl-spec">Package URL</a> of the <a href="https://slsa.dev/spec/v1.0/terminology#package-model">package artifact</a> provides a standard way to identify and locate the packaged artifact
/// The <a href="https://github.com/package-url/purl-spec">Package URL</a> of the <a href="https://slsa.dev/spec/v1.0/terminology#package-model">package artifact</a> provides a standard way to identify and locate the packaged artifact.
/// </summary>
public const string AttributeArtifactPurl = "artifact.purl";

/// <summary>
/// The version of the artifact
/// The version of the artifact.
/// </summary>
public const string AttributeArtifactVersion = "artifact.version";
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,104 +15,104 @@ namespace OpenTelemetry.SemanticConventions;
public static class AspnetcoreAttributes
{
/// <summary>
/// ASP.NET Core exception middleware handling result
/// ASP.NET Core exception middleware handling result.
/// </summary>
public const string AttributeAspnetcoreDiagnosticsExceptionResult = "aspnetcore.diagnostics.exception.result";

/// <summary>
/// Full type name of the <a href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler"><c>IExceptionHandler</c></a> implementation that handled the exception
/// Full type name of the <a href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler"><c>IExceptionHandler</c></a> implementation that handled the exception.
/// </summary>
public const string AttributeAspnetcoreDiagnosticsHandlerType = "aspnetcore.diagnostics.handler.type";

/// <summary>
/// Rate limiting policy name
/// Rate limiting policy name.
/// </summary>
public const string AttributeAspnetcoreRateLimitingPolicy = "aspnetcore.rate_limiting.policy";

/// <summary>
/// Rate-limiting result, shows whether the lease was acquired or contains a rejection reason
/// Rate-limiting result, shows whether the lease was acquired or contains a rejection reason.
/// </summary>
public const string AttributeAspnetcoreRateLimitingResult = "aspnetcore.rate_limiting.result";

/// <summary>
/// Flag indicating if request was handled by the application pipeline
/// Flag indicating if request was handled by the application pipeline.
/// </summary>
public const string AttributeAspnetcoreRequestIsUnhandled = "aspnetcore.request.is_unhandled";

/// <summary>
/// A value that indicates whether the matched route is a fallback route
/// A value that indicates whether the matched route is a fallback route.
/// </summary>
public const string AttributeAspnetcoreRoutingIsFallback = "aspnetcore.routing.is_fallback";

/// <summary>
/// Match result - success or failure
/// Match result - success or failure.
/// </summary>
public const string AttributeAspnetcoreRoutingMatchStatus = "aspnetcore.routing.match_status";

/// <summary>
/// ASP.NET Core exception middleware handling result
/// ASP.NET Core exception middleware handling result.
/// </summary>
public static class AspnetcoreDiagnosticsExceptionResultValues
{
/// <summary>
/// Exception was handled by the exception handling middleware
/// Exception was handled by the exception handling middleware.
/// </summary>
public const string Handled = "handled";

/// <summary>
/// Exception was not handled by the exception handling middleware
/// Exception was not handled by the exception handling middleware.
/// </summary>
public const string Unhandled = "unhandled";

/// <summary>
/// Exception handling was skipped because the response had started
/// Exception handling was skipped because the response had started.
/// </summary>
public const string Skipped = "skipped";

/// <summary>
/// Exception handling didn't run because the request was aborted
/// Exception handling didn't run because the request was aborted.
/// </summary>
public const string Aborted = "aborted";
}

/// <summary>
/// Rate-limiting result, shows whether the lease was acquired or contains a rejection reason
/// Rate-limiting result, shows whether the lease was acquired or contains a rejection reason.
/// </summary>
public static class AspnetcoreRateLimitingResultValues
{
/// <summary>
/// Lease was acquired
/// Lease was acquired.
/// </summary>
public const string Acquired = "acquired";

/// <summary>
/// Lease request was rejected by the endpoint limiter
/// Lease request was rejected by the endpoint limiter.
/// </summary>
public const string EndpointLimiter = "endpoint_limiter";

/// <summary>
/// Lease request was rejected by the global limiter
/// Lease request was rejected by the global limiter.
/// </summary>
public const string GlobalLimiter = "global_limiter";

/// <summary>
/// Lease request was canceled
/// Lease request was canceled.
/// </summary>
public const string RequestCanceled = "request_canceled";
}

/// <summary>
/// Match result - success or failure
/// Match result - success or failure.
/// </summary>
public static class AspnetcoreRoutingMatchStatusValues
{
/// <summary>
/// Match succeeded
/// Match succeeded.
/// </summary>
public const string Success = "success";

/// <summary>
/// Match failed
/// Match failed.
/// </summary>
public const string Failure = "failure";
}
Expand Down
Loading