-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
1,094 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
94 changes: 94 additions & 0 deletions
94
...nv-incubating/src/main/java/io/opentelemetry/semconv/incubating/AspnetcoreAttributes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
/* | ||
* Copyright The OpenTelemetry Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package io.opentelemetry.semconv.incubating; | ||
|
||
import static io.opentelemetry.api.common.AttributeKey.booleanKey; | ||
import static io.opentelemetry.api.common.AttributeKey.stringKey; | ||
|
||
import io.opentelemetry.api.common.AttributeKey; | ||
|
||
// DO NOT EDIT, this is an Auto-generated file from | ||
// buildscripts/templates/SemanticAttributes.java.j2 | ||
@SuppressWarnings("unused") | ||
public final class AspnetcoreAttributes { | ||
|
||
/** ASP.NET Core exception middleware handling result */ | ||
public static final AttributeKey<String> ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = | ||
stringKey("aspnetcore.diagnostics.exception.result"); | ||
|
||
/** | ||
* Full type name of the <a | ||
* href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler">{@code | ||
* IExceptionHandler}</a> implementation that handled the exception. | ||
*/ | ||
public static final AttributeKey<String> ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = | ||
stringKey("aspnetcore.diagnostics.handler.type"); | ||
|
||
/** Rate limiting policy name. */ | ||
public static final AttributeKey<String> ASPNETCORE_RATE_LIMITING_POLICY = | ||
stringKey("aspnetcore.rate_limiting.policy"); | ||
|
||
/** Rate-limiting result, shows whether the lease was acquired or contains a rejection reason */ | ||
public static final AttributeKey<String> ASPNETCORE_RATE_LIMITING_RESULT = | ||
stringKey("aspnetcore.rate_limiting.result"); | ||
|
||
/** Flag indicating if request was handled by the application pipeline. */ | ||
public static final AttributeKey<Boolean> ASPNETCORE_REQUEST_IS_UNHANDLED = | ||
booleanKey("aspnetcore.request.is_unhandled"); | ||
|
||
/** A value that indicates whether the matched route is a fallback route. */ | ||
public static final AttributeKey<Boolean> ASPNETCORE_ROUTING_IS_FALLBACK = | ||
booleanKey("aspnetcore.routing.is_fallback"); | ||
|
||
/** Match result - success or failure */ | ||
public static final AttributeKey<String> ASPNETCORE_ROUTING_MATCH_STATUS = | ||
stringKey("aspnetcore.routing.match_status"); | ||
|
||
// Enum definitions | ||
public static final class AspnetcoreDiagnosticsExceptionResultValues { | ||
/** Exception was handled by the exception handling middleware. */ | ||
public static final String HANDLED = "handled"; | ||
|
||
/** Exception was not handled by the exception handling middleware. */ | ||
public static final String UNHANDLED = "unhandled"; | ||
|
||
/** Exception handling was skipped because the response had started. */ | ||
public static final String SKIPPED = "skipped"; | ||
|
||
/** Exception handling didn't run because the request was aborted. */ | ||
public static final String ABORTED = "aborted"; | ||
|
||
private AspnetcoreDiagnosticsExceptionResultValues() {} | ||
} | ||
|
||
public static final class AspnetcoreRateLimitingResultValues { | ||
/** Lease was acquired. */ | ||
public static final String ACQUIRED = "acquired"; | ||
|
||
/** Lease request was rejected by the endpoint limiter. */ | ||
public static final String ENDPOINT_LIMITER = "endpoint_limiter"; | ||
|
||
/** Lease request was rejected by the global limiter. */ | ||
public static final String GLOBAL_LIMITER = "global_limiter"; | ||
|
||
/** Lease request was canceled. */ | ||
public static final String REQUEST_CANCELED = "request_canceled"; | ||
|
||
private AspnetcoreRateLimitingResultValues() {} | ||
} | ||
|
||
public static final class AspnetcoreRoutingMatchStatusValues { | ||
/** Match succeeded. */ | ||
public static final String SUCCESS = "success"; | ||
|
||
/** Match failed. */ | ||
public static final String FAILURE = "failure"; | ||
|
||
private AspnetcoreRoutingMatchStatusValues() {} | ||
} | ||
|
||
private AspnetcoreAttributes() {} | ||
} |
94 changes: 94 additions & 0 deletions
94
...ing/src/main/java/io/opentelemetry/semconv/incubating/AspnetcoreIncubatingAttributes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
/* | ||
* Copyright The OpenTelemetry Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package io.opentelemetry.semconv.incubating; | ||
|
||
import static io.opentelemetry.api.common.AttributeKey.booleanKey; | ||
import static io.opentelemetry.api.common.AttributeKey.stringKey; | ||
|
||
import io.opentelemetry.api.common.AttributeKey; | ||
|
||
// DO NOT EDIT, this is an Auto-generated file from | ||
// buildscripts/templates/SemanticAttributes.java.j2 | ||
@SuppressWarnings("unused") | ||
public final class AspnetcoreIncubatingAttributes { | ||
|
||
/** ASP.NET Core exception middleware handling result */ | ||
public static final AttributeKey<String> ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = | ||
stringKey("aspnetcore.diagnostics.exception.result"); | ||
|
||
/** | ||
* Full type name of the <a | ||
* href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler">{@code | ||
* IExceptionHandler}</a> implementation that handled the exception. | ||
*/ | ||
public static final AttributeKey<String> ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = | ||
stringKey("aspnetcore.diagnostics.handler.type"); | ||
|
||
/** Rate limiting policy name. */ | ||
public static final AttributeKey<String> ASPNETCORE_RATE_LIMITING_POLICY = | ||
stringKey("aspnetcore.rate_limiting.policy"); | ||
|
||
/** Rate-limiting result, shows whether the lease was acquired or contains a rejection reason */ | ||
public static final AttributeKey<String> ASPNETCORE_RATE_LIMITING_RESULT = | ||
stringKey("aspnetcore.rate_limiting.result"); | ||
|
||
/** Flag indicating if request was handled by the application pipeline. */ | ||
public static final AttributeKey<Boolean> ASPNETCORE_REQUEST_IS_UNHANDLED = | ||
booleanKey("aspnetcore.request.is_unhandled"); | ||
|
||
/** A value that indicates whether the matched route is a fallback route. */ | ||
public static final AttributeKey<Boolean> ASPNETCORE_ROUTING_IS_FALLBACK = | ||
booleanKey("aspnetcore.routing.is_fallback"); | ||
|
||
/** Match result - success or failure */ | ||
public static final AttributeKey<String> ASPNETCORE_ROUTING_MATCH_STATUS = | ||
stringKey("aspnetcore.routing.match_status"); | ||
|
||
// Enum definitions | ||
public static final class AspnetcoreDiagnosticsExceptionResultValues { | ||
/** Exception was handled by the exception handling middleware. */ | ||
public static final String HANDLED = "handled"; | ||
|
||
/** Exception was not handled by the exception handling middleware. */ | ||
public static final String UNHANDLED = "unhandled"; | ||
|
||
/** Exception handling was skipped because the response had started. */ | ||
public static final String SKIPPED = "skipped"; | ||
|
||
/** Exception handling didn't run because the request was aborted. */ | ||
public static final String ABORTED = "aborted"; | ||
|
||
private AspnetcoreDiagnosticsExceptionResultValues() {} | ||
} | ||
|
||
public static final class AspnetcoreRateLimitingResultValues { | ||
/** Lease was acquired. */ | ||
public static final String ACQUIRED = "acquired"; | ||
|
||
/** Lease request was rejected by the endpoint limiter. */ | ||
public static final String ENDPOINT_LIMITER = "endpoint_limiter"; | ||
|
||
/** Lease request was rejected by the global limiter. */ | ||
public static final String GLOBAL_LIMITER = "global_limiter"; | ||
|
||
/** Lease request was canceled. */ | ||
public static final String REQUEST_CANCELED = "request_canceled"; | ||
|
||
private AspnetcoreRateLimitingResultValues() {} | ||
} | ||
|
||
public static final class AspnetcoreRoutingMatchStatusValues { | ||
/** Match succeeded. */ | ||
public static final String SUCCESS = "success"; | ||
|
||
/** Match failed. */ | ||
public static final String FAILURE = "failure"; | ||
|
||
private AspnetcoreRoutingMatchStatusValues() {} | ||
} | ||
|
||
private AspnetcoreIncubatingAttributes() {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DiskAttributes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* Copyright The OpenTelemetry Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package io.opentelemetry.semconv.incubating; | ||
|
||
import static io.opentelemetry.api.common.AttributeKey.stringKey; | ||
|
||
import io.opentelemetry.api.common.AttributeKey; | ||
|
||
// DO NOT EDIT, this is an Auto-generated file from | ||
// buildscripts/templates/SemanticAttributes.java.j2 | ||
@SuppressWarnings("unused") | ||
public final class DiskAttributes { | ||
|
||
/** The disk IO operation direction. */ | ||
public static final AttributeKey<String> DISK_IO_DIRECTION = stringKey("disk.io.direction"); | ||
|
||
// Enum definitions | ||
public static final class DiskIoDirectionValues { | ||
/** read. */ | ||
public static final String READ = "read"; | ||
|
||
/** write. */ | ||
public static final String WRITE = "write"; | ||
|
||
private DiskIoDirectionValues() {} | ||
} | ||
|
||
private DiskAttributes() {} | ||
} |
32 changes: 32 additions & 0 deletions
32
...ncubating/src/main/java/io/opentelemetry/semconv/incubating/DiskIncubatingAttributes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* Copyright The OpenTelemetry Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package io.opentelemetry.semconv.incubating; | ||
|
||
import static io.opentelemetry.api.common.AttributeKey.stringKey; | ||
|
||
import io.opentelemetry.api.common.AttributeKey; | ||
|
||
// DO NOT EDIT, this is an Auto-generated file from | ||
// buildscripts/templates/SemanticAttributes.java.j2 | ||
@SuppressWarnings("unused") | ||
public final class DiskIncubatingAttributes { | ||
|
||
/** The disk IO operation direction. */ | ||
public static final AttributeKey<String> DISK_IO_DIRECTION = stringKey("disk.io.direction"); | ||
|
||
// Enum definitions | ||
public static final class DiskIoDirectionValues { | ||
/** read. */ | ||
public static final String READ = "read"; | ||
|
||
/** write. */ | ||
public static final String WRITE = "write"; | ||
|
||
private DiskIoDirectionValues() {} | ||
} | ||
|
||
private DiskIncubatingAttributes() {} | ||
} |
34 changes: 34 additions & 0 deletions
34
semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DnsAttributes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Copyright The OpenTelemetry Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package io.opentelemetry.semconv.incubating; | ||
|
||
import static io.opentelemetry.api.common.AttributeKey.stringKey; | ||
|
||
import io.opentelemetry.api.common.AttributeKey; | ||
|
||
// DO NOT EDIT, this is an Auto-generated file from | ||
// buildscripts/templates/SemanticAttributes.java.j2 | ||
@SuppressWarnings("unused") | ||
public final class DnsAttributes { | ||
|
||
/** | ||
* The name being queried. | ||
* | ||
* <p>Notes: | ||
* | ||
* <ul> | ||
* <li>The name being queried. If the name field contains non-printable characters (below 32 or | ||
* above 126), those characters should be represented as escaped base 10 integers (\DDD). | ||
* Back slashes and quotes should be escaped. Tabs, carriage returns, and line feeds should | ||
* be converted to \t, \r, and \n respectively. | ||
* </ul> | ||
*/ | ||
public static final AttributeKey<String> DNS_QUESTION_NAME = stringKey("dns.question.name"); | ||
|
||
// Enum definitions | ||
|
||
private DnsAttributes() {} | ||
} |
Oops, something went wrong.