From f5152e6ac92be349d7ab4465fa3067c0d2692e05 Mon Sep 17 00:00:00 2001 From: ancplua Date: Tue, 21 Apr 2026 03:54:56 +0200 Subject: [PATCH 01/13] chore(semconv): delete zero-caller C# outputs + scaffold Weaver migration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dead code removal (per docs/contract-drift-architecture.md O-1/O-2): - delete src/qyl.collector/Ingestion/OtlpAttributes.Utf8.g.cs (6923 LoC) - delete src/qyl.instrumentation/Instrumentation/SemanticConventions.g.cs (~2600 LoC) - delete src/qyl.instrumentation/Instrumentation/SemanticConventions.Utf8.g.cs (7555 LoC) - strip the `csharp` + `csharpUtf8` targets + their ~125 LoC generator functions from eng/semconv/generate-semconv.ts so future regenerates don't recreate them - inline the five semconv keys (error.type / exception.*) in ActivityExceptionTelemetry.cs since the only live consumer is three calls Net: ~17,000 lines of unused generated code deleted, zero callers in src/, 0 errors / 13 warnings (unchanged). The facades under src/qyl.contracts/Attributes/ remain the actually-consumed C# surface. Weaver migration scaffold (not yet wired into the build): - eng/semconv/templates/registry/qyl/{weaver.yaml,semconv.ts.j2} - eng/semconv/registry-qyl/manifest.yaml - .gitignore updates for .tools/ (local weaver binary + upstream clone) and eng/semconv/out/ (template scratch) The semconv.ts.j2 template proves the pipeline end-to-end: upstream v1.40.0 YAML registry → weaver → TS exports filtered by qyl's include_prefixes. The rest of the template set (C# facades, TypeSpec, DuckDB SQL) is the follow-up. Old generate-semconv.ts stays as-is until the Weaver templates cover all three remaining outputs byte-close. Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitignore | 5 + eng/semconv/generate-semconv.ts | 175 +- eng/semconv/registry-qyl/manifest.yaml | 76 + .../templates/registry/qyl/semconv.ts.j2 | 19 + .../templates/registry/qyl/weaver.yaml | 83 + .../Ingestion/OtlpAttributes.Utf8.g.cs | 6923 --------------- src/qyl.dashboard/src/lib/semconv.ts | 1482 ++-- .../ActivityExceptionTelemetry.cs | 18 +- .../SemanticConventions.Utf8.g.cs | 7555 ----------------- .../Instrumentation/SemanticConventions.g.cs | 7553 ---------------- 10 files changed, 942 insertions(+), 22947 deletions(-) create mode 100644 eng/semconv/registry-qyl/manifest.yaml create mode 100644 eng/semconv/templates/registry/qyl/semconv.ts.j2 create mode 100644 eng/semconv/templates/registry/qyl/weaver.yaml delete mode 100644 src/qyl.collector/Ingestion/OtlpAttributes.Utf8.g.cs delete mode 100644 src/qyl.instrumentation/Instrumentation/SemanticConventions.Utf8.g.cs delete mode 100644 src/qyl.instrumentation/Instrumentation/SemanticConventions.g.cs diff --git a/.gitignore b/.gitignore index 0ae5bd568..de1d66031 100644 --- a/.gitignore +++ b/.gitignore @@ -154,3 +154,8 @@ images/ # Local agent scratchpads (objective.json etc.) — not repo content .blackboard/ + +# Local tool downloads (weaver, semconv upstream clone) +.tools/ +# Weaver output scratchpad +eng/semconv/out/ diff --git a/eng/semconv/generate-semconv.ts b/eng/semconv/generate-semconv.ts index b4e54e18f..cfd420aad 100644 --- a/eng/semconv/generate-semconv.ts +++ b/eng/semconv/generate-semconv.ts @@ -107,11 +107,12 @@ const CONFIG = { "oracle", "oracle_cloud", ], - // Output paths (relative to this script) - Direct to final destinations + // Output paths (relative to this script) - Direct to final destinations. + // C# const + UTF-8 targets dropped 2026-04-21: zero callers in src/. The facades + // under src/qyl.contracts/Attributes/ (emitted by generateProtocolFacades) carry + // everything we still consume. Semconv literal keys inline at call sites. outputs: { typescript: "../../src/qyl.dashboard/src/lib/semconv.ts", - csharp: "../../src/qyl.instrumentation/Instrumentation/SemanticConventions.g.cs", - csharpUtf8: "../../src/qyl.instrumentation/Instrumentation/SemanticConventions.Utf8.g.cs", typespec: "../../core/specs/generated/semconv.g.tsp", duckdb: "../../src/qyl.collector/Storage/promoted-columns.g.sql", }, @@ -345,132 +346,6 @@ function generateTypeScript(data: ParsedData): string { return lines.join("\n"); } -// ============================================================================ -// C# Generator -// ============================================================================ - -function generateCSharp(data: ParsedData): string { - const lines: string[] = [ - `// `, - `// Generated from @opentelemetry/semantic-conventions v${data.version}`, - `// Do not edit manually - run 'npm run generate' in SemconvGenerator`, - ``, - `namespace ${CONFIG.csharpNamespace};`, - ``, - ]; - - // Group attributes by prefix - const grouped = groupByPrefix(data.attributes.map((a) => a.value)); - - for (const [prefix, attrs] of grouped) { - const className = prefixToClassName(prefix) + "Attributes"; - lines.push(`/// `); - lines.push(`/// Semantic convention attributes for ${prefix}.*`); - lines.push(`/// `); - lines.push(`public static class ${className}`); - lines.push(`{`); - - for (const attr of attrs) { - const found = data.attrMap.get(attr); - if (found) { - const propName = attrToCSharpPropName(found.value, prefix); - lines.push(` /// ${found.value}`); - lines.push(` public const string ${propName} = "${found.value}";`); - lines.push(``); - } - } - - lines.push(`}`); - lines.push(``); - } - - // Enum values - for (const [prefix, values] of data.enums) { - const className = prefixToClassName(prefix.toLowerCase().replace(/_/g, ".")) + "Values"; - lines.push(`/// `); - lines.push(`/// Enum values for ${prefix.toLowerCase().replace(/_/g, ".")}`); - lines.push(`/// `); - lines.push(`public static class ${className}`); - lines.push(`{`); - - for (const v of values) { - const propName = snakeToPascal(v.memberName); - lines.push(` /// ${v.value}`); - lines.push(` public const string ${propName} = "${v.value}";`); - lines.push(``); - } - - lines.push(`}`); - lines.push(``); - } - - return lines.join("\n"); -} - -// ============================================================================ -// C# UTF-8 Generator (ReadOnlySpan for zero-allocation parsing) -// ============================================================================ - -function generateCSharpUtf8(data: ParsedData): string { - const lines: string[] = [ - `// `, - `// Generated from @opentelemetry/semantic-conventions v${data.version}`, - `// Do not edit manually - run 'npm run generate' in SemconvGenerator`, - `//`, - `// UTF-8 ReadOnlySpan for zero-allocation OTLP parsing hot paths`, - ``, - `namespace ${CONFIG.csharpNamespace};`, - ``, - ]; - - // Group attributes by prefix - const grouped = groupByPrefix(data.attributes.map((a) => a.value)); - - for (const [prefix, attrs] of grouped) { - const className = prefixToClassName(prefix) + "Utf8"; - lines.push(`/// `); - lines.push(`/// UTF-8 attribute keys for ${prefix}.* (zero-allocation parsing)`); - lines.push(`/// `); - lines.push(`public static class ${className}`); - lines.push(`{`); - - for (const attr of attrs) { - const found = data.attrMap.get(attr); - if (found) { - const propName = attrToCSharpPropName(found.value, prefix); - lines.push(` /// ${found.value}`); - lines.push(` public static ReadOnlySpan ${propName} => "${found.value}"u8;`); - lines.push(``); - } - } - - lines.push(`}`); - lines.push(``); - } - - // Enum values as UTF-8 - for (const [prefix, values] of data.enums) { - const className = prefixToClassName(prefix.toLowerCase().replace(/_/g, ".")) + "Utf8Values"; - lines.push(`/// `); - lines.push(`/// UTF-8 enum values for ${prefix.toLowerCase().replace(/_/g, ".")}`); - lines.push(`/// `); - lines.push(`public static class ${className}`); - lines.push(`{`); - - for (const v of values) { - const propName = snakeToPascal(v.memberName); - lines.push(` /// ${v.value}`); - lines.push(` public static ReadOnlySpan ${propName} => "${v.value}"u8;`); - lines.push(``); - } - - lines.push(`}`); - lines.push(``); - } - - return lines.join("\n"); -} - // ============================================================================ // TypeSpec Generator (Enhanced for QYL integration) // ============================================================================ @@ -989,12 +864,10 @@ function parseArg(args: string[], name: string): string | undefined { function main() { const args = process.argv.slice(2); const tsOnly = args.includes("--ts-only"); - const csOnly = args.includes("--cs-only"); - const utf8Only = args.includes("--utf8-only"); const tspOnly = args.includes("--tsp-only"); const sqlOnly = args.includes("--sql-only"); const protocolOnly = args.includes("--protocol-only"); - const generateAll = !tsOnly && !csOnly && !utf8Only && !tspOnly && !sqlOnly && !protocolOnly; + const generateAll = !tsOnly && !tspOnly && !sqlOnly && !protocolOnly; // Optional overrides const namespaceOverride = parseArg(args, "namespace"); @@ -1011,44 +884,6 @@ function main() { console.log(`✓ Generated ${CONFIG.outputs.typescript}`); } - if (generateAll || csOnly) { - // Use override namespace if provided - const originalNamespace = CONFIG.csharpNamespace; - if (namespaceOverride) { - CONFIG.csharpNamespace = namespaceOverride; - } - - const cs = generateCSharp(data); - const csPath = outputOverride - ? path.join(__dirname, outputOverride) - : path.join(__dirname, CONFIG.outputs.csharp); - fs.mkdirSync(path.dirname(csPath), {recursive: true}); - fs.writeFileSync(csPath, cs); - console.log(`✓ Generated ${outputOverride || CONFIG.outputs.csharp}`); - - // Restore - CONFIG.csharpNamespace = originalNamespace; - } - - if (generateAll || utf8Only) { - // Use override namespace if provided - const originalNamespace = CONFIG.csharpNamespace; - if (namespaceOverride) { - CONFIG.csharpNamespace = namespaceOverride; - } - - const utf8 = generateCSharpUtf8(data); - const utf8Path = outputOverride - ? path.join(__dirname, outputOverride) - : path.join(__dirname, CONFIG.outputs.csharpUtf8); - fs.mkdirSync(path.dirname(utf8Path), {recursive: true}); - fs.writeFileSync(utf8Path, utf8); - console.log(`✓ Generated ${utf8Path.replace(__dirname + "/", "")}`); - - // Restore - CONFIG.csharpNamespace = originalNamespace; - } - if (generateAll || tspOnly) { // Use override namespace if provided const originalNamespace = CONFIG.typespecNamespace; diff --git a/eng/semconv/registry-qyl/manifest.yaml b/eng/semconv/registry-qyl/manifest.yaml new file mode 100644 index 000000000..d55052c2e --- /dev/null +++ b/eng/semconv/registry-qyl/manifest.yaml @@ -0,0 +1,76 @@ +# qyl semconv registry manifest. +# Composes upstream OpenTelemetry v1.40.0 + qyl-specific extensions. +# +# Weaver is invoked with --registry pointing at upstream/model; +# this manifest is consumed by our template layer via --param to select which +# upstream prefixes are surfaced in qyl's generated code. + +name: qyl.semconv +semconv_version: 1.40.0 + +# Upstream prefixes that feed qyl's generated outputs. Everything else in the +# upstream registry is ignored (keeps our generated files lean). +include_prefixes: + # AI + - gen_ai + - code + # Transport + - http + - rpc + - messaging + - url + - user_agent + - signalr + - kestrel + # Data + - db + - file + - vcs + - artifact + - elasticsearch + # Infra + - cloud + - container + - k8s + - host + - os + - faas + - webengine + # Security + - network + - tls + - dns + # Runtime + - process + - thread + - system + - dotnet + - aspnetcore + # Identity + - user + - enduser + - geo + - client + - server + - service + - telemetry + # Observe + - browser + - session + - exception + - error + - log + - feature_flag + - otel + - test + # Profiling + - profile + - pprof + # Ops + - cicd + - deployment + # Vendor + - openai + - azure + - oracle + - oracle_cloud diff --git a/eng/semconv/templates/registry/qyl/semconv.ts.j2 b/eng/semconv/templates/registry/qyl/semconv.ts.j2 new file mode 100644 index 000000000..ff5add2c9 --- /dev/null +++ b/eng/semconv/templates/registry/qyl/semconv.ts.j2 @@ -0,0 +1,19 @@ +{#- + TypeScript semconv constants for qyl.dashboard. + Target: src/qyl.dashboard/src/lib/semconv.ts + Shape: flat `export const` list grouped by root namespace. +-#} +// +// Generated from open-telemetry/semantic-conventions v1.40.0 via Weaver +// Do not edit manually - run 'nuke GenerateSemconv' + +// Attribute keys +{% for group in ctx | sort(attribute="root_namespace") %} +{% if group.root_namespace in params.include_prefixes %} + +// {{ group.root_namespace }} +{% for attr in group.attributes | sort(attribute="name") %} +export const {{ attr.name | screaming_snake_case }} = "{{ attr.name }}"; +{% endfor %} +{% endif %} +{% endfor %} diff --git a/eng/semconv/templates/registry/qyl/weaver.yaml b/eng/semconv/templates/registry/qyl/weaver.yaml new file mode 100644 index 000000000..baa93d1af --- /dev/null +++ b/eng/semconv/templates/registry/qyl/weaver.yaml @@ -0,0 +1,83 @@ +# Weaver template config for qyl's semconv outputs. +# Upstream prefixes + qyl extensions are centralized in params below so every +# template can read them via `params.`. + +whitespace_control: + trim_blocks: true + lstrip_blocks: true + +params: + semconv_version: "1.40.0" + + # Upstream OTel prefixes to surface in qyl's generated outputs. Everything + # else in the upstream registry is ignored to keep generated files lean. + include_prefixes: + # AI + - gen_ai + - code + # Transport + - http + - rpc + - messaging + - url + - user_agent + - signalr + - kestrel + # Data + - db + - file + - vcs + - artifact + - elasticsearch + # Infra + - cloud + - container + - k8s + - host + - os + - faas + - webengine + # Security + - network + - tls + - dns + # Runtime + - process + - thread + - system + - dotnet + - aspnetcore + # Identity + - user + - enduser + - geo + - client + - server + - service + - telemetry + # Observe + - browser + - session + - exception + - error + - log + - feature_flag + - otel + - test + # Profiling + - profile + - pprof + # Ops + - cicd + - deployment + # Vendor + - openai + - azure + - oracle + - oracle_cloud + +templates: + - template: semconv.ts.j2 + filter: semconv_grouped_attributes + application_mode: single + file_name: "semconv.ts" diff --git a/src/qyl.collector/Ingestion/OtlpAttributes.Utf8.g.cs b/src/qyl.collector/Ingestion/OtlpAttributes.Utf8.g.cs deleted file mode 100644 index 3b3d63622..000000000 --- a/src/qyl.collector/Ingestion/OtlpAttributes.Utf8.g.cs +++ /dev/null @@ -1,6923 +0,0 @@ -// -// Generated from @opentelemetry/semantic-conventions v1.40.0 -// Do not edit manually - run 'npm run generate' in SemconvGenerator -// -// UTF-8 ReadOnlySpan for zero-allocation OTLP parsing hot paths - -namespace Qyl.Collector.Ingestion; - -/// -/// UTF-8 attribute keys for aspnetcore.diagnostics.* (zero-allocation parsing) -/// -public static class AspnetcoreDiagnosticsUtf8 -{ - /// aspnetcore.diagnostics.exception.result - public static ReadOnlySpan ExceptionResult => "aspnetcore.diagnostics.exception.result"u8; - - /// aspnetcore.diagnostics.handler.type - public static ReadOnlySpan HandlerType => "aspnetcore.diagnostics.handler.type"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.rate_limiting.* (zero-allocation parsing) -/// -public static class AspnetcoreRateLimitingUtf8 -{ - /// aspnetcore.rate_limiting.policy - public static ReadOnlySpan Policy => "aspnetcore.rate_limiting.policy"u8; - - /// aspnetcore.rate_limiting.result - public static ReadOnlySpan Result => "aspnetcore.rate_limiting.result"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.request.* (zero-allocation parsing) -/// -public static class AspnetcoreRequestUtf8 -{ - /// aspnetcore.request.is_unhandled - public static ReadOnlySpan IsUnhandled => "aspnetcore.request.is_unhandled"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.routing.* (zero-allocation parsing) -/// -public static class AspnetcoreRoutingUtf8 -{ - /// aspnetcore.routing.is_fallback - public static ReadOnlySpan IsFallback => "aspnetcore.routing.is_fallback"u8; - - /// aspnetcore.routing.match_status - public static ReadOnlySpan MatchStatus => "aspnetcore.routing.match_status"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.user.* (zero-allocation parsing) -/// -public static class AspnetcoreUserUtf8 -{ - /// aspnetcore.user.is_authenticated - public static ReadOnlySpan IsAuthenticated => "aspnetcore.user.is_authenticated"u8; - -} - -/// -/// UTF-8 attribute keys for client.address.* (zero-allocation parsing) -/// -public static class ClientAddressUtf8 -{ - /// client.address - public static ReadOnlySpan Address => "client.address"u8; - -} - -/// -/// UTF-8 attribute keys for client.port.* (zero-allocation parsing) -/// -public static class ClientPortUtf8 -{ - /// client.port - public static ReadOnlySpan Port => "client.port"u8; - -} - -/// -/// UTF-8 attribute keys for code.column.* (zero-allocation parsing) -/// -public static class CodeColumnUtf8 -{ - /// code.column.number - public static ReadOnlySpan Number => "code.column.number"u8; - - /// code.column - public static ReadOnlySpan Column => "code.column"u8; - -} - -/// -/// UTF-8 attribute keys for code.file.* (zero-allocation parsing) -/// -public static class CodeFileUtf8 -{ - /// code.file.path - public static ReadOnlySpan Path => "code.file.path"u8; - -} - -/// -/// UTF-8 attribute keys for code.function.* (zero-allocation parsing) -/// -public static class CodeFunctionUtf8 -{ - /// code.function.name - public static ReadOnlySpan Name => "code.function.name"u8; - - /// code.function - public static ReadOnlySpan Function => "code.function"u8; - -} - -/// -/// UTF-8 attribute keys for code.line.* (zero-allocation parsing) -/// -public static class CodeLineUtf8 -{ - /// code.line.number - public static ReadOnlySpan Number => "code.line.number"u8; - -} - -/// -/// UTF-8 attribute keys for code.stacktrace.* (zero-allocation parsing) -/// -public static class CodeStacktraceUtf8 -{ - /// code.stacktrace - public static ReadOnlySpan Stacktrace => "code.stacktrace"u8; - -} - -/// -/// UTF-8 attribute keys for db.collection.* (zero-allocation parsing) -/// -public static class DbCollectionUtf8 -{ - /// db.collection.name - public static ReadOnlySpan Name => "db.collection.name"u8; - -} - -/// -/// UTF-8 attribute keys for db.namespace.* (zero-allocation parsing) -/// -public static class DbNamespaceUtf8 -{ - /// db.namespace - public static ReadOnlySpan Namespace => "db.namespace"u8; - -} - -/// -/// UTF-8 attribute keys for db.operation.* (zero-allocation parsing) -/// -public static class DbOperationUtf8 -{ - /// db.operation.batch.size - public static ReadOnlySpan BatchSize => "db.operation.batch.size"u8; - - /// db.operation.name - public static ReadOnlySpan Name => "db.operation.name"u8; - - /// db.operation - public static ReadOnlySpan Operation => "db.operation"u8; - -} - -/// -/// UTF-8 attribute keys for db.query.* (zero-allocation parsing) -/// -public static class DbQueryUtf8 -{ - /// db.query.summary - public static ReadOnlySpan Summary => "db.query.summary"u8; - - /// db.query.text - public static ReadOnlySpan Text => "db.query.text"u8; - -} - -/// -/// UTF-8 attribute keys for db.response.* (zero-allocation parsing) -/// -public static class DbResponseUtf8 -{ - /// db.response.status_code - public static ReadOnlySpan StatusCode => "db.response.status_code"u8; - - /// db.response.returned_rows - public static ReadOnlySpan ReturnedRows => "db.response.returned_rows"u8; - -} - -/// -/// UTF-8 attribute keys for db.stored_procedure.* (zero-allocation parsing) -/// -public static class DbStoredProcedureUtf8 -{ - /// db.stored_procedure.name - public static ReadOnlySpan Name => "db.stored_procedure.name"u8; - -} - -/// -/// UTF-8 attribute keys for db.system.* (zero-allocation parsing) -/// -public static class DbSystemUtf8 -{ - /// db.system.name - public static ReadOnlySpan Name => "db.system.name"u8; - - /// db.system - public static ReadOnlySpan System => "db.system"u8; - -} - -/// -/// UTF-8 attribute keys for dotnet.gc.* (zero-allocation parsing) -/// -public static class DotnetGcUtf8 -{ - /// dotnet.gc.heap.generation - public static ReadOnlySpan HeapGeneration => "dotnet.gc.heap.generation"u8; - -} - -/// -/// UTF-8 attribute keys for error.type.* (zero-allocation parsing) -/// -public static class ErrorTypeUtf8 -{ - /// error.type - public static ReadOnlySpan Type => "error.type"u8; - -} - -/// -/// UTF-8 attribute keys for exception.escaped.* (zero-allocation parsing) -/// -public static class ExceptionEscapedUtf8 -{ - /// exception.escaped - public static ReadOnlySpan Escaped => "exception.escaped"u8; - -} - -/// -/// UTF-8 attribute keys for exception.message.* (zero-allocation parsing) -/// -public static class ExceptionMessageUtf8 -{ - /// exception.message - public static ReadOnlySpan Message => "exception.message"u8; - -} - -/// -/// UTF-8 attribute keys for exception.stacktrace.* (zero-allocation parsing) -/// -public static class ExceptionStacktraceUtf8 -{ - /// exception.stacktrace - public static ReadOnlySpan Stacktrace => "exception.stacktrace"u8; - -} - -/// -/// UTF-8 attribute keys for exception.type.* (zero-allocation parsing) -/// -public static class ExceptionTypeUtf8 -{ - /// exception.type - public static ReadOnlySpan Type => "exception.type"u8; - -} - -/// -/// UTF-8 attribute keys for http.request.* (zero-allocation parsing) -/// -public static class HttpRequestUtf8 -{ - /// http.request.method - public static ReadOnlySpan Method => "http.request.method"u8; - - /// http.request.method_original - public static ReadOnlySpan MethodOriginal => "http.request.method_original"u8; - - /// http.request.resend_count - public static ReadOnlySpan ResendCount => "http.request.resend_count"u8; - - /// http.request.body.size - public static ReadOnlySpan BodySize => "http.request.body.size"u8; - - /// http.request.size - public static ReadOnlySpan Size => "http.request.size"u8; - -} - -/// -/// UTF-8 attribute keys for http.response.* (zero-allocation parsing) -/// -public static class HttpResponseUtf8 -{ - /// http.response.status_code - public static ReadOnlySpan StatusCode => "http.response.status_code"u8; - - /// http.response.body.size - public static ReadOnlySpan BodySize => "http.response.body.size"u8; - - /// http.response.size - public static ReadOnlySpan Size => "http.response.size"u8; - -} - -/// -/// UTF-8 attribute keys for http.route.* (zero-allocation parsing) -/// -public static class HttpRouteUtf8 -{ - /// http.route - public static ReadOnlySpan Route => "http.route"u8; - -} - -/// -/// UTF-8 attribute keys for network.local.* (zero-allocation parsing) -/// -public static class NetworkLocalUtf8 -{ - /// network.local.address - public static ReadOnlySpan Address => "network.local.address"u8; - - /// network.local.port - public static ReadOnlySpan Port => "network.local.port"u8; - -} - -/// -/// UTF-8 attribute keys for network.peer.* (zero-allocation parsing) -/// -public static class NetworkPeerUtf8 -{ - /// network.peer.address - public static ReadOnlySpan Address => "network.peer.address"u8; - - /// network.peer.port - public static ReadOnlySpan Port => "network.peer.port"u8; - -} - -/// -/// UTF-8 attribute keys for network.protocol.* (zero-allocation parsing) -/// -public static class NetworkProtocolUtf8 -{ - /// network.protocol.name - public static ReadOnlySpan Name => "network.protocol.name"u8; - - /// network.protocol.version - public static ReadOnlySpan Version => "network.protocol.version"u8; - -} - -/// -/// UTF-8 attribute keys for network.transport.* (zero-allocation parsing) -/// -public static class NetworkTransportUtf8 -{ - /// network.transport - public static ReadOnlySpan Transport => "network.transport"u8; - -} - -/// -/// UTF-8 attribute keys for network.type.* (zero-allocation parsing) -/// -public static class NetworkTypeUtf8 -{ - /// network.type - public static ReadOnlySpan Type => "network.type"u8; - -} - -/// -/// UTF-8 attribute keys for otel.scope.* (zero-allocation parsing) -/// -public static class OtelScopeUtf8 -{ - /// otel.scope.name - public static ReadOnlySpan Name => "otel.scope.name"u8; - - /// otel.scope.version - public static ReadOnlySpan Version => "otel.scope.version"u8; - - /// otel.scope.schema_url - public static ReadOnlySpan SchemaUrl => "otel.scope.schema_url"u8; - -} - -/// -/// UTF-8 attribute keys for otel.status_code.* (zero-allocation parsing) -/// -public static class OtelStatusCodeUtf8 -{ - /// otel.status_code - public static ReadOnlySpan Status_code => "otel.status_code"u8; - -} - -/// -/// UTF-8 attribute keys for otel.status_description.* (zero-allocation parsing) -/// -public static class OtelStatusDescriptionUtf8 -{ - /// otel.status_description - public static ReadOnlySpan Status_description => "otel.status_description"u8; - -} - -/// -/// UTF-8 attribute keys for signalr.connection.* (zero-allocation parsing) -/// -public static class SignalrConnectionUtf8 -{ - /// signalr.connection.status - public static ReadOnlySpan Status => "signalr.connection.status"u8; - -} - -/// -/// UTF-8 attribute keys for signalr.transport.* (zero-allocation parsing) -/// -public static class SignalrTransportUtf8 -{ - /// signalr.transport - public static ReadOnlySpan Transport => "signalr.transport"u8; - -} - -/// -/// UTF-8 attribute keys for url.fragment.* (zero-allocation parsing) -/// -public static class UrlFragmentUtf8 -{ - /// url.fragment - public static ReadOnlySpan Fragment => "url.fragment"u8; - -} - -/// -/// UTF-8 attribute keys for url.full.* (zero-allocation parsing) -/// -public static class UrlFullUtf8 -{ - /// url.full - public static ReadOnlySpan Full => "url.full"u8; - -} - -/// -/// UTF-8 attribute keys for url.path.* (zero-allocation parsing) -/// -public static class UrlPathUtf8 -{ - /// url.path - public static ReadOnlySpan Path => "url.path"u8; - -} - -/// -/// UTF-8 attribute keys for url.query.* (zero-allocation parsing) -/// -public static class UrlQueryUtf8 -{ - /// url.query - public static ReadOnlySpan Query => "url.query"u8; - -} - -/// -/// UTF-8 attribute keys for url.scheme.* (zero-allocation parsing) -/// -public static class UrlSchemeUtf8 -{ - /// url.scheme - public static ReadOnlySpan Scheme => "url.scheme"u8; - -} - -/// -/// UTF-8 attribute keys for user_agent.original.* (zero-allocation parsing) -/// -public static class UserAgentOriginalUtf8 -{ - /// user_agent.original - public static ReadOnlySpan Original => "user_agent.original"u8; - -} - -/// -/// UTF-8 attribute keys for artifact.attestation.* (zero-allocation parsing) -/// -public static class ArtifactAttestationUtf8 -{ - /// artifact.attestation.filename - public static ReadOnlySpan Filename => "artifact.attestation.filename"u8; - - /// artifact.attestation.hash - public static ReadOnlySpan Hash => "artifact.attestation.hash"u8; - - /// artifact.attestation.id - public static ReadOnlySpan Id => "artifact.attestation.id"u8; - -} - -/// -/// UTF-8 attribute keys for artifact.filename.* (zero-allocation parsing) -/// -public static class ArtifactFilenameUtf8 -{ - /// artifact.filename - public static ReadOnlySpan Filename => "artifact.filename"u8; - -} - -/// -/// UTF-8 attribute keys for artifact.hash.* (zero-allocation parsing) -/// -public static class ArtifactHashUtf8 -{ - /// artifact.hash - public static ReadOnlySpan Hash => "artifact.hash"u8; - -} - -/// -/// UTF-8 attribute keys for artifact.purl.* (zero-allocation parsing) -/// -public static class ArtifactPurlUtf8 -{ - /// artifact.purl - public static ReadOnlySpan Purl => "artifact.purl"u8; - -} - -/// -/// UTF-8 attribute keys for artifact.version.* (zero-allocation parsing) -/// -public static class ArtifactVersionUtf8 -{ - /// artifact.version - public static ReadOnlySpan Version => "artifact.version"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.authentication.* (zero-allocation parsing) -/// -public static class AspnetcoreAuthenticationUtf8 -{ - /// aspnetcore.authentication.result - public static ReadOnlySpan Result => "aspnetcore.authentication.result"u8; - - /// aspnetcore.authentication.scheme - public static ReadOnlySpan Scheme => "aspnetcore.authentication.scheme"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.authorization.* (zero-allocation parsing) -/// -public static class AspnetcoreAuthorizationUtf8 -{ - /// aspnetcore.authorization.policy - public static ReadOnlySpan Policy => "aspnetcore.authorization.policy"u8; - - /// aspnetcore.authorization.result - public static ReadOnlySpan Result => "aspnetcore.authorization.result"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.identity.* (zero-allocation parsing) -/// -public static class AspnetcoreIdentityUtf8 -{ - /// aspnetcore.identity.error_code - public static ReadOnlySpan ErrorCode => "aspnetcore.identity.error_code"u8; - - /// aspnetcore.identity.password_check_result - public static ReadOnlySpan PasswordCheckResult => "aspnetcore.identity.password_check_result"u8; - - /// aspnetcore.identity.result - public static ReadOnlySpan Result => "aspnetcore.identity.result"u8; - - /// aspnetcore.identity.sign_in.result - public static ReadOnlySpan SignInResult => "aspnetcore.identity.sign_in.result"u8; - - /// aspnetcore.identity.sign_in.type - public static ReadOnlySpan SignInType => "aspnetcore.identity.sign_in.type"u8; - - /// aspnetcore.identity.token_purpose - public static ReadOnlySpan TokenPurpose => "aspnetcore.identity.token_purpose"u8; - - /// aspnetcore.identity.token_verified - public static ReadOnlySpan TokenVerified => "aspnetcore.identity.token_verified"u8; - - /// aspnetcore.identity.user.update_type - public static ReadOnlySpan UserUpdateType => "aspnetcore.identity.user.update_type"u8; - - /// aspnetcore.identity.user_type - public static ReadOnlySpan UserType => "aspnetcore.identity.user_type"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.memory_pool.* (zero-allocation parsing) -/// -public static class AspnetcoreMemoryPoolUtf8 -{ - /// aspnetcore.memory_pool.owner - public static ReadOnlySpan Owner => "aspnetcore.memory_pool.owner"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.sign_in.* (zero-allocation parsing) -/// -public static class AspnetcoreSignInUtf8 -{ - /// aspnetcore.sign_in.is_persistent - public static ReadOnlySpan IsPersistent => "aspnetcore.sign_in.is_persistent"u8; - -} - -/// -/// UTF-8 attribute keys for browser.brands.* (zero-allocation parsing) -/// -public static class BrowserBrandsUtf8 -{ - /// browser.brands - public static ReadOnlySpan Brands => "browser.brands"u8; - -} - -/// -/// UTF-8 attribute keys for browser.language.* (zero-allocation parsing) -/// -public static class BrowserLanguageUtf8 -{ - /// browser.language - public static ReadOnlySpan Language => "browser.language"u8; - -} - -/// -/// UTF-8 attribute keys for browser.mobile.* (zero-allocation parsing) -/// -public static class BrowserMobileUtf8 -{ - /// browser.mobile - public static ReadOnlySpan Mobile => "browser.mobile"u8; - -} - -/// -/// UTF-8 attribute keys for browser.platform.* (zero-allocation parsing) -/// -public static class BrowserPlatformUtf8 -{ - /// browser.platform - public static ReadOnlySpan Platform => "browser.platform"u8; - -} - -/// -/// UTF-8 attribute keys for cicd.pipeline.* (zero-allocation parsing) -/// -public static class CicdPipelineUtf8 -{ - /// cicd.pipeline.action.name - public static ReadOnlySpan ActionName => "cicd.pipeline.action.name"u8; - - /// cicd.pipeline.name - public static ReadOnlySpan Name => "cicd.pipeline.name"u8; - - /// cicd.pipeline.result - public static ReadOnlySpan Result => "cicd.pipeline.result"u8; - - /// cicd.pipeline.run.id - public static ReadOnlySpan RunId => "cicd.pipeline.run.id"u8; - - /// cicd.pipeline.run.state - public static ReadOnlySpan RunState => "cicd.pipeline.run.state"u8; - - /// cicd.pipeline.run.url.full - public static ReadOnlySpan RunUrlFull => "cicd.pipeline.run.url.full"u8; - - /// cicd.pipeline.task.name - public static ReadOnlySpan TaskName => "cicd.pipeline.task.name"u8; - - /// cicd.pipeline.task.run.id - public static ReadOnlySpan TaskRunId => "cicd.pipeline.task.run.id"u8; - - /// cicd.pipeline.task.run.result - public static ReadOnlySpan TaskRunResult => "cicd.pipeline.task.run.result"u8; - - /// cicd.pipeline.task.run.url.full - public static ReadOnlySpan TaskRunUrlFull => "cicd.pipeline.task.run.url.full"u8; - - /// cicd.pipeline.task.type - public static ReadOnlySpan TaskType => "cicd.pipeline.task.type"u8; - -} - -/// -/// UTF-8 attribute keys for cicd.system.* (zero-allocation parsing) -/// -public static class CicdSystemUtf8 -{ - /// cicd.system.component - public static ReadOnlySpan Component => "cicd.system.component"u8; - -} - -/// -/// UTF-8 attribute keys for cicd.worker.* (zero-allocation parsing) -/// -public static class CicdWorkerUtf8 -{ - /// cicd.worker.id - public static ReadOnlySpan Id => "cicd.worker.id"u8; - - /// cicd.worker.name - public static ReadOnlySpan Name => "cicd.worker.name"u8; - - /// cicd.worker.state - public static ReadOnlySpan State => "cicd.worker.state"u8; - - /// cicd.worker.url.full - public static ReadOnlySpan UrlFull => "cicd.worker.url.full"u8; - -} - -/// -/// UTF-8 attribute keys for cloud.account.* (zero-allocation parsing) -/// -public static class CloudAccountUtf8 -{ - /// cloud.account.id - public static ReadOnlySpan Id => "cloud.account.id"u8; - -} - -/// -/// UTF-8 attribute keys for cloud.availability_zone.* (zero-allocation parsing) -/// -public static class CloudAvailabilityZoneUtf8 -{ - /// cloud.availability_zone - public static ReadOnlySpan Availability_zone => "cloud.availability_zone"u8; - -} - -/// -/// UTF-8 attribute keys for cloud.platform.* (zero-allocation parsing) -/// -public static class CloudPlatformUtf8 -{ - /// cloud.platform - public static ReadOnlySpan Platform => "cloud.platform"u8; - -} - -/// -/// UTF-8 attribute keys for cloud.provider.* (zero-allocation parsing) -/// -public static class CloudProviderUtf8 -{ - /// cloud.provider - public static ReadOnlySpan Provider => "cloud.provider"u8; - -} - -/// -/// UTF-8 attribute keys for cloud.region.* (zero-allocation parsing) -/// -public static class CloudRegionUtf8 -{ - /// cloud.region - public static ReadOnlySpan Region => "cloud.region"u8; - -} - -/// -/// UTF-8 attribute keys for cloud.resource_id.* (zero-allocation parsing) -/// -public static class CloudResourceIdUtf8 -{ - /// cloud.resource_id - public static ReadOnlySpan Resource_id => "cloud.resource_id"u8; - -} - -/// -/// UTF-8 attribute keys for cloudevents.event_id.* (zero-allocation parsing) -/// -public static class CloudeventsEventIdUtf8 -{ - /// cloudevents.event_id - public static ReadOnlySpan Event_id => "cloudevents.event_id"u8; - -} - -/// -/// UTF-8 attribute keys for cloudevents.event_source.* (zero-allocation parsing) -/// -public static class CloudeventsEventSourceUtf8 -{ - /// cloudevents.event_source - public static ReadOnlySpan Event_source => "cloudevents.event_source"u8; - -} - -/// -/// UTF-8 attribute keys for cloudevents.event_spec_version.* (zero-allocation parsing) -/// -public static class CloudeventsEventSpecVersionUtf8 -{ - /// cloudevents.event_spec_version - public static ReadOnlySpan Event_spec_version => "cloudevents.event_spec_version"u8; - -} - -/// -/// UTF-8 attribute keys for cloudevents.event_subject.* (zero-allocation parsing) -/// -public static class CloudeventsEventSubjectUtf8 -{ - /// cloudevents.event_subject - public static ReadOnlySpan Event_subject => "cloudevents.event_subject"u8; - -} - -/// -/// UTF-8 attribute keys for cloudevents.event_type.* (zero-allocation parsing) -/// -public static class CloudeventsEventTypeUtf8 -{ - /// cloudevents.event_type - public static ReadOnlySpan Event_type => "cloudevents.event_type"u8; - -} - -/// -/// UTF-8 attribute keys for cloudfoundry.app.* (zero-allocation parsing) -/// -public static class CloudfoundryAppUtf8 -{ - /// cloudfoundry.app.id - public static ReadOnlySpan Id => "cloudfoundry.app.id"u8; - - /// cloudfoundry.app.instance.id - public static ReadOnlySpan InstanceId => "cloudfoundry.app.instance.id"u8; - - /// cloudfoundry.app.name - public static ReadOnlySpan Name => "cloudfoundry.app.name"u8; - -} - -/// -/// UTF-8 attribute keys for cloudfoundry.org.* (zero-allocation parsing) -/// -public static class CloudfoundryOrgUtf8 -{ - /// cloudfoundry.org.id - public static ReadOnlySpan Id => "cloudfoundry.org.id"u8; - - /// cloudfoundry.org.name - public static ReadOnlySpan Name => "cloudfoundry.org.name"u8; - -} - -/// -/// UTF-8 attribute keys for cloudfoundry.process.* (zero-allocation parsing) -/// -public static class CloudfoundryProcessUtf8 -{ - /// cloudfoundry.process.id - public static ReadOnlySpan Id => "cloudfoundry.process.id"u8; - - /// cloudfoundry.process.type - public static ReadOnlySpan Type => "cloudfoundry.process.type"u8; - -} - -/// -/// UTF-8 attribute keys for cloudfoundry.space.* (zero-allocation parsing) -/// -public static class CloudfoundrySpaceUtf8 -{ - /// cloudfoundry.space.id - public static ReadOnlySpan Id => "cloudfoundry.space.id"u8; - - /// cloudfoundry.space.name - public static ReadOnlySpan Name => "cloudfoundry.space.name"u8; - -} - -/// -/// UTF-8 attribute keys for cloudfoundry.system.* (zero-allocation parsing) -/// -public static class CloudfoundrySystemUtf8 -{ - /// cloudfoundry.system.id - public static ReadOnlySpan Id => "cloudfoundry.system.id"u8; - - /// cloudfoundry.system.instance.id - public static ReadOnlySpan InstanceId => "cloudfoundry.system.instance.id"u8; - -} - -/// -/// UTF-8 attribute keys for code.filepath.* (zero-allocation parsing) -/// -public static class CodeFilepathUtf8 -{ - /// code.filepath - public static ReadOnlySpan Filepath => "code.filepath"u8; - -} - -/// -/// UTF-8 attribute keys for code.lineno.* (zero-allocation parsing) -/// -public static class CodeLinenoUtf8 -{ - /// code.lineno - public static ReadOnlySpan Lineno => "code.lineno"u8; - -} - -/// -/// UTF-8 attribute keys for code.namespace.* (zero-allocation parsing) -/// -public static class CodeNamespaceUtf8 -{ - /// code.namespace - public static ReadOnlySpan Namespace => "code.namespace"u8; - -} - -/// -/// UTF-8 attribute keys for container.command.* (zero-allocation parsing) -/// -public static class ContainerCommandUtf8 -{ - /// container.command - public static ReadOnlySpan Command => "container.command"u8; - -} - -/// -/// UTF-8 attribute keys for container.command_args.* (zero-allocation parsing) -/// -public static class ContainerCommandArgsUtf8 -{ - /// container.command_args - public static ReadOnlySpan Command_args => "container.command_args"u8; - -} - -/// -/// UTF-8 attribute keys for container.command_line.* (zero-allocation parsing) -/// -public static class ContainerCommandLineUtf8 -{ - /// container.command_line - public static ReadOnlySpan Command_line => "container.command_line"u8; - -} - -/// -/// UTF-8 attribute keys for container.cpu.* (zero-allocation parsing) -/// -public static class ContainerCpuUtf8 -{ - /// container.cpu.state - public static ReadOnlySpan State => "container.cpu.state"u8; - -} - -/// -/// UTF-8 attribute keys for container.csi.* (zero-allocation parsing) -/// -public static class ContainerCsiUtf8 -{ - /// container.csi.plugin.name - public static ReadOnlySpan PluginName => "container.csi.plugin.name"u8; - - /// container.csi.volume.id - public static ReadOnlySpan VolumeId => "container.csi.volume.id"u8; - -} - -/// -/// UTF-8 attribute keys for container.id.* (zero-allocation parsing) -/// -public static class ContainerIdUtf8 -{ - /// container.id - public static ReadOnlySpan Id => "container.id"u8; - -} - -/// -/// UTF-8 attribute keys for container.image.* (zero-allocation parsing) -/// -public static class ContainerImageUtf8 -{ - /// container.image.id - public static ReadOnlySpan Id => "container.image.id"u8; - - /// container.image.name - public static ReadOnlySpan Name => "container.image.name"u8; - - /// container.image.repo_digests - public static ReadOnlySpan RepoDigests => "container.image.repo_digests"u8; - - /// container.image.tags - public static ReadOnlySpan Tags => "container.image.tags"u8; - -} - -/// -/// UTF-8 attribute keys for container.name.* (zero-allocation parsing) -/// -public static class ContainerNameUtf8 -{ - /// container.name - public static ReadOnlySpan Name => "container.name"u8; - -} - -/// -/// UTF-8 attribute keys for container.runtime.* (zero-allocation parsing) -/// -public static class ContainerRuntimeUtf8 -{ - /// container.runtime - public static ReadOnlySpan Runtime => "container.runtime"u8; - - /// container.runtime.description - public static ReadOnlySpan Description => "container.runtime.description"u8; - - /// container.runtime.name - public static ReadOnlySpan Name => "container.runtime.name"u8; - - /// container.runtime.version - public static ReadOnlySpan Version => "container.runtime.version"u8; - -} - -/// -/// UTF-8 attribute keys for db.cassandra.* (zero-allocation parsing) -/// -public static class DbCassandraUtf8 -{ - /// db.cassandra.consistency_level - public static ReadOnlySpan ConsistencyLevel => "db.cassandra.consistency_level"u8; - - /// db.cassandra.coordinator.dc - public static ReadOnlySpan CoordinatorDc => "db.cassandra.coordinator.dc"u8; - - /// db.cassandra.coordinator.id - public static ReadOnlySpan CoordinatorId => "db.cassandra.coordinator.id"u8; - - /// db.cassandra.idempotence - public static ReadOnlySpan Idempotence => "db.cassandra.idempotence"u8; - - /// db.cassandra.page_size - public static ReadOnlySpan PageSize => "db.cassandra.page_size"u8; - - /// db.cassandra.speculative_execution_count - public static ReadOnlySpan SpeculativeExecutionCount => "db.cassandra.speculative_execution_count"u8; - - /// db.cassandra.table - public static ReadOnlySpan Table => "db.cassandra.table"u8; - -} - -/// -/// UTF-8 attribute keys for db.client.* (zero-allocation parsing) -/// -public static class DbClientUtf8 -{ - /// db.client.connection.pool.name - public static ReadOnlySpan ConnectionPoolName => "db.client.connection.pool.name"u8; - - /// db.client.connection.state - public static ReadOnlySpan ConnectionState => "db.client.connection.state"u8; - - /// db.client.connections.pool.name - public static ReadOnlySpan ConnectionsPoolName => "db.client.connections.pool.name"u8; - - /// db.client.connections.state - public static ReadOnlySpan ConnectionsState => "db.client.connections.state"u8; - -} - -/// -/// UTF-8 attribute keys for db.connection_string.* (zero-allocation parsing) -/// -public static class DbConnectionStringUtf8 -{ - /// db.connection_string - public static ReadOnlySpan Connection_string => "db.connection_string"u8; - -} - -/// -/// UTF-8 attribute keys for db.cosmosdb.* (zero-allocation parsing) -/// -public static class DbCosmosdbUtf8 -{ - /// db.cosmosdb.client_id - public static ReadOnlySpan ClientId => "db.cosmosdb.client_id"u8; - - /// db.cosmosdb.connection_mode - public static ReadOnlySpan ConnectionMode => "db.cosmosdb.connection_mode"u8; - - /// db.cosmosdb.consistency_level - public static ReadOnlySpan ConsistencyLevel => "db.cosmosdb.consistency_level"u8; - - /// db.cosmosdb.container - public static ReadOnlySpan Container => "db.cosmosdb.container"u8; - - /// db.cosmosdb.operation_type - public static ReadOnlySpan OperationType => "db.cosmosdb.operation_type"u8; - - /// db.cosmosdb.regions_contacted - public static ReadOnlySpan RegionsContacted => "db.cosmosdb.regions_contacted"u8; - - /// db.cosmosdb.request_charge - public static ReadOnlySpan RequestCharge => "db.cosmosdb.request_charge"u8; - - /// db.cosmosdb.request_content_length - public static ReadOnlySpan RequestContentLength => "db.cosmosdb.request_content_length"u8; - - /// db.cosmosdb.status_code - public static ReadOnlySpan StatusCode => "db.cosmosdb.status_code"u8; - - /// db.cosmosdb.sub_status_code - public static ReadOnlySpan SubStatusCode => "db.cosmosdb.sub_status_code"u8; - -} - -/// -/// UTF-8 attribute keys for db.elasticsearch.* (zero-allocation parsing) -/// -public static class DbElasticsearchUtf8 -{ - /// db.elasticsearch.cluster.name - public static ReadOnlySpan ClusterName => "db.elasticsearch.cluster.name"u8; - - /// db.elasticsearch.node.name - public static ReadOnlySpan NodeName => "db.elasticsearch.node.name"u8; - -} - -/// -/// UTF-8 attribute keys for db.instance.* (zero-allocation parsing) -/// -public static class DbInstanceUtf8 -{ - /// db.instance.id - public static ReadOnlySpan Id => "db.instance.id"u8; - -} - -/// -/// UTF-8 attribute keys for db.jdbc.* (zero-allocation parsing) -/// -public static class DbJdbcUtf8 -{ - /// db.jdbc.driver_classname - public static ReadOnlySpan DriverClassname => "db.jdbc.driver_classname"u8; - -} - -/// -/// UTF-8 attribute keys for db.mongodb.* (zero-allocation parsing) -/// -public static class DbMongodbUtf8 -{ - /// db.mongodb.collection - public static ReadOnlySpan Collection => "db.mongodb.collection"u8; - -} - -/// -/// UTF-8 attribute keys for db.mssql.* (zero-allocation parsing) -/// -public static class DbMssqlUtf8 -{ - /// db.mssql.instance_name - public static ReadOnlySpan InstanceName => "db.mssql.instance_name"u8; - -} - -/// -/// UTF-8 attribute keys for db.name.* (zero-allocation parsing) -/// -public static class DbNameUtf8 -{ - /// db.name - public static ReadOnlySpan Name => "db.name"u8; - -} - -/// -/// UTF-8 attribute keys for db.redis.* (zero-allocation parsing) -/// -public static class DbRedisUtf8 -{ - /// db.redis.database_index - public static ReadOnlySpan DatabaseIndex => "db.redis.database_index"u8; - -} - -/// -/// UTF-8 attribute keys for db.sql.* (zero-allocation parsing) -/// -public static class DbSqlUtf8 -{ - /// db.sql.table - public static ReadOnlySpan Table => "db.sql.table"u8; - -} - -/// -/// UTF-8 attribute keys for db.statement.* (zero-allocation parsing) -/// -public static class DbStatementUtf8 -{ - /// db.statement - public static ReadOnlySpan Statement => "db.statement"u8; - -} - -/// -/// UTF-8 attribute keys for db.user.* (zero-allocation parsing) -/// -public static class DbUserUtf8 -{ - /// db.user - public static ReadOnlySpan User => "db.user"u8; - -} - -/// -/// UTF-8 attribute keys for deployment.environment.* (zero-allocation parsing) -/// -public static class DeploymentEnvironmentUtf8 -{ - /// deployment.environment - public static ReadOnlySpan Environment => "deployment.environment"u8; - - /// deployment.environment.name - public static ReadOnlySpan Name => "deployment.environment.name"u8; - -} - -/// -/// UTF-8 attribute keys for deployment.id.* (zero-allocation parsing) -/// -public static class DeploymentIdUtf8 -{ - /// deployment.id - public static ReadOnlySpan Id => "deployment.id"u8; - -} - -/// -/// UTF-8 attribute keys for deployment.name.* (zero-allocation parsing) -/// -public static class DeploymentNameUtf8 -{ - /// deployment.name - public static ReadOnlySpan Name => "deployment.name"u8; - -} - -/// -/// UTF-8 attribute keys for deployment.status.* (zero-allocation parsing) -/// -public static class DeploymentStatusUtf8 -{ - /// deployment.status - public static ReadOnlySpan Status => "deployment.status"u8; - -} - -/// -/// UTF-8 attribute keys for dns.answers.* (zero-allocation parsing) -/// -public static class DnsAnswersUtf8 -{ - /// dns.answers - public static ReadOnlySpan Answers => "dns.answers"u8; - -} - -/// -/// UTF-8 attribute keys for dns.question.* (zero-allocation parsing) -/// -public static class DnsQuestionUtf8 -{ - /// dns.question.name - public static ReadOnlySpan Name => "dns.question.name"u8; - -} - -/// -/// UTF-8 attribute keys for elasticsearch.node.* (zero-allocation parsing) -/// -public static class ElasticsearchNodeUtf8 -{ - /// elasticsearch.node.name - public static ReadOnlySpan Name => "elasticsearch.node.name"u8; - -} - -/// -/// UTF-8 attribute keys for enduser.id.* (zero-allocation parsing) -/// -public static class EnduserIdUtf8 -{ - /// enduser.id - public static ReadOnlySpan Id => "enduser.id"u8; - -} - -/// -/// UTF-8 attribute keys for enduser.pseudo.* (zero-allocation parsing) -/// -public static class EnduserPseudoUtf8 -{ - /// enduser.pseudo.id - public static ReadOnlySpan Id => "enduser.pseudo.id"u8; - -} - -/// -/// UTF-8 attribute keys for enduser.role.* (zero-allocation parsing) -/// -public static class EnduserRoleUtf8 -{ - /// enduser.role - public static ReadOnlySpan Role => "enduser.role"u8; - -} - -/// -/// UTF-8 attribute keys for enduser.scope.* (zero-allocation parsing) -/// -public static class EnduserScopeUtf8 -{ - /// enduser.scope - public static ReadOnlySpan Scope => "enduser.scope"u8; - -} - -/// -/// UTF-8 attribute keys for error.message.* (zero-allocation parsing) -/// -public static class ErrorMessageUtf8 -{ - /// error.message - public static ReadOnlySpan Message => "error.message"u8; - -} - -/// -/// UTF-8 attribute keys for faas.coldstart.* (zero-allocation parsing) -/// -public static class FaasColdstartUtf8 -{ - /// faas.coldstart - public static ReadOnlySpan Coldstart => "faas.coldstart"u8; - -} - -/// -/// UTF-8 attribute keys for faas.cron.* (zero-allocation parsing) -/// -public static class FaasCronUtf8 -{ - /// faas.cron - public static ReadOnlySpan Cron => "faas.cron"u8; - -} - -/// -/// UTF-8 attribute keys for faas.document.* (zero-allocation parsing) -/// -public static class FaasDocumentUtf8 -{ - /// faas.document.collection - public static ReadOnlySpan Collection => "faas.document.collection"u8; - - /// faas.document.name - public static ReadOnlySpan Name => "faas.document.name"u8; - - /// faas.document.operation - public static ReadOnlySpan Operation => "faas.document.operation"u8; - - /// faas.document.time - public static ReadOnlySpan Time => "faas.document.time"u8; - -} - -/// -/// UTF-8 attribute keys for faas.instance.* (zero-allocation parsing) -/// -public static class FaasInstanceUtf8 -{ - /// faas.instance - public static ReadOnlySpan Instance => "faas.instance"u8; - -} - -/// -/// UTF-8 attribute keys for faas.invocation_id.* (zero-allocation parsing) -/// -public static class FaasInvocationIdUtf8 -{ - /// faas.invocation_id - public static ReadOnlySpan Invocation_id => "faas.invocation_id"u8; - -} - -/// -/// UTF-8 attribute keys for faas.invoked_name.* (zero-allocation parsing) -/// -public static class FaasInvokedNameUtf8 -{ - /// faas.invoked_name - public static ReadOnlySpan Invoked_name => "faas.invoked_name"u8; - -} - -/// -/// UTF-8 attribute keys for faas.invoked_provider.* (zero-allocation parsing) -/// -public static class FaasInvokedProviderUtf8 -{ - /// faas.invoked_provider - public static ReadOnlySpan Invoked_provider => "faas.invoked_provider"u8; - -} - -/// -/// UTF-8 attribute keys for faas.invoked_region.* (zero-allocation parsing) -/// -public static class FaasInvokedRegionUtf8 -{ - /// faas.invoked_region - public static ReadOnlySpan Invoked_region => "faas.invoked_region"u8; - -} - -/// -/// UTF-8 attribute keys for faas.max_memory.* (zero-allocation parsing) -/// -public static class FaasMaxMemoryUtf8 -{ - /// faas.max_memory - public static ReadOnlySpan Max_memory => "faas.max_memory"u8; - -} - -/// -/// UTF-8 attribute keys for faas.name.* (zero-allocation parsing) -/// -public static class FaasNameUtf8 -{ - /// faas.name - public static ReadOnlySpan Name => "faas.name"u8; - -} - -/// -/// UTF-8 attribute keys for faas.time.* (zero-allocation parsing) -/// -public static class FaasTimeUtf8 -{ - /// faas.time - public static ReadOnlySpan Time => "faas.time"u8; - -} - -/// -/// UTF-8 attribute keys for faas.trigger.* (zero-allocation parsing) -/// -public static class FaasTriggerUtf8 -{ - /// faas.trigger - public static ReadOnlySpan Trigger => "faas.trigger"u8; - -} - -/// -/// UTF-8 attribute keys for faas.version.* (zero-allocation parsing) -/// -public static class FaasVersionUtf8 -{ - /// faas.version - public static ReadOnlySpan Version => "faas.version"u8; - -} - -/// -/// UTF-8 attribute keys for feature_flag.context.* (zero-allocation parsing) -/// -public static class FeatureFlagContextUtf8 -{ - /// feature_flag.context.id - public static ReadOnlySpan Id => "feature_flag.context.id"u8; - -} - -/// -/// UTF-8 attribute keys for feature_flag.evaluation.* (zero-allocation parsing) -/// -public static class FeatureFlagEvaluationUtf8 -{ - /// feature_flag.evaluation.error.message - public static ReadOnlySpan ErrorMessage => "feature_flag.evaluation.error.message"u8; - - /// feature_flag.evaluation.reason - public static ReadOnlySpan Reason => "feature_flag.evaluation.reason"u8; - -} - -/// -/// UTF-8 attribute keys for feature_flag.key.* (zero-allocation parsing) -/// -public static class FeatureFlagKeyUtf8 -{ - /// feature_flag.key - public static ReadOnlySpan Key => "feature_flag.key"u8; - -} - -/// -/// UTF-8 attribute keys for feature_flag.provider.* (zero-allocation parsing) -/// -public static class FeatureFlagProviderUtf8 -{ - /// feature_flag.provider.name - public static ReadOnlySpan Name => "feature_flag.provider.name"u8; - -} - -/// -/// UTF-8 attribute keys for feature_flag.result.* (zero-allocation parsing) -/// -public static class FeatureFlagResultUtf8 -{ - /// feature_flag.result.reason - public static ReadOnlySpan Reason => "feature_flag.result.reason"u8; - - /// feature_flag.result.value - public static ReadOnlySpan Value => "feature_flag.result.value"u8; - - /// feature_flag.result.variant - public static ReadOnlySpan Variant => "feature_flag.result.variant"u8; - -} - -/// -/// UTF-8 attribute keys for feature_flag.set.* (zero-allocation parsing) -/// -public static class FeatureFlagSetUtf8 -{ - /// feature_flag.set.id - public static ReadOnlySpan Id => "feature_flag.set.id"u8; - -} - -/// -/// UTF-8 attribute keys for feature_flag.variant.* (zero-allocation parsing) -/// -public static class FeatureFlagVariantUtf8 -{ - /// feature_flag.variant - public static ReadOnlySpan Variant => "feature_flag.variant"u8; - -} - -/// -/// UTF-8 attribute keys for feature_flag.version.* (zero-allocation parsing) -/// -public static class FeatureFlagVersionUtf8 -{ - /// feature_flag.version - public static ReadOnlySpan Version => "feature_flag.version"u8; - -} - -/// -/// UTF-8 attribute keys for file.accessed.* (zero-allocation parsing) -/// -public static class FileAccessedUtf8 -{ - /// file.accessed - public static ReadOnlySpan Accessed => "file.accessed"u8; - -} - -/// -/// UTF-8 attribute keys for file.attributes.* (zero-allocation parsing) -/// -public static class FileAttributesUtf8 -{ - /// file.attributes - public static ReadOnlySpan Attributes => "file.attributes"u8; - -} - -/// -/// UTF-8 attribute keys for file.changed.* (zero-allocation parsing) -/// -public static class FileChangedUtf8 -{ - /// file.changed - public static ReadOnlySpan Changed => "file.changed"u8; - -} - -/// -/// UTF-8 attribute keys for file.created.* (zero-allocation parsing) -/// -public static class FileCreatedUtf8 -{ - /// file.created - public static ReadOnlySpan Created => "file.created"u8; - -} - -/// -/// UTF-8 attribute keys for file.directory.* (zero-allocation parsing) -/// -public static class FileDirectoryUtf8 -{ - /// file.directory - public static ReadOnlySpan Directory => "file.directory"u8; - -} - -/// -/// UTF-8 attribute keys for file.extension.* (zero-allocation parsing) -/// -public static class FileExtensionUtf8 -{ - /// file.extension - public static ReadOnlySpan Extension => "file.extension"u8; - -} - -/// -/// UTF-8 attribute keys for file.fork_name.* (zero-allocation parsing) -/// -public static class FileForkNameUtf8 -{ - /// file.fork_name - public static ReadOnlySpan Fork_name => "file.fork_name"u8; - -} - -/// -/// UTF-8 attribute keys for file.group.* (zero-allocation parsing) -/// -public static class FileGroupUtf8 -{ - /// file.group.id - public static ReadOnlySpan Id => "file.group.id"u8; - - /// file.group.name - public static ReadOnlySpan Name => "file.group.name"u8; - -} - -/// -/// UTF-8 attribute keys for file.inode.* (zero-allocation parsing) -/// -public static class FileInodeUtf8 -{ - /// file.inode - public static ReadOnlySpan Inode => "file.inode"u8; - -} - -/// -/// UTF-8 attribute keys for file.mode.* (zero-allocation parsing) -/// -public static class FileModeUtf8 -{ - /// file.mode - public static ReadOnlySpan Mode => "file.mode"u8; - -} - -/// -/// UTF-8 attribute keys for file.modified.* (zero-allocation parsing) -/// -public static class FileModifiedUtf8 -{ - /// file.modified - public static ReadOnlySpan Modified => "file.modified"u8; - -} - -/// -/// UTF-8 attribute keys for file.name.* (zero-allocation parsing) -/// -public static class FileNameUtf8 -{ - /// file.name - public static ReadOnlySpan Name => "file.name"u8; - -} - -/// -/// UTF-8 attribute keys for file.owner.* (zero-allocation parsing) -/// -public static class FileOwnerUtf8 -{ - /// file.owner.id - public static ReadOnlySpan Id => "file.owner.id"u8; - - /// file.owner.name - public static ReadOnlySpan Name => "file.owner.name"u8; - -} - -/// -/// UTF-8 attribute keys for file.path.* (zero-allocation parsing) -/// -public static class FilePathUtf8 -{ - /// file.path - public static ReadOnlySpan Path => "file.path"u8; - -} - -/// -/// UTF-8 attribute keys for file.size.* (zero-allocation parsing) -/// -public static class FileSizeUtf8 -{ - /// file.size - public static ReadOnlySpan Size => "file.size"u8; - -} - -/// -/// UTF-8 attribute keys for file.symbolic_link.* (zero-allocation parsing) -/// -public static class FileSymbolicLinkUtf8 -{ - /// file.symbolic_link.target_path - public static ReadOnlySpan TargetPath => "file.symbolic_link.target_path"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.agent.* (zero-allocation parsing) -/// -public static class GenAiAgentUtf8 -{ - /// gen_ai.agent.description - public static ReadOnlySpan Description => "gen_ai.agent.description"u8; - - /// gen_ai.agent.id - public static ReadOnlySpan Id => "gen_ai.agent.id"u8; - - /// gen_ai.agent.name - public static ReadOnlySpan Name => "gen_ai.agent.name"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.completion.* (zero-allocation parsing) -/// -public static class GenAiCompletionUtf8 -{ - /// gen_ai.completion - public static ReadOnlySpan Completion => "gen_ai.completion"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.conversation.* (zero-allocation parsing) -/// -public static class GenAiConversationUtf8 -{ - /// gen_ai.conversation.id - public static ReadOnlySpan Id => "gen_ai.conversation.id"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.data_source.* (zero-allocation parsing) -/// -public static class GenAiDataSourceUtf8 -{ - /// gen_ai.data_source.id - public static ReadOnlySpan Id => "gen_ai.data_source.id"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.embeddings.* (zero-allocation parsing) -/// -public static class GenAiEmbeddingsUtf8 -{ - /// gen_ai.embeddings.dimension.count - public static ReadOnlySpan DimensionCount => "gen_ai.embeddings.dimension.count"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.evaluation.* (zero-allocation parsing) -/// -public static class GenAiEvaluationUtf8 -{ - /// gen_ai.evaluation.explanation - public static ReadOnlySpan Explanation => "gen_ai.evaluation.explanation"u8; - - /// gen_ai.evaluation.name - public static ReadOnlySpan Name => "gen_ai.evaluation.name"u8; - - /// gen_ai.evaluation.score.label - public static ReadOnlySpan ScoreLabel => "gen_ai.evaluation.score.label"u8; - - /// gen_ai.evaluation.score.value - public static ReadOnlySpan ScoreValue => "gen_ai.evaluation.score.value"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.input.* (zero-allocation parsing) -/// -public static class GenAiInputUtf8 -{ - /// gen_ai.input.messages - public static ReadOnlySpan Messages => "gen_ai.input.messages"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.openai.* (zero-allocation parsing) -/// -public static class GenAiOpenaiUtf8 -{ - /// gen_ai.openai.request.response_format - public static ReadOnlySpan RequestResponseFormat => "gen_ai.openai.request.response_format"u8; - - /// gen_ai.openai.request.seed - public static ReadOnlySpan RequestSeed => "gen_ai.openai.request.seed"u8; - - /// gen_ai.openai.request.service_tier - public static ReadOnlySpan RequestServiceTier => "gen_ai.openai.request.service_tier"u8; - - /// gen_ai.openai.response.service_tier - public static ReadOnlySpan ResponseServiceTier => "gen_ai.openai.response.service_tier"u8; - - /// gen_ai.openai.response.system_fingerprint - public static ReadOnlySpan ResponseSystemFingerprint => "gen_ai.openai.response.system_fingerprint"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.operation.* (zero-allocation parsing) -/// -public static class GenAiOperationUtf8 -{ - /// gen_ai.operation.name - public static ReadOnlySpan Name => "gen_ai.operation.name"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.output.* (zero-allocation parsing) -/// -public static class GenAiOutputUtf8 -{ - /// gen_ai.output.messages - public static ReadOnlySpan Messages => "gen_ai.output.messages"u8; - - /// gen_ai.output.type - public static ReadOnlySpan Type => "gen_ai.output.type"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.prompt.* (zero-allocation parsing) -/// -public static class GenAiPromptUtf8 -{ - /// gen_ai.prompt - public static ReadOnlySpan Prompt => "gen_ai.prompt"u8; - - /// gen_ai.prompt.name - public static ReadOnlySpan Name => "gen_ai.prompt.name"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.provider.* (zero-allocation parsing) -/// -public static class GenAiProviderUtf8 -{ - /// gen_ai.provider.name - public static ReadOnlySpan Name => "gen_ai.provider.name"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.request.* (zero-allocation parsing) -/// -public static class GenAiRequestUtf8 -{ - /// gen_ai.request.choice.count - public static ReadOnlySpan ChoiceCount => "gen_ai.request.choice.count"u8; - - /// gen_ai.request.encoding_formats - public static ReadOnlySpan EncodingFormats => "gen_ai.request.encoding_formats"u8; - - /// gen_ai.request.frequency_penalty - public static ReadOnlySpan FrequencyPenalty => "gen_ai.request.frequency_penalty"u8; - - /// gen_ai.request.max_tokens - public static ReadOnlySpan MaxTokens => "gen_ai.request.max_tokens"u8; - - /// gen_ai.request.model - public static ReadOnlySpan Model => "gen_ai.request.model"u8; - - /// gen_ai.request.presence_penalty - public static ReadOnlySpan PresencePenalty => "gen_ai.request.presence_penalty"u8; - - /// gen_ai.request.seed - public static ReadOnlySpan Seed => "gen_ai.request.seed"u8; - - /// gen_ai.request.stop_sequences - public static ReadOnlySpan StopSequences => "gen_ai.request.stop_sequences"u8; - - /// gen_ai.request.temperature - public static ReadOnlySpan Temperature => "gen_ai.request.temperature"u8; - - /// gen_ai.request.top_k - public static ReadOnlySpan TopK => "gen_ai.request.top_k"u8; - - /// gen_ai.request.top_p - public static ReadOnlySpan TopP => "gen_ai.request.top_p"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.response.* (zero-allocation parsing) -/// -public static class GenAiResponseUtf8 -{ - /// gen_ai.response.finish_reasons - public static ReadOnlySpan FinishReasons => "gen_ai.response.finish_reasons"u8; - - /// gen_ai.response.id - public static ReadOnlySpan Id => "gen_ai.response.id"u8; - - /// gen_ai.response.model - public static ReadOnlySpan Model => "gen_ai.response.model"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.system.* (zero-allocation parsing) -/// -public static class GenAiSystemUtf8 -{ - /// gen_ai.system - public static ReadOnlySpan System => "gen_ai.system"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.system_instructions.* (zero-allocation parsing) -/// -public static class GenAiSystemInstructionsUtf8 -{ - /// gen_ai.system_instructions - public static ReadOnlySpan System_instructions => "gen_ai.system_instructions"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.token.* (zero-allocation parsing) -/// -public static class GenAiTokenUtf8 -{ - /// gen_ai.token.type - public static ReadOnlySpan Type => "gen_ai.token.type"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.tool.* (zero-allocation parsing) -/// -public static class GenAiToolUtf8 -{ - /// gen_ai.tool.call.arguments - public static ReadOnlySpan CallArguments => "gen_ai.tool.call.arguments"u8; - - /// gen_ai.tool.call.id - public static ReadOnlySpan CallId => "gen_ai.tool.call.id"u8; - - /// gen_ai.tool.call.result - public static ReadOnlySpan CallResult => "gen_ai.tool.call.result"u8; - - /// gen_ai.tool.definitions - public static ReadOnlySpan Definitions => "gen_ai.tool.definitions"u8; - - /// gen_ai.tool.description - public static ReadOnlySpan Description => "gen_ai.tool.description"u8; - - /// gen_ai.tool.name - public static ReadOnlySpan Name => "gen_ai.tool.name"u8; - - /// gen_ai.tool.type - public static ReadOnlySpan Type => "gen_ai.tool.type"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.usage.* (zero-allocation parsing) -/// -public static class GenAiUsageUtf8 -{ - /// gen_ai.usage.completion_tokens - public static ReadOnlySpan CompletionTokens => "gen_ai.usage.completion_tokens"u8; - - /// gen_ai.usage.input_tokens - public static ReadOnlySpan InputTokens => "gen_ai.usage.input_tokens"u8; - - /// gen_ai.usage.output_tokens - public static ReadOnlySpan OutputTokens => "gen_ai.usage.output_tokens"u8; - - /// gen_ai.usage.prompt_tokens - public static ReadOnlySpan PromptTokens => "gen_ai.usage.prompt_tokens"u8; - -} - -/// -/// UTF-8 attribute keys for geo.continent.* (zero-allocation parsing) -/// -public static class GeoContinentUtf8 -{ - /// geo.continent.code - public static ReadOnlySpan Code => "geo.continent.code"u8; - -} - -/// -/// UTF-8 attribute keys for geo.country.* (zero-allocation parsing) -/// -public static class GeoCountryUtf8 -{ - /// geo.country.iso_code - public static ReadOnlySpan IsoCode => "geo.country.iso_code"u8; - -} - -/// -/// UTF-8 attribute keys for geo.locality.* (zero-allocation parsing) -/// -public static class GeoLocalityUtf8 -{ - /// geo.locality.name - public static ReadOnlySpan Name => "geo.locality.name"u8; - -} - -/// -/// UTF-8 attribute keys for geo.location.* (zero-allocation parsing) -/// -public static class GeoLocationUtf8 -{ - /// geo.location.lat - public static ReadOnlySpan Lat => "geo.location.lat"u8; - - /// geo.location.lon - public static ReadOnlySpan Lon => "geo.location.lon"u8; - -} - -/// -/// UTF-8 attribute keys for geo.postal_code.* (zero-allocation parsing) -/// -public static class GeoPostalCodeUtf8 -{ - /// geo.postal_code - public static ReadOnlySpan Postal_code => "geo.postal_code"u8; - -} - -/// -/// UTF-8 attribute keys for geo.region.* (zero-allocation parsing) -/// -public static class GeoRegionUtf8 -{ - /// geo.region.iso_code - public static ReadOnlySpan IsoCode => "geo.region.iso_code"u8; - -} - -/// -/// UTF-8 attribute keys for host.arch.* (zero-allocation parsing) -/// -public static class HostArchUtf8 -{ - /// host.arch - public static ReadOnlySpan Arch => "host.arch"u8; - -} - -/// -/// UTF-8 attribute keys for host.cpu.* (zero-allocation parsing) -/// -public static class HostCpuUtf8 -{ - /// host.cpu.cache.l2.size - public static ReadOnlySpan CacheL2Size => "host.cpu.cache.l2.size"u8; - - /// host.cpu.family - public static ReadOnlySpan Family => "host.cpu.family"u8; - - /// host.cpu.model.id - public static ReadOnlySpan ModelId => "host.cpu.model.id"u8; - - /// host.cpu.model.name - public static ReadOnlySpan ModelName => "host.cpu.model.name"u8; - - /// host.cpu.stepping - public static ReadOnlySpan Stepping => "host.cpu.stepping"u8; - - /// host.cpu.vendor.id - public static ReadOnlySpan VendorId => "host.cpu.vendor.id"u8; - -} - -/// -/// UTF-8 attribute keys for host.id.* (zero-allocation parsing) -/// -public static class HostIdUtf8 -{ - /// host.id - public static ReadOnlySpan Id => "host.id"u8; - -} - -/// -/// UTF-8 attribute keys for host.image.* (zero-allocation parsing) -/// -public static class HostImageUtf8 -{ - /// host.image.id - public static ReadOnlySpan Id => "host.image.id"u8; - - /// host.image.name - public static ReadOnlySpan Name => "host.image.name"u8; - - /// host.image.version - public static ReadOnlySpan Version => "host.image.version"u8; - -} - -/// -/// UTF-8 attribute keys for host.ip.* (zero-allocation parsing) -/// -public static class HostIpUtf8 -{ - /// host.ip - public static ReadOnlySpan Ip => "host.ip"u8; - -} - -/// -/// UTF-8 attribute keys for host.mac.* (zero-allocation parsing) -/// -public static class HostMacUtf8 -{ - /// host.mac - public static ReadOnlySpan Mac => "host.mac"u8; - -} - -/// -/// UTF-8 attribute keys for host.name.* (zero-allocation parsing) -/// -public static class HostNameUtf8 -{ - /// host.name - public static ReadOnlySpan Name => "host.name"u8; - -} - -/// -/// UTF-8 attribute keys for host.type.* (zero-allocation parsing) -/// -public static class HostTypeUtf8 -{ - /// host.type - public static ReadOnlySpan Type => "host.type"u8; - -} - -/// -/// UTF-8 attribute keys for http.client_ip.* (zero-allocation parsing) -/// -public static class HttpClientIpUtf8 -{ - /// http.client_ip - public static ReadOnlySpan Client_ip => "http.client_ip"u8; - -} - -/// -/// UTF-8 attribute keys for http.connection.* (zero-allocation parsing) -/// -public static class HttpConnectionUtf8 -{ - /// http.connection.state - public static ReadOnlySpan State => "http.connection.state"u8; - -} - -/// -/// UTF-8 attribute keys for http.flavor.* (zero-allocation parsing) -/// -public static class HttpFlavorUtf8 -{ - /// http.flavor - public static ReadOnlySpan Flavor => "http.flavor"u8; - -} - -/// -/// UTF-8 attribute keys for http.host.* (zero-allocation parsing) -/// -public static class HttpHostUtf8 -{ - /// http.host - public static ReadOnlySpan Host => "http.host"u8; - -} - -/// -/// UTF-8 attribute keys for http.method.* (zero-allocation parsing) -/// -public static class HttpMethodUtf8 -{ - /// http.method - public static ReadOnlySpan Method => "http.method"u8; - -} - -/// -/// UTF-8 attribute keys for http.request_content_length.* (zero-allocation parsing) -/// -public static class HttpRequestContentLengthUtf8 -{ - /// http.request_content_length - public static ReadOnlySpan Request_content_length => "http.request_content_length"u8; - -} - -/// -/// UTF-8 attribute keys for http.request_content_length_uncompressed.* (zero-allocation parsing) -/// -public static class HttpRequestContentLengthUncompressedUtf8 -{ - /// http.request_content_length_uncompressed - public static ReadOnlySpan Request_content_length_uncompressed => "http.request_content_length_uncompressed"u8; - -} - -/// -/// UTF-8 attribute keys for http.response_content_length.* (zero-allocation parsing) -/// -public static class HttpResponseContentLengthUtf8 -{ - /// http.response_content_length - public static ReadOnlySpan Response_content_length => "http.response_content_length"u8; - -} - -/// -/// UTF-8 attribute keys for http.response_content_length_uncompressed.* (zero-allocation parsing) -/// -public static class HttpResponseContentLengthUncompressedUtf8 -{ - /// http.response_content_length_uncompressed - public static ReadOnlySpan Response_content_length_uncompressed => "http.response_content_length_uncompressed"u8; - -} - -/// -/// UTF-8 attribute keys for http.scheme.* (zero-allocation parsing) -/// -public static class HttpSchemeUtf8 -{ - /// http.scheme - public static ReadOnlySpan Scheme => "http.scheme"u8; - -} - -/// -/// UTF-8 attribute keys for http.server_name.* (zero-allocation parsing) -/// -public static class HttpServerNameUtf8 -{ - /// http.server_name - public static ReadOnlySpan Server_name => "http.server_name"u8; - -} - -/// -/// UTF-8 attribute keys for http.status_code.* (zero-allocation parsing) -/// -public static class HttpStatusCodeUtf8 -{ - /// http.status_code - public static ReadOnlySpan Status_code => "http.status_code"u8; - -} - -/// -/// UTF-8 attribute keys for http.target.* (zero-allocation parsing) -/// -public static class HttpTargetUtf8 -{ - /// http.target - public static ReadOnlySpan Target => "http.target"u8; - -} - -/// -/// UTF-8 attribute keys for http.url.* (zero-allocation parsing) -/// -public static class HttpUrlUtf8 -{ - /// http.url - public static ReadOnlySpan Url => "http.url"u8; - -} - -/// -/// UTF-8 attribute keys for http.user_agent.* (zero-allocation parsing) -/// -public static class HttpUserAgentUtf8 -{ - /// http.user_agent - public static ReadOnlySpan User_agent => "http.user_agent"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.cluster.* (zero-allocation parsing) -/// -public static class K8sClusterUtf8 -{ - /// k8s.cluster.name - public static ReadOnlySpan Name => "k8s.cluster.name"u8; - - /// k8s.cluster.uid - public static ReadOnlySpan Uid => "k8s.cluster.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.container.* (zero-allocation parsing) -/// -public static class K8sContainerUtf8 -{ - /// k8s.container.name - public static ReadOnlySpan Name => "k8s.container.name"u8; - - /// k8s.container.restart_count - public static ReadOnlySpan RestartCount => "k8s.container.restart_count"u8; - - /// k8s.container.status.last_terminated_reason - public static ReadOnlySpan StatusLastTerminatedReason => "k8s.container.status.last_terminated_reason"u8; - - /// k8s.container.status.reason - public static ReadOnlySpan StatusReason => "k8s.container.status.reason"u8; - - /// k8s.container.status.state - public static ReadOnlySpan StatusState => "k8s.container.status.state"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.cronjob.* (zero-allocation parsing) -/// -public static class K8sCronjobUtf8 -{ - /// k8s.cronjob.name - public static ReadOnlySpan Name => "k8s.cronjob.name"u8; - - /// k8s.cronjob.uid - public static ReadOnlySpan Uid => "k8s.cronjob.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.daemonset.* (zero-allocation parsing) -/// -public static class K8sDaemonsetUtf8 -{ - /// k8s.daemonset.name - public static ReadOnlySpan Name => "k8s.daemonset.name"u8; - - /// k8s.daemonset.uid - public static ReadOnlySpan Uid => "k8s.daemonset.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.deployment.* (zero-allocation parsing) -/// -public static class K8sDeploymentUtf8 -{ - /// k8s.deployment.name - public static ReadOnlySpan Name => "k8s.deployment.name"u8; - - /// k8s.deployment.uid - public static ReadOnlySpan Uid => "k8s.deployment.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.hpa.* (zero-allocation parsing) -/// -public static class K8sHpaUtf8 -{ - /// k8s.hpa.metric.type - public static ReadOnlySpan MetricType => "k8s.hpa.metric.type"u8; - - /// k8s.hpa.name - public static ReadOnlySpan Name => "k8s.hpa.name"u8; - - /// k8s.hpa.scaletargetref.api_version - public static ReadOnlySpan ScaletargetrefApiVersion => "k8s.hpa.scaletargetref.api_version"u8; - - /// k8s.hpa.scaletargetref.kind - public static ReadOnlySpan ScaletargetrefKind => "k8s.hpa.scaletargetref.kind"u8; - - /// k8s.hpa.scaletargetref.name - public static ReadOnlySpan ScaletargetrefName => "k8s.hpa.scaletargetref.name"u8; - - /// k8s.hpa.uid - public static ReadOnlySpan Uid => "k8s.hpa.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.hugepage.* (zero-allocation parsing) -/// -public static class K8sHugepageUtf8 -{ - /// k8s.hugepage.size - public static ReadOnlySpan Size => "k8s.hugepage.size"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.job.* (zero-allocation parsing) -/// -public static class K8sJobUtf8 -{ - /// k8s.job.name - public static ReadOnlySpan Name => "k8s.job.name"u8; - - /// k8s.job.uid - public static ReadOnlySpan Uid => "k8s.job.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.namespace.* (zero-allocation parsing) -/// -public static class K8sNamespaceUtf8 -{ - /// k8s.namespace.name - public static ReadOnlySpan Name => "k8s.namespace.name"u8; - - /// k8s.namespace.phase - public static ReadOnlySpan Phase => "k8s.namespace.phase"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.node.* (zero-allocation parsing) -/// -public static class K8sNodeUtf8 -{ - /// k8s.node.condition.status - public static ReadOnlySpan ConditionStatus => "k8s.node.condition.status"u8; - - /// k8s.node.condition.type - public static ReadOnlySpan ConditionType => "k8s.node.condition.type"u8; - - /// k8s.node.name - public static ReadOnlySpan Name => "k8s.node.name"u8; - - /// k8s.node.uid - public static ReadOnlySpan Uid => "k8s.node.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.pod.* (zero-allocation parsing) -/// -public static class K8sPodUtf8 -{ - /// k8s.pod.hostname - public static ReadOnlySpan Hostname => "k8s.pod.hostname"u8; - - /// k8s.pod.ip - public static ReadOnlySpan Ip => "k8s.pod.ip"u8; - - /// k8s.pod.name - public static ReadOnlySpan Name => "k8s.pod.name"u8; - - /// k8s.pod.start_time - public static ReadOnlySpan StartTime => "k8s.pod.start_time"u8; - - /// k8s.pod.status.phase - public static ReadOnlySpan StatusPhase => "k8s.pod.status.phase"u8; - - /// k8s.pod.status.reason - public static ReadOnlySpan StatusReason => "k8s.pod.status.reason"u8; - - /// k8s.pod.uid - public static ReadOnlySpan Uid => "k8s.pod.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.replicaset.* (zero-allocation parsing) -/// -public static class K8sReplicasetUtf8 -{ - /// k8s.replicaset.name - public static ReadOnlySpan Name => "k8s.replicaset.name"u8; - - /// k8s.replicaset.uid - public static ReadOnlySpan Uid => "k8s.replicaset.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.replicationcontroller.* (zero-allocation parsing) -/// -public static class K8sReplicationcontrollerUtf8 -{ - /// k8s.replicationcontroller.name - public static ReadOnlySpan Name => "k8s.replicationcontroller.name"u8; - - /// k8s.replicationcontroller.uid - public static ReadOnlySpan Uid => "k8s.replicationcontroller.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.resourcequota.* (zero-allocation parsing) -/// -public static class K8sResourcequotaUtf8 -{ - /// k8s.resourcequota.name - public static ReadOnlySpan Name => "k8s.resourcequota.name"u8; - - /// k8s.resourcequota.resource_name - public static ReadOnlySpan ResourceName => "k8s.resourcequota.resource_name"u8; - - /// k8s.resourcequota.uid - public static ReadOnlySpan Uid => "k8s.resourcequota.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.statefulset.* (zero-allocation parsing) -/// -public static class K8sStatefulsetUtf8 -{ - /// k8s.statefulset.name - public static ReadOnlySpan Name => "k8s.statefulset.name"u8; - - /// k8s.statefulset.uid - public static ReadOnlySpan Uid => "k8s.statefulset.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.storageclass.* (zero-allocation parsing) -/// -public static class K8sStorageclassUtf8 -{ - /// k8s.storageclass.name - public static ReadOnlySpan Name => "k8s.storageclass.name"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.volume.* (zero-allocation parsing) -/// -public static class K8sVolumeUtf8 -{ - /// k8s.volume.name - public static ReadOnlySpan Name => "k8s.volume.name"u8; - - /// k8s.volume.type - public static ReadOnlySpan Type => "k8s.volume.type"u8; - -} - -/// -/// UTF-8 attribute keys for log.file.* (zero-allocation parsing) -/// -public static class LogFileUtf8 -{ - /// log.file.name - public static ReadOnlySpan Name => "log.file.name"u8; - - /// log.file.name_resolved - public static ReadOnlySpan NameResolved => "log.file.name_resolved"u8; - - /// log.file.path - public static ReadOnlySpan Path => "log.file.path"u8; - - /// log.file.path_resolved - public static ReadOnlySpan PathResolved => "log.file.path_resolved"u8; - -} - -/// -/// UTF-8 attribute keys for log.iostream.* (zero-allocation parsing) -/// -public static class LogIostreamUtf8 -{ - /// log.iostream - public static ReadOnlySpan Iostream => "log.iostream"u8; - -} - -/// -/// UTF-8 attribute keys for log.record.* (zero-allocation parsing) -/// -public static class LogRecordUtf8 -{ - /// log.record.original - public static ReadOnlySpan Original => "log.record.original"u8; - - /// log.record.uid - public static ReadOnlySpan Uid => "log.record.uid"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.batch.* (zero-allocation parsing) -/// -public static class MessagingBatchUtf8 -{ - /// messaging.batch.message_count - public static ReadOnlySpan MessageCount => "messaging.batch.message_count"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.client.* (zero-allocation parsing) -/// -public static class MessagingClientUtf8 -{ - /// messaging.client.id - public static ReadOnlySpan Id => "messaging.client.id"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.consumer.* (zero-allocation parsing) -/// -public static class MessagingConsumerUtf8 -{ - /// messaging.consumer.group.name - public static ReadOnlySpan GroupName => "messaging.consumer.group.name"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.destination.* (zero-allocation parsing) -/// -public static class MessagingDestinationUtf8 -{ - /// messaging.destination.anonymous - public static ReadOnlySpan Anonymous => "messaging.destination.anonymous"u8; - - /// messaging.destination.name - public static ReadOnlySpan Name => "messaging.destination.name"u8; - - /// messaging.destination.partition.id - public static ReadOnlySpan PartitionId => "messaging.destination.partition.id"u8; - - /// messaging.destination.subscription.name - public static ReadOnlySpan SubscriptionName => "messaging.destination.subscription.name"u8; - - /// messaging.destination.template - public static ReadOnlySpan Template => "messaging.destination.template"u8; - - /// messaging.destination.temporary - public static ReadOnlySpan Temporary => "messaging.destination.temporary"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.destination_publish.* (zero-allocation parsing) -/// -public static class MessagingDestinationPublishUtf8 -{ - /// messaging.destination_publish.anonymous - public static ReadOnlySpan Anonymous => "messaging.destination_publish.anonymous"u8; - - /// messaging.destination_publish.name - public static ReadOnlySpan Name => "messaging.destination_publish.name"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.eventhubs.* (zero-allocation parsing) -/// -public static class MessagingEventhubsUtf8 -{ - /// messaging.eventhubs.consumer.group - public static ReadOnlySpan ConsumerGroup => "messaging.eventhubs.consumer.group"u8; - - /// messaging.eventhubs.message.enqueued_time - public static ReadOnlySpan MessageEnqueuedTime => "messaging.eventhubs.message.enqueued_time"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.gcp_pubsub.* (zero-allocation parsing) -/// -public static class MessagingGcpPubsubUtf8 -{ - /// messaging.gcp_pubsub.message.ack_deadline - public static ReadOnlySpan MessageAckDeadline => "messaging.gcp_pubsub.message.ack_deadline"u8; - - /// messaging.gcp_pubsub.message.ack_id - public static ReadOnlySpan MessageAckId => "messaging.gcp_pubsub.message.ack_id"u8; - - /// messaging.gcp_pubsub.message.delivery_attempt - public static ReadOnlySpan MessageDeliveryAttempt => "messaging.gcp_pubsub.message.delivery_attempt"u8; - - /// messaging.gcp_pubsub.message.ordering_key - public static ReadOnlySpan MessageOrderingKey => "messaging.gcp_pubsub.message.ordering_key"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.kafka.* (zero-allocation parsing) -/// -public static class MessagingKafkaUtf8 -{ - /// messaging.kafka.consumer.group - public static ReadOnlySpan ConsumerGroup => "messaging.kafka.consumer.group"u8; - - /// messaging.kafka.destination.partition - public static ReadOnlySpan DestinationPartition => "messaging.kafka.destination.partition"u8; - - /// messaging.kafka.message.key - public static ReadOnlySpan MessageKey => "messaging.kafka.message.key"u8; - - /// messaging.kafka.message.offset - public static ReadOnlySpan MessageOffset => "messaging.kafka.message.offset"u8; - - /// messaging.kafka.message.tombstone - public static ReadOnlySpan MessageTombstone => "messaging.kafka.message.tombstone"u8; - - /// messaging.kafka.offset - public static ReadOnlySpan Offset => "messaging.kafka.offset"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.message.* (zero-allocation parsing) -/// -public static class MessagingMessageUtf8 -{ - /// messaging.message.body.size - public static ReadOnlySpan BodySize => "messaging.message.body.size"u8; - - /// messaging.message.conversation_id - public static ReadOnlySpan ConversationId => "messaging.message.conversation_id"u8; - - /// messaging.message.envelope.size - public static ReadOnlySpan EnvelopeSize => "messaging.message.envelope.size"u8; - - /// messaging.message.id - public static ReadOnlySpan Id => "messaging.message.id"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.operation.* (zero-allocation parsing) -/// -public static class MessagingOperationUtf8 -{ - /// messaging.operation - public static ReadOnlySpan Operation => "messaging.operation"u8; - - /// messaging.operation.name - public static ReadOnlySpan Name => "messaging.operation.name"u8; - - /// messaging.operation.type - public static ReadOnlySpan Type => "messaging.operation.type"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.rabbitmq.* (zero-allocation parsing) -/// -public static class MessagingRabbitmqUtf8 -{ - /// messaging.rabbitmq.destination.routing_key - public static ReadOnlySpan DestinationRoutingKey => "messaging.rabbitmq.destination.routing_key"u8; - - /// messaging.rabbitmq.message.delivery_tag - public static ReadOnlySpan MessageDeliveryTag => "messaging.rabbitmq.message.delivery_tag"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.rocketmq.* (zero-allocation parsing) -/// -public static class MessagingRocketmqUtf8 -{ - /// messaging.rocketmq.client_group - public static ReadOnlySpan ClientGroup => "messaging.rocketmq.client_group"u8; - - /// messaging.rocketmq.consumption_model - public static ReadOnlySpan ConsumptionModel => "messaging.rocketmq.consumption_model"u8; - - /// messaging.rocketmq.message.delay_time_level - public static ReadOnlySpan MessageDelayTimeLevel => "messaging.rocketmq.message.delay_time_level"u8; - - /// messaging.rocketmq.message.delivery_timestamp - public static ReadOnlySpan MessageDeliveryTimestamp => "messaging.rocketmq.message.delivery_timestamp"u8; - - /// messaging.rocketmq.message.group - public static ReadOnlySpan MessageGroup => "messaging.rocketmq.message.group"u8; - - /// messaging.rocketmq.message.keys - public static ReadOnlySpan MessageKeys => "messaging.rocketmq.message.keys"u8; - - /// messaging.rocketmq.message.tag - public static ReadOnlySpan MessageTag => "messaging.rocketmq.message.tag"u8; - - /// messaging.rocketmq.message.type - public static ReadOnlySpan MessageType => "messaging.rocketmq.message.type"u8; - - /// messaging.rocketmq.namespace - public static ReadOnlySpan Namespace => "messaging.rocketmq.namespace"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.servicebus.* (zero-allocation parsing) -/// -public static class MessagingServicebusUtf8 -{ - /// messaging.servicebus.destination.subscription_name - public static ReadOnlySpan DestinationSubscriptionName => "messaging.servicebus.destination.subscription_name"u8; - - /// messaging.servicebus.disposition_status - public static ReadOnlySpan DispositionStatus => "messaging.servicebus.disposition_status"u8; - - /// messaging.servicebus.message.delivery_count - public static ReadOnlySpan MessageDeliveryCount => "messaging.servicebus.message.delivery_count"u8; - - /// messaging.servicebus.message.enqueued_time - public static ReadOnlySpan MessageEnqueuedTime => "messaging.servicebus.message.enqueued_time"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.system.* (zero-allocation parsing) -/// -public static class MessagingSystemUtf8 -{ - /// messaging.system - public static ReadOnlySpan System => "messaging.system"u8; - -} - -/// -/// UTF-8 attribute keys for network.carrier.* (zero-allocation parsing) -/// -public static class NetworkCarrierUtf8 -{ - /// network.carrier.icc - public static ReadOnlySpan Icc => "network.carrier.icc"u8; - - /// network.carrier.mcc - public static ReadOnlySpan Mcc => "network.carrier.mcc"u8; - - /// network.carrier.mnc - public static ReadOnlySpan Mnc => "network.carrier.mnc"u8; - - /// network.carrier.name - public static ReadOnlySpan Name => "network.carrier.name"u8; - -} - -/// -/// UTF-8 attribute keys for network.connection.* (zero-allocation parsing) -/// -public static class NetworkConnectionUtf8 -{ - /// network.connection.state - public static ReadOnlySpan State => "network.connection.state"u8; - - /// network.connection.subtype - public static ReadOnlySpan Subtype => "network.connection.subtype"u8; - - /// network.connection.type - public static ReadOnlySpan Type => "network.connection.type"u8; - -} - -/// -/// UTF-8 attribute keys for network.interface.* (zero-allocation parsing) -/// -public static class NetworkInterfaceUtf8 -{ - /// network.interface.name - public static ReadOnlySpan Name => "network.interface.name"u8; - -} - -/// -/// UTF-8 attribute keys for network.io.* (zero-allocation parsing) -/// -public static class NetworkIoUtf8 -{ - /// network.io.direction - public static ReadOnlySpan Direction => "network.io.direction"u8; - -} - -/// -/// UTF-8 attribute keys for os.build_id.* (zero-allocation parsing) -/// -public static class OsBuildIdUtf8 -{ - /// os.build_id - public static ReadOnlySpan Build_id => "os.build_id"u8; - -} - -/// -/// UTF-8 attribute keys for os.description.* (zero-allocation parsing) -/// -public static class OsDescriptionUtf8 -{ - /// os.description - public static ReadOnlySpan Description => "os.description"u8; - -} - -/// -/// UTF-8 attribute keys for os.name.* (zero-allocation parsing) -/// -public static class OsNameUtf8 -{ - /// os.name - public static ReadOnlySpan Name => "os.name"u8; - -} - -/// -/// UTF-8 attribute keys for os.type.* (zero-allocation parsing) -/// -public static class OsTypeUtf8 -{ - /// os.type - public static ReadOnlySpan Type => "os.type"u8; - -} - -/// -/// UTF-8 attribute keys for os.version.* (zero-allocation parsing) -/// -public static class OsVersionUtf8 -{ - /// os.version - public static ReadOnlySpan Version => "os.version"u8; - -} - -/// -/// UTF-8 attribute keys for otel.component.* (zero-allocation parsing) -/// -public static class OtelComponentUtf8 -{ - /// otel.component.name - public static ReadOnlySpan Name => "otel.component.name"u8; - - /// otel.component.type - public static ReadOnlySpan Type => "otel.component.type"u8; - -} - -/// -/// UTF-8 attribute keys for otel.event.* (zero-allocation parsing) -/// -public static class OtelEventUtf8 -{ - /// otel.event.name - public static ReadOnlySpan Name => "otel.event.name"u8; - -} - -/// -/// UTF-8 attribute keys for otel.library.* (zero-allocation parsing) -/// -public static class OtelLibraryUtf8 -{ - /// otel.library.name - public static ReadOnlySpan Name => "otel.library.name"u8; - - /// otel.library.version - public static ReadOnlySpan Version => "otel.library.version"u8; - -} - -/// -/// UTF-8 attribute keys for otel.span.* (zero-allocation parsing) -/// -public static class OtelSpanUtf8 -{ - /// otel.span.parent.origin - public static ReadOnlySpan ParentOrigin => "otel.span.parent.origin"u8; - - /// otel.span.sampling_result - public static ReadOnlySpan SamplingResult => "otel.span.sampling_result"u8; - -} - -/// -/// UTF-8 attribute keys for process.args_count.* (zero-allocation parsing) -/// -public static class ProcessArgsCountUtf8 -{ - /// process.args_count - public static ReadOnlySpan Args_count => "process.args_count"u8; - -} - -/// -/// UTF-8 attribute keys for process.command.* (zero-allocation parsing) -/// -public static class ProcessCommandUtf8 -{ - /// process.command - public static ReadOnlySpan Command => "process.command"u8; - -} - -/// -/// UTF-8 attribute keys for process.command_args.* (zero-allocation parsing) -/// -public static class ProcessCommandArgsUtf8 -{ - /// process.command_args - public static ReadOnlySpan Command_args => "process.command_args"u8; - -} - -/// -/// UTF-8 attribute keys for process.command_line.* (zero-allocation parsing) -/// -public static class ProcessCommandLineUtf8 -{ - /// process.command_line - public static ReadOnlySpan Command_line => "process.command_line"u8; - -} - -/// -/// UTF-8 attribute keys for process.context_switch.* (zero-allocation parsing) -/// -public static class ProcessContextSwitchUtf8 -{ - /// process.context_switch.type - public static ReadOnlySpan Type => "process.context_switch.type"u8; - -} - -/// -/// UTF-8 attribute keys for process.cpu.* (zero-allocation parsing) -/// -public static class ProcessCpuUtf8 -{ - /// process.cpu.state - public static ReadOnlySpan State => "process.cpu.state"u8; - -} - -/// -/// UTF-8 attribute keys for process.creation.* (zero-allocation parsing) -/// -public static class ProcessCreationUtf8 -{ - /// process.creation.time - public static ReadOnlySpan Time => "process.creation.time"u8; - -} - -/// -/// UTF-8 attribute keys for process.executable.* (zero-allocation parsing) -/// -public static class ProcessExecutableUtf8 -{ - /// process.executable.build_id.gnu - public static ReadOnlySpan BuildIdGnu => "process.executable.build_id.gnu"u8; - - /// process.executable.build_id.go - public static ReadOnlySpan BuildIdGo => "process.executable.build_id.go"u8; - - /// process.executable.build_id.htlhash - public static ReadOnlySpan BuildIdHtlhash => "process.executable.build_id.htlhash"u8; - - /// process.executable.build_id.profiling - public static ReadOnlySpan BuildIdProfiling => "process.executable.build_id.profiling"u8; - - /// process.executable.name - public static ReadOnlySpan Name => "process.executable.name"u8; - - /// process.executable.path - public static ReadOnlySpan Path => "process.executable.path"u8; - -} - -/// -/// UTF-8 attribute keys for process.exit.* (zero-allocation parsing) -/// -public static class ProcessExitUtf8 -{ - /// process.exit.code - public static ReadOnlySpan Code => "process.exit.code"u8; - - /// process.exit.time - public static ReadOnlySpan Time => "process.exit.time"u8; - -} - -/// -/// UTF-8 attribute keys for process.group_leader.* (zero-allocation parsing) -/// -public static class ProcessGroupLeaderUtf8 -{ - /// process.group_leader.pid - public static ReadOnlySpan Pid => "process.group_leader.pid"u8; - -} - -/// -/// UTF-8 attribute keys for process.interactive.* (zero-allocation parsing) -/// -public static class ProcessInteractiveUtf8 -{ - /// process.interactive - public static ReadOnlySpan Interactive => "process.interactive"u8; - -} - -/// -/// UTF-8 attribute keys for process.linux.* (zero-allocation parsing) -/// -public static class ProcessLinuxUtf8 -{ - /// process.linux.cgroup - public static ReadOnlySpan Cgroup => "process.linux.cgroup"u8; - -} - -/// -/// UTF-8 attribute keys for process.owner.* (zero-allocation parsing) -/// -public static class ProcessOwnerUtf8 -{ - /// process.owner - public static ReadOnlySpan Owner => "process.owner"u8; - -} - -/// -/// UTF-8 attribute keys for process.paging.* (zero-allocation parsing) -/// -public static class ProcessPagingUtf8 -{ - /// process.paging.fault_type - public static ReadOnlySpan FaultType => "process.paging.fault_type"u8; - -} - -/// -/// UTF-8 attribute keys for process.parent_pid.* (zero-allocation parsing) -/// -public static class ProcessParentPidUtf8 -{ - /// process.parent_pid - public static ReadOnlySpan Parent_pid => "process.parent_pid"u8; - -} - -/// -/// UTF-8 attribute keys for process.pid.* (zero-allocation parsing) -/// -public static class ProcessPidUtf8 -{ - /// process.pid - public static ReadOnlySpan Pid => "process.pid"u8; - -} - -/// -/// UTF-8 attribute keys for process.real_user.* (zero-allocation parsing) -/// -public static class ProcessRealUserUtf8 -{ - /// process.real_user.id - public static ReadOnlySpan Id => "process.real_user.id"u8; - - /// process.real_user.name - public static ReadOnlySpan Name => "process.real_user.name"u8; - -} - -/// -/// UTF-8 attribute keys for process.runtime.* (zero-allocation parsing) -/// -public static class ProcessRuntimeUtf8 -{ - /// process.runtime.description - public static ReadOnlySpan Description => "process.runtime.description"u8; - - /// process.runtime.name - public static ReadOnlySpan Name => "process.runtime.name"u8; - - /// process.runtime.version - public static ReadOnlySpan Version => "process.runtime.version"u8; - -} - -/// -/// UTF-8 attribute keys for process.saved_user.* (zero-allocation parsing) -/// -public static class ProcessSavedUserUtf8 -{ - /// process.saved_user.id - public static ReadOnlySpan Id => "process.saved_user.id"u8; - - /// process.saved_user.name - public static ReadOnlySpan Name => "process.saved_user.name"u8; - -} - -/// -/// UTF-8 attribute keys for process.session_leader.* (zero-allocation parsing) -/// -public static class ProcessSessionLeaderUtf8 -{ - /// process.session_leader.pid - public static ReadOnlySpan Pid => "process.session_leader.pid"u8; - -} - -/// -/// UTF-8 attribute keys for process.state.* (zero-allocation parsing) -/// -public static class ProcessStateUtf8 -{ - /// process.state - public static ReadOnlySpan State => "process.state"u8; - -} - -/// -/// UTF-8 attribute keys for process.title.* (zero-allocation parsing) -/// -public static class ProcessTitleUtf8 -{ - /// process.title - public static ReadOnlySpan Title => "process.title"u8; - -} - -/// -/// UTF-8 attribute keys for process.user.* (zero-allocation parsing) -/// -public static class ProcessUserUtf8 -{ - /// process.user.id - public static ReadOnlySpan Id => "process.user.id"u8; - - /// process.user.name - public static ReadOnlySpan Name => "process.user.name"u8; - -} - -/// -/// UTF-8 attribute keys for process.vpid.* (zero-allocation parsing) -/// -public static class ProcessVpidUtf8 -{ - /// process.vpid - public static ReadOnlySpan Vpid => "process.vpid"u8; - -} - -/// -/// UTF-8 attribute keys for process.working_directory.* (zero-allocation parsing) -/// -public static class ProcessWorkingDirectoryUtf8 -{ - /// process.working_directory - public static ReadOnlySpan Working_directory => "process.working_directory"u8; - -} - -/// -/// UTF-8 attribute keys for rpc.connect_rpc.* (zero-allocation parsing) -/// -public static class RpcConnectRpcUtf8 -{ - /// rpc.connect_rpc.error_code - public static ReadOnlySpan ErrorCode => "rpc.connect_rpc.error_code"u8; - -} - -/// -/// UTF-8 attribute keys for rpc.grpc.* (zero-allocation parsing) -/// -public static class RpcGrpcUtf8 -{ - /// rpc.grpc.status_code - public static ReadOnlySpan StatusCode => "rpc.grpc.status_code"u8; - -} - -/// -/// UTF-8 attribute keys for rpc.jsonrpc.* (zero-allocation parsing) -/// -public static class RpcJsonrpcUtf8 -{ - /// rpc.jsonrpc.error_code - public static ReadOnlySpan ErrorCode => "rpc.jsonrpc.error_code"u8; - - /// rpc.jsonrpc.error_message - public static ReadOnlySpan ErrorMessage => "rpc.jsonrpc.error_message"u8; - - /// rpc.jsonrpc.request_id - public static ReadOnlySpan RequestId => "rpc.jsonrpc.request_id"u8; - - /// rpc.jsonrpc.version - public static ReadOnlySpan Version => "rpc.jsonrpc.version"u8; - -} - -/// -/// UTF-8 attribute keys for rpc.message.* (zero-allocation parsing) -/// -public static class RpcMessageUtf8 -{ - /// rpc.message.compressed_size - public static ReadOnlySpan CompressedSize => "rpc.message.compressed_size"u8; - - /// rpc.message.id - public static ReadOnlySpan Id => "rpc.message.id"u8; - - /// rpc.message.type - public static ReadOnlySpan Type => "rpc.message.type"u8; - - /// rpc.message.uncompressed_size - public static ReadOnlySpan UncompressedSize => "rpc.message.uncompressed_size"u8; - -} - -/// -/// UTF-8 attribute keys for rpc.method.* (zero-allocation parsing) -/// -public static class RpcMethodUtf8 -{ - /// rpc.method - public static ReadOnlySpan Method => "rpc.method"u8; - -} - -/// -/// UTF-8 attribute keys for rpc.method_original.* (zero-allocation parsing) -/// -public static class RpcMethodOriginalUtf8 -{ - /// rpc.method_original - public static ReadOnlySpan Method_original => "rpc.method_original"u8; - -} - -/// -/// UTF-8 attribute keys for rpc.response.* (zero-allocation parsing) -/// -public static class RpcResponseUtf8 -{ - /// rpc.response.status_code - public static ReadOnlySpan StatusCode => "rpc.response.status_code"u8; - -} - -/// -/// UTF-8 attribute keys for rpc.service.* (zero-allocation parsing) -/// -public static class RpcServiceUtf8 -{ - /// rpc.service - public static ReadOnlySpan Service => "rpc.service"u8; - -} - -/// -/// UTF-8 attribute keys for rpc.system.* (zero-allocation parsing) -/// -public static class RpcSystemUtf8 -{ - /// rpc.system - public static ReadOnlySpan System => "rpc.system"u8; - - /// rpc.system.name - public static ReadOnlySpan Name => "rpc.system.name"u8; - -} - -/// -/// UTF-8 attribute keys for session.id.* (zero-allocation parsing) -/// -public static class SessionIdUtf8 -{ - /// session.id - public static ReadOnlySpan Id => "session.id"u8; - -} - -/// -/// UTF-8 attribute keys for session.previous_id.* (zero-allocation parsing) -/// -public static class SessionPreviousIdUtf8 -{ - /// session.previous_id - public static ReadOnlySpan Previous_id => "session.previous_id"u8; - -} - -/// -/// UTF-8 attribute keys for system.cpu.* (zero-allocation parsing) -/// -public static class SystemCpuUtf8 -{ - /// system.cpu.logical_number - public static ReadOnlySpan LogicalNumber => "system.cpu.logical_number"u8; - - /// system.cpu.state - public static ReadOnlySpan State => "system.cpu.state"u8; - -} - -/// -/// UTF-8 attribute keys for system.device.* (zero-allocation parsing) -/// -public static class SystemDeviceUtf8 -{ - /// system.device - public static ReadOnlySpan Device => "system.device"u8; - -} - -/// -/// UTF-8 attribute keys for system.filesystem.* (zero-allocation parsing) -/// -public static class SystemFilesystemUtf8 -{ - /// system.filesystem.mode - public static ReadOnlySpan Mode => "system.filesystem.mode"u8; - - /// system.filesystem.mountpoint - public static ReadOnlySpan Mountpoint => "system.filesystem.mountpoint"u8; - - /// system.filesystem.state - public static ReadOnlySpan State => "system.filesystem.state"u8; - - /// system.filesystem.type - public static ReadOnlySpan Type => "system.filesystem.type"u8; - -} - -/// -/// UTF-8 attribute keys for system.memory.* (zero-allocation parsing) -/// -public static class SystemMemoryUtf8 -{ - /// system.memory.linux.slab.state - public static ReadOnlySpan LinuxSlabState => "system.memory.linux.slab.state"u8; - - /// system.memory.state - public static ReadOnlySpan State => "system.memory.state"u8; - -} - -/// -/// UTF-8 attribute keys for system.network.* (zero-allocation parsing) -/// -public static class SystemNetworkUtf8 -{ - /// system.network.state - public static ReadOnlySpan State => "system.network.state"u8; - -} - -/// -/// UTF-8 attribute keys for system.paging.* (zero-allocation parsing) -/// -public static class SystemPagingUtf8 -{ - /// system.paging.direction - public static ReadOnlySpan Direction => "system.paging.direction"u8; - - /// system.paging.fault.type - public static ReadOnlySpan FaultType => "system.paging.fault.type"u8; - - /// system.paging.state - public static ReadOnlySpan State => "system.paging.state"u8; - - /// system.paging.type - public static ReadOnlySpan Type => "system.paging.type"u8; - -} - -/// -/// UTF-8 attribute keys for system.process.* (zero-allocation parsing) -/// -public static class SystemProcessUtf8 -{ - /// system.process.status - public static ReadOnlySpan Status => "system.process.status"u8; - -} - -/// -/// UTF-8 attribute keys for system.processes.* (zero-allocation parsing) -/// -public static class SystemProcessesUtf8 -{ - /// system.processes.status - public static ReadOnlySpan Status => "system.processes.status"u8; - -} - -/// -/// UTF-8 attribute keys for test.case.* (zero-allocation parsing) -/// -public static class TestCaseUtf8 -{ - /// test.case.name - public static ReadOnlySpan Name => "test.case.name"u8; - - /// test.case.result.status - public static ReadOnlySpan ResultStatus => "test.case.result.status"u8; - -} - -/// -/// UTF-8 attribute keys for test.suite.* (zero-allocation parsing) -/// -public static class TestSuiteUtf8 -{ - /// test.suite.name - public static ReadOnlySpan Name => "test.suite.name"u8; - - /// test.suite.run.status - public static ReadOnlySpan RunStatus => "test.suite.run.status"u8; - -} - -/// -/// UTF-8 attribute keys for thread.id.* (zero-allocation parsing) -/// -public static class ThreadIdUtf8 -{ - /// thread.id - public static ReadOnlySpan Id => "thread.id"u8; - -} - -/// -/// UTF-8 attribute keys for thread.name.* (zero-allocation parsing) -/// -public static class ThreadNameUtf8 -{ - /// thread.name - public static ReadOnlySpan Name => "thread.name"u8; - -} - -/// -/// UTF-8 attribute keys for tls.cipher.* (zero-allocation parsing) -/// -public static class TlsCipherUtf8 -{ - /// tls.cipher - public static ReadOnlySpan Cipher => "tls.cipher"u8; - -} - -/// -/// UTF-8 attribute keys for tls.client.* (zero-allocation parsing) -/// -public static class TlsClientUtf8 -{ - /// tls.client.certificate - public static ReadOnlySpan Certificate => "tls.client.certificate"u8; - - /// tls.client.certificate_chain - public static ReadOnlySpan CertificateChain => "tls.client.certificate_chain"u8; - - /// tls.client.hash.md5 - public static ReadOnlySpan HashMd5 => "tls.client.hash.md5"u8; - - /// tls.client.hash.sha1 - public static ReadOnlySpan HashSha1 => "tls.client.hash.sha1"u8; - - /// tls.client.hash.sha256 - public static ReadOnlySpan HashSha256 => "tls.client.hash.sha256"u8; - - /// tls.client.issuer - public static ReadOnlySpan Issuer => "tls.client.issuer"u8; - - /// tls.client.ja3 - public static ReadOnlySpan Ja3 => "tls.client.ja3"u8; - - /// tls.client.not_after - public static ReadOnlySpan NotAfter => "tls.client.not_after"u8; - - /// tls.client.not_before - public static ReadOnlySpan NotBefore => "tls.client.not_before"u8; - - /// tls.client.server_name - public static ReadOnlySpan ServerName => "tls.client.server_name"u8; - - /// tls.client.subject - public static ReadOnlySpan Subject => "tls.client.subject"u8; - - /// tls.client.supported_ciphers - public static ReadOnlySpan SupportedCiphers => "tls.client.supported_ciphers"u8; - -} - -/// -/// UTF-8 attribute keys for tls.curve.* (zero-allocation parsing) -/// -public static class TlsCurveUtf8 -{ - /// tls.curve - public static ReadOnlySpan Curve => "tls.curve"u8; - -} - -/// -/// UTF-8 attribute keys for tls.established.* (zero-allocation parsing) -/// -public static class TlsEstablishedUtf8 -{ - /// tls.established - public static ReadOnlySpan Established => "tls.established"u8; - -} - -/// -/// UTF-8 attribute keys for tls.next_protocol.* (zero-allocation parsing) -/// -public static class TlsNextProtocolUtf8 -{ - /// tls.next_protocol - public static ReadOnlySpan Next_protocol => "tls.next_protocol"u8; - -} - -/// -/// UTF-8 attribute keys for tls.protocol.* (zero-allocation parsing) -/// -public static class TlsProtocolUtf8 -{ - /// tls.protocol.name - public static ReadOnlySpan Name => "tls.protocol.name"u8; - - /// tls.protocol.version - public static ReadOnlySpan Version => "tls.protocol.version"u8; - -} - -/// -/// UTF-8 attribute keys for tls.resumed.* (zero-allocation parsing) -/// -public static class TlsResumedUtf8 -{ - /// tls.resumed - public static ReadOnlySpan Resumed => "tls.resumed"u8; - -} - -/// -/// UTF-8 attribute keys for tls.server.* (zero-allocation parsing) -/// -public static class TlsServerUtf8 -{ - /// tls.server.certificate - public static ReadOnlySpan Certificate => "tls.server.certificate"u8; - - /// tls.server.certificate_chain - public static ReadOnlySpan CertificateChain => "tls.server.certificate_chain"u8; - - /// tls.server.hash.md5 - public static ReadOnlySpan HashMd5 => "tls.server.hash.md5"u8; - - /// tls.server.hash.sha1 - public static ReadOnlySpan HashSha1 => "tls.server.hash.sha1"u8; - - /// tls.server.hash.sha256 - public static ReadOnlySpan HashSha256 => "tls.server.hash.sha256"u8; - - /// tls.server.issuer - public static ReadOnlySpan Issuer => "tls.server.issuer"u8; - - /// tls.server.ja3s - public static ReadOnlySpan Ja3s => "tls.server.ja3s"u8; - - /// tls.server.not_after - public static ReadOnlySpan NotAfter => "tls.server.not_after"u8; - - /// tls.server.not_before - public static ReadOnlySpan NotBefore => "tls.server.not_before"u8; - - /// tls.server.subject - public static ReadOnlySpan Subject => "tls.server.subject"u8; - -} - -/// -/// UTF-8 attribute keys for url.domain.* (zero-allocation parsing) -/// -public static class UrlDomainUtf8 -{ - /// url.domain - public static ReadOnlySpan Domain => "url.domain"u8; - -} - -/// -/// UTF-8 attribute keys for url.extension.* (zero-allocation parsing) -/// -public static class UrlExtensionUtf8 -{ - /// url.extension - public static ReadOnlySpan Extension => "url.extension"u8; - -} - -/// -/// UTF-8 attribute keys for url.original.* (zero-allocation parsing) -/// -public static class UrlOriginalUtf8 -{ - /// url.original - public static ReadOnlySpan Original => "url.original"u8; - -} - -/// -/// UTF-8 attribute keys for url.port.* (zero-allocation parsing) -/// -public static class UrlPortUtf8 -{ - /// url.port - public static ReadOnlySpan Port => "url.port"u8; - -} - -/// -/// UTF-8 attribute keys for url.registered_domain.* (zero-allocation parsing) -/// -public static class UrlRegisteredDomainUtf8 -{ - /// url.registered_domain - public static ReadOnlySpan Registered_domain => "url.registered_domain"u8; - -} - -/// -/// UTF-8 attribute keys for url.subdomain.* (zero-allocation parsing) -/// -public static class UrlSubdomainUtf8 -{ - /// url.subdomain - public static ReadOnlySpan Subdomain => "url.subdomain"u8; - -} - -/// -/// UTF-8 attribute keys for url.template.* (zero-allocation parsing) -/// -public static class UrlTemplateUtf8 -{ - /// url.template - public static ReadOnlySpan Template => "url.template"u8; - -} - -/// -/// UTF-8 attribute keys for url.top_level_domain.* (zero-allocation parsing) -/// -public static class UrlTopLevelDomainUtf8 -{ - /// url.top_level_domain - public static ReadOnlySpan Top_level_domain => "url.top_level_domain"u8; - -} - -/// -/// UTF-8 attribute keys for user.email.* (zero-allocation parsing) -/// -public static class UserEmailUtf8 -{ - /// user.email - public static ReadOnlySpan Email => "user.email"u8; - -} - -/// -/// UTF-8 attribute keys for user.full_name.* (zero-allocation parsing) -/// -public static class UserFullNameUtf8 -{ - /// user.full_name - public static ReadOnlySpan Full_name => "user.full_name"u8; - -} - -/// -/// UTF-8 attribute keys for user.hash.* (zero-allocation parsing) -/// -public static class UserHashUtf8 -{ - /// user.hash - public static ReadOnlySpan Hash => "user.hash"u8; - -} - -/// -/// UTF-8 attribute keys for user.id.* (zero-allocation parsing) -/// -public static class UserIdUtf8 -{ - /// user.id - public static ReadOnlySpan Id => "user.id"u8; - -} - -/// -/// UTF-8 attribute keys for user.name.* (zero-allocation parsing) -/// -public static class UserNameUtf8 -{ - /// user.name - public static ReadOnlySpan Name => "user.name"u8; - -} - -/// -/// UTF-8 attribute keys for user.roles.* (zero-allocation parsing) -/// -public static class UserRolesUtf8 -{ - /// user.roles - public static ReadOnlySpan Roles => "user.roles"u8; - -} - -/// -/// UTF-8 attribute keys for user_agent.name.* (zero-allocation parsing) -/// -public static class UserAgentNameUtf8 -{ - /// user_agent.name - public static ReadOnlySpan Name => "user_agent.name"u8; - -} - -/// -/// UTF-8 attribute keys for user_agent.os.* (zero-allocation parsing) -/// -public static class UserAgentOsUtf8 -{ - /// user_agent.os.name - public static ReadOnlySpan Name => "user_agent.os.name"u8; - - /// user_agent.os.version - public static ReadOnlySpan Version => "user_agent.os.version"u8; - -} - -/// -/// UTF-8 attribute keys for user_agent.synthetic.* (zero-allocation parsing) -/// -public static class UserAgentSyntheticUtf8 -{ - /// user_agent.synthetic.type - public static ReadOnlySpan Type => "user_agent.synthetic.type"u8; - -} - -/// -/// UTF-8 attribute keys for user_agent.version.* (zero-allocation parsing) -/// -public static class UserAgentVersionUtf8 -{ - /// user_agent.version - public static ReadOnlySpan Version => "user_agent.version"u8; - -} - -/// -/// UTF-8 attribute keys for vcs.change.* (zero-allocation parsing) -/// -public static class VcsChangeUtf8 -{ - /// vcs.change.id - public static ReadOnlySpan Id => "vcs.change.id"u8; - - /// vcs.change.state - public static ReadOnlySpan State => "vcs.change.state"u8; - - /// vcs.change.title - public static ReadOnlySpan Title => "vcs.change.title"u8; - -} - -/// -/// UTF-8 attribute keys for vcs.line_change.* (zero-allocation parsing) -/// -public static class VcsLineChangeUtf8 -{ - /// vcs.line_change.type - public static ReadOnlySpan Type => "vcs.line_change.type"u8; - -} - -/// -/// UTF-8 attribute keys for vcs.owner.* (zero-allocation parsing) -/// -public static class VcsOwnerUtf8 -{ - /// vcs.owner.name - public static ReadOnlySpan Name => "vcs.owner.name"u8; - -} - -/// -/// UTF-8 attribute keys for vcs.provider.* (zero-allocation parsing) -/// -public static class VcsProviderUtf8 -{ - /// vcs.provider.name - public static ReadOnlySpan Name => "vcs.provider.name"u8; - -} - -/// -/// UTF-8 attribute keys for vcs.ref.* (zero-allocation parsing) -/// -public static class VcsRefUtf8 -{ - /// vcs.ref.base.name - public static ReadOnlySpan BaseName => "vcs.ref.base.name"u8; - - /// vcs.ref.base.revision - public static ReadOnlySpan BaseRevision => "vcs.ref.base.revision"u8; - - /// vcs.ref.base.type - public static ReadOnlySpan BaseType => "vcs.ref.base.type"u8; - - /// vcs.ref.head.name - public static ReadOnlySpan HeadName => "vcs.ref.head.name"u8; - - /// vcs.ref.head.revision - public static ReadOnlySpan HeadRevision => "vcs.ref.head.revision"u8; - - /// vcs.ref.head.type - public static ReadOnlySpan HeadType => "vcs.ref.head.type"u8; - - /// vcs.ref.type - public static ReadOnlySpan Type => "vcs.ref.type"u8; - -} - -/// -/// UTF-8 attribute keys for vcs.repository.* (zero-allocation parsing) -/// -public static class VcsRepositoryUtf8 -{ - /// vcs.repository.change.id - public static ReadOnlySpan ChangeId => "vcs.repository.change.id"u8; - - /// vcs.repository.change.title - public static ReadOnlySpan ChangeTitle => "vcs.repository.change.title"u8; - - /// vcs.repository.name - public static ReadOnlySpan Name => "vcs.repository.name"u8; - - /// vcs.repository.ref.name - public static ReadOnlySpan RefName => "vcs.repository.ref.name"u8; - - /// vcs.repository.ref.revision - public static ReadOnlySpan RefRevision => "vcs.repository.ref.revision"u8; - - /// vcs.repository.ref.type - public static ReadOnlySpan RefType => "vcs.repository.ref.type"u8; - - /// vcs.repository.url.full - public static ReadOnlySpan UrlFull => "vcs.repository.url.full"u8; - -} - -/// -/// UTF-8 attribute keys for vcs.revision_delta.* (zero-allocation parsing) -/// -public static class VcsRevisionDeltaUtf8 -{ - /// vcs.revision_delta.direction - public static ReadOnlySpan Direction => "vcs.revision_delta.direction"u8; - -} - -/// -/// UTF-8 attribute keys for webengine.description.* (zero-allocation parsing) -/// -public static class WebengineDescriptionUtf8 -{ - /// webengine.description - public static ReadOnlySpan Description => "webengine.description"u8; - -} - -/// -/// UTF-8 attribute keys for webengine.name.* (zero-allocation parsing) -/// -public static class WebengineNameUtf8 -{ - /// webengine.name - public static ReadOnlySpan Name => "webengine.name"u8; - -} - -/// -/// UTF-8 attribute keys for webengine.version.* (zero-allocation parsing) -/// -public static class WebengineVersionUtf8 -{ - /// webengine.version - public static ReadOnlySpan Version => "webengine.version"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.diagnostics.exception.result -/// -public static class AspnetcoreDiagnosticsExceptionResultUtf8Values -{ - /// aborted - public static ReadOnlySpan Aborted => "aborted"u8; - - /// handled - public static ReadOnlySpan Handled => "handled"u8; - - /// skipped - public static ReadOnlySpan Skipped => "skipped"u8; - - /// unhandled - public static ReadOnlySpan Unhandled => "unhandled"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.rate.limiting.result -/// -public static class AspnetcoreRateLimitingResultUtf8Values -{ - /// acquired - public static ReadOnlySpan Acquired => "acquired"u8; - - /// endpoint_limiter - public static ReadOnlySpan EndpointLimiter => "endpoint_limiter"u8; - - /// global_limiter - public static ReadOnlySpan GlobalLimiter => "global_limiter"u8; - - /// request_canceled - public static ReadOnlySpan RequestCanceled => "request_canceled"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.routing.match.status -/// -public static class AspnetcoreRoutingMatchStatusUtf8Values -{ - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - -} - -/// -/// UTF-8 enum values for db.system.name -/// -public static class DbSystemNameUtf8Values -{ - /// mariadb - public static ReadOnlySpan Mariadb => "mariadb"u8; - - /// microsoft.sql_server - public static ReadOnlySpan MicrosoftSqlServer => "microsoft.sql_server"u8; - - /// mysql - public static ReadOnlySpan Mysql => "mysql"u8; - - /// postgresql - public static ReadOnlySpan Postgresql => "postgresql"u8; - - /// actian.ingres - public static ReadOnlySpan ActianIngres => "actian.ingres"u8; - - /// aws.dynamodb - public static ReadOnlySpan AwsDynamodb => "aws.dynamodb"u8; - - /// aws.redshift - public static ReadOnlySpan AwsRedshift => "aws.redshift"u8; - - /// azure.cosmosdb - public static ReadOnlySpan AzureCosmosdb => "azure.cosmosdb"u8; - - /// cassandra - public static ReadOnlySpan Cassandra => "cassandra"u8; - - /// clickhouse - public static ReadOnlySpan Clickhouse => "clickhouse"u8; - - /// cockroachdb - public static ReadOnlySpan Cockroachdb => "cockroachdb"u8; - - /// couchbase - public static ReadOnlySpan Couchbase => "couchbase"u8; - - /// couchdb - public static ReadOnlySpan Couchdb => "couchdb"u8; - - /// derby - public static ReadOnlySpan Derby => "derby"u8; - - /// elasticsearch - public static ReadOnlySpan Elasticsearch => "elasticsearch"u8; - - /// firebirdsql - public static ReadOnlySpan Firebirdsql => "firebirdsql"u8; - - /// gcp.spanner - public static ReadOnlySpan GcpSpanner => "gcp.spanner"u8; - - /// geode - public static ReadOnlySpan Geode => "geode"u8; - - /// h2database - public static ReadOnlySpan H2database => "h2database"u8; - - /// hbase - public static ReadOnlySpan Hbase => "hbase"u8; - - /// hive - public static ReadOnlySpan Hive => "hive"u8; - - /// hsqldb - public static ReadOnlySpan Hsqldb => "hsqldb"u8; - - /// ibm.db2 - public static ReadOnlySpan IbmDb2 => "ibm.db2"u8; - - /// ibm.informix - public static ReadOnlySpan IbmInformix => "ibm.informix"u8; - - /// ibm.netezza - public static ReadOnlySpan IbmNetezza => "ibm.netezza"u8; - - /// influxdb - public static ReadOnlySpan Influxdb => "influxdb"u8; - - /// instantdb - public static ReadOnlySpan Instantdb => "instantdb"u8; - - /// intersystems.cache - public static ReadOnlySpan IntersystemsCache => "intersystems.cache"u8; - - /// memcached - public static ReadOnlySpan Memcached => "memcached"u8; - - /// mongodb - public static ReadOnlySpan Mongodb => "mongodb"u8; - - /// neo4j - public static ReadOnlySpan Neo4j => "neo4j"u8; - - /// opensearch - public static ReadOnlySpan Opensearch => "opensearch"u8; - - /// oracle.db - public static ReadOnlySpan OracleDb => "oracle.db"u8; - - /// other_sql - public static ReadOnlySpan OtherSql => "other_sql"u8; - - /// redis - public static ReadOnlySpan Redis => "redis"u8; - - /// sap.hana - public static ReadOnlySpan SapHana => "sap.hana"u8; - - /// sap.maxdb - public static ReadOnlySpan SapMaxdb => "sap.maxdb"u8; - - /// softwareag.adabas - public static ReadOnlySpan SoftwareagAdabas => "softwareag.adabas"u8; - - /// sqlite - public static ReadOnlySpan Sqlite => "sqlite"u8; - - /// teradata - public static ReadOnlySpan Teradata => "teradata"u8; - - /// trino - public static ReadOnlySpan Trino => "trino"u8; - -} - -/// -/// UTF-8 enum values for dotnet.gc.heap.generation -/// -public static class DotnetGcHeapGenerationUtf8Values -{ - /// gen0 - public static ReadOnlySpan Gen0 => "gen0"u8; - - /// gen1 - public static ReadOnlySpan Gen1 => "gen1"u8; - - /// gen2 - public static ReadOnlySpan Gen2 => "gen2"u8; - - /// loh - public static ReadOnlySpan Loh => "loh"u8; - - /// poh - public static ReadOnlySpan Poh => "poh"u8; - -} - -/// -/// UTF-8 enum values for error.type -/// -public static class ErrorTypeUtf8Values -{ - /// _OTHER - public static ReadOnlySpan Other => "_OTHER"u8; - -} - -/// -/// UTF-8 enum values for http.request.method -/// -public static class HttpRequestMethodUtf8Values -{ - /// _OTHER - public static ReadOnlySpan Other => "_OTHER"u8; - - /// CONNECT - public static ReadOnlySpan Connect => "CONNECT"u8; - - /// DELETE - public static ReadOnlySpan Delete => "DELETE"u8; - - /// GET - public static ReadOnlySpan Get => "GET"u8; - - /// HEAD - public static ReadOnlySpan Head => "HEAD"u8; - - /// OPTIONS - public static ReadOnlySpan Options => "OPTIONS"u8; - - /// PATCH - public static ReadOnlySpan Patch => "PATCH"u8; - - /// POST - public static ReadOnlySpan Post => "POST"u8; - - /// PUT - public static ReadOnlySpan Put => "PUT"u8; - - /// TRACE - public static ReadOnlySpan Trace => "TRACE"u8; - - /// QUERY - public static ReadOnlySpan Query => "QUERY"u8; - -} - -/// -/// UTF-8 enum values for network.transport -/// -public static class NetworkTransportUtf8Values -{ - /// pipe - public static ReadOnlySpan Pipe => "pipe"u8; - - /// quic - public static ReadOnlySpan Quic => "quic"u8; - - /// tcp - public static ReadOnlySpan Tcp => "tcp"u8; - - /// udp - public static ReadOnlySpan Udp => "udp"u8; - - /// unix - public static ReadOnlySpan Unix => "unix"u8; - -} - -/// -/// UTF-8 enum values for network.type -/// -public static class NetworkTypeUtf8Values -{ - /// ipv4 - public static ReadOnlySpan Ipv4 => "ipv4"u8; - - /// ipv6 - public static ReadOnlySpan Ipv6 => "ipv6"u8; - -} - -/// -/// UTF-8 enum values for otel.status.code -/// -public static class OtelStatusCodeUtf8Values -{ - /// ERROR - public static ReadOnlySpan Error => "ERROR"u8; - - /// OK - public static ReadOnlySpan Ok => "OK"u8; - -} - -/// -/// UTF-8 enum values for signalr.connection.status -/// -public static class SignalrConnectionStatusUtf8Values -{ - /// app_shutdown - public static ReadOnlySpan AppShutdown => "app_shutdown"u8; - - /// normal_closure - public static ReadOnlySpan NormalClosure => "normal_closure"u8; - - /// timeout - public static ReadOnlySpan Timeout => "timeout"u8; - -} - -/// -/// UTF-8 enum values for signalr.transport -/// -public static class SignalrTransportUtf8Values -{ - /// long_polling - public static ReadOnlySpan LongPolling => "long_polling"u8; - - /// server_sent_events - public static ReadOnlySpan ServerSentEvents => "server_sent_events"u8; - - /// web_sockets - public static ReadOnlySpan WebSockets => "web_sockets"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.authentication.result -/// -public static class AspnetcoreAuthenticationResultUtf8Values -{ - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// none - public static ReadOnlySpan None => "none"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.authorization.result -/// -public static class AspnetcoreAuthorizationResultUtf8Values -{ - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.identity.password.check.result -/// -public static class AspnetcoreIdentityPasswordCheckResultUtf8Values -{ - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// password_missing - public static ReadOnlySpan PasswordMissing => "password_missing"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - - /// success_rehash_needed - public static ReadOnlySpan SuccessRehashNeeded => "success_rehash_needed"u8; - - /// user_missing - public static ReadOnlySpan UserMissing => "user_missing"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.identity.result -/// -public static class AspnetcoreIdentityResultUtf8Values -{ - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.identity.sign.in.result -/// -public static class AspnetcoreIdentitySignInResultUtf8Values -{ - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// locked_out - public static ReadOnlySpan LockedOut => "locked_out"u8; - - /// not_allowed - public static ReadOnlySpan NotAllowed => "not_allowed"u8; - - /// requires_two_factor - public static ReadOnlySpan RequiresTwoFactor => "requires_two_factor"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.identity.sign.in.type -/// -public static class AspnetcoreIdentitySignInTypeUtf8Values -{ - /// external - public static ReadOnlySpan External => "external"u8; - - /// passkey - public static ReadOnlySpan Passkey => "passkey"u8; - - /// password - public static ReadOnlySpan Password => "password"u8; - - /// two_factor - public static ReadOnlySpan TwoFactor => "two_factor"u8; - - /// two_factor_authenticator - public static ReadOnlySpan TwoFactorAuthenticator => "two_factor_authenticator"u8; - - /// two_factor_recovery_code - public static ReadOnlySpan TwoFactorRecoveryCode => "two_factor_recovery_code"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.identity.token.purpose -/// -public static class AspnetcoreIdentityTokenPurposeUtf8Values -{ - /// _OTHER - public static ReadOnlySpan Other => "_OTHER"u8; - - /// change_email - public static ReadOnlySpan ChangeEmail => "change_email"u8; - - /// change_phone_number - public static ReadOnlySpan ChangePhoneNumber => "change_phone_number"u8; - - /// email_confirmation - public static ReadOnlySpan EmailConfirmation => "email_confirmation"u8; - - /// reset_password - public static ReadOnlySpan ResetPassword => "reset_password"u8; - - /// two_factor - public static ReadOnlySpan TwoFactor => "two_factor"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.identity.token.verified -/// -public static class AspnetcoreIdentityTokenVerifiedUtf8Values -{ - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.identity.user.update.type -/// -public static class AspnetcoreIdentityUserUpdateTypeUtf8Values -{ - /// _OTHER - public static ReadOnlySpan Other => "_OTHER"u8; - - /// access_failed - public static ReadOnlySpan AccessFailed => "access_failed"u8; - - /// add_claims - public static ReadOnlySpan AddClaims => "add_claims"u8; - - /// add_login - public static ReadOnlySpan AddLogin => "add_login"u8; - - /// add_password - public static ReadOnlySpan AddPassword => "add_password"u8; - - /// add_to_roles - public static ReadOnlySpan AddToRoles => "add_to_roles"u8; - - /// change_email - public static ReadOnlySpan ChangeEmail => "change_email"u8; - - /// change_password - public static ReadOnlySpan ChangePassword => "change_password"u8; - - /// change_phone_number - public static ReadOnlySpan ChangePhoneNumber => "change_phone_number"u8; - - /// confirm_email - public static ReadOnlySpan ConfirmEmail => "confirm_email"u8; - - /// generate_new_two_factor_recovery_codes - public static ReadOnlySpan GenerateNewTwoFactorRecoveryCodes => "generate_new_two_factor_recovery_codes"u8; - - /// password_rehash - public static ReadOnlySpan PasswordRehash => "password_rehash"u8; - - /// redeem_two_factor_recovery_code - public static ReadOnlySpan RedeemTwoFactorRecoveryCode => "redeem_two_factor_recovery_code"u8; - - /// remove_authentication_token - public static ReadOnlySpan RemoveAuthenticationToken => "remove_authentication_token"u8; - - /// remove_claims - public static ReadOnlySpan RemoveClaims => "remove_claims"u8; - - /// remove_from_roles - public static ReadOnlySpan RemoveFromRoles => "remove_from_roles"u8; - - /// remove_login - public static ReadOnlySpan RemoveLogin => "remove_login"u8; - - /// remove_passkey - public static ReadOnlySpan RemovePasskey => "remove_passkey"u8; - - /// remove_password - public static ReadOnlySpan RemovePassword => "remove_password"u8; - - /// replace_claim - public static ReadOnlySpan ReplaceClaim => "replace_claim"u8; - - /// reset_access_failed_count - public static ReadOnlySpan ResetAccessFailedCount => "reset_access_failed_count"u8; - - /// reset_authenticator_key - public static ReadOnlySpan ResetAuthenticatorKey => "reset_authenticator_key"u8; - - /// reset_password - public static ReadOnlySpan ResetPassword => "reset_password"u8; - - /// security_stamp - public static ReadOnlySpan SecurityStamp => "security_stamp"u8; - - /// set_authentication_token - public static ReadOnlySpan SetAuthenticationToken => "set_authentication_token"u8; - - /// set_email - public static ReadOnlySpan SetEmail => "set_email"u8; - - /// set_lockout_enabled - public static ReadOnlySpan SetLockoutEnabled => "set_lockout_enabled"u8; - - /// set_lockout_end_date - public static ReadOnlySpan SetLockoutEndDate => "set_lockout_end_date"u8; - - /// set_passkey - public static ReadOnlySpan SetPasskey => "set_passkey"u8; - - /// set_phone_number - public static ReadOnlySpan SetPhoneNumber => "set_phone_number"u8; - - /// set_two_factor_enabled - public static ReadOnlySpan SetTwoFactorEnabled => "set_two_factor_enabled"u8; - - /// update - public static ReadOnlySpan Update => "update"u8; - - /// user_name - public static ReadOnlySpan UserName => "user_name"u8; - -} - -/// -/// UTF-8 enum values for cicd.pipeline.action.name -/// -public static class CicdPipelineActionNameUtf8Values -{ - /// BUILD - public static ReadOnlySpan Build => "BUILD"u8; - - /// RUN - public static ReadOnlySpan Run => "RUN"u8; - - /// SYNC - public static ReadOnlySpan Sync => "SYNC"u8; - -} - -/// -/// UTF-8 enum values for cicd.pipeline.result -/// -public static class CicdPipelineResultUtf8Values -{ - /// cancellation - public static ReadOnlySpan Cancellation => "cancellation"u8; - - /// error - public static ReadOnlySpan Error => "error"u8; - - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// skip - public static ReadOnlySpan Skip => "skip"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - - /// timeout - public static ReadOnlySpan Timeout => "timeout"u8; - -} - -/// -/// UTF-8 enum values for cicd.pipeline.run.state -/// -public static class CicdPipelineRunStateUtf8Values -{ - /// executing - public static ReadOnlySpan Executing => "executing"u8; - - /// finalizing - public static ReadOnlySpan Finalizing => "finalizing"u8; - - /// pending - public static ReadOnlySpan Pending => "pending"u8; - -} - -/// -/// UTF-8 enum values for cicd.pipeline.task.run.result -/// -public static class CicdPipelineTaskRunResultUtf8Values -{ - /// cancellation - public static ReadOnlySpan Cancellation => "cancellation"u8; - - /// error - public static ReadOnlySpan Error => "error"u8; - - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// skip - public static ReadOnlySpan Skip => "skip"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - - /// timeout - public static ReadOnlySpan Timeout => "timeout"u8; - -} - -/// -/// UTF-8 enum values for cicd.pipeline.task.type -/// -public static class CicdPipelineTaskTypeUtf8Values -{ - /// build - public static ReadOnlySpan Build => "build"u8; - - /// deploy - public static ReadOnlySpan Deploy => "deploy"u8; - - /// test - public static ReadOnlySpan Test => "test"u8; - -} - -/// -/// UTF-8 enum values for cicd.worker.state -/// -public static class CicdWorkerStateUtf8Values -{ - /// available - public static ReadOnlySpan Available => "available"u8; - - /// busy - public static ReadOnlySpan Busy => "busy"u8; - - /// offline - public static ReadOnlySpan Offline => "offline"u8; - -} - -/// -/// UTF-8 enum values for cloud.platform -/// -public static class CloudPlatformUtf8Values -{ - /// akamai_cloud.compute - public static ReadOnlySpan AkamaiCloudCompute => "akamai_cloud.compute"u8; - - /// alibaba_cloud_ecs - public static ReadOnlySpan AlibabaCloudEcs => "alibaba_cloud_ecs"u8; - - /// alibaba_cloud_fc - public static ReadOnlySpan AlibabaCloudFc => "alibaba_cloud_fc"u8; - - /// alibaba_cloud_openshift - public static ReadOnlySpan AlibabaCloudOpenshift => "alibaba_cloud_openshift"u8; - - /// aws_app_runner - public static ReadOnlySpan AwsAppRunner => "aws_app_runner"u8; - - /// aws_ec2 - public static ReadOnlySpan AwsEc2 => "aws_ec2"u8; - - /// aws_ecs - public static ReadOnlySpan AwsEcs => "aws_ecs"u8; - - /// aws_eks - public static ReadOnlySpan AwsEks => "aws_eks"u8; - - /// aws_elastic_beanstalk - public static ReadOnlySpan AwsElasticBeanstalk => "aws_elastic_beanstalk"u8; - - /// aws_lambda - public static ReadOnlySpan AwsLambda => "aws_lambda"u8; - - /// aws_openshift - public static ReadOnlySpan AwsOpenshift => "aws_openshift"u8; - - /// azure.aks - public static ReadOnlySpan AzureAks => "azure.aks"u8; - - /// azure.app_service - public static ReadOnlySpan AzureAppService => "azure.app_service"u8; - - /// azure.container_apps - public static ReadOnlySpan AzureContainerApps => "azure.container_apps"u8; - - /// azure.container_instances - public static ReadOnlySpan AzureContainerInstances => "azure.container_instances"u8; - - /// azure.functions - public static ReadOnlySpan AzureFunctions => "azure.functions"u8; - - /// azure.openshift - public static ReadOnlySpan AzureOpenshift => "azure.openshift"u8; - - /// azure.vm - public static ReadOnlySpan AzureVm => "azure.vm"u8; - - /// gcp.agent_engine - public static ReadOnlySpan GcpAgentEngine => "gcp.agent_engine"u8; - - /// gcp_app_engine - public static ReadOnlySpan GcpAppEngine => "gcp_app_engine"u8; - - /// gcp_bare_metal_solution - public static ReadOnlySpan GcpBareMetalSolution => "gcp_bare_metal_solution"u8; - - /// gcp_cloud_functions - public static ReadOnlySpan GcpCloudFunctions => "gcp_cloud_functions"u8; - - /// gcp_cloud_run - public static ReadOnlySpan GcpCloudRun => "gcp_cloud_run"u8; - - /// gcp_compute_engine - public static ReadOnlySpan GcpComputeEngine => "gcp_compute_engine"u8; - - /// gcp_kubernetes_engine - public static ReadOnlySpan GcpKubernetesEngine => "gcp_kubernetes_engine"u8; - - /// gcp_openshift - public static ReadOnlySpan GcpOpenshift => "gcp_openshift"u8; - - /// hetzner.cloud_server - public static ReadOnlySpan HetznerCloudServer => "hetzner.cloud_server"u8; - - /// ibm_cloud_openshift - public static ReadOnlySpan IbmCloudOpenshift => "ibm_cloud_openshift"u8; - - /// oracle_cloud_compute - public static ReadOnlySpan OracleCloudCompute => "oracle_cloud_compute"u8; - - /// oracle_cloud_oke - public static ReadOnlySpan OracleCloudOke => "oracle_cloud_oke"u8; - - /// tencent_cloud_cvm - public static ReadOnlySpan TencentCloudCvm => "tencent_cloud_cvm"u8; - - /// tencent_cloud_eks - public static ReadOnlySpan TencentCloudEks => "tencent_cloud_eks"u8; - - /// tencent_cloud_scf - public static ReadOnlySpan TencentCloudScf => "tencent_cloud_scf"u8; - - /// vultr.cloud_compute - public static ReadOnlySpan VultrCloudCompute => "vultr.cloud_compute"u8; - -} - -/// -/// UTF-8 enum values for cloud.provider -/// -public static class CloudProviderUtf8Values -{ - /// akamai_cloud - public static ReadOnlySpan AkamaiCloud => "akamai_cloud"u8; - - /// alibaba_cloud - public static ReadOnlySpan AlibabaCloud => "alibaba_cloud"u8; - - /// aws - public static ReadOnlySpan Aws => "aws"u8; - - /// azure - public static ReadOnlySpan Azure => "azure"u8; - - /// gcp - public static ReadOnlySpan Gcp => "gcp"u8; - - /// heroku - public static ReadOnlySpan Heroku => "heroku"u8; - - /// hetzner - public static ReadOnlySpan Hetzner => "hetzner"u8; - - /// ibm_cloud - public static ReadOnlySpan IbmCloud => "ibm_cloud"u8; - - /// oracle_cloud - public static ReadOnlySpan OracleCloud => "oracle_cloud"u8; - - /// tencent_cloud - public static ReadOnlySpan TencentCloud => "tencent_cloud"u8; - - /// vultr - public static ReadOnlySpan Vultr => "vultr"u8; - -} - -/// -/// UTF-8 enum values for container.cpu.state -/// -public static class ContainerCpuStateUtf8Values -{ - /// kernel - public static ReadOnlySpan Kernel => "kernel"u8; - - /// system - public static ReadOnlySpan System => "system"u8; - - /// user - public static ReadOnlySpan User => "user"u8; - -} - -/// -/// UTF-8 enum values for db.cassandra.consistency.level -/// -public static class DbCassandraConsistencyLevelUtf8Values -{ - /// all - public static ReadOnlySpan All => "all"u8; - - /// any - public static ReadOnlySpan Any => "any"u8; - - /// each_quorum - public static ReadOnlySpan EachQuorum => "each_quorum"u8; - - /// local_one - public static ReadOnlySpan LocalOne => "local_one"u8; - - /// local_quorum - public static ReadOnlySpan LocalQuorum => "local_quorum"u8; - - /// local_serial - public static ReadOnlySpan LocalSerial => "local_serial"u8; - - /// one - public static ReadOnlySpan One => "one"u8; - - /// quorum - public static ReadOnlySpan Quorum => "quorum"u8; - - /// serial - public static ReadOnlySpan Serial => "serial"u8; - - /// three - public static ReadOnlySpan Three => "three"u8; - - /// two - public static ReadOnlySpan Two => "two"u8; - -} - -/// -/// UTF-8 enum values for db.client.connection.state -/// -public static class DbClientConnectionStateUtf8Values -{ - /// idle - public static ReadOnlySpan Idle => "idle"u8; - - /// used - public static ReadOnlySpan Used => "used"u8; - -} - -/// -/// UTF-8 enum values for db.client.connections.state -/// -public static class DbClientConnectionsStateUtf8Values -{ - /// idle - public static ReadOnlySpan Idle => "idle"u8; - - /// used - public static ReadOnlySpan Used => "used"u8; - -} - -/// -/// UTF-8 enum values for db.cosmosdb.connection.mode -/// -public static class DbCosmosdbConnectionModeUtf8Values -{ - /// direct - public static ReadOnlySpan Direct => "direct"u8; - - /// gateway - public static ReadOnlySpan Gateway => "gateway"u8; - -} - -/// -/// UTF-8 enum values for db.cosmosdb.consistency.level -/// -public static class DbCosmosdbConsistencyLevelUtf8Values -{ - /// BoundedStaleness - public static ReadOnlySpan BoundedStaleness => "BoundedStaleness"u8; - - /// ConsistentPrefix - public static ReadOnlySpan ConsistentPrefix => "ConsistentPrefix"u8; - - /// Eventual - public static ReadOnlySpan Eventual => "Eventual"u8; - - /// Session - public static ReadOnlySpan Session => "Session"u8; - - /// Strong - public static ReadOnlySpan Strong => "Strong"u8; - -} - -/// -/// UTF-8 enum values for db.cosmosdb.operation.type -/// -public static class DbCosmosdbOperationTypeUtf8Values -{ - /// batch - public static ReadOnlySpan Batch => "batch"u8; - - /// create - public static ReadOnlySpan Create => "create"u8; - - /// delete - public static ReadOnlySpan Delete => "delete"u8; - - /// execute - public static ReadOnlySpan Execute => "execute"u8; - - /// execute_javascript - public static ReadOnlySpan ExecuteJavascript => "execute_javascript"u8; - - /// head - public static ReadOnlySpan Head => "head"u8; - - /// head_feed - public static ReadOnlySpan HeadFeed => "head_feed"u8; - - /// invalid - public static ReadOnlySpan Invalid => "invalid"u8; - - /// patch - public static ReadOnlySpan Patch => "patch"u8; - - /// query - public static ReadOnlySpan Query => "query"u8; - - /// query_plan - public static ReadOnlySpan QueryPlan => "query_plan"u8; - - /// read - public static ReadOnlySpan Read => "read"u8; - - /// read_feed - public static ReadOnlySpan ReadFeed => "read_feed"u8; - - /// replace - public static ReadOnlySpan Replace => "replace"u8; - - /// upsert - public static ReadOnlySpan Upsert => "upsert"u8; - -} - -/// -/// UTF-8 enum values for db.system -/// -public static class DbSystemUtf8Values -{ - /// adabas - public static ReadOnlySpan Adabas => "adabas"u8; - - /// cache - public static ReadOnlySpan Cache => "cache"u8; - - /// cassandra - public static ReadOnlySpan Cassandra => "cassandra"u8; - - /// clickhouse - public static ReadOnlySpan Clickhouse => "clickhouse"u8; - - /// cloudscape - public static ReadOnlySpan Cloudscape => "cloudscape"u8; - - /// cockroachdb - public static ReadOnlySpan Cockroachdb => "cockroachdb"u8; - - /// coldfusion - public static ReadOnlySpan Coldfusion => "coldfusion"u8; - - /// cosmosdb - public static ReadOnlySpan Cosmosdb => "cosmosdb"u8; - - /// couchbase - public static ReadOnlySpan Couchbase => "couchbase"u8; - - /// couchdb - public static ReadOnlySpan Couchdb => "couchdb"u8; - - /// db2 - public static ReadOnlySpan Db2 => "db2"u8; - - /// derby - public static ReadOnlySpan Derby => "derby"u8; - - /// dynamodb - public static ReadOnlySpan Dynamodb => "dynamodb"u8; - - /// edb - public static ReadOnlySpan Edb => "edb"u8; - - /// elasticsearch - public static ReadOnlySpan Elasticsearch => "elasticsearch"u8; - - /// filemaker - public static ReadOnlySpan Filemaker => "filemaker"u8; - - /// firebird - public static ReadOnlySpan Firebird => "firebird"u8; - - /// firstsql - public static ReadOnlySpan Firstsql => "firstsql"u8; - - /// geode - public static ReadOnlySpan Geode => "geode"u8; - - /// h2 - public static ReadOnlySpan H2 => "h2"u8; - - /// hanadb - public static ReadOnlySpan Hanadb => "hanadb"u8; - - /// hbase - public static ReadOnlySpan Hbase => "hbase"u8; - - /// hive - public static ReadOnlySpan Hive => "hive"u8; - - /// hsqldb - public static ReadOnlySpan Hsqldb => "hsqldb"u8; - - /// influxdb - public static ReadOnlySpan Influxdb => "influxdb"u8; - - /// informix - public static ReadOnlySpan Informix => "informix"u8; - - /// ingres - public static ReadOnlySpan Ingres => "ingres"u8; - - /// instantdb - public static ReadOnlySpan Instantdb => "instantdb"u8; - - /// interbase - public static ReadOnlySpan Interbase => "interbase"u8; - - /// intersystems_cache - public static ReadOnlySpan IntersystemsCache => "intersystems_cache"u8; - - /// mariadb - public static ReadOnlySpan Mariadb => "mariadb"u8; - - /// maxdb - public static ReadOnlySpan Maxdb => "maxdb"u8; - - /// memcached - public static ReadOnlySpan Memcached => "memcached"u8; - - /// mongodb - public static ReadOnlySpan Mongodb => "mongodb"u8; - - /// mssql - public static ReadOnlySpan Mssql => "mssql"u8; - - /// mssqlcompact - public static ReadOnlySpan Mssqlcompact => "mssqlcompact"u8; - - /// mysql - public static ReadOnlySpan Mysql => "mysql"u8; - - /// neo4j - public static ReadOnlySpan Neo4j => "neo4j"u8; - - /// netezza - public static ReadOnlySpan Netezza => "netezza"u8; - - /// opensearch - public static ReadOnlySpan Opensearch => "opensearch"u8; - - /// oracle - public static ReadOnlySpan Oracle => "oracle"u8; - - /// other_sql - public static ReadOnlySpan OtherSql => "other_sql"u8; - - /// pervasive - public static ReadOnlySpan Pervasive => "pervasive"u8; - - /// pointbase - public static ReadOnlySpan Pointbase => "pointbase"u8; - - /// postgresql - public static ReadOnlySpan Postgresql => "postgresql"u8; - - /// progress - public static ReadOnlySpan Progress => "progress"u8; - - /// redis - public static ReadOnlySpan Redis => "redis"u8; - - /// redshift - public static ReadOnlySpan Redshift => "redshift"u8; - - /// spanner - public static ReadOnlySpan Spanner => "spanner"u8; - - /// sqlite - public static ReadOnlySpan Sqlite => "sqlite"u8; - - /// sybase - public static ReadOnlySpan Sybase => "sybase"u8; - - /// teradata - public static ReadOnlySpan Teradata => "teradata"u8; - - /// trino - public static ReadOnlySpan Trino => "trino"u8; - - /// vertica - public static ReadOnlySpan Vertica => "vertica"u8; - -} - -/// -/// UTF-8 enum values for deployment.status -/// -public static class DeploymentStatusUtf8Values -{ - /// failed - public static ReadOnlySpan Failed => "failed"u8; - - /// succeeded - public static ReadOnlySpan Succeeded => "succeeded"u8; - -} - -/// -/// UTF-8 enum values for faas.document.operation -/// -public static class FaasDocumentOperationUtf8Values -{ - /// delete - public static ReadOnlySpan Delete => "delete"u8; - - /// edit - public static ReadOnlySpan Edit => "edit"u8; - - /// insert - public static ReadOnlySpan Insert => "insert"u8; - -} - -/// -/// UTF-8 enum values for faas.invoked.provider -/// -public static class FaasInvokedProviderUtf8Values -{ - /// alibaba_cloud - public static ReadOnlySpan AlibabaCloud => "alibaba_cloud"u8; - - /// aws - public static ReadOnlySpan Aws => "aws"u8; - - /// azure - public static ReadOnlySpan Azure => "azure"u8; - - /// gcp - public static ReadOnlySpan Gcp => "gcp"u8; - - /// tencent_cloud - public static ReadOnlySpan TencentCloud => "tencent_cloud"u8; - -} - -/// -/// UTF-8 enum values for faas.trigger -/// -public static class FaasTriggerUtf8Values -{ - /// datasource - public static ReadOnlySpan Datasource => "datasource"u8; - - /// http - public static ReadOnlySpan Http => "http"u8; - - /// other - public static ReadOnlySpan Other => "other"u8; - - /// pubsub - public static ReadOnlySpan Pubsub => "pubsub"u8; - - /// timer - public static ReadOnlySpan Timer => "timer"u8; - -} - -/// -/// UTF-8 enum values for feature.flag.evaluation.reason -/// -public static class FeatureFlagEvaluationReasonUtf8Values -{ - /// cached - public static ReadOnlySpan Cached => "cached"u8; - - /// default - public static ReadOnlySpan Default => "default"u8; - - /// disabled - public static ReadOnlySpan Disabled => "disabled"u8; - - /// error - public static ReadOnlySpan Error => "error"u8; - - /// split - public static ReadOnlySpan Split => "split"u8; - - /// stale - public static ReadOnlySpan Stale => "stale"u8; - - /// static - public static ReadOnlySpan Static => "static"u8; - - /// targeting_match - public static ReadOnlySpan TargetingMatch => "targeting_match"u8; - - /// unknown - public static ReadOnlySpan Unknown => "unknown"u8; - -} - -/// -/// UTF-8 enum values for feature.flag.result.reason -/// -public static class FeatureFlagResultReasonUtf8Values -{ - /// cached - public static ReadOnlySpan Cached => "cached"u8; - - /// default - public static ReadOnlySpan Default => "default"u8; - - /// disabled - public static ReadOnlySpan Disabled => "disabled"u8; - - /// error - public static ReadOnlySpan Error => "error"u8; - - /// split - public static ReadOnlySpan Split => "split"u8; - - /// stale - public static ReadOnlySpan Stale => "stale"u8; - - /// static - public static ReadOnlySpan Static => "static"u8; - - /// targeting_match - public static ReadOnlySpan TargetingMatch => "targeting_match"u8; - - /// unknown - public static ReadOnlySpan Unknown => "unknown"u8; - -} - -/// -/// UTF-8 enum values for gen.ai.openai.request.response.format -/// -public static class GenAiOpenaiRequestResponseFormatUtf8Values -{ - /// json_object - public static ReadOnlySpan JsonObject => "json_object"u8; - - /// json_schema - public static ReadOnlySpan JsonSchema => "json_schema"u8; - - /// text - public static ReadOnlySpan Text => "text"u8; - -} - -/// -/// UTF-8 enum values for gen.ai.openai.request.service.tier -/// -public static class GenAiOpenaiRequestServiceTierUtf8Values -{ - /// auto - public static ReadOnlySpan Auto => "auto"u8; - - /// default - public static ReadOnlySpan Default => "default"u8; - -} - -/// -/// UTF-8 enum values for gen.ai.operation.name -/// -public static class GenAiOperationNameUtf8Values -{ - /// chat - public static ReadOnlySpan Chat => "chat"u8; - - /// create_agent - public static ReadOnlySpan CreateAgent => "create_agent"u8; - - /// embeddings - public static ReadOnlySpan Embeddings => "embeddings"u8; - - /// execute_tool - public static ReadOnlySpan ExecuteTool => "execute_tool"u8; - - /// generate_content - public static ReadOnlySpan GenerateContent => "generate_content"u8; - - /// invoke_agent - public static ReadOnlySpan InvokeAgent => "invoke_agent"u8; - - /// text_completion - public static ReadOnlySpan TextCompletion => "text_completion"u8; - -} - -/// -/// UTF-8 enum values for gen.ai.output.type -/// -public static class GenAiOutputTypeUtf8Values -{ - /// image - public static ReadOnlySpan Image => "image"u8; - - /// json - public static ReadOnlySpan Json => "json"u8; - - /// speech - public static ReadOnlySpan Speech => "speech"u8; - - /// text - public static ReadOnlySpan Text => "text"u8; - -} - -/// -/// UTF-8 enum values for gen.ai.provider.name -/// -public static class GenAiProviderNameUtf8Values -{ - /// anthropic - public static ReadOnlySpan Anthropic => "anthropic"u8; - - /// aws.bedrock - public static ReadOnlySpan AwsBedrock => "aws.bedrock"u8; - - /// azure.ai.inference - public static ReadOnlySpan AzureAiInference => "azure.ai.inference"u8; - - /// azure.ai.openai - public static ReadOnlySpan AzureAiOpenai => "azure.ai.openai"u8; - - /// cohere - public static ReadOnlySpan Cohere => "cohere"u8; - - /// deepseek - public static ReadOnlySpan Deepseek => "deepseek"u8; - - /// gcp.gemini - public static ReadOnlySpan GcpGemini => "gcp.gemini"u8; - - /// gcp.gen_ai - public static ReadOnlySpan GcpGenAi => "gcp.gen_ai"u8; - - /// gcp.vertex_ai - public static ReadOnlySpan GcpVertexAi => "gcp.vertex_ai"u8; - - /// groq - public static ReadOnlySpan Groq => "groq"u8; - - /// ibm.watsonx.ai - public static ReadOnlySpan IbmWatsonxAi => "ibm.watsonx.ai"u8; - - /// mistral_ai - public static ReadOnlySpan MistralAi => "mistral_ai"u8; - - /// openai - public static ReadOnlySpan Openai => "openai"u8; - - /// perplexity - public static ReadOnlySpan Perplexity => "perplexity"u8; - - /// x_ai - public static ReadOnlySpan XAi => "x_ai"u8; - -} - -/// -/// UTF-8 enum values for gen.ai.system -/// -public static class GenAiSystemUtf8Values -{ - /// anthropic - public static ReadOnlySpan Anthropic => "anthropic"u8; - - /// aws.bedrock - public static ReadOnlySpan AwsBedrock => "aws.bedrock"u8; - - /// az.ai.inference - public static ReadOnlySpan AzAiInference => "az.ai.inference"u8; - - /// az.ai.openai - public static ReadOnlySpan AzAiOpenai => "az.ai.openai"u8; - - /// azure.ai.inference - public static ReadOnlySpan AzureAiInference => "azure.ai.inference"u8; - - /// azure.ai.openai - public static ReadOnlySpan AzureAiOpenai => "azure.ai.openai"u8; - - /// cohere - public static ReadOnlySpan Cohere => "cohere"u8; - - /// deepseek - public static ReadOnlySpan Deepseek => "deepseek"u8; - - /// gcp.gemini - public static ReadOnlySpan GcpGemini => "gcp.gemini"u8; - - /// gcp.gen_ai - public static ReadOnlySpan GcpGenAi => "gcp.gen_ai"u8; - - /// gcp.vertex_ai - public static ReadOnlySpan GcpVertexAi => "gcp.vertex_ai"u8; - - /// gemini - public static ReadOnlySpan Gemini => "gemini"u8; - - /// groq - public static ReadOnlySpan Groq => "groq"u8; - - /// ibm.watsonx.ai - public static ReadOnlySpan IbmWatsonxAi => "ibm.watsonx.ai"u8; - - /// mistral_ai - public static ReadOnlySpan MistralAi => "mistral_ai"u8; - - /// openai - public static ReadOnlySpan Openai => "openai"u8; - - /// perplexity - public static ReadOnlySpan Perplexity => "perplexity"u8; - - /// vertex_ai - public static ReadOnlySpan VertexAi => "vertex_ai"u8; - - /// xai - public static ReadOnlySpan Xai => "xai"u8; - -} - -/// -/// UTF-8 enum values for gen.ai.token.type -/// -public static class GenAiTokenTypeUtf8Values -{ - /// input - public static ReadOnlySpan Input => "input"u8; - - /// output - public static ReadOnlySpan Completion => "output"u8; - - /// output - public static ReadOnlySpan Output => "output"u8; - -} - -/// -/// UTF-8 enum values for geo.continent.code -/// -public static class GeoContinentCodeUtf8Values -{ - /// AF - public static ReadOnlySpan Af => "AF"u8; - - /// AN - public static ReadOnlySpan An => "AN"u8; - - /// AS - public static ReadOnlySpan As => "AS"u8; - - /// EU - public static ReadOnlySpan Eu => "EU"u8; - - /// NA - public static ReadOnlySpan Na => "NA"u8; - - /// OC - public static ReadOnlySpan Oc => "OC"u8; - - /// SA - public static ReadOnlySpan Sa => "SA"u8; - -} - -/// -/// UTF-8 enum values for host.arch -/// -public static class HostArchUtf8Values -{ - /// amd64 - public static ReadOnlySpan Amd64 => "amd64"u8; - - /// arm32 - public static ReadOnlySpan Arm32 => "arm32"u8; - - /// arm64 - public static ReadOnlySpan Arm64 => "arm64"u8; - - /// ia64 - public static ReadOnlySpan Ia64 => "ia64"u8; - - /// ppc32 - public static ReadOnlySpan Ppc32 => "ppc32"u8; - - /// ppc64 - public static ReadOnlySpan Ppc64 => "ppc64"u8; - - /// s390x - public static ReadOnlySpan S390x => "s390x"u8; - - /// x86 - public static ReadOnlySpan X86 => "x86"u8; - -} - -/// -/// UTF-8 enum values for http.connection.state -/// -public static class HttpConnectionStateUtf8Values -{ - /// active - public static ReadOnlySpan Active => "active"u8; - - /// idle - public static ReadOnlySpan Idle => "idle"u8; - -} - -/// -/// UTF-8 enum values for http.flavor -/// -public static class HttpFlavorUtf8Values -{ - /// 1.0 - public static ReadOnlySpan Http10 => "1.0"u8; - - /// 1.1 - public static ReadOnlySpan Http11 => "1.1"u8; - - /// 2.0 - public static ReadOnlySpan Http20 => "2.0"u8; - - /// 3.0 - public static ReadOnlySpan Http30 => "3.0"u8; - - /// QUIC - public static ReadOnlySpan Quic => "QUIC"u8; - - /// SPDY - public static ReadOnlySpan Spdy => "SPDY"u8; - -} - -/// -/// UTF-8 enum values for k8s.container.status.reason -/// -public static class K8sContainerStatusReasonUtf8Values -{ - /// Completed - public static ReadOnlySpan Completed => "Completed"u8; - - /// ContainerCannotRun - public static ReadOnlySpan ContainerCannotRun => "ContainerCannotRun"u8; - - /// ContainerCreating - public static ReadOnlySpan ContainerCreating => "ContainerCreating"u8; - - /// CrashLoopBackOff - public static ReadOnlySpan CrashLoopBackOff => "CrashLoopBackOff"u8; - - /// CreateContainerConfigError - public static ReadOnlySpan CreateContainerConfigError => "CreateContainerConfigError"u8; - - /// ErrImagePull - public static ReadOnlySpan ErrImagePull => "ErrImagePull"u8; - - /// Error - public static ReadOnlySpan Error => "Error"u8; - - /// ImagePullBackOff - public static ReadOnlySpan ImagePullBackOff => "ImagePullBackOff"u8; - - /// OOMKilled - public static ReadOnlySpan OomKilled => "OOMKilled"u8; - -} - -/// -/// UTF-8 enum values for k8s.container.status.state -/// -public static class K8sContainerStatusStateUtf8Values -{ - /// running - public static ReadOnlySpan Running => "running"u8; - - /// terminated - public static ReadOnlySpan Terminated => "terminated"u8; - - /// waiting - public static ReadOnlySpan Waiting => "waiting"u8; - -} - -/// -/// UTF-8 enum values for k8s.namespace.phase -/// -public static class K8sNamespacePhaseUtf8Values -{ - /// active - public static ReadOnlySpan Active => "active"u8; - - /// terminating - public static ReadOnlySpan Terminating => "terminating"u8; - -} - -/// -/// UTF-8 enum values for k8s.node.condition.status -/// -public static class K8sNodeConditionStatusUtf8Values -{ - /// false - public static ReadOnlySpan ConditionFalse => "false"u8; - - /// true - public static ReadOnlySpan ConditionTrue => "true"u8; - - /// unknown - public static ReadOnlySpan ConditionUnknown => "unknown"u8; - -} - -/// -/// UTF-8 enum values for k8s.node.condition.type -/// -public static class K8sNodeConditionTypeUtf8Values -{ - /// DiskPressure - public static ReadOnlySpan DiskPressure => "DiskPressure"u8; - - /// MemoryPressure - public static ReadOnlySpan MemoryPressure => "MemoryPressure"u8; - - /// NetworkUnavailable - public static ReadOnlySpan NetworkUnavailable => "NetworkUnavailable"u8; - - /// PIDPressure - public static ReadOnlySpan PidPressure => "PIDPressure"u8; - - /// Ready - public static ReadOnlySpan Ready => "Ready"u8; - -} - -/// -/// UTF-8 enum values for k8s.pod.status.phase -/// -public static class K8sPodStatusPhaseUtf8Values -{ - /// Failed - public static ReadOnlySpan Failed => "Failed"u8; - - /// Pending - public static ReadOnlySpan Pending => "Pending"u8; - - /// Running - public static ReadOnlySpan Running => "Running"u8; - - /// Succeeded - public static ReadOnlySpan Succeeded => "Succeeded"u8; - - /// Unknown - public static ReadOnlySpan Unknown => "Unknown"u8; - -} - -/// -/// UTF-8 enum values for k8s.pod.status.reason -/// -public static class K8sPodStatusReasonUtf8Values -{ - /// Evicted - public static ReadOnlySpan Evicted => "Evicted"u8; - - /// NodeAffinity - public static ReadOnlySpan NodeAffinity => "NodeAffinity"u8; - - /// NodeLost - public static ReadOnlySpan NodeLost => "NodeLost"u8; - - /// Shutdown - public static ReadOnlySpan Shutdown => "Shutdown"u8; - - /// UnexpectedAdmissionError - public static ReadOnlySpan UnexpectedAdmissionError => "UnexpectedAdmissionError"u8; - -} - -/// -/// UTF-8 enum values for k8s.volume.type -/// -public static class K8sVolumeTypeUtf8Values -{ - /// configMap - public static ReadOnlySpan ConfigMap => "configMap"u8; - - /// downwardAPI - public static ReadOnlySpan DownwardApi => "downwardAPI"u8; - - /// emptyDir - public static ReadOnlySpan EmptyDir => "emptyDir"u8; - - /// local - public static ReadOnlySpan Local => "local"u8; - - /// persistentVolumeClaim - public static ReadOnlySpan PersistentVolumeClaim => "persistentVolumeClaim"u8; - - /// secret - public static ReadOnlySpan Secret => "secret"u8; - -} - -/// -/// UTF-8 enum values for log.iostream -/// -public static class LogIostreamUtf8Values -{ - /// stderr - public static ReadOnlySpan Stderr => "stderr"u8; - - /// stdout - public static ReadOnlySpan Stdout => "stdout"u8; - -} - -/// -/// UTF-8 enum values for messaging.operation.type -/// -public static class MessagingOperationTypeUtf8Values -{ - /// create - public static ReadOnlySpan Create => "create"u8; - - /// deliver - public static ReadOnlySpan Deliver => "deliver"u8; - - /// process - public static ReadOnlySpan Process => "process"u8; - - /// publish - public static ReadOnlySpan Publish => "publish"u8; - - /// receive - public static ReadOnlySpan Receive => "receive"u8; - - /// send - public static ReadOnlySpan Send => "send"u8; - - /// settle - public static ReadOnlySpan Settle => "settle"u8; - -} - -/// -/// UTF-8 enum values for messaging.rocketmq.consumption.model -/// -public static class MessagingRocketmqConsumptionModelUtf8Values -{ - /// broadcasting - public static ReadOnlySpan Broadcasting => "broadcasting"u8; - - /// clustering - public static ReadOnlySpan Clustering => "clustering"u8; - -} - -/// -/// UTF-8 enum values for messaging.rocketmq.message.type -/// -public static class MessagingRocketmqMessageTypeUtf8Values -{ - /// delay - public static ReadOnlySpan Delay => "delay"u8; - - /// fifo - public static ReadOnlySpan Fifo => "fifo"u8; - - /// normal - public static ReadOnlySpan Normal => "normal"u8; - - /// transaction - public static ReadOnlySpan Transaction => "transaction"u8; - -} - -/// -/// UTF-8 enum values for messaging.servicebus.disposition.status -/// -public static class MessagingServicebusDispositionStatusUtf8Values -{ - /// abandon - public static ReadOnlySpan Abandon => "abandon"u8; - - /// complete - public static ReadOnlySpan Complete => "complete"u8; - - /// dead_letter - public static ReadOnlySpan DeadLetter => "dead_letter"u8; - - /// defer - public static ReadOnlySpan Defer => "defer"u8; - -} - -/// -/// UTF-8 enum values for messaging.system -/// -public static class MessagingSystemUtf8Values -{ - /// activemq - public static ReadOnlySpan Activemq => "activemq"u8; - - /// aws.sns - public static ReadOnlySpan AwsSns => "aws.sns"u8; - - /// aws_sqs - public static ReadOnlySpan AwsSqs => "aws_sqs"u8; - - /// eventgrid - public static ReadOnlySpan Eventgrid => "eventgrid"u8; - - /// eventhubs - public static ReadOnlySpan Eventhubs => "eventhubs"u8; - - /// gcp_pubsub - public static ReadOnlySpan GcpPubsub => "gcp_pubsub"u8; - - /// jms - public static ReadOnlySpan Jms => "jms"u8; - - /// kafka - public static ReadOnlySpan Kafka => "kafka"u8; - - /// pulsar - public static ReadOnlySpan Pulsar => "pulsar"u8; - - /// rabbitmq - public static ReadOnlySpan Rabbitmq => "rabbitmq"u8; - - /// rocketmq - public static ReadOnlySpan Rocketmq => "rocketmq"u8; - - /// servicebus - public static ReadOnlySpan Servicebus => "servicebus"u8; - -} - -/// -/// UTF-8 enum values for network.connection.state -/// -public static class NetworkConnectionStateUtf8Values -{ - /// close_wait - public static ReadOnlySpan CloseWait => "close_wait"u8; - - /// closed - public static ReadOnlySpan Closed => "closed"u8; - - /// closing - public static ReadOnlySpan Closing => "closing"u8; - - /// established - public static ReadOnlySpan Established => "established"u8; - - /// fin_wait_1 - public static ReadOnlySpan FinWait1 => "fin_wait_1"u8; - - /// fin_wait_2 - public static ReadOnlySpan FinWait2 => "fin_wait_2"u8; - - /// last_ack - public static ReadOnlySpan LastAck => "last_ack"u8; - - /// listen - public static ReadOnlySpan Listen => "listen"u8; - - /// syn_received - public static ReadOnlySpan SynReceived => "syn_received"u8; - - /// syn_sent - public static ReadOnlySpan SynSent => "syn_sent"u8; - - /// time_wait - public static ReadOnlySpan TimeWait => "time_wait"u8; - -} - -/// -/// UTF-8 enum values for network.connection.subtype -/// -public static class NetworkConnectionSubtypeUtf8Values -{ - /// cdma - public static ReadOnlySpan Cdma => "cdma"u8; - - /// cdma2000_1xrtt - public static ReadOnlySpan Cdma20001xrtt => "cdma2000_1xrtt"u8; - - /// edge - public static ReadOnlySpan Edge => "edge"u8; - - /// ehrpd - public static ReadOnlySpan Ehrpd => "ehrpd"u8; - - /// evdo_0 - public static ReadOnlySpan Evdo0 => "evdo_0"u8; - - /// evdo_a - public static ReadOnlySpan EvdoA => "evdo_a"u8; - - /// evdo_b - public static ReadOnlySpan EvdoB => "evdo_b"u8; - - /// gprs - public static ReadOnlySpan Gprs => "gprs"u8; - - /// gsm - public static ReadOnlySpan Gsm => "gsm"u8; - - /// hsdpa - public static ReadOnlySpan Hsdpa => "hsdpa"u8; - - /// hspa - public static ReadOnlySpan Hspa => "hspa"u8; - - /// hspap - public static ReadOnlySpan Hspap => "hspap"u8; - - /// hsupa - public static ReadOnlySpan Hsupa => "hsupa"u8; - - /// iden - public static ReadOnlySpan Iden => "iden"u8; - - /// iwlan - public static ReadOnlySpan Iwlan => "iwlan"u8; - - /// lte - public static ReadOnlySpan Lte => "lte"u8; - - /// lte_ca - public static ReadOnlySpan LteCa => "lte_ca"u8; - - /// nr - public static ReadOnlySpan Nr => "nr"u8; - - /// nrnsa - public static ReadOnlySpan Nrnsa => "nrnsa"u8; - - /// td_scdma - public static ReadOnlySpan TdScdma => "td_scdma"u8; - - /// umts - public static ReadOnlySpan Umts => "umts"u8; - -} - -/// -/// UTF-8 enum values for network.connection.type -/// -public static class NetworkConnectionTypeUtf8Values -{ - /// cell - public static ReadOnlySpan Cell => "cell"u8; - - /// unavailable - public static ReadOnlySpan Unavailable => "unavailable"u8; - - /// unknown - public static ReadOnlySpan Unknown => "unknown"u8; - - /// wifi - public static ReadOnlySpan Wifi => "wifi"u8; - - /// wired - public static ReadOnlySpan Wired => "wired"u8; - -} - -/// -/// UTF-8 enum values for network.io.direction -/// -public static class NetworkIoDirectionUtf8Values -{ - /// receive - public static ReadOnlySpan Receive => "receive"u8; - - /// transmit - public static ReadOnlySpan Transmit => "transmit"u8; - -} - -/// -/// UTF-8 enum values for os.type -/// -public static class OsTypeUtf8Values -{ - /// aix - public static ReadOnlySpan Aix => "aix"u8; - - /// darwin - public static ReadOnlySpan Darwin => "darwin"u8; - - /// dragonflybsd - public static ReadOnlySpan Dragonflybsd => "dragonflybsd"u8; - - /// freebsd - public static ReadOnlySpan Freebsd => "freebsd"u8; - - /// hpux - public static ReadOnlySpan Hpux => "hpux"u8; - - /// linux - public static ReadOnlySpan Linux => "linux"u8; - - /// netbsd - public static ReadOnlySpan Netbsd => "netbsd"u8; - - /// openbsd - public static ReadOnlySpan Openbsd => "openbsd"u8; - - /// solaris - public static ReadOnlySpan Solaris => "solaris"u8; - - /// windows - public static ReadOnlySpan Windows => "windows"u8; - - /// z_os - public static ReadOnlySpan ZOs => "z_os"u8; - - /// zos - public static ReadOnlySpan Zos => "zos"u8; - -} - -/// -/// UTF-8 enum values for otel.component.type -/// -public static class OtelComponentTypeUtf8Values -{ - /// batching_log_processor - public static ReadOnlySpan BatchingLogProcessor => "batching_log_processor"u8; - - /// batching_span_processor - public static ReadOnlySpan BatchingSpanProcessor => "batching_span_processor"u8; - - /// otlp_grpc_log_exporter - public static ReadOnlySpan OtlpGrpcLogExporter => "otlp_grpc_log_exporter"u8; - - /// otlp_grpc_metric_exporter - public static ReadOnlySpan OtlpGrpcMetricExporter => "otlp_grpc_metric_exporter"u8; - - /// otlp_grpc_span_exporter - public static ReadOnlySpan OtlpGrpcSpanExporter => "otlp_grpc_span_exporter"u8; - - /// otlp_http_json_log_exporter - public static ReadOnlySpan OtlpHttpJsonLogExporter => "otlp_http_json_log_exporter"u8; - - /// otlp_http_json_metric_exporter - public static ReadOnlySpan OtlpHttpJsonMetricExporter => "otlp_http_json_metric_exporter"u8; - - /// otlp_http_json_span_exporter - public static ReadOnlySpan OtlpHttpJsonSpanExporter => "otlp_http_json_span_exporter"u8; - - /// otlp_http_log_exporter - public static ReadOnlySpan OtlpHttpLogExporter => "otlp_http_log_exporter"u8; - - /// otlp_http_metric_exporter - public static ReadOnlySpan OtlpHttpMetricExporter => "otlp_http_metric_exporter"u8; - - /// otlp_http_span_exporter - public static ReadOnlySpan OtlpHttpSpanExporter => "otlp_http_span_exporter"u8; - - /// periodic_metric_reader - public static ReadOnlySpan PeriodicMetricReader => "periodic_metric_reader"u8; - - /// prometheus_http_text_metric_exporter - public static ReadOnlySpan PrometheusHttpTextMetricExporter => "prometheus_http_text_metric_exporter"u8; - - /// simple_log_processor - public static ReadOnlySpan SimpleLogProcessor => "simple_log_processor"u8; - - /// simple_span_processor - public static ReadOnlySpan SimpleSpanProcessor => "simple_span_processor"u8; - - /// zipkin_http_span_exporter - public static ReadOnlySpan ZipkinHttpSpanExporter => "zipkin_http_span_exporter"u8; - -} - -/// -/// UTF-8 enum values for otel.span.parent.origin -/// -public static class OtelSpanParentOriginUtf8Values -{ - /// local - public static ReadOnlySpan Local => "local"u8; - - /// none - public static ReadOnlySpan None => "none"u8; - - /// remote - public static ReadOnlySpan Remote => "remote"u8; - -} - -/// -/// UTF-8 enum values for otel.span.sampling.result -/// -public static class OtelSpanSamplingResultUtf8Values -{ - /// DROP - public static ReadOnlySpan Drop => "DROP"u8; - - /// RECORD_AND_SAMPLE - public static ReadOnlySpan RecordAndSample => "RECORD_AND_SAMPLE"u8; - - /// RECORD_ONLY - public static ReadOnlySpan RecordOnly => "RECORD_ONLY"u8; - -} - -/// -/// UTF-8 enum values for process.context.switch.type -/// -public static class ProcessContextSwitchTypeUtf8Values -{ - /// involuntary - public static ReadOnlySpan Involuntary => "involuntary"u8; - - /// voluntary - public static ReadOnlySpan Voluntary => "voluntary"u8; - -} - -/// -/// UTF-8 enum values for process.cpu.state -/// -public static class ProcessCpuStateUtf8Values -{ - /// system - public static ReadOnlySpan System => "system"u8; - - /// user - public static ReadOnlySpan User => "user"u8; - - /// wait - public static ReadOnlySpan Wait => "wait"u8; - -} - -/// -/// UTF-8 enum values for process.paging.fault.type -/// -public static class ProcessPagingFaultTypeUtf8Values -{ - /// major - public static ReadOnlySpan Major => "major"u8; - - /// minor - public static ReadOnlySpan Minor => "minor"u8; - -} - -/// -/// UTF-8 enum values for process.state -/// -public static class ProcessStateUtf8Values -{ - /// defunct - public static ReadOnlySpan Defunct => "defunct"u8; - - /// running - public static ReadOnlySpan Running => "running"u8; - - /// sleeping - public static ReadOnlySpan Sleeping => "sleeping"u8; - - /// stopped - public static ReadOnlySpan Stopped => "stopped"u8; - -} - -/// -/// UTF-8 enum values for rpc.connect.rpc.error.code -/// -public static class RpcConnectRpcErrorCodeUtf8Values -{ - /// aborted - public static ReadOnlySpan Aborted => "aborted"u8; - - /// already_exists - public static ReadOnlySpan AlreadyExists => "already_exists"u8; - - /// cancelled - public static ReadOnlySpan Cancelled => "cancelled"u8; - - /// data_loss - public static ReadOnlySpan DataLoss => "data_loss"u8; - - /// deadline_exceeded - public static ReadOnlySpan DeadlineExceeded => "deadline_exceeded"u8; - - /// failed_precondition - public static ReadOnlySpan FailedPrecondition => "failed_precondition"u8; - - /// internal - public static ReadOnlySpan Internal => "internal"u8; - - /// invalid_argument - public static ReadOnlySpan InvalidArgument => "invalid_argument"u8; - - /// not_found - public static ReadOnlySpan NotFound => "not_found"u8; - - /// out_of_range - public static ReadOnlySpan OutOfRange => "out_of_range"u8; - - /// permission_denied - public static ReadOnlySpan PermissionDenied => "permission_denied"u8; - - /// resource_exhausted - public static ReadOnlySpan ResourceExhausted => "resource_exhausted"u8; - - /// unauthenticated - public static ReadOnlySpan Unauthenticated => "unauthenticated"u8; - - /// unavailable - public static ReadOnlySpan Unavailable => "unavailable"u8; - - /// unimplemented - public static ReadOnlySpan Unimplemented => "unimplemented"u8; - - /// unknown - public static ReadOnlySpan Unknown => "unknown"u8; - -} - -/// -/// UTF-8 enum values for rpc.message.type -/// -public static class RpcMessageTypeUtf8Values -{ - /// RECEIVED - public static ReadOnlySpan Received => "RECEIVED"u8; - - /// SENT - public static ReadOnlySpan Sent => "SENT"u8; - -} - -/// -/// UTF-8 enum values for rpc.system -/// -public static class RpcSystemUtf8Values -{ - /// apache_dubbo - public static ReadOnlySpan ApacheDubbo => "apache_dubbo"u8; - - /// connect_rpc - public static ReadOnlySpan ConnectRpc => "connect_rpc"u8; - - /// dotnet_wcf - public static ReadOnlySpan DotnetWcf => "dotnet_wcf"u8; - - /// grpc - public static ReadOnlySpan Grpc => "grpc"u8; - - /// java_rmi - public static ReadOnlySpan JavaRmi => "java_rmi"u8; - - /// jsonrpc - public static ReadOnlySpan Jsonrpc => "jsonrpc"u8; - - /// onc_rpc - public static ReadOnlySpan OncRpc => "onc_rpc"u8; - -} - -/// -/// UTF-8 enum values for rpc.system.name -/// -public static class RpcSystemNameUtf8Values -{ - /// connectrpc - public static ReadOnlySpan Connectrpc => "connectrpc"u8; - - /// dubbo - public static ReadOnlySpan Dubbo => "dubbo"u8; - - /// grpc - public static ReadOnlySpan Grpc => "grpc"u8; - - /// jsonrpc - public static ReadOnlySpan Jsonrpc => "jsonrpc"u8; - -} - -/// -/// UTF-8 enum values for system.cpu.state -/// -public static class SystemCpuStateUtf8Values -{ - /// idle - public static ReadOnlySpan Idle => "idle"u8; - - /// interrupt - public static ReadOnlySpan Interrupt => "interrupt"u8; - - /// iowait - public static ReadOnlySpan Iowait => "iowait"u8; - - /// nice - public static ReadOnlySpan Nice => "nice"u8; - - /// steal - public static ReadOnlySpan Steal => "steal"u8; - - /// system - public static ReadOnlySpan System => "system"u8; - - /// user - public static ReadOnlySpan User => "user"u8; - -} - -/// -/// UTF-8 enum values for system.filesystem.state -/// -public static class SystemFilesystemStateUtf8Values -{ - /// free - public static ReadOnlySpan Free => "free"u8; - - /// reserved - public static ReadOnlySpan Reserved => "reserved"u8; - - /// used - public static ReadOnlySpan Used => "used"u8; - -} - -/// -/// UTF-8 enum values for system.filesystem.type -/// -public static class SystemFilesystemTypeUtf8Values -{ - /// exfat - public static ReadOnlySpan Exfat => "exfat"u8; - - /// ext4 - public static ReadOnlySpan Ext4 => "ext4"u8; - - /// fat32 - public static ReadOnlySpan Fat32 => "fat32"u8; - - /// hfsplus - public static ReadOnlySpan Hfsplus => "hfsplus"u8; - - /// ntfs - public static ReadOnlySpan Ntfs => "ntfs"u8; - - /// refs - public static ReadOnlySpan Refs => "refs"u8; - -} - -/// -/// UTF-8 enum values for system.memory.linux.slab.state -/// -public static class SystemMemoryLinuxSlabStateUtf8Values -{ - /// reclaimable - public static ReadOnlySpan Reclaimable => "reclaimable"u8; - - /// unreclaimable - public static ReadOnlySpan Unreclaimable => "unreclaimable"u8; - -} - -/// -/// UTF-8 enum values for system.memory.state -/// -public static class SystemMemoryStateUtf8Values -{ - /// buffers - public static ReadOnlySpan Buffers => "buffers"u8; - - /// cached - public static ReadOnlySpan Cached => "cached"u8; - - /// free - public static ReadOnlySpan Free => "free"u8; - - /// shared - public static ReadOnlySpan Shared => "shared"u8; - - /// used - public static ReadOnlySpan Used => "used"u8; - -} - -/// -/// UTF-8 enum values for system.network.state -/// -public static class SystemNetworkStateUtf8Values -{ - /// close - public static ReadOnlySpan Close => "close"u8; - - /// close_wait - public static ReadOnlySpan CloseWait => "close_wait"u8; - - /// closing - public static ReadOnlySpan Closing => "closing"u8; - - /// delete - public static ReadOnlySpan Delete => "delete"u8; - - /// established - public static ReadOnlySpan Established => "established"u8; - - /// fin_wait_1 - public static ReadOnlySpan FinWait1 => "fin_wait_1"u8; - - /// fin_wait_2 - public static ReadOnlySpan FinWait2 => "fin_wait_2"u8; - - /// last_ack - public static ReadOnlySpan LastAck => "last_ack"u8; - - /// listen - public static ReadOnlySpan Listen => "listen"u8; - - /// syn_recv - public static ReadOnlySpan SynRecv => "syn_recv"u8; - - /// syn_sent - public static ReadOnlySpan SynSent => "syn_sent"u8; - - /// time_wait - public static ReadOnlySpan TimeWait => "time_wait"u8; - -} - -/// -/// UTF-8 enum values for system.paging.direction -/// -public static class SystemPagingDirectionUtf8Values -{ - /// in - public static ReadOnlySpan In => "in"u8; - - /// out - public static ReadOnlySpan Out => "out"u8; - -} - -/// -/// UTF-8 enum values for system.paging.fault.type -/// -public static class SystemPagingFaultTypeUtf8Values -{ - /// major - public static ReadOnlySpan Major => "major"u8; - - /// minor - public static ReadOnlySpan Minor => "minor"u8; - -} - -/// -/// UTF-8 enum values for system.paging.state -/// -public static class SystemPagingStateUtf8Values -{ - /// free - public static ReadOnlySpan Free => "free"u8; - - /// used - public static ReadOnlySpan Used => "used"u8; - -} - -/// -/// UTF-8 enum values for system.paging.type -/// -public static class SystemPagingTypeUtf8Values -{ - /// major - public static ReadOnlySpan Major => "major"u8; - - /// minor - public static ReadOnlySpan Minor => "minor"u8; - -} - -/// -/// UTF-8 enum values for system.process.status -/// -public static class SystemProcessStatusUtf8Values -{ - /// defunct - public static ReadOnlySpan Defunct => "defunct"u8; - - /// running - public static ReadOnlySpan Running => "running"u8; - - /// sleeping - public static ReadOnlySpan Sleeping => "sleeping"u8; - - /// stopped - public static ReadOnlySpan Stopped => "stopped"u8; - -} - -/// -/// UTF-8 enum values for system.processes.status -/// -public static class SystemProcessesStatusUtf8Values -{ - /// defunct - public static ReadOnlySpan Defunct => "defunct"u8; - - /// running - public static ReadOnlySpan Running => "running"u8; - - /// sleeping - public static ReadOnlySpan Sleeping => "sleeping"u8; - - /// stopped - public static ReadOnlySpan Stopped => "stopped"u8; - -} - -/// -/// UTF-8 enum values for test.case.result.status -/// -public static class TestCaseResultStatusUtf8Values -{ - /// fail - public static ReadOnlySpan Fail => "fail"u8; - - /// pass - public static ReadOnlySpan Pass => "pass"u8; - -} - -/// -/// UTF-8 enum values for test.suite.run.status -/// -public static class TestSuiteRunStatusUtf8Values -{ - /// aborted - public static ReadOnlySpan Aborted => "aborted"u8; - - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// in_progress - public static ReadOnlySpan InProgress => "in_progress"u8; - - /// skipped - public static ReadOnlySpan Skipped => "skipped"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - - /// timed_out - public static ReadOnlySpan TimedOut => "timed_out"u8; - -} - -/// -/// UTF-8 enum values for tls.protocol.name -/// -public static class TlsProtocolNameUtf8Values -{ - /// ssl - public static ReadOnlySpan Ssl => "ssl"u8; - - /// tls - public static ReadOnlySpan Tls => "tls"u8; - -} - -/// -/// UTF-8 enum values for user.agent.synthetic.type -/// -public static class UserAgentSyntheticTypeUtf8Values -{ - /// bot - public static ReadOnlySpan Bot => "bot"u8; - - /// test - public static ReadOnlySpan Test => "test"u8; - -} - -/// -/// UTF-8 enum values for vcs.change.state -/// -public static class VcsChangeStateUtf8Values -{ - /// closed - public static ReadOnlySpan Closed => "closed"u8; - - /// merged - public static ReadOnlySpan Merged => "merged"u8; - - /// open - public static ReadOnlySpan Open => "open"u8; - - /// wip - public static ReadOnlySpan Wip => "wip"u8; - -} - -/// -/// UTF-8 enum values for vcs.line.change.type -/// -public static class VcsLineChangeTypeUtf8Values -{ - /// added - public static ReadOnlySpan Added => "added"u8; - - /// removed - public static ReadOnlySpan Removed => "removed"u8; - -} - -/// -/// UTF-8 enum values for vcs.provider.name -/// -public static class VcsProviderNameUtf8Values -{ - /// bitbucket - public static ReadOnlySpan Bitbucket => "bitbucket"u8; - - /// gitea - public static ReadOnlySpan Gitea => "gitea"u8; - - /// github - public static ReadOnlySpan Github => "github"u8; - - /// gitlab - public static ReadOnlySpan Gitlab => "gitlab"u8; - - /// gittea - public static ReadOnlySpan Gittea => "gittea"u8; - -} - -/// -/// UTF-8 enum values for vcs.ref.base.type -/// -public static class VcsRefBaseTypeUtf8Values -{ - /// branch - public static ReadOnlySpan Branch => "branch"u8; - - /// tag - public static ReadOnlySpan Tag => "tag"u8; - -} - -/// -/// UTF-8 enum values for vcs.ref.head.type -/// -public static class VcsRefHeadTypeUtf8Values -{ - /// branch - public static ReadOnlySpan Branch => "branch"u8; - - /// tag - public static ReadOnlySpan Tag => "tag"u8; - -} - -/// -/// UTF-8 enum values for vcs.ref.type -/// -public static class VcsRefTypeUtf8Values -{ - /// branch - public static ReadOnlySpan Branch => "branch"u8; - - /// tag - public static ReadOnlySpan Tag => "tag"u8; - -} - -/// -/// UTF-8 enum values for vcs.repository.ref.type -/// -public static class VcsRepositoryRefTypeUtf8Values -{ - /// branch - public static ReadOnlySpan Branch => "branch"u8; - - /// tag - public static ReadOnlySpan Tag => "tag"u8; - -} - -/// -/// UTF-8 enum values for vcs.revision.delta.direction -/// -public static class VcsRevisionDeltaDirectionUtf8Values -{ - /// ahead - public static ReadOnlySpan Ahead => "ahead"u8; - - /// behind - public static ReadOnlySpan Behind => "behind"u8; - -} diff --git a/src/qyl.dashboard/src/lib/semconv.ts b/src/qyl.dashboard/src/lib/semconv.ts index 64ebdce13..01f0bc5cc 100644 --- a/src/qyl.dashboard/src/lib/semconv.ts +++ b/src/qyl.dashboard/src/lib/semconv.ts @@ -1377,1108 +1377,1108 @@ export const WEBENGINE_VERSION = "webengine.version"; // Enum values export const AspnetcoreAuthenticationResultValues = { - Failure: "failure", - None: "none", - Success: "success", + Failure: "failure", + None: "none", + Success: "success", } as const; export const AspnetcoreAuthorizationResultValues = { - Failure: "failure", - Success: "success", + Failure: "failure", + Success: "success", } as const; export const AspnetcoreIdentityPasswordCheckResultValues = { - Failure: "failure", - PasswordMissing: "password_missing", - Success: "success", - SuccessRehashNeeded: "success_rehash_needed", - UserMissing: "user_missing", + Failure: "failure", + PasswordMissing: "password_missing", + Success: "success", + SuccessRehashNeeded: "success_rehash_needed", + UserMissing: "user_missing", } as const; export const AspnetcoreIdentityResultValues = { - Failure: "failure", - Success: "success", + Failure: "failure", + Success: "success", } as const; export const AspnetcoreIdentitySignInResultValues = { - Failure: "failure", - LockedOut: "locked_out", - NotAllowed: "not_allowed", - RequiresTwoFactor: "requires_two_factor", - Success: "success", + Failure: "failure", + LockedOut: "locked_out", + NotAllowed: "not_allowed", + RequiresTwoFactor: "requires_two_factor", + Success: "success", } as const; export const AspnetcoreIdentitySignInTypeValues = { - External: "external", - Passkey: "passkey", - Password: "password", - TwoFactor: "two_factor", - TwoFactorAuthenticator: "two_factor_authenticator", - TwoFactorRecoveryCode: "two_factor_recovery_code", + External: "external", + Passkey: "passkey", + Password: "password", + TwoFactor: "two_factor", + TwoFactorAuthenticator: "two_factor_authenticator", + TwoFactorRecoveryCode: "two_factor_recovery_code", } as const; export const AspnetcoreIdentityTokenPurposeValues = { - Other: "_OTHER", - ChangeEmail: "change_email", - ChangePhoneNumber: "change_phone_number", - EmailConfirmation: "email_confirmation", - ResetPassword: "reset_password", - TwoFactor: "two_factor", + Other: "_OTHER", + ChangeEmail: "change_email", + ChangePhoneNumber: "change_phone_number", + EmailConfirmation: "email_confirmation", + ResetPassword: "reset_password", + TwoFactor: "two_factor", } as const; export const AspnetcoreIdentityTokenVerifiedValues = { - Failure: "failure", - Success: "success", + Failure: "failure", + Success: "success", } as const; export const AspnetcoreIdentityUserUpdateTypeValues = { - Other: "_OTHER", - AccessFailed: "access_failed", - AddClaims: "add_claims", - AddLogin: "add_login", - AddPassword: "add_password", - AddToRoles: "add_to_roles", - ChangeEmail: "change_email", - ChangePassword: "change_password", - ChangePhoneNumber: "change_phone_number", - ConfirmEmail: "confirm_email", - GenerateNewTwoFactorRecoveryCodes: "generate_new_two_factor_recovery_codes", - PasswordRehash: "password_rehash", - RedeemTwoFactorRecoveryCode: "redeem_two_factor_recovery_code", - RemoveAuthenticationToken: "remove_authentication_token", - RemoveClaims: "remove_claims", - RemoveFromRoles: "remove_from_roles", - RemoveLogin: "remove_login", - RemovePasskey: "remove_passkey", - RemovePassword: "remove_password", - ReplaceClaim: "replace_claim", - ResetAccessFailedCount: "reset_access_failed_count", - ResetAuthenticatorKey: "reset_authenticator_key", - ResetPassword: "reset_password", - SecurityStamp: "security_stamp", - SetAuthenticationToken: "set_authentication_token", - SetEmail: "set_email", - SetLockoutEnabled: "set_lockout_enabled", - SetLockoutEndDate: "set_lockout_end_date", - SetPasskey: "set_passkey", - SetPhoneNumber: "set_phone_number", - SetTwoFactorEnabled: "set_two_factor_enabled", - Update: "update", - UserName: "user_name", + Other: "_OTHER", + AccessFailed: "access_failed", + AddClaims: "add_claims", + AddLogin: "add_login", + AddPassword: "add_password", + AddToRoles: "add_to_roles", + ChangeEmail: "change_email", + ChangePassword: "change_password", + ChangePhoneNumber: "change_phone_number", + ConfirmEmail: "confirm_email", + GenerateNewTwoFactorRecoveryCodes: "generate_new_two_factor_recovery_codes", + PasswordRehash: "password_rehash", + RedeemTwoFactorRecoveryCode: "redeem_two_factor_recovery_code", + RemoveAuthenticationToken: "remove_authentication_token", + RemoveClaims: "remove_claims", + RemoveFromRoles: "remove_from_roles", + RemoveLogin: "remove_login", + RemovePasskey: "remove_passkey", + RemovePassword: "remove_password", + ReplaceClaim: "replace_claim", + ResetAccessFailedCount: "reset_access_failed_count", + ResetAuthenticatorKey: "reset_authenticator_key", + ResetPassword: "reset_password", + SecurityStamp: "security_stamp", + SetAuthenticationToken: "set_authentication_token", + SetEmail: "set_email", + SetLockoutEnabled: "set_lockout_enabled", + SetLockoutEndDate: "set_lockout_end_date", + SetPasskey: "set_passkey", + SetPhoneNumber: "set_phone_number", + SetTwoFactorEnabled: "set_two_factor_enabled", + Update: "update", + UserName: "user_name", } as const; export const AzureCosmosdbConnectionModeValues = { - Direct: "direct", - Gateway: "gateway", + Direct: "direct", + Gateway: "gateway", } as const; export const AzureCosmosdbConsistencyLevelValues = { - BoundedStaleness: "BoundedStaleness", - ConsistentPrefix: "ConsistentPrefix", - Eventual: "Eventual", - Session: "Session", - Strong: "Strong", + BoundedStaleness: "BoundedStaleness", + ConsistentPrefix: "ConsistentPrefix", + Eventual: "Eventual", + Session: "Session", + Strong: "Strong", } as const; export const CicdPipelineActionNameValues = { - Build: "BUILD", - Run: "RUN", - Sync: "SYNC", + Build: "BUILD", + Run: "RUN", + Sync: "SYNC", } as const; export const CicdPipelineResultValues = { - Cancellation: "cancellation", - Error: "error", - Failure: "failure", - Skip: "skip", - Success: "success", - Timeout: "timeout", + Cancellation: "cancellation", + Error: "error", + Failure: "failure", + Skip: "skip", + Success: "success", + Timeout: "timeout", } as const; export const CicdPipelineRunStateValues = { - Executing: "executing", - Finalizing: "finalizing", - Pending: "pending", + Executing: "executing", + Finalizing: "finalizing", + Pending: "pending", } as const; export const CicdPipelineTaskRunResultValues = { - Cancellation: "cancellation", - Error: "error", - Failure: "failure", - Skip: "skip", - Success: "success", - Timeout: "timeout", + Cancellation: "cancellation", + Error: "error", + Failure: "failure", + Skip: "skip", + Success: "success", + Timeout: "timeout", } as const; export const CicdPipelineTaskTypeValues = { - Build: "build", - Deploy: "deploy", - Test: "test", + Build: "build", + Deploy: "deploy", + Test: "test", } as const; export const CicdWorkerStateValues = { - Available: "available", - Busy: "busy", - Offline: "offline", + Available: "available", + Busy: "busy", + Offline: "offline", } as const; export const CloudPlatformValues = { - AkamaiCloudCompute: "akamai_cloud.compute", - AlibabaCloudEcs: "alibaba_cloud_ecs", - AlibabaCloudFc: "alibaba_cloud_fc", - AlibabaCloudOpenshift: "alibaba_cloud_openshift", - AwsAppRunner: "aws_app_runner", - AwsEc2: "aws_ec2", - AwsEcs: "aws_ecs", - AwsEks: "aws_eks", - AwsElasticBeanstalk: "aws_elastic_beanstalk", - AwsLambda: "aws_lambda", - AwsOpenshift: "aws_openshift", - AzureAks: "azure.aks", - AzureAppService: "azure.app_service", - AzureContainerApps: "azure.container_apps", - AzureContainerInstances: "azure.container_instances", - AzureFunctions: "azure.functions", - AzureOpenshift: "azure.openshift", - AzureVm: "azure.vm", - GcpAgentEngine: "gcp.agent_engine", - GcpAppEngine: "gcp_app_engine", - GcpBareMetalSolution: "gcp_bare_metal_solution", - GcpCloudFunctions: "gcp_cloud_functions", - GcpCloudRun: "gcp_cloud_run", - GcpComputeEngine: "gcp_compute_engine", - GcpKubernetesEngine: "gcp_kubernetes_engine", - GcpOpenshift: "gcp_openshift", - HetznerCloudServer: "hetzner.cloud_server", - IbmCloudOpenshift: "ibm_cloud_openshift", - OracleCloudCompute: "oracle_cloud_compute", - OracleCloudOke: "oracle_cloud_oke", - TencentCloudCvm: "tencent_cloud_cvm", - TencentCloudEks: "tencent_cloud_eks", - TencentCloudScf: "tencent_cloud_scf", - VultrCloudCompute: "vultr.cloud_compute", + AkamaiCloudCompute: "akamai_cloud.compute", + AlibabaCloudEcs: "alibaba_cloud_ecs", + AlibabaCloudFc: "alibaba_cloud_fc", + AlibabaCloudOpenshift: "alibaba_cloud_openshift", + AwsAppRunner: "aws_app_runner", + AwsEc2: "aws_ec2", + AwsEcs: "aws_ecs", + AwsEks: "aws_eks", + AwsElasticBeanstalk: "aws_elastic_beanstalk", + AwsLambda: "aws_lambda", + AwsOpenshift: "aws_openshift", + AzureAks: "azure.aks", + AzureAppService: "azure.app_service", + AzureContainerApps: "azure.container_apps", + AzureContainerInstances: "azure.container_instances", + AzureFunctions: "azure.functions", + AzureOpenshift: "azure.openshift", + AzureVm: "azure.vm", + GcpAgentEngine: "gcp.agent_engine", + GcpAppEngine: "gcp_app_engine", + GcpBareMetalSolution: "gcp_bare_metal_solution", + GcpCloudFunctions: "gcp_cloud_functions", + GcpCloudRun: "gcp_cloud_run", + GcpComputeEngine: "gcp_compute_engine", + GcpKubernetesEngine: "gcp_kubernetes_engine", + GcpOpenshift: "gcp_openshift", + HetznerCloudServer: "hetzner.cloud_server", + IbmCloudOpenshift: "ibm_cloud_openshift", + OracleCloudCompute: "oracle_cloud_compute", + OracleCloudOke: "oracle_cloud_oke", + TencentCloudCvm: "tencent_cloud_cvm", + TencentCloudEks: "tencent_cloud_eks", + TencentCloudScf: "tencent_cloud_scf", + VultrCloudCompute: "vultr.cloud_compute", } as const; export const CloudProviderValues = { - AkamaiCloud: "akamai_cloud", - AlibabaCloud: "alibaba_cloud", - Aws: "aws", - Azure: "azure", - Gcp: "gcp", - Heroku: "heroku", - Hetzner: "hetzner", - IbmCloud: "ibm_cloud", - OracleCloud: "oracle_cloud", - TencentCloud: "tencent_cloud", - Vultr: "vultr", + AkamaiCloud: "akamai_cloud", + AlibabaCloud: "alibaba_cloud", + Aws: "aws", + Azure: "azure", + Gcp: "gcp", + Heroku: "heroku", + Hetzner: "hetzner", + IbmCloud: "ibm_cloud", + OracleCloud: "oracle_cloud", + TencentCloud: "tencent_cloud", + Vultr: "vultr", } as const; export const ContainerCpuStateValues = { - Kernel: "kernel", - System: "system", - User: "user", + Kernel: "kernel", + System: "system", + User: "user", } as const; export const CpuModeValues = { - System: "system", - User: "user", + System: "system", + User: "user", } as const; export const DbCassandraConsistencyLevelValues = { - All: "all", - Any: "any", - EachQuorum: "each_quorum", - LocalOne: "local_one", - LocalQuorum: "local_quorum", - LocalSerial: "local_serial", - One: "one", - Quorum: "quorum", - Serial: "serial", - Three: "three", - Two: "two", + All: "all", + Any: "any", + EachQuorum: "each_quorum", + LocalOne: "local_one", + LocalQuorum: "local_quorum", + LocalSerial: "local_serial", + One: "one", + Quorum: "quorum", + Serial: "serial", + Three: "three", + Two: "two", } as const; export const DbClientConnectionStateValues = { - Idle: "idle", - Used: "used", + Idle: "idle", + Used: "used", } as const; export const DbClientConnectionsStateValues = { - Idle: "idle", - Used: "used", + Idle: "idle", + Used: "used", } as const; export const DbCosmosdbConnectionModeValues = { - Direct: "direct", - Gateway: "gateway", + Direct: "direct", + Gateway: "gateway", } as const; export const DbCosmosdbConsistencyLevelValues = { - BoundedStaleness: "BoundedStaleness", - ConsistentPrefix: "ConsistentPrefix", - Eventual: "Eventual", - Session: "Session", - Strong: "Strong", + BoundedStaleness: "BoundedStaleness", + ConsistentPrefix: "ConsistentPrefix", + Eventual: "Eventual", + Session: "Session", + Strong: "Strong", } as const; export const DbCosmosdbOperationTypeValues = { - Batch: "batch", - Create: "create", - Delete: "delete", - Execute: "execute", - ExecuteJavascript: "execute_javascript", - Head: "head", - HeadFeed: "head_feed", - Invalid: "invalid", - Patch: "patch", - Query: "query", - QueryPlan: "query_plan", - Read: "read", - ReadFeed: "read_feed", - Replace: "replace", - Upsert: "upsert", + Batch: "batch", + Create: "create", + Delete: "delete", + Execute: "execute", + ExecuteJavascript: "execute_javascript", + Head: "head", + HeadFeed: "head_feed", + Invalid: "invalid", + Patch: "patch", + Query: "query", + QueryPlan: "query_plan", + Read: "read", + ReadFeed: "read_feed", + Replace: "replace", + Upsert: "upsert", } as const; export const DbSystemValues = { - Adabas: "adabas", - Cache: "cache", - Cassandra: "cassandra", - Clickhouse: "clickhouse", - Cloudscape: "cloudscape", - Cockroachdb: "cockroachdb", - Coldfusion: "coldfusion", - Cosmosdb: "cosmosdb", - Couchbase: "couchbase", - Couchdb: "couchdb", - Db2: "db2", - Derby: "derby", - Dynamodb: "dynamodb", - Edb: "edb", - Elasticsearch: "elasticsearch", - Filemaker: "filemaker", - Firebird: "firebird", - Firstsql: "firstsql", - Geode: "geode", - H2: "h2", - Hanadb: "hanadb", - Hbase: "hbase", - Hive: "hive", - Hsqldb: "hsqldb", - Influxdb: "influxdb", - Informix: "informix", - Ingres: "ingres", - Instantdb: "instantdb", - Interbase: "interbase", - IntersystemsCache: "intersystems_cache", - Mariadb: "mariadb", - Maxdb: "maxdb", - Memcached: "memcached", - Mongodb: "mongodb", - Mssql: "mssql", - Mssqlcompact: "mssqlcompact", - Mysql: "mysql", - Neo4j: "neo4j", - Netezza: "netezza", - Opensearch: "opensearch", - Oracle: "oracle", - OtherSql: "other_sql", - Pervasive: "pervasive", - Pointbase: "pointbase", - Postgresql: "postgresql", - Progress: "progress", - Redis: "redis", - Redshift: "redshift", - Spanner: "spanner", - Sqlite: "sqlite", - Sybase: "sybase", - Teradata: "teradata", - Trino: "trino", - Vertica: "vertica", + Adabas: "adabas", + Cache: "cache", + Cassandra: "cassandra", + Clickhouse: "clickhouse", + Cloudscape: "cloudscape", + Cockroachdb: "cockroachdb", + Coldfusion: "coldfusion", + Cosmosdb: "cosmosdb", + Couchbase: "couchbase", + Couchdb: "couchdb", + Db2: "db2", + Derby: "derby", + Dynamodb: "dynamodb", + Edb: "edb", + Elasticsearch: "elasticsearch", + Filemaker: "filemaker", + Firebird: "firebird", + Firstsql: "firstsql", + Geode: "geode", + H2: "h2", + Hanadb: "hanadb", + Hbase: "hbase", + Hive: "hive", + Hsqldb: "hsqldb", + Influxdb: "influxdb", + Informix: "informix", + Ingres: "ingres", + Instantdb: "instantdb", + Interbase: "interbase", + IntersystemsCache: "intersystems_cache", + Mariadb: "mariadb", + Maxdb: "maxdb", + Memcached: "memcached", + Mongodb: "mongodb", + Mssql: "mssql", + Mssqlcompact: "mssqlcompact", + Mysql: "mysql", + Neo4j: "neo4j", + Netezza: "netezza", + Opensearch: "opensearch", + Oracle: "oracle", + OtherSql: "other_sql", + Pervasive: "pervasive", + Pointbase: "pointbase", + Postgresql: "postgresql", + Progress: "progress", + Redis: "redis", + Redshift: "redshift", + Spanner: "spanner", + Sqlite: "sqlite", + Sybase: "sybase", + Teradata: "teradata", + Trino: "trino", + Vertica: "vertica", } as const; export const DbSystemNameValues = { - ActianIngres: "actian.ingres", - AwsDynamodb: "aws.dynamodb", - AwsRedshift: "aws.redshift", - AzureCosmosdb: "azure.cosmosdb", - Cassandra: "cassandra", - Clickhouse: "clickhouse", - Cockroachdb: "cockroachdb", - Couchbase: "couchbase", - Couchdb: "couchdb", - Derby: "derby", - Elasticsearch: "elasticsearch", - Firebirdsql: "firebirdsql", - GcpSpanner: "gcp.spanner", - Geode: "geode", - H2database: "h2database", - Hbase: "hbase", - Hive: "hive", - Hsqldb: "hsqldb", - IbmDb2: "ibm.db2", - IbmInformix: "ibm.informix", - IbmNetezza: "ibm.netezza", - Influxdb: "influxdb", - Instantdb: "instantdb", - IntersystemsCache: "intersystems.cache", - Memcached: "memcached", - Mongodb: "mongodb", - Neo4j: "neo4j", - Opensearch: "opensearch", - OracleDb: "oracle.db", - OtherSql: "other_sql", - Redis: "redis", - SapHana: "sap.hana", - SapMaxdb: "sap.maxdb", - SoftwareagAdabas: "softwareag.adabas", - Sqlite: "sqlite", - Teradata: "teradata", - Trino: "trino", - Mariadb: "mariadb", - MicrosoftSqlServer: "microsoft.sql_server", - Mysql: "mysql", - Postgresql: "postgresql", + ActianIngres: "actian.ingres", + AwsDynamodb: "aws.dynamodb", + AwsRedshift: "aws.redshift", + AzureCosmosdb: "azure.cosmosdb", + Cassandra: "cassandra", + Clickhouse: "clickhouse", + Cockroachdb: "cockroachdb", + Couchbase: "couchbase", + Couchdb: "couchdb", + Derby: "derby", + Elasticsearch: "elasticsearch", + Firebirdsql: "firebirdsql", + GcpSpanner: "gcp.spanner", + Geode: "geode", + H2database: "h2database", + Hbase: "hbase", + Hive: "hive", + Hsqldb: "hsqldb", + IbmDb2: "ibm.db2", + IbmInformix: "ibm.informix", + IbmNetezza: "ibm.netezza", + Influxdb: "influxdb", + Instantdb: "instantdb", + IntersystemsCache: "intersystems.cache", + Memcached: "memcached", + Mongodb: "mongodb", + Neo4j: "neo4j", + Opensearch: "opensearch", + OracleDb: "oracle.db", + OtherSql: "other_sql", + Redis: "redis", + SapHana: "sap.hana", + SapMaxdb: "sap.maxdb", + SoftwareagAdabas: "softwareag.adabas", + Sqlite: "sqlite", + Teradata: "teradata", + Trino: "trino", + Mariadb: "mariadb", + MicrosoftSqlServer: "microsoft.sql_server", + Mysql: "mysql", + Postgresql: "postgresql", } as const; export const DeploymentStatusValues = { - Failed: "failed", - Succeeded: "succeeded", + Failed: "failed", + Succeeded: "succeeded", } as const; export const FaasDocumentOperationValues = { - Delete: "delete", - Edit: "edit", - Insert: "insert", + Delete: "delete", + Edit: "edit", + Insert: "insert", } as const; export const FaasInvokedProviderValues = { - AlibabaCloud: "alibaba_cloud", - Aws: "aws", - Azure: "azure", - Gcp: "gcp", - TencentCloud: "tencent_cloud", + AlibabaCloud: "alibaba_cloud", + Aws: "aws", + Azure: "azure", + Gcp: "gcp", + TencentCloud: "tencent_cloud", } as const; export const FaasTriggerValues = { - Datasource: "datasource", - Http: "http", - Other: "other", - Pubsub: "pubsub", - Timer: "timer", + Datasource: "datasource", + Http: "http", + Other: "other", + Pubsub: "pubsub", + Timer: "timer", } as const; export const FeatureFlagEvaluationReasonValues = { - Cached: "cached", - Default: "default", - Disabled: "disabled", - Error: "error", - Split: "split", - Stale: "stale", - Static: "static", - TargetingMatch: "targeting_match", - Unknown: "unknown", + Cached: "cached", + Default: "default", + Disabled: "disabled", + Error: "error", + Split: "split", + Stale: "stale", + Static: "static", + TargetingMatch: "targeting_match", + Unknown: "unknown", } as const; export const FeatureFlagResultReasonValues = { - Cached: "cached", - Default: "default", - Disabled: "disabled", - Error: "error", - Split: "split", - Stale: "stale", - Static: "static", - TargetingMatch: "targeting_match", - Unknown: "unknown", + Cached: "cached", + Default: "default", + Disabled: "disabled", + Error: "error", + Split: "split", + Stale: "stale", + Static: "static", + TargetingMatch: "targeting_match", + Unknown: "unknown", } as const; export const GenAiOpenaiRequestResponseFormatValues = { - JsonObject: "json_object", - JsonSchema: "json_schema", - Text: "text", + JsonObject: "json_object", + JsonSchema: "json_schema", + Text: "text", } as const; export const GenAiOpenaiRequestServiceTierValues = { - Auto: "auto", - Default: "default", + Auto: "auto", + Default: "default", } as const; export const GenAiOperationNameValues = { - Chat: "chat", - CreateAgent: "create_agent", - Embeddings: "embeddings", - ExecuteTool: "execute_tool", - GenerateContent: "generate_content", - InvokeAgent: "invoke_agent", - Retrieval: "retrieval", - TextCompletion: "text_completion", + Chat: "chat", + CreateAgent: "create_agent", + Embeddings: "embeddings", + ExecuteTool: "execute_tool", + GenerateContent: "generate_content", + InvokeAgent: "invoke_agent", + Retrieval: "retrieval", + TextCompletion: "text_completion", } as const; export const GenAiOutputTypeValues = { - Image: "image", - Json: "json", - Speech: "speech", - Text: "text", + Image: "image", + Json: "json", + Speech: "speech", + Text: "text", } as const; export const GenAiProviderNameValues = { - Anthropic: "anthropic", - AwsBedrock: "aws.bedrock", - AzureAiInference: "azure.ai.inference", - AzureAiOpenai: "azure.ai.openai", - Cohere: "cohere", - Deepseek: "deepseek", - GcpGemini: "gcp.gemini", - GcpGenAi: "gcp.gen_ai", - GcpVertexAi: "gcp.vertex_ai", - Groq: "groq", - IbmWatsonxAi: "ibm.watsonx.ai", - MistralAi: "mistral_ai", - Openai: "openai", - Perplexity: "perplexity", - XAi: "x_ai", + Anthropic: "anthropic", + AwsBedrock: "aws.bedrock", + AzureAiInference: "azure.ai.inference", + AzureAiOpenai: "azure.ai.openai", + Cohere: "cohere", + Deepseek: "deepseek", + GcpGemini: "gcp.gemini", + GcpGenAi: "gcp.gen_ai", + GcpVertexAi: "gcp.vertex_ai", + Groq: "groq", + IbmWatsonxAi: "ibm.watsonx.ai", + MistralAi: "mistral_ai", + Openai: "openai", + Perplexity: "perplexity", + XAi: "x_ai", } as const; export const GenAiSystemValues = { - Anthropic: "anthropic", - AwsBedrock: "aws.bedrock", - AzAiInference: "az.ai.inference", - AzAiOpenai: "az.ai.openai", - AzureAiInference: "azure.ai.inference", - AzureAiOpenai: "azure.ai.openai", - Cohere: "cohere", - Deepseek: "deepseek", - GcpGemini: "gcp.gemini", - GcpGenAi: "gcp.gen_ai", - GcpVertexAi: "gcp.vertex_ai", - Gemini: "gemini", - Groq: "groq", - IbmWatsonxAi: "ibm.watsonx.ai", - MistralAi: "mistral_ai", - Openai: "openai", - Perplexity: "perplexity", - VertexAi: "vertex_ai", - Xai: "xai", + Anthropic: "anthropic", + AwsBedrock: "aws.bedrock", + AzAiInference: "az.ai.inference", + AzAiOpenai: "az.ai.openai", + AzureAiInference: "azure.ai.inference", + AzureAiOpenai: "azure.ai.openai", + Cohere: "cohere", + Deepseek: "deepseek", + GcpGemini: "gcp.gemini", + GcpGenAi: "gcp.gen_ai", + GcpVertexAi: "gcp.vertex_ai", + Gemini: "gemini", + Groq: "groq", + IbmWatsonxAi: "ibm.watsonx.ai", + MistralAi: "mistral_ai", + Openai: "openai", + Perplexity: "perplexity", + VertexAi: "vertex_ai", + Xai: "xai", } as const; export const GenAiTokenTypeValues = { - Input: "input", - Completion: "output", - Output: "output", + Input: "input", + Completion: "output", + Output: "output", } as const; export const GeoContinentCodeValues = { - Af: "AF", - An: "AN", - As: "AS", - Eu: "EU", - Na: "NA", - Oc: "OC", - Sa: "SA", + Af: "AF", + An: "AN", + As: "AS", + Eu: "EU", + Na: "NA", + Oc: "OC", + Sa: "SA", } as const; export const HostArchValues = { - Amd64: "amd64", - Arm32: "arm32", - Arm64: "arm64", - Ia64: "ia64", - Ppc32: "ppc32", - Ppc64: "ppc64", - S390x: "s390x", - X86: "x86", + Amd64: "amd64", + Arm32: "arm32", + Arm64: "arm64", + Ia64: "ia64", + Ppc32: "ppc32", + Ppc64: "ppc64", + S390x: "s390x", + X86: "x86", } as const; export const HttpConnectionStateValues = { - Active: "active", - Idle: "idle", + Active: "active", + Idle: "idle", } as const; export const HttpFlavorValues = { - Http10: "1.0", - Http11: "1.1", - Http20: "2.0", - Http30: "3.0", - Quic: "QUIC", - Spdy: "SPDY", + Http10: "1.0", + Http11: "1.1", + Http20: "2.0", + Http30: "3.0", + Quic: "QUIC", + Spdy: "SPDY", } as const; export const HttpRequestMethodValues = { - Query: "QUERY", - Other: "_OTHER", - Connect: "CONNECT", - Delete: "DELETE", - Get: "GET", - Head: "HEAD", - Options: "OPTIONS", - Patch: "PATCH", - Post: "POST", - Put: "PUT", - Trace: "TRACE", + Query: "QUERY", + Other: "_OTHER", + Connect: "CONNECT", + Delete: "DELETE", + Get: "GET", + Head: "HEAD", + Options: "OPTIONS", + Patch: "PATCH", + Post: "POST", + Put: "PUT", + Trace: "TRACE", } as const; export const HwTypeValues = { - LogicalDisk: "logical_disk", - Network: "network", + LogicalDisk: "logical_disk", + Network: "network", } as const; export const K8sContainerStatusReasonValues = { - Completed: "Completed", - ContainerCannotRun: "ContainerCannotRun", - ContainerCreating: "ContainerCreating", - CrashLoopBackOff: "CrashLoopBackOff", - CreateContainerConfigError: "CreateContainerConfigError", - ErrImagePull: "ErrImagePull", - Error: "Error", - ImagePullBackOff: "ImagePullBackOff", - OomKilled: "OOMKilled", + Completed: "Completed", + ContainerCannotRun: "ContainerCannotRun", + ContainerCreating: "ContainerCreating", + CrashLoopBackOff: "CrashLoopBackOff", + CreateContainerConfigError: "CreateContainerConfigError", + ErrImagePull: "ErrImagePull", + Error: "Error", + ImagePullBackOff: "ImagePullBackOff", + OomKilled: "OOMKilled", } as const; export const K8sContainerStatusStateValues = { - Running: "running", - Terminated: "terminated", - Waiting: "waiting", + Running: "running", + Terminated: "terminated", + Waiting: "waiting", } as const; export const K8sNamespacePhaseValues = { - Active: "active", - Terminating: "terminating", + Active: "active", + Terminating: "terminating", } as const; export const K8sNodeConditionStatusValues = { - ConditionFalse: "false", - ConditionTrue: "true", - ConditionUnknown: "unknown", + ConditionFalse: "false", + ConditionTrue: "true", + ConditionUnknown: "unknown", } as const; export const K8sNodeConditionTypeValues = { - DiskPressure: "DiskPressure", - MemoryPressure: "MemoryPressure", - NetworkUnavailable: "NetworkUnavailable", - PidPressure: "PIDPressure", - Ready: "Ready", + DiskPressure: "DiskPressure", + MemoryPressure: "MemoryPressure", + NetworkUnavailable: "NetworkUnavailable", + PidPressure: "PIDPressure", + Ready: "Ready", } as const; export const K8sPodStatusPhaseValues = { - Failed: "Failed", - Pending: "Pending", - Running: "Running", - Succeeded: "Succeeded", - Unknown: "Unknown", + Failed: "Failed", + Pending: "Pending", + Running: "Running", + Succeeded: "Succeeded", + Unknown: "Unknown", } as const; export const K8sPodStatusReasonValues = { - Evicted: "Evicted", - NodeAffinity: "NodeAffinity", - NodeLost: "NodeLost", - Shutdown: "Shutdown", - UnexpectedAdmissionError: "UnexpectedAdmissionError", + Evicted: "Evicted", + NodeAffinity: "NodeAffinity", + NodeLost: "NodeLost", + Shutdown: "Shutdown", + UnexpectedAdmissionError: "UnexpectedAdmissionError", } as const; export const K8sServiceEndpointAddressTypeValues = { - Fqdn: "FQDN", - Ipv4: "IPv4", - Ipv6: "IPv6", + Fqdn: "FQDN", + Ipv4: "IPv4", + Ipv6: "IPv6", } as const; export const K8sServiceEndpointConditionValues = { - Ready: "ready", - Serving: "serving", - Terminating: "terminating", + Ready: "ready", + Serving: "serving", + Terminating: "terminating", } as const; export const K8sServiceTypeValues = { - ClusterIp: "ClusterIP", - ExternalName: "ExternalName", - LoadBalancer: "LoadBalancer", - NodePort: "NodePort", + ClusterIp: "ClusterIP", + ExternalName: "ExternalName", + LoadBalancer: "LoadBalancer", + NodePort: "NodePort", } as const; export const K8sVolumeTypeValues = { - ConfigMap: "configMap", - DownwardApi: "downwardAPI", - EmptyDir: "emptyDir", - Local: "local", - PersistentVolumeClaim: "persistentVolumeClaim", - Secret: "secret", + ConfigMap: "configMap", + DownwardApi: "downwardAPI", + EmptyDir: "emptyDir", + Local: "local", + PersistentVolumeClaim: "persistentVolumeClaim", + Secret: "secret", } as const; export const LogIostreamValues = { - Stderr: "stderr", - Stdout: "stdout", + Stderr: "stderr", + Stdout: "stdout", } as const; export const McpMethodNameValues = { - LoggingSetLevel: "logging/setLevel", + LoggingSetLevel: "logging/setLevel", } as const; export const MessagingOperationTypeValues = { - Create: "create", - Deliver: "deliver", - Process: "process", - Publish: "publish", - Receive: "receive", - Send: "send", - Settle: "settle", + Create: "create", + Deliver: "deliver", + Process: "process", + Publish: "publish", + Receive: "receive", + Send: "send", + Settle: "settle", } as const; export const MessagingRocketmqConsumptionModelValues = { - Broadcasting: "broadcasting", - Clustering: "clustering", + Broadcasting: "broadcasting", + Clustering: "clustering", } as const; export const MessagingRocketmqMessageTypeValues = { - Delay: "delay", - Fifo: "fifo", - Normal: "normal", - Transaction: "transaction", + Delay: "delay", + Fifo: "fifo", + Normal: "normal", + Transaction: "transaction", } as const; export const MessagingServicebusDispositionStatusValues = { - Abandon: "abandon", - Complete: "complete", - DeadLetter: "dead_letter", - Defer: "defer", + Abandon: "abandon", + Complete: "complete", + DeadLetter: "dead_letter", + Defer: "defer", } as const; export const MessagingSystemValues = { - Activemq: "activemq", - AwsSns: "aws.sns", - AwsSqs: "aws_sqs", - Eventgrid: "eventgrid", - Eventhubs: "eventhubs", - GcpPubsub: "gcp_pubsub", - Jms: "jms", - Kafka: "kafka", - Pulsar: "pulsar", - Rabbitmq: "rabbitmq", - Rocketmq: "rocketmq", - Servicebus: "servicebus", + Activemq: "activemq", + AwsSns: "aws.sns", + AwsSqs: "aws_sqs", + Eventgrid: "eventgrid", + Eventhubs: "eventhubs", + GcpPubsub: "gcp_pubsub", + Jms: "jms", + Kafka: "kafka", + Pulsar: "pulsar", + Rabbitmq: "rabbitmq", + Rocketmq: "rocketmq", + Servicebus: "servicebus", } as const; export const NetworkConnectionStateValues = { - CloseWait: "close_wait", - Closed: "closed", - Closing: "closing", - Established: "established", - FinWait1: "fin_wait_1", - FinWait2: "fin_wait_2", - LastAck: "last_ack", - Listen: "listen", - SynReceived: "syn_received", - SynSent: "syn_sent", - TimeWait: "time_wait", + CloseWait: "close_wait", + Closed: "closed", + Closing: "closing", + Established: "established", + FinWait1: "fin_wait_1", + FinWait2: "fin_wait_2", + LastAck: "last_ack", + Listen: "listen", + SynReceived: "syn_received", + SynSent: "syn_sent", + TimeWait: "time_wait", } as const; export const NetworkConnectionSubtypeValues = { - Cdma: "cdma", - Cdma20001xrtt: "cdma2000_1xrtt", - Edge: "edge", - Ehrpd: "ehrpd", - Evdo0: "evdo_0", - EvdoA: "evdo_a", - EvdoB: "evdo_b", - Gprs: "gprs", - Gsm: "gsm", - Hsdpa: "hsdpa", - Hspa: "hspa", - Hspap: "hspap", - Hsupa: "hsupa", - Iden: "iden", - Iwlan: "iwlan", - Lte: "lte", - LteCa: "lte_ca", - Nr: "nr", - Nrnsa: "nrnsa", - TdScdma: "td_scdma", - Umts: "umts", + Cdma: "cdma", + Cdma20001xrtt: "cdma2000_1xrtt", + Edge: "edge", + Ehrpd: "ehrpd", + Evdo0: "evdo_0", + EvdoA: "evdo_a", + EvdoB: "evdo_b", + Gprs: "gprs", + Gsm: "gsm", + Hsdpa: "hsdpa", + Hspa: "hspa", + Hspap: "hspap", + Hsupa: "hsupa", + Iden: "iden", + Iwlan: "iwlan", + Lte: "lte", + LteCa: "lte_ca", + Nr: "nr", + Nrnsa: "nrnsa", + TdScdma: "td_scdma", + Umts: "umts", } as const; export const NetworkConnectionTypeValues = { - Cell: "cell", - Unavailable: "unavailable", - Unknown: "unknown", - Wifi: "wifi", - Wired: "wired", + Cell: "cell", + Unavailable: "unavailable", + Unknown: "unknown", + Wifi: "wifi", + Wired: "wired", } as const; export const NetworkIoDirectionValues = { - Receive: "receive", - Transmit: "transmit", + Receive: "receive", + Transmit: "transmit", } as const; export const OpenaiApiTypeValues = { - ChatCompletions: "chat_completions", - Responses: "responses", + ChatCompletions: "chat_completions", + Responses: "responses", } as const; export const OpenaiRequestServiceTierValues = { - Auto: "auto", - Default: "default", + Auto: "auto", + Default: "default", } as const; export const OsTypeValues = { - Aix: "aix", - Darwin: "darwin", - Dragonflybsd: "dragonflybsd", - Freebsd: "freebsd", - Hpux: "hpux", - Linux: "linux", - Netbsd: "netbsd", - Openbsd: "openbsd", - Solaris: "solaris", - Windows: "windows", - ZOs: "z_os", - Zos: "zos", + Aix: "aix", + Darwin: "darwin", + Dragonflybsd: "dragonflybsd", + Freebsd: "freebsd", + Hpux: "hpux", + Linux: "linux", + Netbsd: "netbsd", + Openbsd: "openbsd", + Solaris: "solaris", + Windows: "windows", + ZOs: "z_os", + Zos: "zos", } as const; export const OtelComponentTypeValues = { - BatchingLogProcessor: "batching_log_processor", - BatchingSpanProcessor: "batching_span_processor", - OtlpGrpcLogExporter: "otlp_grpc_log_exporter", - OtlpGrpcMetricExporter: "otlp_grpc_metric_exporter", - OtlpGrpcSpanExporter: "otlp_grpc_span_exporter", - OtlpHttpJsonLogExporter: "otlp_http_json_log_exporter", - OtlpHttpJsonMetricExporter: "otlp_http_json_metric_exporter", - OtlpHttpJsonSpanExporter: "otlp_http_json_span_exporter", - OtlpHttpLogExporter: "otlp_http_log_exporter", - OtlpHttpMetricExporter: "otlp_http_metric_exporter", - OtlpHttpSpanExporter: "otlp_http_span_exporter", - PeriodicMetricReader: "periodic_metric_reader", - PrometheusHttpTextMetricExporter: "prometheus_http_text_metric_exporter", - SimpleLogProcessor: "simple_log_processor", - SimpleSpanProcessor: "simple_span_processor", - ZipkinHttpSpanExporter: "zipkin_http_span_exporter", + BatchingLogProcessor: "batching_log_processor", + BatchingSpanProcessor: "batching_span_processor", + OtlpGrpcLogExporter: "otlp_grpc_log_exporter", + OtlpGrpcMetricExporter: "otlp_grpc_metric_exporter", + OtlpGrpcSpanExporter: "otlp_grpc_span_exporter", + OtlpHttpJsonLogExporter: "otlp_http_json_log_exporter", + OtlpHttpJsonMetricExporter: "otlp_http_json_metric_exporter", + OtlpHttpJsonSpanExporter: "otlp_http_json_span_exporter", + OtlpHttpLogExporter: "otlp_http_log_exporter", + OtlpHttpMetricExporter: "otlp_http_metric_exporter", + OtlpHttpSpanExporter: "otlp_http_span_exporter", + PeriodicMetricReader: "periodic_metric_reader", + PrometheusHttpTextMetricExporter: "prometheus_http_text_metric_exporter", + SimpleLogProcessor: "simple_log_processor", + SimpleSpanProcessor: "simple_span_processor", + ZipkinHttpSpanExporter: "zipkin_http_span_exporter", } as const; export const OtelSpanParentOriginValues = { - Local: "local", - None: "none", - Remote: "remote", + Local: "local", + None: "none", + Remote: "remote", } as const; export const OtelSpanSamplingResultValues = { - Drop: "DROP", - RecordAndSample: "RECORD_AND_SAMPLE", - RecordOnly: "RECORD_ONLY", + Drop: "DROP", + RecordAndSample: "RECORD_AND_SAMPLE", + RecordOnly: "RECORD_ONLY", } as const; export const ProcessContextSwitchTypeValues = { - Involuntary: "involuntary", - Voluntary: "voluntary", + Involuntary: "involuntary", + Voluntary: "voluntary", } as const; export const ProcessCpuStateValues = { - System: "system", - User: "user", - Wait: "wait", + System: "system", + User: "user", + Wait: "wait", } as const; export const ProcessPagingFaultTypeValues = { - Major: "major", - Minor: "minor", + Major: "major", + Minor: "minor", } as const; export const ProcessStateValues = { - Defunct: "defunct", - Running: "running", - Sleeping: "sleeping", - Stopped: "stopped", + Defunct: "defunct", + Running: "running", + Sleeping: "sleeping", + Stopped: "stopped", } as const; export const ProfileFrameTypeValues = { - Beam: "beam", - Cpython: "cpython", - Dotnet: "dotnet", - Go: "go", - Jvm: "jvm", - Kernel: "kernel", - Native: "native", - Perl: "perl", - Php: "php", - Ruby: "ruby", - Rust: "rust", - V8js: "v8js", + Beam: "beam", + Cpython: "cpython", + Dotnet: "dotnet", + Go: "go", + Jvm: "jvm", + Kernel: "kernel", + Native: "native", + Perl: "perl", + Php: "php", + Ruby: "ruby", + Rust: "rust", + V8js: "v8js", } as const; export const RpcConnectRpcErrorCodeValues = { - Aborted: "aborted", - AlreadyExists: "already_exists", - Cancelled: "cancelled", - DataLoss: "data_loss", - DeadlineExceeded: "deadline_exceeded", - FailedPrecondition: "failed_precondition", - Internal: "internal", - InvalidArgument: "invalid_argument", - NotFound: "not_found", - OutOfRange: "out_of_range", - PermissionDenied: "permission_denied", - ResourceExhausted: "resource_exhausted", - Unauthenticated: "unauthenticated", - Unavailable: "unavailable", - Unimplemented: "unimplemented", - Unknown: "unknown", + Aborted: "aborted", + AlreadyExists: "already_exists", + Cancelled: "cancelled", + DataLoss: "data_loss", + DeadlineExceeded: "deadline_exceeded", + FailedPrecondition: "failed_precondition", + Internal: "internal", + InvalidArgument: "invalid_argument", + NotFound: "not_found", + OutOfRange: "out_of_range", + PermissionDenied: "permission_denied", + ResourceExhausted: "resource_exhausted", + Unauthenticated: "unauthenticated", + Unavailable: "unavailable", + Unimplemented: "unimplemented", + Unknown: "unknown", } as const; export const RpcMessageTypeValues = { - Received: "RECEIVED", - Sent: "SENT", + Received: "RECEIVED", + Sent: "SENT", } as const; export const RpcSystemValues = { - ApacheDubbo: "apache_dubbo", - ConnectRpc: "connect_rpc", - DotnetWcf: "dotnet_wcf", - Grpc: "grpc", - JavaRmi: "java_rmi", - Jsonrpc: "jsonrpc", - OncRpc: "onc_rpc", + ApacheDubbo: "apache_dubbo", + ConnectRpc: "connect_rpc", + DotnetWcf: "dotnet_wcf", + Grpc: "grpc", + JavaRmi: "java_rmi", + Jsonrpc: "jsonrpc", + OncRpc: "onc_rpc", } as const; export const RpcSystemNameValues = { - Connectrpc: "connectrpc", - Dubbo: "dubbo", - Grpc: "grpc", - Jsonrpc: "jsonrpc", + Connectrpc: "connectrpc", + Dubbo: "dubbo", + Grpc: "grpc", + Jsonrpc: "jsonrpc", } as const; export const ServiceCriticalityValues = { - Critical: "critical", - High: "high", - Low: "low", - Medium: "medium", + Critical: "critical", + High: "high", + Low: "low", + Medium: "medium", } as const; export const SystemCpuStateValues = { - Idle: "idle", - Interrupt: "interrupt", - Iowait: "iowait", - Nice: "nice", - Steal: "steal", - System: "system", - User: "user", + Idle: "idle", + Interrupt: "interrupt", + Iowait: "iowait", + Nice: "nice", + Steal: "steal", + System: "system", + User: "user", } as const; export const SystemFilesystemStateValues = { - Free: "free", - Reserved: "reserved", - Used: "used", + Free: "free", + Reserved: "reserved", + Used: "used", } as const; export const SystemFilesystemTypeValues = { - Exfat: "exfat", - Ext4: "ext4", - Fat32: "fat32", - Hfsplus: "hfsplus", - Ntfs: "ntfs", - Refs: "refs", + Exfat: "exfat", + Ext4: "ext4", + Fat32: "fat32", + Hfsplus: "hfsplus", + Ntfs: "ntfs", + Refs: "refs", } as const; export const SystemMemoryLinuxSlabStateValues = { - Reclaimable: "reclaimable", - Unreclaimable: "unreclaimable", + Reclaimable: "reclaimable", + Unreclaimable: "unreclaimable", } as const; export const SystemMemoryStateValues = { - Buffers: "buffers", - Cached: "cached", - Free: "free", - Shared: "shared", - Used: "used", + Buffers: "buffers", + Cached: "cached", + Free: "free", + Shared: "shared", + Used: "used", } as const; export const SystemNetworkStateValues = { - Close: "close", - CloseWait: "close_wait", - Closing: "closing", - Delete: "delete", - Established: "established", - FinWait1: "fin_wait_1", - FinWait2: "fin_wait_2", - LastAck: "last_ack", - Listen: "listen", - SynRecv: "syn_recv", - SynSent: "syn_sent", - TimeWait: "time_wait", + Close: "close", + CloseWait: "close_wait", + Closing: "closing", + Delete: "delete", + Established: "established", + FinWait1: "fin_wait_1", + FinWait2: "fin_wait_2", + LastAck: "last_ack", + Listen: "listen", + SynRecv: "syn_recv", + SynSent: "syn_sent", + TimeWait: "time_wait", } as const; export const SystemPagingDirectionValues = { - In: "in", - Out: "out", + In: "in", + Out: "out", } as const; export const SystemPagingFaultTypeValues = { - Major: "major", - Minor: "minor", + Major: "major", + Minor: "minor", } as const; export const SystemPagingStateValues = { - Free: "free", - Used: "used", + Free: "free", + Used: "used", } as const; export const SystemPagingTypeValues = { - Major: "major", - Minor: "minor", + Major: "major", + Minor: "minor", } as const; export const SystemProcessStatusValues = { - Defunct: "defunct", - Running: "running", - Sleeping: "sleeping", - Stopped: "stopped", + Defunct: "defunct", + Running: "running", + Sleeping: "sleeping", + Stopped: "stopped", } as const; export const SystemProcessesStatusValues = { - Defunct: "defunct", - Running: "running", - Sleeping: "sleeping", - Stopped: "stopped", + Defunct: "defunct", + Running: "running", + Sleeping: "sleeping", + Stopped: "stopped", } as const; export const TestCaseResultStatusValues = { - Fail: "fail", - Pass: "pass", + Fail: "fail", + Pass: "pass", } as const; export const TestSuiteRunStatusValues = { - Aborted: "aborted", - Failure: "failure", - InProgress: "in_progress", - Skipped: "skipped", - Success: "success", - TimedOut: "timed_out", + Aborted: "aborted", + Failure: "failure", + InProgress: "in_progress", + Skipped: "skipped", + Success: "success", + TimedOut: "timed_out", } as const; export const TlsProtocolNameValues = { - Ssl: "ssl", - Tls: "tls", + Ssl: "ssl", + Tls: "tls", } as const; export const UserAgentSyntheticTypeValues = { - Bot: "bot", - Test: "test", + Bot: "bot", + Test: "test", } as const; export const V8jsHeapSpaceNameValues = { - CodeSpace: "code_space", + CodeSpace: "code_space", } as const; export const VcsChangeStateValues = { - Closed: "closed", - Merged: "merged", - Open: "open", - Wip: "wip", + Closed: "closed", + Merged: "merged", + Open: "open", + Wip: "wip", } as const; export const VcsLineChangeTypeValues = { - Added: "added", - Removed: "removed", + Added: "added", + Removed: "removed", } as const; export const VcsProviderNameValues = { - Bitbucket: "bitbucket", - Gitea: "gitea", - Github: "github", - Gitlab: "gitlab", - Gittea: "gittea", + Bitbucket: "bitbucket", + Gitea: "gitea", + Github: "github", + Gitlab: "gitlab", + Gittea: "gittea", } as const; export const VcsRefBaseTypeValues = { - Branch: "branch", - Tag: "tag", + Branch: "branch", + Tag: "tag", } as const; export const VcsRefHeadTypeValues = { - Branch: "branch", - Tag: "tag", + Branch: "branch", + Tag: "tag", } as const; export const VcsRefTypeValues = { - Branch: "branch", - Tag: "tag", + Branch: "branch", + Tag: "tag", } as const; export const VcsRepositoryRefTypeValues = { - Branch: "branch", - Tag: "tag", + Branch: "branch", + Tag: "tag", } as const; export const VcsRevisionDeltaDirectionValues = { - Ahead: "ahead", - Behind: "behind", + Ahead: "ahead", + Behind: "behind", } as const; export const AspnetcoreDiagnosticsExceptionResultValues = { - Aborted: "aborted", - Handled: "handled", - Skipped: "skipped", - Unhandled: "unhandled", + Aborted: "aborted", + Handled: "handled", + Skipped: "skipped", + Unhandled: "unhandled", } as const; export const AspnetcoreRateLimitingResultValues = { - Acquired: "acquired", - EndpointLimiter: "endpoint_limiter", - GlobalLimiter: "global_limiter", - RequestCanceled: "request_canceled", + Acquired: "acquired", + EndpointLimiter: "endpoint_limiter", + GlobalLimiter: "global_limiter", + RequestCanceled: "request_canceled", } as const; export const AspnetcoreRoutingMatchStatusValues = { - Failure: "failure", - Success: "success", + Failure: "failure", + Success: "success", } as const; export const DotnetGcHeapGenerationValues = { - Gen0: "gen0", - Gen1: "gen1", - Gen2: "gen2", - Loh: "loh", - Poh: "poh", + Gen0: "gen0", + Gen1: "gen1", + Gen2: "gen2", + Loh: "loh", + Poh: "poh", } as const; export const ErrorTypeValues = { - Other: "_OTHER", + Other: "_OTHER", } as const; export const NetworkTransportValues = { - Pipe: "pipe", - Quic: "quic", - Tcp: "tcp", - Udp: "udp", - Unix: "unix", + Pipe: "pipe", + Quic: "quic", + Tcp: "tcp", + Udp: "udp", + Unix: "unix", } as const; export const NetworkTypeValues = { - Ipv4: "ipv4", - Ipv6: "ipv6", + Ipv4: "ipv4", + Ipv6: "ipv6", } as const; export const OtelStatusCodeValues = { - Error: "ERROR", - Ok: "OK", + Error: "ERROR", + Ok: "OK", } as const; export const SignalrConnectionStatusValues = { - AppShutdown: "app_shutdown", - NormalClosure: "normal_closure", - Timeout: "timeout", + AppShutdown: "app_shutdown", + NormalClosure: "normal_closure", + Timeout: "timeout", } as const; export const SignalrTransportValues = { - LongPolling: "long_polling", - ServerSentEvents: "server_sent_events", - WebSockets: "web_sockets", + LongPolling: "long_polling", + ServerSentEvents: "server_sent_events", + WebSockets: "web_sockets", } as const; export const TelemetrySdkLanguageValues = { - Cpp: "cpp", - Dotnet: "dotnet", - Erlang: "erlang", - Go: "go", - Java: "java", - Nodejs: "nodejs", - Php: "php", - Python: "python", - Ruby: "ruby", - Rust: "rust", - Swift: "swift", - Webjs: "webjs", + Cpp: "cpp", + Dotnet: "dotnet", + Erlang: "erlang", + Go: "go", + Java: "java", + Nodejs: "nodejs", + Php: "php", + Python: "python", + Ruby: "ruby", + Rust: "rust", + Swift: "swift", + Webjs: "webjs", } as const; diff --git a/src/qyl.instrumentation/Instrumentation/ActivityExceptionTelemetry.cs b/src/qyl.instrumentation/Instrumentation/ActivityExceptionTelemetry.cs index 89212291b..212a00f50 100644 --- a/src/qyl.instrumentation/Instrumentation/ActivityExceptionTelemetry.cs +++ b/src/qyl.instrumentation/Instrumentation/ActivityExceptionTelemetry.cs @@ -2,9 +2,17 @@ namespace Qyl.Instrumentation.Instrumentation; /// /// Shared OpenTelemetry exception recording for qyl instrumentation. +/// Semconv keys inlined as literals — OTel semconv 1.40 stable section for exception.* / error.type. /// public static class ActivityExceptionTelemetry { + // OTel semconv 1.40 — stable + private const string ErrorType = "error.type"; + private const string ExceptionType = "exception.type"; + private const string ExceptionMessage = "exception.message"; + private const string ExceptionStacktrace = "exception.stacktrace"; + private const string ExceptionEscaped = "exception.escaped"; + public static void Record( Activity? activity, Exception exception, @@ -27,16 +35,16 @@ public static void ApplyError( return; activity.SetStatus(ActivityStatusCode.Error, exception.Message); - activity.SetTag(ErrorTypeAttributes.Type, ResolveErrorType(exception, errorType)); + activity.SetTag(ErrorType, ResolveErrorType(exception, errorType)); } public static ActivityTagsCollection CreateTags(Exception exception, bool escaped = true) => new() { - { ExceptionTypeAttributes.Type, exception.GetType().FullName }, - { ExceptionMessageAttributes.Message, exception.Message }, - { ExceptionStacktraceAttributes.Stacktrace, exception.ToString() }, - { ExceptionEscapedAttributes.Escaped, escaped } + { ExceptionType, exception.GetType().FullName }, + { ExceptionMessage, exception.Message }, + { ExceptionStacktrace, exception.ToString() }, + { ExceptionEscaped, escaped } }; public static string ResolveErrorType(Exception exception, string? errorType = null) => diff --git a/src/qyl.instrumentation/Instrumentation/SemanticConventions.Utf8.g.cs b/src/qyl.instrumentation/Instrumentation/SemanticConventions.Utf8.g.cs deleted file mode 100644 index 0063c777a..000000000 --- a/src/qyl.instrumentation/Instrumentation/SemanticConventions.Utf8.g.cs +++ /dev/null @@ -1,7555 +0,0 @@ -// -// Generated from @opentelemetry/semantic-conventions v1.40.0 -// Do not edit manually - run 'npm run generate' in SemconvGenerator -// -// UTF-8 ReadOnlySpan for zero-allocation OTLP parsing hot paths - -namespace Qyl.Instrumentation.Instrumentation; - -/// -/// UTF-8 attribute keys for artifact.attestation.* (zero-allocation parsing) -/// -public static class ArtifactAttestationUtf8 -{ - /// artifact.attestation.filename - public static ReadOnlySpan Filename => "artifact.attestation.filename"u8; - - /// artifact.attestation.hash - public static ReadOnlySpan Hash => "artifact.attestation.hash"u8; - - /// artifact.attestation.id - public static ReadOnlySpan Id => "artifact.attestation.id"u8; - -} - -/// -/// UTF-8 attribute keys for artifact.filename.* (zero-allocation parsing) -/// -public static class ArtifactFilenameUtf8 -{ - /// artifact.filename - public static ReadOnlySpan Filename => "artifact.filename"u8; - -} - -/// -/// UTF-8 attribute keys for artifact.hash.* (zero-allocation parsing) -/// -public static class ArtifactHashUtf8 -{ - /// artifact.hash - public static ReadOnlySpan Hash => "artifact.hash"u8; - -} - -/// -/// UTF-8 attribute keys for artifact.purl.* (zero-allocation parsing) -/// -public static class ArtifactPurlUtf8 -{ - /// artifact.purl - public static ReadOnlySpan Purl => "artifact.purl"u8; - -} - -/// -/// UTF-8 attribute keys for artifact.version.* (zero-allocation parsing) -/// -public static class ArtifactVersionUtf8 -{ - /// artifact.version - public static ReadOnlySpan Version => "artifact.version"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.authentication.* (zero-allocation parsing) -/// -public static class AspnetcoreAuthenticationUtf8 -{ - /// aspnetcore.authentication.result - public static ReadOnlySpan Result => "aspnetcore.authentication.result"u8; - - /// aspnetcore.authentication.scheme - public static ReadOnlySpan Scheme => "aspnetcore.authentication.scheme"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.authorization.* (zero-allocation parsing) -/// -public static class AspnetcoreAuthorizationUtf8 -{ - /// aspnetcore.authorization.policy - public static ReadOnlySpan Policy => "aspnetcore.authorization.policy"u8; - - /// aspnetcore.authorization.result - public static ReadOnlySpan Result => "aspnetcore.authorization.result"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.diagnostics.* (zero-allocation parsing) -/// -public static class AspnetcoreDiagnosticsUtf8 -{ - /// aspnetcore.diagnostics.exception.result - public static ReadOnlySpan ExceptionResult => "aspnetcore.diagnostics.exception.result"u8; - - /// aspnetcore.diagnostics.handler.type - public static ReadOnlySpan HandlerType => "aspnetcore.diagnostics.handler.type"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.identity.* (zero-allocation parsing) -/// -public static class AspnetcoreIdentityUtf8 -{ - /// aspnetcore.identity.error_code - public static ReadOnlySpan ErrorCode => "aspnetcore.identity.error_code"u8; - - /// aspnetcore.identity.password_check_result - public static ReadOnlySpan PasswordCheckResult => "aspnetcore.identity.password_check_result"u8; - - /// aspnetcore.identity.result - public static ReadOnlySpan Result => "aspnetcore.identity.result"u8; - - /// aspnetcore.identity.sign_in.result - public static ReadOnlySpan SignInResult => "aspnetcore.identity.sign_in.result"u8; - - /// aspnetcore.identity.sign_in.type - public static ReadOnlySpan SignInType => "aspnetcore.identity.sign_in.type"u8; - - /// aspnetcore.identity.token_purpose - public static ReadOnlySpan TokenPurpose => "aspnetcore.identity.token_purpose"u8; - - /// aspnetcore.identity.token_verified - public static ReadOnlySpan TokenVerified => "aspnetcore.identity.token_verified"u8; - - /// aspnetcore.identity.user_type - public static ReadOnlySpan UserType => "aspnetcore.identity.user_type"u8; - - /// aspnetcore.identity.user.update_type - public static ReadOnlySpan UserUpdateType => "aspnetcore.identity.user.update_type"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.memory_pool.* (zero-allocation parsing) -/// -public static class AspnetcoreMemoryPoolUtf8 -{ - /// aspnetcore.memory_pool.owner - public static ReadOnlySpan Owner => "aspnetcore.memory_pool.owner"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.rate_limiting.* (zero-allocation parsing) -/// -public static class AspnetcoreRateLimitingUtf8 -{ - /// aspnetcore.rate_limiting.policy - public static ReadOnlySpan Policy => "aspnetcore.rate_limiting.policy"u8; - - /// aspnetcore.rate_limiting.result - public static ReadOnlySpan Result => "aspnetcore.rate_limiting.result"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.request.* (zero-allocation parsing) -/// -public static class AspnetcoreRequestUtf8 -{ - /// aspnetcore.request.is_unhandled - public static ReadOnlySpan IsUnhandled => "aspnetcore.request.is_unhandled"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.routing.* (zero-allocation parsing) -/// -public static class AspnetcoreRoutingUtf8 -{ - /// aspnetcore.routing.is_fallback - public static ReadOnlySpan IsFallback => "aspnetcore.routing.is_fallback"u8; - - /// aspnetcore.routing.match_status - public static ReadOnlySpan MatchStatus => "aspnetcore.routing.match_status"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.sign_in.* (zero-allocation parsing) -/// -public static class AspnetcoreSignInUtf8 -{ - /// aspnetcore.sign_in.is_persistent - public static ReadOnlySpan IsPersistent => "aspnetcore.sign_in.is_persistent"u8; - -} - -/// -/// UTF-8 attribute keys for aspnetcore.user.* (zero-allocation parsing) -/// -public static class AspnetcoreUserUtf8 -{ - /// aspnetcore.user.is_authenticated - public static ReadOnlySpan IsAuthenticated => "aspnetcore.user.is_authenticated"u8; - -} - -/// -/// UTF-8 attribute keys for azure.client.* (zero-allocation parsing) -/// -public static class AzureClientUtf8 -{ - /// azure.client.id - public static ReadOnlySpan Id => "azure.client.id"u8; - -} - -/// -/// UTF-8 attribute keys for azure.cosmosdb.* (zero-allocation parsing) -/// -public static class AzureCosmosdbUtf8 -{ - /// azure.cosmosdb.connection.mode - public static ReadOnlySpan ConnectionMode => "azure.cosmosdb.connection.mode"u8; - - /// azure.cosmosdb.consistency.level - public static ReadOnlySpan ConsistencyLevel => "azure.cosmosdb.consistency.level"u8; - - /// azure.cosmosdb.operation.contacted_regions - public static ReadOnlySpan OperationContactedRegions => "azure.cosmosdb.operation.contacted_regions"u8; - - /// azure.cosmosdb.operation.request_charge - public static ReadOnlySpan OperationRequestCharge => "azure.cosmosdb.operation.request_charge"u8; - - /// azure.cosmosdb.request.body.size - public static ReadOnlySpan RequestBodySize => "azure.cosmosdb.request.body.size"u8; - - /// azure.cosmosdb.response.sub_status_code - public static ReadOnlySpan ResponseSubStatusCode => "azure.cosmosdb.response.sub_status_code"u8; - -} - -/// -/// UTF-8 attribute keys for azure.resource_provider.* (zero-allocation parsing) -/// -public static class AzureResourceProviderUtf8 -{ - /// azure.resource_provider.namespace - public static ReadOnlySpan Namespace => "azure.resource_provider.namespace"u8; - -} - -/// -/// UTF-8 attribute keys for azure.service.* (zero-allocation parsing) -/// -public static class AzureServiceUtf8 -{ - /// azure.service.request.id - public static ReadOnlySpan RequestId => "azure.service.request.id"u8; - -} - -/// -/// UTF-8 attribute keys for browser.brands.* (zero-allocation parsing) -/// -public static class BrowserBrandsUtf8 -{ - /// browser.brands - public static ReadOnlySpan Brands => "browser.brands"u8; - -} - -/// -/// UTF-8 attribute keys for browser.language.* (zero-allocation parsing) -/// -public static class BrowserLanguageUtf8 -{ - /// browser.language - public static ReadOnlySpan Language => "browser.language"u8; - -} - -/// -/// UTF-8 attribute keys for browser.mobile.* (zero-allocation parsing) -/// -public static class BrowserMobileUtf8 -{ - /// browser.mobile - public static ReadOnlySpan Mobile => "browser.mobile"u8; - -} - -/// -/// UTF-8 attribute keys for browser.platform.* (zero-allocation parsing) -/// -public static class BrowserPlatformUtf8 -{ - /// browser.platform - public static ReadOnlySpan Platform => "browser.platform"u8; - -} - -/// -/// UTF-8 attribute keys for cicd.pipeline.* (zero-allocation parsing) -/// -public static class CicdPipelineUtf8 -{ - /// cicd.pipeline.action.name - public static ReadOnlySpan ActionName => "cicd.pipeline.action.name"u8; - - /// cicd.pipeline.name - public static ReadOnlySpan Name => "cicd.pipeline.name"u8; - - /// cicd.pipeline.result - public static ReadOnlySpan Result => "cicd.pipeline.result"u8; - - /// cicd.pipeline.run.id - public static ReadOnlySpan RunId => "cicd.pipeline.run.id"u8; - - /// cicd.pipeline.run.state - public static ReadOnlySpan RunState => "cicd.pipeline.run.state"u8; - - /// cicd.pipeline.run.url.full - public static ReadOnlySpan RunUrlFull => "cicd.pipeline.run.url.full"u8; - - /// cicd.pipeline.task.name - public static ReadOnlySpan TaskName => "cicd.pipeline.task.name"u8; - - /// cicd.pipeline.task.run.id - public static ReadOnlySpan TaskRunId => "cicd.pipeline.task.run.id"u8; - - /// cicd.pipeline.task.run.result - public static ReadOnlySpan TaskRunResult => "cicd.pipeline.task.run.result"u8; - - /// cicd.pipeline.task.run.url.full - public static ReadOnlySpan TaskRunUrlFull => "cicd.pipeline.task.run.url.full"u8; - - /// cicd.pipeline.task.type - public static ReadOnlySpan TaskType => "cicd.pipeline.task.type"u8; - -} - -/// -/// UTF-8 attribute keys for cicd.system.* (zero-allocation parsing) -/// -public static class CicdSystemUtf8 -{ - /// cicd.system.component - public static ReadOnlySpan Component => "cicd.system.component"u8; - -} - -/// -/// UTF-8 attribute keys for cicd.worker.* (zero-allocation parsing) -/// -public static class CicdWorkerUtf8 -{ - /// cicd.worker.id - public static ReadOnlySpan Id => "cicd.worker.id"u8; - - /// cicd.worker.name - public static ReadOnlySpan Name => "cicd.worker.name"u8; - - /// cicd.worker.state - public static ReadOnlySpan State => "cicd.worker.state"u8; - - /// cicd.worker.url.full - public static ReadOnlySpan UrlFull => "cicd.worker.url.full"u8; - -} - -/// -/// UTF-8 attribute keys for client.address.* (zero-allocation parsing) -/// -public static class ClientAddressUtf8 -{ - /// client.address - public static ReadOnlySpan Address => "client.address"u8; - -} - -/// -/// UTF-8 attribute keys for client.port.* (zero-allocation parsing) -/// -public static class ClientPortUtf8 -{ - /// client.port - public static ReadOnlySpan Port => "client.port"u8; - -} - -/// -/// UTF-8 attribute keys for cloud.account.* (zero-allocation parsing) -/// -public static class CloudAccountUtf8 -{ - /// cloud.account.id - public static ReadOnlySpan Id => "cloud.account.id"u8; - -} - -/// -/// UTF-8 attribute keys for cloud.availability_zone.* (zero-allocation parsing) -/// -public static class CloudAvailabilityZoneUtf8 -{ - /// cloud.availability_zone - public static ReadOnlySpan Availability_zone => "cloud.availability_zone"u8; - -} - -/// -/// UTF-8 attribute keys for cloud.platform.* (zero-allocation parsing) -/// -public static class CloudPlatformUtf8 -{ - /// cloud.platform - public static ReadOnlySpan Platform => "cloud.platform"u8; - -} - -/// -/// UTF-8 attribute keys for cloud.provider.* (zero-allocation parsing) -/// -public static class CloudProviderUtf8 -{ - /// cloud.provider - public static ReadOnlySpan Provider => "cloud.provider"u8; - -} - -/// -/// UTF-8 attribute keys for cloud.region.* (zero-allocation parsing) -/// -public static class CloudRegionUtf8 -{ - /// cloud.region - public static ReadOnlySpan Region => "cloud.region"u8; - -} - -/// -/// UTF-8 attribute keys for cloud.resource_id.* (zero-allocation parsing) -/// -public static class CloudResourceIdUtf8 -{ - /// cloud.resource_id - public static ReadOnlySpan Resource_id => "cloud.resource_id"u8; - -} - -/// -/// UTF-8 attribute keys for cloudevents.event_id.* (zero-allocation parsing) -/// -public static class CloudeventsEventIdUtf8 -{ - /// cloudevents.event_id - public static ReadOnlySpan Event_id => "cloudevents.event_id"u8; - -} - -/// -/// UTF-8 attribute keys for cloudevents.event_source.* (zero-allocation parsing) -/// -public static class CloudeventsEventSourceUtf8 -{ - /// cloudevents.event_source - public static ReadOnlySpan Event_source => "cloudevents.event_source"u8; - -} - -/// -/// UTF-8 attribute keys for cloudevents.event_spec_version.* (zero-allocation parsing) -/// -public static class CloudeventsEventSpecVersionUtf8 -{ - /// cloudevents.event_spec_version - public static ReadOnlySpan Event_spec_version => "cloudevents.event_spec_version"u8; - -} - -/// -/// UTF-8 attribute keys for cloudevents.event_subject.* (zero-allocation parsing) -/// -public static class CloudeventsEventSubjectUtf8 -{ - /// cloudevents.event_subject - public static ReadOnlySpan Event_subject => "cloudevents.event_subject"u8; - -} - -/// -/// UTF-8 attribute keys for cloudevents.event_type.* (zero-allocation parsing) -/// -public static class CloudeventsEventTypeUtf8 -{ - /// cloudevents.event_type - public static ReadOnlySpan Event_type => "cloudevents.event_type"u8; - -} - -/// -/// UTF-8 attribute keys for cloudfoundry.app.* (zero-allocation parsing) -/// -public static class CloudfoundryAppUtf8 -{ - /// cloudfoundry.app.id - public static ReadOnlySpan Id => "cloudfoundry.app.id"u8; - - /// cloudfoundry.app.instance.id - public static ReadOnlySpan InstanceId => "cloudfoundry.app.instance.id"u8; - - /// cloudfoundry.app.name - public static ReadOnlySpan Name => "cloudfoundry.app.name"u8; - -} - -/// -/// UTF-8 attribute keys for cloudfoundry.org.* (zero-allocation parsing) -/// -public static class CloudfoundryOrgUtf8 -{ - /// cloudfoundry.org.id - public static ReadOnlySpan Id => "cloudfoundry.org.id"u8; - - /// cloudfoundry.org.name - public static ReadOnlySpan Name => "cloudfoundry.org.name"u8; - -} - -/// -/// UTF-8 attribute keys for cloudfoundry.process.* (zero-allocation parsing) -/// -public static class CloudfoundryProcessUtf8 -{ - /// cloudfoundry.process.id - public static ReadOnlySpan Id => "cloudfoundry.process.id"u8; - - /// cloudfoundry.process.type - public static ReadOnlySpan Type => "cloudfoundry.process.type"u8; - -} - -/// -/// UTF-8 attribute keys for cloudfoundry.space.* (zero-allocation parsing) -/// -public static class CloudfoundrySpaceUtf8 -{ - /// cloudfoundry.space.id - public static ReadOnlySpan Id => "cloudfoundry.space.id"u8; - - /// cloudfoundry.space.name - public static ReadOnlySpan Name => "cloudfoundry.space.name"u8; - -} - -/// -/// UTF-8 attribute keys for cloudfoundry.system.* (zero-allocation parsing) -/// -public static class CloudfoundrySystemUtf8 -{ - /// cloudfoundry.system.id - public static ReadOnlySpan Id => "cloudfoundry.system.id"u8; - - /// cloudfoundry.system.instance.id - public static ReadOnlySpan InstanceId => "cloudfoundry.system.instance.id"u8; - -} - -/// -/// UTF-8 attribute keys for code.column.* (zero-allocation parsing) -/// -public static class CodeColumnUtf8 -{ - /// code.column - public static ReadOnlySpan Column => "code.column"u8; - - /// code.column.number - public static ReadOnlySpan Number => "code.column.number"u8; - -} - -/// -/// UTF-8 attribute keys for code.file.* (zero-allocation parsing) -/// -public static class CodeFileUtf8 -{ - /// code.file.path - public static ReadOnlySpan Path => "code.file.path"u8; - -} - -/// -/// UTF-8 attribute keys for code.filepath.* (zero-allocation parsing) -/// -public static class CodeFilepathUtf8 -{ - /// code.filepath - public static ReadOnlySpan Filepath => "code.filepath"u8; - -} - -/// -/// UTF-8 attribute keys for code.function.* (zero-allocation parsing) -/// -public static class CodeFunctionUtf8 -{ - /// code.function - public static ReadOnlySpan Function => "code.function"u8; - - /// code.function.name - public static ReadOnlySpan Name => "code.function.name"u8; - -} - -/// -/// UTF-8 attribute keys for code.line.* (zero-allocation parsing) -/// -public static class CodeLineUtf8 -{ - /// code.line.number - public static ReadOnlySpan Number => "code.line.number"u8; - -} - -/// -/// UTF-8 attribute keys for code.lineno.* (zero-allocation parsing) -/// -public static class CodeLinenoUtf8 -{ - /// code.lineno - public static ReadOnlySpan Lineno => "code.lineno"u8; - -} - -/// -/// UTF-8 attribute keys for code.namespace.* (zero-allocation parsing) -/// -public static class CodeNamespaceUtf8 -{ - /// code.namespace - public static ReadOnlySpan Namespace => "code.namespace"u8; - -} - -/// -/// UTF-8 attribute keys for code.stacktrace.* (zero-allocation parsing) -/// -public static class CodeStacktraceUtf8 -{ - /// code.stacktrace - public static ReadOnlySpan Stacktrace => "code.stacktrace"u8; - -} - -/// -/// UTF-8 attribute keys for container.command.* (zero-allocation parsing) -/// -public static class ContainerCommandUtf8 -{ - /// container.command - public static ReadOnlySpan Command => "container.command"u8; - -} - -/// -/// UTF-8 attribute keys for container.command_args.* (zero-allocation parsing) -/// -public static class ContainerCommandArgsUtf8 -{ - /// container.command_args - public static ReadOnlySpan Command_args => "container.command_args"u8; - -} - -/// -/// UTF-8 attribute keys for container.command_line.* (zero-allocation parsing) -/// -public static class ContainerCommandLineUtf8 -{ - /// container.command_line - public static ReadOnlySpan Command_line => "container.command_line"u8; - -} - -/// -/// UTF-8 attribute keys for container.cpu.* (zero-allocation parsing) -/// -public static class ContainerCpuUtf8 -{ - /// container.cpu.state - public static ReadOnlySpan State => "container.cpu.state"u8; - -} - -/// -/// UTF-8 attribute keys for container.csi.* (zero-allocation parsing) -/// -public static class ContainerCsiUtf8 -{ - /// container.csi.plugin.name - public static ReadOnlySpan PluginName => "container.csi.plugin.name"u8; - - /// container.csi.volume.id - public static ReadOnlySpan VolumeId => "container.csi.volume.id"u8; - -} - -/// -/// UTF-8 attribute keys for container.id.* (zero-allocation parsing) -/// -public static class ContainerIdUtf8 -{ - /// container.id - public static ReadOnlySpan Id => "container.id"u8; - -} - -/// -/// UTF-8 attribute keys for container.image.* (zero-allocation parsing) -/// -public static class ContainerImageUtf8 -{ - /// container.image.id - public static ReadOnlySpan Id => "container.image.id"u8; - - /// container.image.name - public static ReadOnlySpan Name => "container.image.name"u8; - - /// container.image.repo_digests - public static ReadOnlySpan RepoDigests => "container.image.repo_digests"u8; - - /// container.image.tags - public static ReadOnlySpan Tags => "container.image.tags"u8; - -} - -/// -/// UTF-8 attribute keys for container.name.* (zero-allocation parsing) -/// -public static class ContainerNameUtf8 -{ - /// container.name - public static ReadOnlySpan Name => "container.name"u8; - -} - -/// -/// UTF-8 attribute keys for container.runtime.* (zero-allocation parsing) -/// -public static class ContainerRuntimeUtf8 -{ - /// container.runtime - public static ReadOnlySpan Runtime => "container.runtime"u8; - - /// container.runtime.description - public static ReadOnlySpan Description => "container.runtime.description"u8; - - /// container.runtime.name - public static ReadOnlySpan Name => "container.runtime.name"u8; - - /// container.runtime.version - public static ReadOnlySpan Version => "container.runtime.version"u8; - -} - -/// -/// UTF-8 attribute keys for db.cassandra.* (zero-allocation parsing) -/// -public static class DbCassandraUtf8 -{ - /// db.cassandra.consistency_level - public static ReadOnlySpan ConsistencyLevel => "db.cassandra.consistency_level"u8; - - /// db.cassandra.coordinator.dc - public static ReadOnlySpan CoordinatorDc => "db.cassandra.coordinator.dc"u8; - - /// db.cassandra.coordinator.id - public static ReadOnlySpan CoordinatorId => "db.cassandra.coordinator.id"u8; - - /// db.cassandra.idempotence - public static ReadOnlySpan Idempotence => "db.cassandra.idempotence"u8; - - /// db.cassandra.page_size - public static ReadOnlySpan PageSize => "db.cassandra.page_size"u8; - - /// db.cassandra.speculative_execution_count - public static ReadOnlySpan SpeculativeExecutionCount => "db.cassandra.speculative_execution_count"u8; - - /// db.cassandra.table - public static ReadOnlySpan Table => "db.cassandra.table"u8; - -} - -/// -/// UTF-8 attribute keys for db.client.* (zero-allocation parsing) -/// -public static class DbClientUtf8 -{ - /// db.client.connection.pool.name - public static ReadOnlySpan ConnectionPoolName => "db.client.connection.pool.name"u8; - - /// db.client.connection.state - public static ReadOnlySpan ConnectionState => "db.client.connection.state"u8; - - /// db.client.connections.pool.name - public static ReadOnlySpan ConnectionsPoolName => "db.client.connections.pool.name"u8; - - /// db.client.connections.state - public static ReadOnlySpan ConnectionsState => "db.client.connections.state"u8; - -} - -/// -/// UTF-8 attribute keys for db.collection.* (zero-allocation parsing) -/// -public static class DbCollectionUtf8 -{ - /// db.collection.name - public static ReadOnlySpan Name => "db.collection.name"u8; - -} - -/// -/// UTF-8 attribute keys for db.connection_string.* (zero-allocation parsing) -/// -public static class DbConnectionStringUtf8 -{ - /// db.connection_string - public static ReadOnlySpan Connection_string => "db.connection_string"u8; - -} - -/// -/// UTF-8 attribute keys for db.cosmosdb.* (zero-allocation parsing) -/// -public static class DbCosmosdbUtf8 -{ - /// db.cosmosdb.client_id - public static ReadOnlySpan ClientId => "db.cosmosdb.client_id"u8; - - /// db.cosmosdb.connection_mode - public static ReadOnlySpan ConnectionMode => "db.cosmosdb.connection_mode"u8; - - /// db.cosmosdb.consistency_level - public static ReadOnlySpan ConsistencyLevel => "db.cosmosdb.consistency_level"u8; - - /// db.cosmosdb.container - public static ReadOnlySpan Container => "db.cosmosdb.container"u8; - - /// db.cosmosdb.operation_type - public static ReadOnlySpan OperationType => "db.cosmosdb.operation_type"u8; - - /// db.cosmosdb.regions_contacted - public static ReadOnlySpan RegionsContacted => "db.cosmosdb.regions_contacted"u8; - - /// db.cosmosdb.request_charge - public static ReadOnlySpan RequestCharge => "db.cosmosdb.request_charge"u8; - - /// db.cosmosdb.request_content_length - public static ReadOnlySpan RequestContentLength => "db.cosmosdb.request_content_length"u8; - - /// db.cosmosdb.status_code - public static ReadOnlySpan StatusCode => "db.cosmosdb.status_code"u8; - - /// db.cosmosdb.sub_status_code - public static ReadOnlySpan SubStatusCode => "db.cosmosdb.sub_status_code"u8; - -} - -/// -/// UTF-8 attribute keys for db.elasticsearch.* (zero-allocation parsing) -/// -public static class DbElasticsearchUtf8 -{ - /// db.elasticsearch.cluster.name - public static ReadOnlySpan ClusterName => "db.elasticsearch.cluster.name"u8; - - /// db.elasticsearch.node.name - public static ReadOnlySpan NodeName => "db.elasticsearch.node.name"u8; - -} - -/// -/// UTF-8 attribute keys for db.instance.* (zero-allocation parsing) -/// -public static class DbInstanceUtf8 -{ - /// db.instance.id - public static ReadOnlySpan Id => "db.instance.id"u8; - -} - -/// -/// UTF-8 attribute keys for db.jdbc.* (zero-allocation parsing) -/// -public static class DbJdbcUtf8 -{ - /// db.jdbc.driver_classname - public static ReadOnlySpan DriverClassname => "db.jdbc.driver_classname"u8; - -} - -/// -/// UTF-8 attribute keys for db.mongodb.* (zero-allocation parsing) -/// -public static class DbMongodbUtf8 -{ - /// db.mongodb.collection - public static ReadOnlySpan Collection => "db.mongodb.collection"u8; - -} - -/// -/// UTF-8 attribute keys for db.mssql.* (zero-allocation parsing) -/// -public static class DbMssqlUtf8 -{ - /// db.mssql.instance_name - public static ReadOnlySpan InstanceName => "db.mssql.instance_name"u8; - -} - -/// -/// UTF-8 attribute keys for db.name.* (zero-allocation parsing) -/// -public static class DbNameUtf8 -{ - /// db.name - public static ReadOnlySpan Name => "db.name"u8; - -} - -/// -/// UTF-8 attribute keys for db.namespace.* (zero-allocation parsing) -/// -public static class DbNamespaceUtf8 -{ - /// db.namespace - public static ReadOnlySpan Namespace => "db.namespace"u8; - -} - -/// -/// UTF-8 attribute keys for db.operation.* (zero-allocation parsing) -/// -public static class DbOperationUtf8 -{ - /// db.operation - public static ReadOnlySpan Operation => "db.operation"u8; - - /// db.operation.batch.size - public static ReadOnlySpan BatchSize => "db.operation.batch.size"u8; - - /// db.operation.name - public static ReadOnlySpan Name => "db.operation.name"u8; - -} - -/// -/// UTF-8 attribute keys for db.query.* (zero-allocation parsing) -/// -public static class DbQueryUtf8 -{ - /// db.query.summary - public static ReadOnlySpan Summary => "db.query.summary"u8; - - /// db.query.text - public static ReadOnlySpan Text => "db.query.text"u8; - -} - -/// -/// UTF-8 attribute keys for db.redis.* (zero-allocation parsing) -/// -public static class DbRedisUtf8 -{ - /// db.redis.database_index - public static ReadOnlySpan DatabaseIndex => "db.redis.database_index"u8; - -} - -/// -/// UTF-8 attribute keys for db.response.* (zero-allocation parsing) -/// -public static class DbResponseUtf8 -{ - /// db.response.returned_rows - public static ReadOnlySpan ReturnedRows => "db.response.returned_rows"u8; - - /// db.response.status_code - public static ReadOnlySpan StatusCode => "db.response.status_code"u8; - -} - -/// -/// UTF-8 attribute keys for db.sql.* (zero-allocation parsing) -/// -public static class DbSqlUtf8 -{ - /// db.sql.table - public static ReadOnlySpan Table => "db.sql.table"u8; - -} - -/// -/// UTF-8 attribute keys for db.statement.* (zero-allocation parsing) -/// -public static class DbStatementUtf8 -{ - /// db.statement - public static ReadOnlySpan Statement => "db.statement"u8; - -} - -/// -/// UTF-8 attribute keys for db.stored_procedure.* (zero-allocation parsing) -/// -public static class DbStoredProcedureUtf8 -{ - /// db.stored_procedure.name - public static ReadOnlySpan Name => "db.stored_procedure.name"u8; - -} - -/// -/// UTF-8 attribute keys for db.system.* (zero-allocation parsing) -/// -public static class DbSystemUtf8 -{ - /// db.system - public static ReadOnlySpan System => "db.system"u8; - - /// db.system.name - public static ReadOnlySpan Name => "db.system.name"u8; - -} - -/// -/// UTF-8 attribute keys for db.user.* (zero-allocation parsing) -/// -public static class DbUserUtf8 -{ - /// db.user - public static ReadOnlySpan User => "db.user"u8; - -} - -/// -/// UTF-8 attribute keys for deployment.environment.* (zero-allocation parsing) -/// -public static class DeploymentEnvironmentUtf8 -{ - /// deployment.environment - public static ReadOnlySpan Environment => "deployment.environment"u8; - - /// deployment.environment.name - public static ReadOnlySpan Name => "deployment.environment.name"u8; - -} - -/// -/// UTF-8 attribute keys for deployment.id.* (zero-allocation parsing) -/// -public static class DeploymentIdUtf8 -{ - /// deployment.id - public static ReadOnlySpan Id => "deployment.id"u8; - -} - -/// -/// UTF-8 attribute keys for deployment.name.* (zero-allocation parsing) -/// -public static class DeploymentNameUtf8 -{ - /// deployment.name - public static ReadOnlySpan Name => "deployment.name"u8; - -} - -/// -/// UTF-8 attribute keys for deployment.status.* (zero-allocation parsing) -/// -public static class DeploymentStatusUtf8 -{ - /// deployment.status - public static ReadOnlySpan Status => "deployment.status"u8; - -} - -/// -/// UTF-8 attribute keys for dns.answers.* (zero-allocation parsing) -/// -public static class DnsAnswersUtf8 -{ - /// dns.answers - public static ReadOnlySpan Answers => "dns.answers"u8; - -} - -/// -/// UTF-8 attribute keys for dns.question.* (zero-allocation parsing) -/// -public static class DnsQuestionUtf8 -{ - /// dns.question.name - public static ReadOnlySpan Name => "dns.question.name"u8; - -} - -/// -/// UTF-8 attribute keys for dotnet.gc.* (zero-allocation parsing) -/// -public static class DotnetGcUtf8 -{ - /// dotnet.gc.heap.generation - public static ReadOnlySpan HeapGeneration => "dotnet.gc.heap.generation"u8; - -} - -/// -/// UTF-8 attribute keys for elasticsearch.node.* (zero-allocation parsing) -/// -public static class ElasticsearchNodeUtf8 -{ - /// elasticsearch.node.name - public static ReadOnlySpan Name => "elasticsearch.node.name"u8; - -} - -/// -/// UTF-8 attribute keys for enduser.id.* (zero-allocation parsing) -/// -public static class EnduserIdUtf8 -{ - /// enduser.id - public static ReadOnlySpan Id => "enduser.id"u8; - -} - -/// -/// UTF-8 attribute keys for enduser.pseudo.* (zero-allocation parsing) -/// -public static class EnduserPseudoUtf8 -{ - /// enduser.pseudo.id - public static ReadOnlySpan Id => "enduser.pseudo.id"u8; - -} - -/// -/// UTF-8 attribute keys for enduser.role.* (zero-allocation parsing) -/// -public static class EnduserRoleUtf8 -{ - /// enduser.role - public static ReadOnlySpan Role => "enduser.role"u8; - -} - -/// -/// UTF-8 attribute keys for enduser.scope.* (zero-allocation parsing) -/// -public static class EnduserScopeUtf8 -{ - /// enduser.scope - public static ReadOnlySpan Scope => "enduser.scope"u8; - -} - -/// -/// UTF-8 attribute keys for error.message.* (zero-allocation parsing) -/// -public static class ErrorMessageUtf8 -{ - /// error.message - public static ReadOnlySpan Message => "error.message"u8; - -} - -/// -/// UTF-8 attribute keys for error.type.* (zero-allocation parsing) -/// -public static class ErrorTypeUtf8 -{ - /// error.type - public static ReadOnlySpan Type => "error.type"u8; - -} - -/// -/// UTF-8 attribute keys for exception.escaped.* (zero-allocation parsing) -/// -public static class ExceptionEscapedUtf8 -{ - /// exception.escaped - public static ReadOnlySpan Escaped => "exception.escaped"u8; - -} - -/// -/// UTF-8 attribute keys for exception.message.* (zero-allocation parsing) -/// -public static class ExceptionMessageUtf8 -{ - /// exception.message - public static ReadOnlySpan Message => "exception.message"u8; - -} - -/// -/// UTF-8 attribute keys for exception.stacktrace.* (zero-allocation parsing) -/// -public static class ExceptionStacktraceUtf8 -{ - /// exception.stacktrace - public static ReadOnlySpan Stacktrace => "exception.stacktrace"u8; - -} - -/// -/// UTF-8 attribute keys for exception.type.* (zero-allocation parsing) -/// -public static class ExceptionTypeUtf8 -{ - /// exception.type - public static ReadOnlySpan Type => "exception.type"u8; - -} - -/// -/// UTF-8 attribute keys for faas.coldstart.* (zero-allocation parsing) -/// -public static class FaasColdstartUtf8 -{ - /// faas.coldstart - public static ReadOnlySpan Coldstart => "faas.coldstart"u8; - -} - -/// -/// UTF-8 attribute keys for faas.cron.* (zero-allocation parsing) -/// -public static class FaasCronUtf8 -{ - /// faas.cron - public static ReadOnlySpan Cron => "faas.cron"u8; - -} - -/// -/// UTF-8 attribute keys for faas.document.* (zero-allocation parsing) -/// -public static class FaasDocumentUtf8 -{ - /// faas.document.collection - public static ReadOnlySpan Collection => "faas.document.collection"u8; - - /// faas.document.name - public static ReadOnlySpan Name => "faas.document.name"u8; - - /// faas.document.operation - public static ReadOnlySpan Operation => "faas.document.operation"u8; - - /// faas.document.time - public static ReadOnlySpan Time => "faas.document.time"u8; - -} - -/// -/// UTF-8 attribute keys for faas.instance.* (zero-allocation parsing) -/// -public static class FaasInstanceUtf8 -{ - /// faas.instance - public static ReadOnlySpan Instance => "faas.instance"u8; - -} - -/// -/// UTF-8 attribute keys for faas.invocation_id.* (zero-allocation parsing) -/// -public static class FaasInvocationIdUtf8 -{ - /// faas.invocation_id - public static ReadOnlySpan Invocation_id => "faas.invocation_id"u8; - -} - -/// -/// UTF-8 attribute keys for faas.invoked_name.* (zero-allocation parsing) -/// -public static class FaasInvokedNameUtf8 -{ - /// faas.invoked_name - public static ReadOnlySpan Invoked_name => "faas.invoked_name"u8; - -} - -/// -/// UTF-8 attribute keys for faas.invoked_provider.* (zero-allocation parsing) -/// -public static class FaasInvokedProviderUtf8 -{ - /// faas.invoked_provider - public static ReadOnlySpan Invoked_provider => "faas.invoked_provider"u8; - -} - -/// -/// UTF-8 attribute keys for faas.invoked_region.* (zero-allocation parsing) -/// -public static class FaasInvokedRegionUtf8 -{ - /// faas.invoked_region - public static ReadOnlySpan Invoked_region => "faas.invoked_region"u8; - -} - -/// -/// UTF-8 attribute keys for faas.max_memory.* (zero-allocation parsing) -/// -public static class FaasMaxMemoryUtf8 -{ - /// faas.max_memory - public static ReadOnlySpan Max_memory => "faas.max_memory"u8; - -} - -/// -/// UTF-8 attribute keys for faas.name.* (zero-allocation parsing) -/// -public static class FaasNameUtf8 -{ - /// faas.name - public static ReadOnlySpan Name => "faas.name"u8; - -} - -/// -/// UTF-8 attribute keys for faas.time.* (zero-allocation parsing) -/// -public static class FaasTimeUtf8 -{ - /// faas.time - public static ReadOnlySpan Time => "faas.time"u8; - -} - -/// -/// UTF-8 attribute keys for faas.trigger.* (zero-allocation parsing) -/// -public static class FaasTriggerUtf8 -{ - /// faas.trigger - public static ReadOnlySpan Trigger => "faas.trigger"u8; - -} - -/// -/// UTF-8 attribute keys for faas.version.* (zero-allocation parsing) -/// -public static class FaasVersionUtf8 -{ - /// faas.version - public static ReadOnlySpan Version => "faas.version"u8; - -} - -/// -/// UTF-8 attribute keys for feature_flag.context.* (zero-allocation parsing) -/// -public static class FeatureFlagContextUtf8 -{ - /// feature_flag.context.id - public static ReadOnlySpan Id => "feature_flag.context.id"u8; - -} - -/// -/// UTF-8 attribute keys for feature_flag.error.* (zero-allocation parsing) -/// -public static class FeatureFlagErrorUtf8 -{ - /// feature_flag.error.message - public static ReadOnlySpan Message => "feature_flag.error.message"u8; - -} - -/// -/// UTF-8 attribute keys for feature_flag.evaluation.* (zero-allocation parsing) -/// -public static class FeatureFlagEvaluationUtf8 -{ - /// feature_flag.evaluation.error.message - public static ReadOnlySpan ErrorMessage => "feature_flag.evaluation.error.message"u8; - - /// feature_flag.evaluation.reason - public static ReadOnlySpan Reason => "feature_flag.evaluation.reason"u8; - -} - -/// -/// UTF-8 attribute keys for feature_flag.key.* (zero-allocation parsing) -/// -public static class FeatureFlagKeyUtf8 -{ - /// feature_flag.key - public static ReadOnlySpan Key => "feature_flag.key"u8; - -} - -/// -/// UTF-8 attribute keys for feature_flag.provider.* (zero-allocation parsing) -/// -public static class FeatureFlagProviderUtf8 -{ - /// feature_flag.provider.name - public static ReadOnlySpan Name => "feature_flag.provider.name"u8; - -} - -/// -/// UTF-8 attribute keys for feature_flag.result.* (zero-allocation parsing) -/// -public static class FeatureFlagResultUtf8 -{ - /// feature_flag.result.reason - public static ReadOnlySpan Reason => "feature_flag.result.reason"u8; - - /// feature_flag.result.value - public static ReadOnlySpan Value => "feature_flag.result.value"u8; - - /// feature_flag.result.variant - public static ReadOnlySpan Variant => "feature_flag.result.variant"u8; - -} - -/// -/// UTF-8 attribute keys for feature_flag.set.* (zero-allocation parsing) -/// -public static class FeatureFlagSetUtf8 -{ - /// feature_flag.set.id - public static ReadOnlySpan Id => "feature_flag.set.id"u8; - -} - -/// -/// UTF-8 attribute keys for feature_flag.variant.* (zero-allocation parsing) -/// -public static class FeatureFlagVariantUtf8 -{ - /// feature_flag.variant - public static ReadOnlySpan Variant => "feature_flag.variant"u8; - -} - -/// -/// UTF-8 attribute keys for feature_flag.version.* (zero-allocation parsing) -/// -public static class FeatureFlagVersionUtf8 -{ - /// feature_flag.version - public static ReadOnlySpan Version => "feature_flag.version"u8; - -} - -/// -/// UTF-8 attribute keys for file.accessed.* (zero-allocation parsing) -/// -public static class FileAccessedUtf8 -{ - /// file.accessed - public static ReadOnlySpan Accessed => "file.accessed"u8; - -} - -/// -/// UTF-8 attribute keys for file.attributes.* (zero-allocation parsing) -/// -public static class FileAttributesUtf8 -{ - /// file.attributes - public static ReadOnlySpan Attributes => "file.attributes"u8; - -} - -/// -/// UTF-8 attribute keys for file.changed.* (zero-allocation parsing) -/// -public static class FileChangedUtf8 -{ - /// file.changed - public static ReadOnlySpan Changed => "file.changed"u8; - -} - -/// -/// UTF-8 attribute keys for file.created.* (zero-allocation parsing) -/// -public static class FileCreatedUtf8 -{ - /// file.created - public static ReadOnlySpan Created => "file.created"u8; - -} - -/// -/// UTF-8 attribute keys for file.directory.* (zero-allocation parsing) -/// -public static class FileDirectoryUtf8 -{ - /// file.directory - public static ReadOnlySpan Directory => "file.directory"u8; - -} - -/// -/// UTF-8 attribute keys for file.extension.* (zero-allocation parsing) -/// -public static class FileExtensionUtf8 -{ - /// file.extension - public static ReadOnlySpan Extension => "file.extension"u8; - -} - -/// -/// UTF-8 attribute keys for file.fork_name.* (zero-allocation parsing) -/// -public static class FileForkNameUtf8 -{ - /// file.fork_name - public static ReadOnlySpan Fork_name => "file.fork_name"u8; - -} - -/// -/// UTF-8 attribute keys for file.group.* (zero-allocation parsing) -/// -public static class FileGroupUtf8 -{ - /// file.group.id - public static ReadOnlySpan Id => "file.group.id"u8; - - /// file.group.name - public static ReadOnlySpan Name => "file.group.name"u8; - -} - -/// -/// UTF-8 attribute keys for file.inode.* (zero-allocation parsing) -/// -public static class FileInodeUtf8 -{ - /// file.inode - public static ReadOnlySpan Inode => "file.inode"u8; - -} - -/// -/// UTF-8 attribute keys for file.mode.* (zero-allocation parsing) -/// -public static class FileModeUtf8 -{ - /// file.mode - public static ReadOnlySpan Mode => "file.mode"u8; - -} - -/// -/// UTF-8 attribute keys for file.modified.* (zero-allocation parsing) -/// -public static class FileModifiedUtf8 -{ - /// file.modified - public static ReadOnlySpan Modified => "file.modified"u8; - -} - -/// -/// UTF-8 attribute keys for file.name.* (zero-allocation parsing) -/// -public static class FileNameUtf8 -{ - /// file.name - public static ReadOnlySpan Name => "file.name"u8; - -} - -/// -/// UTF-8 attribute keys for file.owner.* (zero-allocation parsing) -/// -public static class FileOwnerUtf8 -{ - /// file.owner.id - public static ReadOnlySpan Id => "file.owner.id"u8; - - /// file.owner.name - public static ReadOnlySpan Name => "file.owner.name"u8; - -} - -/// -/// UTF-8 attribute keys for file.path.* (zero-allocation parsing) -/// -public static class FilePathUtf8 -{ - /// file.path - public static ReadOnlySpan Path => "file.path"u8; - -} - -/// -/// UTF-8 attribute keys for file.size.* (zero-allocation parsing) -/// -public static class FileSizeUtf8 -{ - /// file.size - public static ReadOnlySpan Size => "file.size"u8; - -} - -/// -/// UTF-8 attribute keys for file.symbolic_link.* (zero-allocation parsing) -/// -public static class FileSymbolicLinkUtf8 -{ - /// file.symbolic_link.target_path - public static ReadOnlySpan TargetPath => "file.symbolic_link.target_path"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.agent.* (zero-allocation parsing) -/// -public static class GenAiAgentUtf8 -{ - /// gen_ai.agent.description - public static ReadOnlySpan Description => "gen_ai.agent.description"u8; - - /// gen_ai.agent.id - public static ReadOnlySpan Id => "gen_ai.agent.id"u8; - - /// gen_ai.agent.name - public static ReadOnlySpan Name => "gen_ai.agent.name"u8; - - /// gen_ai.agent.version - public static ReadOnlySpan Version => "gen_ai.agent.version"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.completion.* (zero-allocation parsing) -/// -public static class GenAiCompletionUtf8 -{ - /// gen_ai.completion - public static ReadOnlySpan Completion => "gen_ai.completion"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.conversation.* (zero-allocation parsing) -/// -public static class GenAiConversationUtf8 -{ - /// gen_ai.conversation.id - public static ReadOnlySpan Id => "gen_ai.conversation.id"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.data_source.* (zero-allocation parsing) -/// -public static class GenAiDataSourceUtf8 -{ - /// gen_ai.data_source.id - public static ReadOnlySpan Id => "gen_ai.data_source.id"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.embeddings.* (zero-allocation parsing) -/// -public static class GenAiEmbeddingsUtf8 -{ - /// gen_ai.embeddings.dimension.count - public static ReadOnlySpan DimensionCount => "gen_ai.embeddings.dimension.count"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.evaluation.* (zero-allocation parsing) -/// -public static class GenAiEvaluationUtf8 -{ - /// gen_ai.evaluation.explanation - public static ReadOnlySpan Explanation => "gen_ai.evaluation.explanation"u8; - - /// gen_ai.evaluation.name - public static ReadOnlySpan Name => "gen_ai.evaluation.name"u8; - - /// gen_ai.evaluation.score.label - public static ReadOnlySpan ScoreLabel => "gen_ai.evaluation.score.label"u8; - - /// gen_ai.evaluation.score.value - public static ReadOnlySpan ScoreValue => "gen_ai.evaluation.score.value"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.input.* (zero-allocation parsing) -/// -public static class GenAiInputUtf8 -{ - /// gen_ai.input.messages - public static ReadOnlySpan Messages => "gen_ai.input.messages"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.openai.* (zero-allocation parsing) -/// -public static class GenAiOpenaiUtf8 -{ - /// gen_ai.openai.request.response_format - public static ReadOnlySpan RequestResponseFormat => "gen_ai.openai.request.response_format"u8; - - /// gen_ai.openai.request.seed - public static ReadOnlySpan RequestSeed => "gen_ai.openai.request.seed"u8; - - /// gen_ai.openai.request.service_tier - public static ReadOnlySpan RequestServiceTier => "gen_ai.openai.request.service_tier"u8; - - /// gen_ai.openai.response.service_tier - public static ReadOnlySpan ResponseServiceTier => "gen_ai.openai.response.service_tier"u8; - - /// gen_ai.openai.response.system_fingerprint - public static ReadOnlySpan ResponseSystemFingerprint => "gen_ai.openai.response.system_fingerprint"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.operation.* (zero-allocation parsing) -/// -public static class GenAiOperationUtf8 -{ - /// gen_ai.operation.name - public static ReadOnlySpan Name => "gen_ai.operation.name"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.output.* (zero-allocation parsing) -/// -public static class GenAiOutputUtf8 -{ - /// gen_ai.output.messages - public static ReadOnlySpan Messages => "gen_ai.output.messages"u8; - - /// gen_ai.output.type - public static ReadOnlySpan Type => "gen_ai.output.type"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.prompt.* (zero-allocation parsing) -/// -public static class GenAiPromptUtf8 -{ - /// gen_ai.prompt - public static ReadOnlySpan Prompt => "gen_ai.prompt"u8; - - /// gen_ai.prompt.name - public static ReadOnlySpan Name => "gen_ai.prompt.name"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.provider.* (zero-allocation parsing) -/// -public static class GenAiProviderUtf8 -{ - /// gen_ai.provider.name - public static ReadOnlySpan Name => "gen_ai.provider.name"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.request.* (zero-allocation parsing) -/// -public static class GenAiRequestUtf8 -{ - /// gen_ai.request.choice.count - public static ReadOnlySpan ChoiceCount => "gen_ai.request.choice.count"u8; - - /// gen_ai.request.encoding_formats - public static ReadOnlySpan EncodingFormats => "gen_ai.request.encoding_formats"u8; - - /// gen_ai.request.frequency_penalty - public static ReadOnlySpan FrequencyPenalty => "gen_ai.request.frequency_penalty"u8; - - /// gen_ai.request.max_tokens - public static ReadOnlySpan MaxTokens => "gen_ai.request.max_tokens"u8; - - /// gen_ai.request.model - public static ReadOnlySpan Model => "gen_ai.request.model"u8; - - /// gen_ai.request.presence_penalty - public static ReadOnlySpan PresencePenalty => "gen_ai.request.presence_penalty"u8; - - /// gen_ai.request.seed - public static ReadOnlySpan Seed => "gen_ai.request.seed"u8; - - /// gen_ai.request.stop_sequences - public static ReadOnlySpan StopSequences => "gen_ai.request.stop_sequences"u8; - - /// gen_ai.request.temperature - public static ReadOnlySpan Temperature => "gen_ai.request.temperature"u8; - - /// gen_ai.request.top_k - public static ReadOnlySpan TopK => "gen_ai.request.top_k"u8; - - /// gen_ai.request.top_p - public static ReadOnlySpan TopP => "gen_ai.request.top_p"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.response.* (zero-allocation parsing) -/// -public static class GenAiResponseUtf8 -{ - /// gen_ai.response.finish_reasons - public static ReadOnlySpan FinishReasons => "gen_ai.response.finish_reasons"u8; - - /// gen_ai.response.id - public static ReadOnlySpan Id => "gen_ai.response.id"u8; - - /// gen_ai.response.model - public static ReadOnlySpan Model => "gen_ai.response.model"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.retrieval.* (zero-allocation parsing) -/// -public static class GenAiRetrievalUtf8 -{ - /// gen_ai.retrieval.documents - public static ReadOnlySpan Documents => "gen_ai.retrieval.documents"u8; - - /// gen_ai.retrieval.query.text - public static ReadOnlySpan QueryText => "gen_ai.retrieval.query.text"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.system.* (zero-allocation parsing) -/// -public static class GenAiSystemUtf8 -{ - /// gen_ai.system - public static ReadOnlySpan System => "gen_ai.system"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.system_instructions.* (zero-allocation parsing) -/// -public static class GenAiSystemInstructionsUtf8 -{ - /// gen_ai.system_instructions - public static ReadOnlySpan System_instructions => "gen_ai.system_instructions"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.token.* (zero-allocation parsing) -/// -public static class GenAiTokenUtf8 -{ - /// gen_ai.token.type - public static ReadOnlySpan Type => "gen_ai.token.type"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.tool.* (zero-allocation parsing) -/// -public static class GenAiToolUtf8 -{ - /// gen_ai.tool.call.arguments - public static ReadOnlySpan CallArguments => "gen_ai.tool.call.arguments"u8; - - /// gen_ai.tool.call.id - public static ReadOnlySpan CallId => "gen_ai.tool.call.id"u8; - - /// gen_ai.tool.call.result - public static ReadOnlySpan CallResult => "gen_ai.tool.call.result"u8; - - /// gen_ai.tool.definitions - public static ReadOnlySpan Definitions => "gen_ai.tool.definitions"u8; - - /// gen_ai.tool.description - public static ReadOnlySpan Description => "gen_ai.tool.description"u8; - - /// gen_ai.tool.name - public static ReadOnlySpan Name => "gen_ai.tool.name"u8; - - /// gen_ai.tool.type - public static ReadOnlySpan Type => "gen_ai.tool.type"u8; - -} - -/// -/// UTF-8 attribute keys for gen_ai.usage.* (zero-allocation parsing) -/// -public static class GenAiUsageUtf8 -{ - /// gen_ai.usage.cache_creation.input_tokens - public static ReadOnlySpan CacheCreationInputTokens => "gen_ai.usage.cache_creation.input_tokens"u8; - - /// gen_ai.usage.cache_read.input_tokens - public static ReadOnlySpan CacheReadInputTokens => "gen_ai.usage.cache_read.input_tokens"u8; - - /// gen_ai.usage.completion_tokens - public static ReadOnlySpan CompletionTokens => "gen_ai.usage.completion_tokens"u8; - - /// gen_ai.usage.input_tokens - public static ReadOnlySpan InputTokens => "gen_ai.usage.input_tokens"u8; - - /// gen_ai.usage.output_tokens - public static ReadOnlySpan OutputTokens => "gen_ai.usage.output_tokens"u8; - - /// gen_ai.usage.prompt_tokens - public static ReadOnlySpan PromptTokens => "gen_ai.usage.prompt_tokens"u8; - -} - -/// -/// UTF-8 attribute keys for geo.continent.* (zero-allocation parsing) -/// -public static class GeoContinentUtf8 -{ - /// geo.continent.code - public static ReadOnlySpan Code => "geo.continent.code"u8; - -} - -/// -/// UTF-8 attribute keys for geo.country.* (zero-allocation parsing) -/// -public static class GeoCountryUtf8 -{ - /// geo.country.iso_code - public static ReadOnlySpan IsoCode => "geo.country.iso_code"u8; - -} - -/// -/// UTF-8 attribute keys for geo.locality.* (zero-allocation parsing) -/// -public static class GeoLocalityUtf8 -{ - /// geo.locality.name - public static ReadOnlySpan Name => "geo.locality.name"u8; - -} - -/// -/// UTF-8 attribute keys for geo.location.* (zero-allocation parsing) -/// -public static class GeoLocationUtf8 -{ - /// geo.location.lat - public static ReadOnlySpan Lat => "geo.location.lat"u8; - - /// geo.location.lon - public static ReadOnlySpan Lon => "geo.location.lon"u8; - -} - -/// -/// UTF-8 attribute keys for geo.postal_code.* (zero-allocation parsing) -/// -public static class GeoPostalCodeUtf8 -{ - /// geo.postal_code - public static ReadOnlySpan Postal_code => "geo.postal_code"u8; - -} - -/// -/// UTF-8 attribute keys for geo.region.* (zero-allocation parsing) -/// -public static class GeoRegionUtf8 -{ - /// geo.region.iso_code - public static ReadOnlySpan IsoCode => "geo.region.iso_code"u8; - -} - -/// -/// UTF-8 attribute keys for host.arch.* (zero-allocation parsing) -/// -public static class HostArchUtf8 -{ - /// host.arch - public static ReadOnlySpan Arch => "host.arch"u8; - -} - -/// -/// UTF-8 attribute keys for host.cpu.* (zero-allocation parsing) -/// -public static class HostCpuUtf8 -{ - /// host.cpu.cache.l2.size - public static ReadOnlySpan CacheL2Size => "host.cpu.cache.l2.size"u8; - - /// host.cpu.family - public static ReadOnlySpan Family => "host.cpu.family"u8; - - /// host.cpu.model.id - public static ReadOnlySpan ModelId => "host.cpu.model.id"u8; - - /// host.cpu.model.name - public static ReadOnlySpan ModelName => "host.cpu.model.name"u8; - - /// host.cpu.stepping - public static ReadOnlySpan Stepping => "host.cpu.stepping"u8; - - /// host.cpu.vendor.id - public static ReadOnlySpan VendorId => "host.cpu.vendor.id"u8; - -} - -/// -/// UTF-8 attribute keys for host.id.* (zero-allocation parsing) -/// -public static class HostIdUtf8 -{ - /// host.id - public static ReadOnlySpan Id => "host.id"u8; - -} - -/// -/// UTF-8 attribute keys for host.image.* (zero-allocation parsing) -/// -public static class HostImageUtf8 -{ - /// host.image.id - public static ReadOnlySpan Id => "host.image.id"u8; - - /// host.image.name - public static ReadOnlySpan Name => "host.image.name"u8; - - /// host.image.version - public static ReadOnlySpan Version => "host.image.version"u8; - -} - -/// -/// UTF-8 attribute keys for host.ip.* (zero-allocation parsing) -/// -public static class HostIpUtf8 -{ - /// host.ip - public static ReadOnlySpan Ip => "host.ip"u8; - -} - -/// -/// UTF-8 attribute keys for host.mac.* (zero-allocation parsing) -/// -public static class HostMacUtf8 -{ - /// host.mac - public static ReadOnlySpan Mac => "host.mac"u8; - -} - -/// -/// UTF-8 attribute keys for host.name.* (zero-allocation parsing) -/// -public static class HostNameUtf8 -{ - /// host.name - public static ReadOnlySpan Name => "host.name"u8; - -} - -/// -/// UTF-8 attribute keys for host.type.* (zero-allocation parsing) -/// -public static class HostTypeUtf8 -{ - /// host.type - public static ReadOnlySpan Type => "host.type"u8; - -} - -/// -/// UTF-8 attribute keys for http.client_ip.* (zero-allocation parsing) -/// -public static class HttpClientIpUtf8 -{ - /// http.client_ip - public static ReadOnlySpan Client_ip => "http.client_ip"u8; - -} - -/// -/// UTF-8 attribute keys for http.connection.* (zero-allocation parsing) -/// -public static class HttpConnectionUtf8 -{ - /// http.connection.state - public static ReadOnlySpan State => "http.connection.state"u8; - -} - -/// -/// UTF-8 attribute keys for http.flavor.* (zero-allocation parsing) -/// -public static class HttpFlavorUtf8 -{ - /// http.flavor - public static ReadOnlySpan Flavor => "http.flavor"u8; - -} - -/// -/// UTF-8 attribute keys for http.host.* (zero-allocation parsing) -/// -public static class HttpHostUtf8 -{ - /// http.host - public static ReadOnlySpan Host => "http.host"u8; - -} - -/// -/// UTF-8 attribute keys for http.method.* (zero-allocation parsing) -/// -public static class HttpMethodUtf8 -{ - /// http.method - public static ReadOnlySpan Method => "http.method"u8; - -} - -/// -/// UTF-8 attribute keys for http.request_content_length.* (zero-allocation parsing) -/// -public static class HttpRequestContentLengthUtf8 -{ - /// http.request_content_length - public static ReadOnlySpan Request_content_length => "http.request_content_length"u8; - -} - -/// -/// UTF-8 attribute keys for http.request_content_length_uncompressed.* (zero-allocation parsing) -/// -public static class HttpRequestContentLengthUncompressedUtf8 -{ - /// http.request_content_length_uncompressed - public static ReadOnlySpan Request_content_length_uncompressed => "http.request_content_length_uncompressed"u8; - -} - -/// -/// UTF-8 attribute keys for http.request.* (zero-allocation parsing) -/// -public static class HttpRequestUtf8 -{ - /// http.request.body.size - public static ReadOnlySpan BodySize => "http.request.body.size"u8; - - /// http.request.method - public static ReadOnlySpan Method => "http.request.method"u8; - - /// http.request.method_original - public static ReadOnlySpan MethodOriginal => "http.request.method_original"u8; - - /// http.request.resend_count - public static ReadOnlySpan ResendCount => "http.request.resend_count"u8; - - /// http.request.size - public static ReadOnlySpan Size => "http.request.size"u8; - -} - -/// -/// UTF-8 attribute keys for http.response_content_length.* (zero-allocation parsing) -/// -public static class HttpResponseContentLengthUtf8 -{ - /// http.response_content_length - public static ReadOnlySpan Response_content_length => "http.response_content_length"u8; - -} - -/// -/// UTF-8 attribute keys for http.response_content_length_uncompressed.* (zero-allocation parsing) -/// -public static class HttpResponseContentLengthUncompressedUtf8 -{ - /// http.response_content_length_uncompressed - public static ReadOnlySpan Response_content_length_uncompressed => "http.response_content_length_uncompressed"u8; - -} - -/// -/// UTF-8 attribute keys for http.response.* (zero-allocation parsing) -/// -public static class HttpResponseUtf8 -{ - /// http.response.body.size - public static ReadOnlySpan BodySize => "http.response.body.size"u8; - - /// http.response.size - public static ReadOnlySpan Size => "http.response.size"u8; - - /// http.response.status_code - public static ReadOnlySpan StatusCode => "http.response.status_code"u8; - -} - -/// -/// UTF-8 attribute keys for http.route.* (zero-allocation parsing) -/// -public static class HttpRouteUtf8 -{ - /// http.route - public static ReadOnlySpan Route => "http.route"u8; - -} - -/// -/// UTF-8 attribute keys for http.scheme.* (zero-allocation parsing) -/// -public static class HttpSchemeUtf8 -{ - /// http.scheme - public static ReadOnlySpan Scheme => "http.scheme"u8; - -} - -/// -/// UTF-8 attribute keys for http.server_name.* (zero-allocation parsing) -/// -public static class HttpServerNameUtf8 -{ - /// http.server_name - public static ReadOnlySpan Server_name => "http.server_name"u8; - -} - -/// -/// UTF-8 attribute keys for http.status_code.* (zero-allocation parsing) -/// -public static class HttpStatusCodeUtf8 -{ - /// http.status_code - public static ReadOnlySpan Status_code => "http.status_code"u8; - -} - -/// -/// UTF-8 attribute keys for http.target.* (zero-allocation parsing) -/// -public static class HttpTargetUtf8 -{ - /// http.target - public static ReadOnlySpan Target => "http.target"u8; - -} - -/// -/// UTF-8 attribute keys for http.url.* (zero-allocation parsing) -/// -public static class HttpUrlUtf8 -{ - /// http.url - public static ReadOnlySpan Url => "http.url"u8; - -} - -/// -/// UTF-8 attribute keys for http.user_agent.* (zero-allocation parsing) -/// -public static class HttpUserAgentUtf8 -{ - /// http.user_agent - public static ReadOnlySpan User_agent => "http.user_agent"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.cluster.* (zero-allocation parsing) -/// -public static class K8sClusterUtf8 -{ - /// k8s.cluster.name - public static ReadOnlySpan Name => "k8s.cluster.name"u8; - - /// k8s.cluster.uid - public static ReadOnlySpan Uid => "k8s.cluster.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.container.* (zero-allocation parsing) -/// -public static class K8sContainerUtf8 -{ - /// k8s.container.name - public static ReadOnlySpan Name => "k8s.container.name"u8; - - /// k8s.container.restart_count - public static ReadOnlySpan RestartCount => "k8s.container.restart_count"u8; - - /// k8s.container.status.last_terminated_reason - public static ReadOnlySpan StatusLastTerminatedReason => "k8s.container.status.last_terminated_reason"u8; - - /// k8s.container.status.reason - public static ReadOnlySpan StatusReason => "k8s.container.status.reason"u8; - - /// k8s.container.status.state - public static ReadOnlySpan StatusState => "k8s.container.status.state"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.cronjob.* (zero-allocation parsing) -/// -public static class K8sCronjobUtf8 -{ - /// k8s.cronjob.name - public static ReadOnlySpan Name => "k8s.cronjob.name"u8; - - /// k8s.cronjob.uid - public static ReadOnlySpan Uid => "k8s.cronjob.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.daemonset.* (zero-allocation parsing) -/// -public static class K8sDaemonsetUtf8 -{ - /// k8s.daemonset.name - public static ReadOnlySpan Name => "k8s.daemonset.name"u8; - - /// k8s.daemonset.uid - public static ReadOnlySpan Uid => "k8s.daemonset.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.deployment.* (zero-allocation parsing) -/// -public static class K8sDeploymentUtf8 -{ - /// k8s.deployment.name - public static ReadOnlySpan Name => "k8s.deployment.name"u8; - - /// k8s.deployment.uid - public static ReadOnlySpan Uid => "k8s.deployment.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.hpa.* (zero-allocation parsing) -/// -public static class K8sHpaUtf8 -{ - /// k8s.hpa.metric.type - public static ReadOnlySpan MetricType => "k8s.hpa.metric.type"u8; - - /// k8s.hpa.name - public static ReadOnlySpan Name => "k8s.hpa.name"u8; - - /// k8s.hpa.scaletargetref.api_version - public static ReadOnlySpan ScaletargetrefApiVersion => "k8s.hpa.scaletargetref.api_version"u8; - - /// k8s.hpa.scaletargetref.kind - public static ReadOnlySpan ScaletargetrefKind => "k8s.hpa.scaletargetref.kind"u8; - - /// k8s.hpa.scaletargetref.name - public static ReadOnlySpan ScaletargetrefName => "k8s.hpa.scaletargetref.name"u8; - - /// k8s.hpa.uid - public static ReadOnlySpan Uid => "k8s.hpa.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.hugepage.* (zero-allocation parsing) -/// -public static class K8sHugepageUtf8 -{ - /// k8s.hugepage.size - public static ReadOnlySpan Size => "k8s.hugepage.size"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.job.* (zero-allocation parsing) -/// -public static class K8sJobUtf8 -{ - /// k8s.job.name - public static ReadOnlySpan Name => "k8s.job.name"u8; - - /// k8s.job.uid - public static ReadOnlySpan Uid => "k8s.job.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.namespace.* (zero-allocation parsing) -/// -public static class K8sNamespaceUtf8 -{ - /// k8s.namespace.name - public static ReadOnlySpan Name => "k8s.namespace.name"u8; - - /// k8s.namespace.phase - public static ReadOnlySpan Phase => "k8s.namespace.phase"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.node.* (zero-allocation parsing) -/// -public static class K8sNodeUtf8 -{ - /// k8s.node.condition.status - public static ReadOnlySpan ConditionStatus => "k8s.node.condition.status"u8; - - /// k8s.node.condition.type - public static ReadOnlySpan ConditionType => "k8s.node.condition.type"u8; - - /// k8s.node.name - public static ReadOnlySpan Name => "k8s.node.name"u8; - - /// k8s.node.uid - public static ReadOnlySpan Uid => "k8s.node.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.pod.* (zero-allocation parsing) -/// -public static class K8sPodUtf8 -{ - /// k8s.pod.hostname - public static ReadOnlySpan Hostname => "k8s.pod.hostname"u8; - - /// k8s.pod.ip - public static ReadOnlySpan Ip => "k8s.pod.ip"u8; - - /// k8s.pod.name - public static ReadOnlySpan Name => "k8s.pod.name"u8; - - /// k8s.pod.start_time - public static ReadOnlySpan StartTime => "k8s.pod.start_time"u8; - - /// k8s.pod.status.phase - public static ReadOnlySpan StatusPhase => "k8s.pod.status.phase"u8; - - /// k8s.pod.status.reason - public static ReadOnlySpan StatusReason => "k8s.pod.status.reason"u8; - - /// k8s.pod.uid - public static ReadOnlySpan Uid => "k8s.pod.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.replicaset.* (zero-allocation parsing) -/// -public static class K8sReplicasetUtf8 -{ - /// k8s.replicaset.name - public static ReadOnlySpan Name => "k8s.replicaset.name"u8; - - /// k8s.replicaset.uid - public static ReadOnlySpan Uid => "k8s.replicaset.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.replicationcontroller.* (zero-allocation parsing) -/// -public static class K8sReplicationcontrollerUtf8 -{ - /// k8s.replicationcontroller.name - public static ReadOnlySpan Name => "k8s.replicationcontroller.name"u8; - - /// k8s.replicationcontroller.uid - public static ReadOnlySpan Uid => "k8s.replicationcontroller.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.resourcequota.* (zero-allocation parsing) -/// -public static class K8sResourcequotaUtf8 -{ - /// k8s.resourcequota.name - public static ReadOnlySpan Name => "k8s.resourcequota.name"u8; - - /// k8s.resourcequota.resource_name - public static ReadOnlySpan ResourceName => "k8s.resourcequota.resource_name"u8; - - /// k8s.resourcequota.uid - public static ReadOnlySpan Uid => "k8s.resourcequota.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.service.* (zero-allocation parsing) -/// -public static class K8sServiceUtf8 -{ - /// k8s.service.endpoint.address_type - public static ReadOnlySpan EndpointAddressType => "k8s.service.endpoint.address_type"u8; - - /// k8s.service.endpoint.condition - public static ReadOnlySpan EndpointCondition => "k8s.service.endpoint.condition"u8; - - /// k8s.service.endpoint.zone - public static ReadOnlySpan EndpointZone => "k8s.service.endpoint.zone"u8; - - /// k8s.service.name - public static ReadOnlySpan Name => "k8s.service.name"u8; - - /// k8s.service.publish_not_ready_addresses - public static ReadOnlySpan PublishNotReadyAddresses => "k8s.service.publish_not_ready_addresses"u8; - - /// k8s.service.traffic_distribution - public static ReadOnlySpan TrafficDistribution => "k8s.service.traffic_distribution"u8; - - /// k8s.service.type - public static ReadOnlySpan Type => "k8s.service.type"u8; - - /// k8s.service.uid - public static ReadOnlySpan Uid => "k8s.service.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.statefulset.* (zero-allocation parsing) -/// -public static class K8sStatefulsetUtf8 -{ - /// k8s.statefulset.name - public static ReadOnlySpan Name => "k8s.statefulset.name"u8; - - /// k8s.statefulset.uid - public static ReadOnlySpan Uid => "k8s.statefulset.uid"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.storageclass.* (zero-allocation parsing) -/// -public static class K8sStorageclassUtf8 -{ - /// k8s.storageclass.name - public static ReadOnlySpan Name => "k8s.storageclass.name"u8; - -} - -/// -/// UTF-8 attribute keys for k8s.volume.* (zero-allocation parsing) -/// -public static class K8sVolumeUtf8 -{ - /// k8s.volume.name - public static ReadOnlySpan Name => "k8s.volume.name"u8; - - /// k8s.volume.type - public static ReadOnlySpan Type => "k8s.volume.type"u8; - -} - -/// -/// UTF-8 attribute keys for log.file.* (zero-allocation parsing) -/// -public static class LogFileUtf8 -{ - /// log.file.name - public static ReadOnlySpan Name => "log.file.name"u8; - - /// log.file.name_resolved - public static ReadOnlySpan NameResolved => "log.file.name_resolved"u8; - - /// log.file.path - public static ReadOnlySpan Path => "log.file.path"u8; - - /// log.file.path_resolved - public static ReadOnlySpan PathResolved => "log.file.path_resolved"u8; - -} - -/// -/// UTF-8 attribute keys for log.iostream.* (zero-allocation parsing) -/// -public static class LogIostreamUtf8 -{ - /// log.iostream - public static ReadOnlySpan Iostream => "log.iostream"u8; - -} - -/// -/// UTF-8 attribute keys for log.record.* (zero-allocation parsing) -/// -public static class LogRecordUtf8 -{ - /// log.record.original - public static ReadOnlySpan Original => "log.record.original"u8; - - /// log.record.uid - public static ReadOnlySpan Uid => "log.record.uid"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.batch.* (zero-allocation parsing) -/// -public static class MessagingBatchUtf8 -{ - /// messaging.batch.message_count - public static ReadOnlySpan MessageCount => "messaging.batch.message_count"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.client.* (zero-allocation parsing) -/// -public static class MessagingClientUtf8 -{ - /// messaging.client.id - public static ReadOnlySpan Id => "messaging.client.id"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.consumer.* (zero-allocation parsing) -/// -public static class MessagingConsumerUtf8 -{ - /// messaging.consumer.group.name - public static ReadOnlySpan GroupName => "messaging.consumer.group.name"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.destination_publish.* (zero-allocation parsing) -/// -public static class MessagingDestinationPublishUtf8 -{ - /// messaging.destination_publish.anonymous - public static ReadOnlySpan Anonymous => "messaging.destination_publish.anonymous"u8; - - /// messaging.destination_publish.name - public static ReadOnlySpan Name => "messaging.destination_publish.name"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.destination.* (zero-allocation parsing) -/// -public static class MessagingDestinationUtf8 -{ - /// messaging.destination.anonymous - public static ReadOnlySpan Anonymous => "messaging.destination.anonymous"u8; - - /// messaging.destination.name - public static ReadOnlySpan Name => "messaging.destination.name"u8; - - /// messaging.destination.partition.id - public static ReadOnlySpan PartitionId => "messaging.destination.partition.id"u8; - - /// messaging.destination.subscription.name - public static ReadOnlySpan SubscriptionName => "messaging.destination.subscription.name"u8; - - /// messaging.destination.template - public static ReadOnlySpan Template => "messaging.destination.template"u8; - - /// messaging.destination.temporary - public static ReadOnlySpan Temporary => "messaging.destination.temporary"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.eventhubs.* (zero-allocation parsing) -/// -public static class MessagingEventhubsUtf8 -{ - /// messaging.eventhubs.consumer.group - public static ReadOnlySpan ConsumerGroup => "messaging.eventhubs.consumer.group"u8; - - /// messaging.eventhubs.message.enqueued_time - public static ReadOnlySpan MessageEnqueuedTime => "messaging.eventhubs.message.enqueued_time"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.gcp_pubsub.* (zero-allocation parsing) -/// -public static class MessagingGcpPubsubUtf8 -{ - /// messaging.gcp_pubsub.message.ack_deadline - public static ReadOnlySpan MessageAckDeadline => "messaging.gcp_pubsub.message.ack_deadline"u8; - - /// messaging.gcp_pubsub.message.ack_id - public static ReadOnlySpan MessageAckId => "messaging.gcp_pubsub.message.ack_id"u8; - - /// messaging.gcp_pubsub.message.delivery_attempt - public static ReadOnlySpan MessageDeliveryAttempt => "messaging.gcp_pubsub.message.delivery_attempt"u8; - - /// messaging.gcp_pubsub.message.ordering_key - public static ReadOnlySpan MessageOrderingKey => "messaging.gcp_pubsub.message.ordering_key"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.kafka.* (zero-allocation parsing) -/// -public static class MessagingKafkaUtf8 -{ - /// messaging.kafka.consumer.group - public static ReadOnlySpan ConsumerGroup => "messaging.kafka.consumer.group"u8; - - /// messaging.kafka.destination.partition - public static ReadOnlySpan DestinationPartition => "messaging.kafka.destination.partition"u8; - - /// messaging.kafka.message.key - public static ReadOnlySpan MessageKey => "messaging.kafka.message.key"u8; - - /// messaging.kafka.message.offset - public static ReadOnlySpan MessageOffset => "messaging.kafka.message.offset"u8; - - /// messaging.kafka.message.tombstone - public static ReadOnlySpan MessageTombstone => "messaging.kafka.message.tombstone"u8; - - /// messaging.kafka.offset - public static ReadOnlySpan Offset => "messaging.kafka.offset"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.message.* (zero-allocation parsing) -/// -public static class MessagingMessageUtf8 -{ - /// messaging.message.body.size - public static ReadOnlySpan BodySize => "messaging.message.body.size"u8; - - /// messaging.message.conversation_id - public static ReadOnlySpan ConversationId => "messaging.message.conversation_id"u8; - - /// messaging.message.envelope.size - public static ReadOnlySpan EnvelopeSize => "messaging.message.envelope.size"u8; - - /// messaging.message.id - public static ReadOnlySpan Id => "messaging.message.id"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.operation.* (zero-allocation parsing) -/// -public static class MessagingOperationUtf8 -{ - /// messaging.operation - public static ReadOnlySpan Operation => "messaging.operation"u8; - - /// messaging.operation.name - public static ReadOnlySpan Name => "messaging.operation.name"u8; - - /// messaging.operation.type - public static ReadOnlySpan Type => "messaging.operation.type"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.rabbitmq.* (zero-allocation parsing) -/// -public static class MessagingRabbitmqUtf8 -{ - /// messaging.rabbitmq.destination.routing_key - public static ReadOnlySpan DestinationRoutingKey => "messaging.rabbitmq.destination.routing_key"u8; - - /// messaging.rabbitmq.message.delivery_tag - public static ReadOnlySpan MessageDeliveryTag => "messaging.rabbitmq.message.delivery_tag"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.rocketmq.* (zero-allocation parsing) -/// -public static class MessagingRocketmqUtf8 -{ - /// messaging.rocketmq.client_group - public static ReadOnlySpan ClientGroup => "messaging.rocketmq.client_group"u8; - - /// messaging.rocketmq.consumption_model - public static ReadOnlySpan ConsumptionModel => "messaging.rocketmq.consumption_model"u8; - - /// messaging.rocketmq.message.delay_time_level - public static ReadOnlySpan MessageDelayTimeLevel => "messaging.rocketmq.message.delay_time_level"u8; - - /// messaging.rocketmq.message.delivery_timestamp - public static ReadOnlySpan MessageDeliveryTimestamp => "messaging.rocketmq.message.delivery_timestamp"u8; - - /// messaging.rocketmq.message.group - public static ReadOnlySpan MessageGroup => "messaging.rocketmq.message.group"u8; - - /// messaging.rocketmq.message.keys - public static ReadOnlySpan MessageKeys => "messaging.rocketmq.message.keys"u8; - - /// messaging.rocketmq.message.tag - public static ReadOnlySpan MessageTag => "messaging.rocketmq.message.tag"u8; - - /// messaging.rocketmq.message.type - public static ReadOnlySpan MessageType => "messaging.rocketmq.message.type"u8; - - /// messaging.rocketmq.namespace - public static ReadOnlySpan Namespace => "messaging.rocketmq.namespace"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.servicebus.* (zero-allocation parsing) -/// -public static class MessagingServicebusUtf8 -{ - /// messaging.servicebus.destination.subscription_name - public static ReadOnlySpan DestinationSubscriptionName => "messaging.servicebus.destination.subscription_name"u8; - - /// messaging.servicebus.disposition_status - public static ReadOnlySpan DispositionStatus => "messaging.servicebus.disposition_status"u8; - - /// messaging.servicebus.message.delivery_count - public static ReadOnlySpan MessageDeliveryCount => "messaging.servicebus.message.delivery_count"u8; - - /// messaging.servicebus.message.enqueued_time - public static ReadOnlySpan MessageEnqueuedTime => "messaging.servicebus.message.enqueued_time"u8; - -} - -/// -/// UTF-8 attribute keys for messaging.system.* (zero-allocation parsing) -/// -public static class MessagingSystemUtf8 -{ - /// messaging.system - public static ReadOnlySpan System => "messaging.system"u8; - -} - -/// -/// UTF-8 attribute keys for network.carrier.* (zero-allocation parsing) -/// -public static class NetworkCarrierUtf8 -{ - /// network.carrier.icc - public static ReadOnlySpan Icc => "network.carrier.icc"u8; - - /// network.carrier.mcc - public static ReadOnlySpan Mcc => "network.carrier.mcc"u8; - - /// network.carrier.mnc - public static ReadOnlySpan Mnc => "network.carrier.mnc"u8; - - /// network.carrier.name - public static ReadOnlySpan Name => "network.carrier.name"u8; - -} - -/// -/// UTF-8 attribute keys for network.connection.* (zero-allocation parsing) -/// -public static class NetworkConnectionUtf8 -{ - /// network.connection.state - public static ReadOnlySpan State => "network.connection.state"u8; - - /// network.connection.subtype - public static ReadOnlySpan Subtype => "network.connection.subtype"u8; - - /// network.connection.type - public static ReadOnlySpan Type => "network.connection.type"u8; - -} - -/// -/// UTF-8 attribute keys for network.interface.* (zero-allocation parsing) -/// -public static class NetworkInterfaceUtf8 -{ - /// network.interface.name - public static ReadOnlySpan Name => "network.interface.name"u8; - -} - -/// -/// UTF-8 attribute keys for network.io.* (zero-allocation parsing) -/// -public static class NetworkIoUtf8 -{ - /// network.io.direction - public static ReadOnlySpan Direction => "network.io.direction"u8; - -} - -/// -/// UTF-8 attribute keys for network.local.* (zero-allocation parsing) -/// -public static class NetworkLocalUtf8 -{ - /// network.local.address - public static ReadOnlySpan Address => "network.local.address"u8; - - /// network.local.port - public static ReadOnlySpan Port => "network.local.port"u8; - -} - -/// -/// UTF-8 attribute keys for network.peer.* (zero-allocation parsing) -/// -public static class NetworkPeerUtf8 -{ - /// network.peer.address - public static ReadOnlySpan Address => "network.peer.address"u8; - - /// network.peer.port - public static ReadOnlySpan Port => "network.peer.port"u8; - -} - -/// -/// UTF-8 attribute keys for network.protocol.* (zero-allocation parsing) -/// -public static class NetworkProtocolUtf8 -{ - /// network.protocol.name - public static ReadOnlySpan Name => "network.protocol.name"u8; - - /// network.protocol.version - public static ReadOnlySpan Version => "network.protocol.version"u8; - -} - -/// -/// UTF-8 attribute keys for network.transport.* (zero-allocation parsing) -/// -public static class NetworkTransportUtf8 -{ - /// network.transport - public static ReadOnlySpan Transport => "network.transport"u8; - -} - -/// -/// UTF-8 attribute keys for network.type.* (zero-allocation parsing) -/// -public static class NetworkTypeUtf8 -{ - /// network.type - public static ReadOnlySpan Type => "network.type"u8; - -} - -/// -/// UTF-8 attribute keys for openai.api.* (zero-allocation parsing) -/// -public static class OpenaiApiUtf8 -{ - /// openai.api.type - public static ReadOnlySpan Type => "openai.api.type"u8; - -} - -/// -/// UTF-8 attribute keys for openai.request.* (zero-allocation parsing) -/// -public static class OpenaiRequestUtf8 -{ - /// openai.request.service_tier - public static ReadOnlySpan ServiceTier => "openai.request.service_tier"u8; - -} - -/// -/// UTF-8 attribute keys for openai.response.* (zero-allocation parsing) -/// -public static class OpenaiResponseUtf8 -{ - /// openai.response.service_tier - public static ReadOnlySpan ServiceTier => "openai.response.service_tier"u8; - - /// openai.response.system_fingerprint - public static ReadOnlySpan SystemFingerprint => "openai.response.system_fingerprint"u8; - -} - -/// -/// UTF-8 attribute keys for oracle_cloud.realm.* (zero-allocation parsing) -/// -public static class OracleCloudRealmUtf8 -{ - /// oracle_cloud.realm - public static ReadOnlySpan Realm => "oracle_cloud.realm"u8; - -} - -/// -/// UTF-8 attribute keys for oracle.db.* (zero-allocation parsing) -/// -public static class OracleDbUtf8 -{ - /// oracle.db.domain - public static ReadOnlySpan Domain => "oracle.db.domain"u8; - - /// oracle.db.instance.name - public static ReadOnlySpan InstanceName => "oracle.db.instance.name"u8; - - /// oracle.db.name - public static ReadOnlySpan Name => "oracle.db.name"u8; - - /// oracle.db.pdb - public static ReadOnlySpan Pdb => "oracle.db.pdb"u8; - - /// oracle.db.service - public static ReadOnlySpan Service => "oracle.db.service"u8; - -} - -/// -/// UTF-8 attribute keys for os.build_id.* (zero-allocation parsing) -/// -public static class OsBuildIdUtf8 -{ - /// os.build_id - public static ReadOnlySpan Build_id => "os.build_id"u8; - -} - -/// -/// UTF-8 attribute keys for os.description.* (zero-allocation parsing) -/// -public static class OsDescriptionUtf8 -{ - /// os.description - public static ReadOnlySpan Description => "os.description"u8; - -} - -/// -/// UTF-8 attribute keys for os.name.* (zero-allocation parsing) -/// -public static class OsNameUtf8 -{ - /// os.name - public static ReadOnlySpan Name => "os.name"u8; - -} - -/// -/// UTF-8 attribute keys for os.type.* (zero-allocation parsing) -/// -public static class OsTypeUtf8 -{ - /// os.type - public static ReadOnlySpan Type => "os.type"u8; - -} - -/// -/// UTF-8 attribute keys for os.version.* (zero-allocation parsing) -/// -public static class OsVersionUtf8 -{ - /// os.version - public static ReadOnlySpan Version => "os.version"u8; - -} - -/// -/// UTF-8 attribute keys for otel.component.* (zero-allocation parsing) -/// -public static class OtelComponentUtf8 -{ - /// otel.component.name - public static ReadOnlySpan Name => "otel.component.name"u8; - - /// otel.component.type - public static ReadOnlySpan Type => "otel.component.type"u8; - -} - -/// -/// UTF-8 attribute keys for otel.event.* (zero-allocation parsing) -/// -public static class OtelEventUtf8 -{ - /// otel.event.name - public static ReadOnlySpan Name => "otel.event.name"u8; - -} - -/// -/// UTF-8 attribute keys for otel.library.* (zero-allocation parsing) -/// -public static class OtelLibraryUtf8 -{ - /// otel.library.name - public static ReadOnlySpan Name => "otel.library.name"u8; - - /// otel.library.version - public static ReadOnlySpan Version => "otel.library.version"u8; - -} - -/// -/// UTF-8 attribute keys for otel.scope.* (zero-allocation parsing) -/// -public static class OtelScopeUtf8 -{ - /// otel.scope.name - public static ReadOnlySpan Name => "otel.scope.name"u8; - - /// otel.scope.schema_url - public static ReadOnlySpan SchemaUrl => "otel.scope.schema_url"u8; - - /// otel.scope.version - public static ReadOnlySpan Version => "otel.scope.version"u8; - -} - -/// -/// UTF-8 attribute keys for otel.span.* (zero-allocation parsing) -/// -public static class OtelSpanUtf8 -{ - /// otel.span.parent.origin - public static ReadOnlySpan ParentOrigin => "otel.span.parent.origin"u8; - - /// otel.span.sampling_result - public static ReadOnlySpan SamplingResult => "otel.span.sampling_result"u8; - -} - -/// -/// UTF-8 attribute keys for otel.status_code.* (zero-allocation parsing) -/// -public static class OtelStatusCodeUtf8 -{ - /// otel.status_code - public static ReadOnlySpan Status_code => "otel.status_code"u8; - -} - -/// -/// UTF-8 attribute keys for otel.status_description.* (zero-allocation parsing) -/// -public static class OtelStatusDescriptionUtf8 -{ - /// otel.status_description - public static ReadOnlySpan Status_description => "otel.status_description"u8; - -} - -/// -/// UTF-8 attribute keys for pprof.location.* (zero-allocation parsing) -/// -public static class PprofLocationUtf8 -{ - /// pprof.location.is_folded - public static ReadOnlySpan IsFolded => "pprof.location.is_folded"u8; - -} - -/// -/// UTF-8 attribute keys for pprof.mapping.* (zero-allocation parsing) -/// -public static class PprofMappingUtf8 -{ - /// pprof.mapping.has_filenames - public static ReadOnlySpan HasFilenames => "pprof.mapping.has_filenames"u8; - - /// pprof.mapping.has_functions - public static ReadOnlySpan HasFunctions => "pprof.mapping.has_functions"u8; - - /// pprof.mapping.has_inline_frames - public static ReadOnlySpan HasInlineFrames => "pprof.mapping.has_inline_frames"u8; - - /// pprof.mapping.has_line_numbers - public static ReadOnlySpan HasLineNumbers => "pprof.mapping.has_line_numbers"u8; - -} - -/// -/// UTF-8 attribute keys for pprof.profile.* (zero-allocation parsing) -/// -public static class PprofProfileUtf8 -{ - /// pprof.profile.comment - public static ReadOnlySpan Comment => "pprof.profile.comment"u8; - - /// pprof.profile.doc_url - public static ReadOnlySpan DocUrl => "pprof.profile.doc_url"u8; - - /// pprof.profile.drop_frames - public static ReadOnlySpan DropFrames => "pprof.profile.drop_frames"u8; - - /// pprof.profile.keep_frames - public static ReadOnlySpan KeepFrames => "pprof.profile.keep_frames"u8; - -} - -/// -/// UTF-8 attribute keys for pprof.scope.* (zero-allocation parsing) -/// -public static class PprofScopeUtf8 -{ - /// pprof.scope.default_sample_type - public static ReadOnlySpan DefaultSampleType => "pprof.scope.default_sample_type"u8; - - /// pprof.scope.sample_type_order - public static ReadOnlySpan SampleTypeOrder => "pprof.scope.sample_type_order"u8; - -} - -/// -/// UTF-8 attribute keys for process.args_count.* (zero-allocation parsing) -/// -public static class ProcessArgsCountUtf8 -{ - /// process.args_count - public static ReadOnlySpan Args_count => "process.args_count"u8; - -} - -/// -/// UTF-8 attribute keys for process.command.* (zero-allocation parsing) -/// -public static class ProcessCommandUtf8 -{ - /// process.command - public static ReadOnlySpan Command => "process.command"u8; - -} - -/// -/// UTF-8 attribute keys for process.command_args.* (zero-allocation parsing) -/// -public static class ProcessCommandArgsUtf8 -{ - /// process.command_args - public static ReadOnlySpan Command_args => "process.command_args"u8; - -} - -/// -/// UTF-8 attribute keys for process.command_line.* (zero-allocation parsing) -/// -public static class ProcessCommandLineUtf8 -{ - /// process.command_line - public static ReadOnlySpan Command_line => "process.command_line"u8; - -} - -/// -/// UTF-8 attribute keys for process.context_switch.* (zero-allocation parsing) -/// -public static class ProcessContextSwitchUtf8 -{ - /// process.context_switch.type - public static ReadOnlySpan Type => "process.context_switch.type"u8; - -} - -/// -/// UTF-8 attribute keys for process.cpu.* (zero-allocation parsing) -/// -public static class ProcessCpuUtf8 -{ - /// process.cpu.state - public static ReadOnlySpan State => "process.cpu.state"u8; - -} - -/// -/// UTF-8 attribute keys for process.creation.* (zero-allocation parsing) -/// -public static class ProcessCreationUtf8 -{ - /// process.creation.time - public static ReadOnlySpan Time => "process.creation.time"u8; - -} - -/// -/// UTF-8 attribute keys for process.executable.* (zero-allocation parsing) -/// -public static class ProcessExecutableUtf8 -{ - /// process.executable.build_id.gnu - public static ReadOnlySpan BuildIdGnu => "process.executable.build_id.gnu"u8; - - /// process.executable.build_id.go - public static ReadOnlySpan BuildIdGo => "process.executable.build_id.go"u8; - - /// process.executable.build_id.htlhash - public static ReadOnlySpan BuildIdHtlhash => "process.executable.build_id.htlhash"u8; - - /// process.executable.build_id.profiling - public static ReadOnlySpan BuildIdProfiling => "process.executable.build_id.profiling"u8; - - /// process.executable.name - public static ReadOnlySpan Name => "process.executable.name"u8; - - /// process.executable.path - public static ReadOnlySpan Path => "process.executable.path"u8; - -} - -/// -/// UTF-8 attribute keys for process.exit.* (zero-allocation parsing) -/// -public static class ProcessExitUtf8 -{ - /// process.exit.code - public static ReadOnlySpan Code => "process.exit.code"u8; - - /// process.exit.time - public static ReadOnlySpan Time => "process.exit.time"u8; - -} - -/// -/// UTF-8 attribute keys for process.group_leader.* (zero-allocation parsing) -/// -public static class ProcessGroupLeaderUtf8 -{ - /// process.group_leader.pid - public static ReadOnlySpan Pid => "process.group_leader.pid"u8; - -} - -/// -/// UTF-8 attribute keys for process.interactive.* (zero-allocation parsing) -/// -public static class ProcessInteractiveUtf8 -{ - /// process.interactive - public static ReadOnlySpan Interactive => "process.interactive"u8; - -} - -/// -/// UTF-8 attribute keys for process.linux.* (zero-allocation parsing) -/// -public static class ProcessLinuxUtf8 -{ - /// process.linux.cgroup - public static ReadOnlySpan Cgroup => "process.linux.cgroup"u8; - -} - -/// -/// UTF-8 attribute keys for process.owner.* (zero-allocation parsing) -/// -public static class ProcessOwnerUtf8 -{ - /// process.owner - public static ReadOnlySpan Owner => "process.owner"u8; - -} - -/// -/// UTF-8 attribute keys for process.paging.* (zero-allocation parsing) -/// -public static class ProcessPagingUtf8 -{ - /// process.paging.fault_type - public static ReadOnlySpan FaultType => "process.paging.fault_type"u8; - -} - -/// -/// UTF-8 attribute keys for process.parent_pid.* (zero-allocation parsing) -/// -public static class ProcessParentPidUtf8 -{ - /// process.parent_pid - public static ReadOnlySpan Parent_pid => "process.parent_pid"u8; - -} - -/// -/// UTF-8 attribute keys for process.pid.* (zero-allocation parsing) -/// -public static class ProcessPidUtf8 -{ - /// process.pid - public static ReadOnlySpan Pid => "process.pid"u8; - -} - -/// -/// UTF-8 attribute keys for process.real_user.* (zero-allocation parsing) -/// -public static class ProcessRealUserUtf8 -{ - /// process.real_user.id - public static ReadOnlySpan Id => "process.real_user.id"u8; - - /// process.real_user.name - public static ReadOnlySpan Name => "process.real_user.name"u8; - -} - -/// -/// UTF-8 attribute keys for process.runtime.* (zero-allocation parsing) -/// -public static class ProcessRuntimeUtf8 -{ - /// process.runtime.description - public static ReadOnlySpan Description => "process.runtime.description"u8; - - /// process.runtime.name - public static ReadOnlySpan Name => "process.runtime.name"u8; - - /// process.runtime.version - public static ReadOnlySpan Version => "process.runtime.version"u8; - -} - -/// -/// UTF-8 attribute keys for process.saved_user.* (zero-allocation parsing) -/// -public static class ProcessSavedUserUtf8 -{ - /// process.saved_user.id - public static ReadOnlySpan Id => "process.saved_user.id"u8; - - /// process.saved_user.name - public static ReadOnlySpan Name => "process.saved_user.name"u8; - -} - -/// -/// UTF-8 attribute keys for process.session_leader.* (zero-allocation parsing) -/// -public static class ProcessSessionLeaderUtf8 -{ - /// process.session_leader.pid - public static ReadOnlySpan Pid => "process.session_leader.pid"u8; - -} - -/// -/// UTF-8 attribute keys for process.state.* (zero-allocation parsing) -/// -public static class ProcessStateUtf8 -{ - /// process.state - public static ReadOnlySpan State => "process.state"u8; - -} - -/// -/// UTF-8 attribute keys for process.title.* (zero-allocation parsing) -/// -public static class ProcessTitleUtf8 -{ - /// process.title - public static ReadOnlySpan Title => "process.title"u8; - -} - -/// -/// UTF-8 attribute keys for process.user.* (zero-allocation parsing) -/// -public static class ProcessUserUtf8 -{ - /// process.user.id - public static ReadOnlySpan Id => "process.user.id"u8; - - /// process.user.name - public static ReadOnlySpan Name => "process.user.name"u8; - -} - -/// -/// UTF-8 attribute keys for process.vpid.* (zero-allocation parsing) -/// -public static class ProcessVpidUtf8 -{ - /// process.vpid - public static ReadOnlySpan Vpid => "process.vpid"u8; - -} - -/// -/// UTF-8 attribute keys for process.working_directory.* (zero-allocation parsing) -/// -public static class ProcessWorkingDirectoryUtf8 -{ - /// process.working_directory - public static ReadOnlySpan Working_directory => "process.working_directory"u8; - -} - -/// -/// UTF-8 attribute keys for profile.frame.* (zero-allocation parsing) -/// -public static class ProfileFrameUtf8 -{ - /// profile.frame.type - public static ReadOnlySpan Type => "profile.frame.type"u8; - -} - -/// -/// UTF-8 attribute keys for rpc.connect_rpc.* (zero-allocation parsing) -/// -public static class RpcConnectRpcUtf8 -{ - /// rpc.connect_rpc.error_code - public static ReadOnlySpan ErrorCode => "rpc.connect_rpc.error_code"u8; - -} - -/// -/// UTF-8 attribute keys for rpc.grpc.* (zero-allocation parsing) -/// -public static class RpcGrpcUtf8 -{ - /// rpc.grpc.status_code - public static ReadOnlySpan StatusCode => "rpc.grpc.status_code"u8; - -} - -/// -/// UTF-8 attribute keys for rpc.jsonrpc.* (zero-allocation parsing) -/// -public static class RpcJsonrpcUtf8 -{ - /// rpc.jsonrpc.error_code - public static ReadOnlySpan ErrorCode => "rpc.jsonrpc.error_code"u8; - - /// rpc.jsonrpc.error_message - public static ReadOnlySpan ErrorMessage => "rpc.jsonrpc.error_message"u8; - - /// rpc.jsonrpc.request_id - public static ReadOnlySpan RequestId => "rpc.jsonrpc.request_id"u8; - - /// rpc.jsonrpc.version - public static ReadOnlySpan Version => "rpc.jsonrpc.version"u8; - -} - -/// -/// UTF-8 attribute keys for rpc.message.* (zero-allocation parsing) -/// -public static class RpcMessageUtf8 -{ - /// rpc.message.compressed_size - public static ReadOnlySpan CompressedSize => "rpc.message.compressed_size"u8; - - /// rpc.message.id - public static ReadOnlySpan Id => "rpc.message.id"u8; - - /// rpc.message.type - public static ReadOnlySpan Type => "rpc.message.type"u8; - - /// rpc.message.uncompressed_size - public static ReadOnlySpan UncompressedSize => "rpc.message.uncompressed_size"u8; - -} - -/// -/// UTF-8 attribute keys for rpc.method.* (zero-allocation parsing) -/// -public static class RpcMethodUtf8 -{ - /// rpc.method - public static ReadOnlySpan Method => "rpc.method"u8; - -} - -/// -/// UTF-8 attribute keys for rpc.method_original.* (zero-allocation parsing) -/// -public static class RpcMethodOriginalUtf8 -{ - /// rpc.method_original - public static ReadOnlySpan Method_original => "rpc.method_original"u8; - -} - -/// -/// UTF-8 attribute keys for rpc.response.* (zero-allocation parsing) -/// -public static class RpcResponseUtf8 -{ - /// rpc.response.status_code - public static ReadOnlySpan StatusCode => "rpc.response.status_code"u8; - -} - -/// -/// UTF-8 attribute keys for rpc.service.* (zero-allocation parsing) -/// -public static class RpcServiceUtf8 -{ - /// rpc.service - public static ReadOnlySpan Service => "rpc.service"u8; - -} - -/// -/// UTF-8 attribute keys for rpc.system.* (zero-allocation parsing) -/// -public static class RpcSystemUtf8 -{ - /// rpc.system - public static ReadOnlySpan System => "rpc.system"u8; - - /// rpc.system.name - public static ReadOnlySpan Name => "rpc.system.name"u8; - -} - -/// -/// UTF-8 attribute keys for server.address.* (zero-allocation parsing) -/// -public static class ServerAddressUtf8 -{ - /// server.address - public static ReadOnlySpan Address => "server.address"u8; - -} - -/// -/// UTF-8 attribute keys for server.port.* (zero-allocation parsing) -/// -public static class ServerPortUtf8 -{ - /// server.port - public static ReadOnlySpan Port => "server.port"u8; - -} - -/// -/// UTF-8 attribute keys for service.criticality.* (zero-allocation parsing) -/// -public static class ServiceCriticalityUtf8 -{ - /// service.criticality - public static ReadOnlySpan Criticality => "service.criticality"u8; - -} - -/// -/// UTF-8 attribute keys for service.instance.* (zero-allocation parsing) -/// -public static class ServiceInstanceUtf8 -{ - /// service.instance.id - public static ReadOnlySpan Id => "service.instance.id"u8; - -} - -/// -/// UTF-8 attribute keys for service.name.* (zero-allocation parsing) -/// -public static class ServiceNameUtf8 -{ - /// service.name - public static ReadOnlySpan Name => "service.name"u8; - -} - -/// -/// UTF-8 attribute keys for service.namespace.* (zero-allocation parsing) -/// -public static class ServiceNamespaceUtf8 -{ - /// service.namespace - public static ReadOnlySpan Namespace => "service.namespace"u8; - -} - -/// -/// UTF-8 attribute keys for service.peer.* (zero-allocation parsing) -/// -public static class ServicePeerUtf8 -{ - /// service.peer.name - public static ReadOnlySpan Name => "service.peer.name"u8; - - /// service.peer.namespace - public static ReadOnlySpan Namespace => "service.peer.namespace"u8; - -} - -/// -/// UTF-8 attribute keys for service.version.* (zero-allocation parsing) -/// -public static class ServiceVersionUtf8 -{ - /// service.version - public static ReadOnlySpan Version => "service.version"u8; - -} - -/// -/// UTF-8 attribute keys for session.id.* (zero-allocation parsing) -/// -public static class SessionIdUtf8 -{ - /// session.id - public static ReadOnlySpan Id => "session.id"u8; - -} - -/// -/// UTF-8 attribute keys for session.previous_id.* (zero-allocation parsing) -/// -public static class SessionPreviousIdUtf8 -{ - /// session.previous_id - public static ReadOnlySpan Previous_id => "session.previous_id"u8; - -} - -/// -/// UTF-8 attribute keys for signalr.connection.* (zero-allocation parsing) -/// -public static class SignalrConnectionUtf8 -{ - /// signalr.connection.status - public static ReadOnlySpan Status => "signalr.connection.status"u8; - -} - -/// -/// UTF-8 attribute keys for signalr.transport.* (zero-allocation parsing) -/// -public static class SignalrTransportUtf8 -{ - /// signalr.transport - public static ReadOnlySpan Transport => "signalr.transport"u8; - -} - -/// -/// UTF-8 attribute keys for system.cpu.* (zero-allocation parsing) -/// -public static class SystemCpuUtf8 -{ - /// system.cpu.logical_number - public static ReadOnlySpan LogicalNumber => "system.cpu.logical_number"u8; - - /// system.cpu.state - public static ReadOnlySpan State => "system.cpu.state"u8; - -} - -/// -/// UTF-8 attribute keys for system.device.* (zero-allocation parsing) -/// -public static class SystemDeviceUtf8 -{ - /// system.device - public static ReadOnlySpan Device => "system.device"u8; - -} - -/// -/// UTF-8 attribute keys for system.filesystem.* (zero-allocation parsing) -/// -public static class SystemFilesystemUtf8 -{ - /// system.filesystem.mode - public static ReadOnlySpan Mode => "system.filesystem.mode"u8; - - /// system.filesystem.mountpoint - public static ReadOnlySpan Mountpoint => "system.filesystem.mountpoint"u8; - - /// system.filesystem.state - public static ReadOnlySpan State => "system.filesystem.state"u8; - - /// system.filesystem.type - public static ReadOnlySpan Type => "system.filesystem.type"u8; - -} - -/// -/// UTF-8 attribute keys for system.memory.* (zero-allocation parsing) -/// -public static class SystemMemoryUtf8 -{ - /// system.memory.linux.slab.state - public static ReadOnlySpan LinuxSlabState => "system.memory.linux.slab.state"u8; - - /// system.memory.state - public static ReadOnlySpan State => "system.memory.state"u8; - -} - -/// -/// UTF-8 attribute keys for system.network.* (zero-allocation parsing) -/// -public static class SystemNetworkUtf8 -{ - /// system.network.state - public static ReadOnlySpan State => "system.network.state"u8; - -} - -/// -/// UTF-8 attribute keys for system.paging.* (zero-allocation parsing) -/// -public static class SystemPagingUtf8 -{ - /// system.paging.direction - public static ReadOnlySpan Direction => "system.paging.direction"u8; - - /// system.paging.fault.type - public static ReadOnlySpan FaultType => "system.paging.fault.type"u8; - - /// system.paging.state - public static ReadOnlySpan State => "system.paging.state"u8; - - /// system.paging.type - public static ReadOnlySpan Type => "system.paging.type"u8; - -} - -/// -/// UTF-8 attribute keys for system.process.* (zero-allocation parsing) -/// -public static class SystemProcessUtf8 -{ - /// system.process.status - public static ReadOnlySpan Status => "system.process.status"u8; - -} - -/// -/// UTF-8 attribute keys for system.processes.* (zero-allocation parsing) -/// -public static class SystemProcessesUtf8 -{ - /// system.processes.status - public static ReadOnlySpan Status => "system.processes.status"u8; - -} - -/// -/// UTF-8 attribute keys for telemetry.distro.* (zero-allocation parsing) -/// -public static class TelemetryDistroUtf8 -{ - /// telemetry.distro.name - public static ReadOnlySpan Name => "telemetry.distro.name"u8; - - /// telemetry.distro.version - public static ReadOnlySpan Version => "telemetry.distro.version"u8; - -} - -/// -/// UTF-8 attribute keys for telemetry.sdk.* (zero-allocation parsing) -/// -public static class TelemetrySdkUtf8 -{ - /// telemetry.sdk.language - public static ReadOnlySpan Language => "telemetry.sdk.language"u8; - - /// telemetry.sdk.name - public static ReadOnlySpan Name => "telemetry.sdk.name"u8; - - /// telemetry.sdk.version - public static ReadOnlySpan Version => "telemetry.sdk.version"u8; - -} - -/// -/// UTF-8 attribute keys for test.case.* (zero-allocation parsing) -/// -public static class TestCaseUtf8 -{ - /// test.case.name - public static ReadOnlySpan Name => "test.case.name"u8; - - /// test.case.result.status - public static ReadOnlySpan ResultStatus => "test.case.result.status"u8; - -} - -/// -/// UTF-8 attribute keys for test.suite.* (zero-allocation parsing) -/// -public static class TestSuiteUtf8 -{ - /// test.suite.name - public static ReadOnlySpan Name => "test.suite.name"u8; - - /// test.suite.run.status - public static ReadOnlySpan RunStatus => "test.suite.run.status"u8; - -} - -/// -/// UTF-8 attribute keys for thread.id.* (zero-allocation parsing) -/// -public static class ThreadIdUtf8 -{ - /// thread.id - public static ReadOnlySpan Id => "thread.id"u8; - -} - -/// -/// UTF-8 attribute keys for thread.name.* (zero-allocation parsing) -/// -public static class ThreadNameUtf8 -{ - /// thread.name - public static ReadOnlySpan Name => "thread.name"u8; - -} - -/// -/// UTF-8 attribute keys for tls.cipher.* (zero-allocation parsing) -/// -public static class TlsCipherUtf8 -{ - /// tls.cipher - public static ReadOnlySpan Cipher => "tls.cipher"u8; - -} - -/// -/// UTF-8 attribute keys for tls.client.* (zero-allocation parsing) -/// -public static class TlsClientUtf8 -{ - /// tls.client.certificate - public static ReadOnlySpan Certificate => "tls.client.certificate"u8; - - /// tls.client.certificate_chain - public static ReadOnlySpan CertificateChain => "tls.client.certificate_chain"u8; - - /// tls.client.hash.md5 - public static ReadOnlySpan HashMd5 => "tls.client.hash.md5"u8; - - /// tls.client.hash.sha1 - public static ReadOnlySpan HashSha1 => "tls.client.hash.sha1"u8; - - /// tls.client.hash.sha256 - public static ReadOnlySpan HashSha256 => "tls.client.hash.sha256"u8; - - /// tls.client.issuer - public static ReadOnlySpan Issuer => "tls.client.issuer"u8; - - /// tls.client.ja3 - public static ReadOnlySpan Ja3 => "tls.client.ja3"u8; - - /// tls.client.not_after - public static ReadOnlySpan NotAfter => "tls.client.not_after"u8; - - /// tls.client.not_before - public static ReadOnlySpan NotBefore => "tls.client.not_before"u8; - - /// tls.client.server_name - public static ReadOnlySpan ServerName => "tls.client.server_name"u8; - - /// tls.client.subject - public static ReadOnlySpan Subject => "tls.client.subject"u8; - - /// tls.client.supported_ciphers - public static ReadOnlySpan SupportedCiphers => "tls.client.supported_ciphers"u8; - -} - -/// -/// UTF-8 attribute keys for tls.curve.* (zero-allocation parsing) -/// -public static class TlsCurveUtf8 -{ - /// tls.curve - public static ReadOnlySpan Curve => "tls.curve"u8; - -} - -/// -/// UTF-8 attribute keys for tls.established.* (zero-allocation parsing) -/// -public static class TlsEstablishedUtf8 -{ - /// tls.established - public static ReadOnlySpan Established => "tls.established"u8; - -} - -/// -/// UTF-8 attribute keys for tls.next_protocol.* (zero-allocation parsing) -/// -public static class TlsNextProtocolUtf8 -{ - /// tls.next_protocol - public static ReadOnlySpan Next_protocol => "tls.next_protocol"u8; - -} - -/// -/// UTF-8 attribute keys for tls.protocol.* (zero-allocation parsing) -/// -public static class TlsProtocolUtf8 -{ - /// tls.protocol.name - public static ReadOnlySpan Name => "tls.protocol.name"u8; - - /// tls.protocol.version - public static ReadOnlySpan Version => "tls.protocol.version"u8; - -} - -/// -/// UTF-8 attribute keys for tls.resumed.* (zero-allocation parsing) -/// -public static class TlsResumedUtf8 -{ - /// tls.resumed - public static ReadOnlySpan Resumed => "tls.resumed"u8; - -} - -/// -/// UTF-8 attribute keys for tls.server.* (zero-allocation parsing) -/// -public static class TlsServerUtf8 -{ - /// tls.server.certificate - public static ReadOnlySpan Certificate => "tls.server.certificate"u8; - - /// tls.server.certificate_chain - public static ReadOnlySpan CertificateChain => "tls.server.certificate_chain"u8; - - /// tls.server.hash.md5 - public static ReadOnlySpan HashMd5 => "tls.server.hash.md5"u8; - - /// tls.server.hash.sha1 - public static ReadOnlySpan HashSha1 => "tls.server.hash.sha1"u8; - - /// tls.server.hash.sha256 - public static ReadOnlySpan HashSha256 => "tls.server.hash.sha256"u8; - - /// tls.server.issuer - public static ReadOnlySpan Issuer => "tls.server.issuer"u8; - - /// tls.server.ja3s - public static ReadOnlySpan Ja3s => "tls.server.ja3s"u8; - - /// tls.server.not_after - public static ReadOnlySpan NotAfter => "tls.server.not_after"u8; - - /// tls.server.not_before - public static ReadOnlySpan NotBefore => "tls.server.not_before"u8; - - /// tls.server.subject - public static ReadOnlySpan Subject => "tls.server.subject"u8; - -} - -/// -/// UTF-8 attribute keys for url.domain.* (zero-allocation parsing) -/// -public static class UrlDomainUtf8 -{ - /// url.domain - public static ReadOnlySpan Domain => "url.domain"u8; - -} - -/// -/// UTF-8 attribute keys for url.extension.* (zero-allocation parsing) -/// -public static class UrlExtensionUtf8 -{ - /// url.extension - public static ReadOnlySpan Extension => "url.extension"u8; - -} - -/// -/// UTF-8 attribute keys for url.fragment.* (zero-allocation parsing) -/// -public static class UrlFragmentUtf8 -{ - /// url.fragment - public static ReadOnlySpan Fragment => "url.fragment"u8; - -} - -/// -/// UTF-8 attribute keys for url.full.* (zero-allocation parsing) -/// -public static class UrlFullUtf8 -{ - /// url.full - public static ReadOnlySpan Full => "url.full"u8; - -} - -/// -/// UTF-8 attribute keys for url.original.* (zero-allocation parsing) -/// -public static class UrlOriginalUtf8 -{ - /// url.original - public static ReadOnlySpan Original => "url.original"u8; - -} - -/// -/// UTF-8 attribute keys for url.path.* (zero-allocation parsing) -/// -public static class UrlPathUtf8 -{ - /// url.path - public static ReadOnlySpan Path => "url.path"u8; - -} - -/// -/// UTF-8 attribute keys for url.port.* (zero-allocation parsing) -/// -public static class UrlPortUtf8 -{ - /// url.port - public static ReadOnlySpan Port => "url.port"u8; - -} - -/// -/// UTF-8 attribute keys for url.query.* (zero-allocation parsing) -/// -public static class UrlQueryUtf8 -{ - /// url.query - public static ReadOnlySpan Query => "url.query"u8; - -} - -/// -/// UTF-8 attribute keys for url.registered_domain.* (zero-allocation parsing) -/// -public static class UrlRegisteredDomainUtf8 -{ - /// url.registered_domain - public static ReadOnlySpan Registered_domain => "url.registered_domain"u8; - -} - -/// -/// UTF-8 attribute keys for url.scheme.* (zero-allocation parsing) -/// -public static class UrlSchemeUtf8 -{ - /// url.scheme - public static ReadOnlySpan Scheme => "url.scheme"u8; - -} - -/// -/// UTF-8 attribute keys for url.subdomain.* (zero-allocation parsing) -/// -public static class UrlSubdomainUtf8 -{ - /// url.subdomain - public static ReadOnlySpan Subdomain => "url.subdomain"u8; - -} - -/// -/// UTF-8 attribute keys for url.template.* (zero-allocation parsing) -/// -public static class UrlTemplateUtf8 -{ - /// url.template - public static ReadOnlySpan Template => "url.template"u8; - -} - -/// -/// UTF-8 attribute keys for url.top_level_domain.* (zero-allocation parsing) -/// -public static class UrlTopLevelDomainUtf8 -{ - /// url.top_level_domain - public static ReadOnlySpan Top_level_domain => "url.top_level_domain"u8; - -} - -/// -/// UTF-8 attribute keys for user_agent.name.* (zero-allocation parsing) -/// -public static class UserAgentNameUtf8 -{ - /// user_agent.name - public static ReadOnlySpan Name => "user_agent.name"u8; - -} - -/// -/// UTF-8 attribute keys for user_agent.original.* (zero-allocation parsing) -/// -public static class UserAgentOriginalUtf8 -{ - /// user_agent.original - public static ReadOnlySpan Original => "user_agent.original"u8; - -} - -/// -/// UTF-8 attribute keys for user_agent.os.* (zero-allocation parsing) -/// -public static class UserAgentOsUtf8 -{ - /// user_agent.os.name - public static ReadOnlySpan Name => "user_agent.os.name"u8; - - /// user_agent.os.version - public static ReadOnlySpan Version => "user_agent.os.version"u8; - -} - -/// -/// UTF-8 attribute keys for user_agent.synthetic.* (zero-allocation parsing) -/// -public static class UserAgentSyntheticUtf8 -{ - /// user_agent.synthetic.type - public static ReadOnlySpan Type => "user_agent.synthetic.type"u8; - -} - -/// -/// UTF-8 attribute keys for user_agent.version.* (zero-allocation parsing) -/// -public static class UserAgentVersionUtf8 -{ - /// user_agent.version - public static ReadOnlySpan Version => "user_agent.version"u8; - -} - -/// -/// UTF-8 attribute keys for user.email.* (zero-allocation parsing) -/// -public static class UserEmailUtf8 -{ - /// user.email - public static ReadOnlySpan Email => "user.email"u8; - -} - -/// -/// UTF-8 attribute keys for user.full_name.* (zero-allocation parsing) -/// -public static class UserFullNameUtf8 -{ - /// user.full_name - public static ReadOnlySpan Full_name => "user.full_name"u8; - -} - -/// -/// UTF-8 attribute keys for user.hash.* (zero-allocation parsing) -/// -public static class UserHashUtf8 -{ - /// user.hash - public static ReadOnlySpan Hash => "user.hash"u8; - -} - -/// -/// UTF-8 attribute keys for user.id.* (zero-allocation parsing) -/// -public static class UserIdUtf8 -{ - /// user.id - public static ReadOnlySpan Id => "user.id"u8; - -} - -/// -/// UTF-8 attribute keys for user.name.* (zero-allocation parsing) -/// -public static class UserNameUtf8 -{ - /// user.name - public static ReadOnlySpan Name => "user.name"u8; - -} - -/// -/// UTF-8 attribute keys for user.roles.* (zero-allocation parsing) -/// -public static class UserRolesUtf8 -{ - /// user.roles - public static ReadOnlySpan Roles => "user.roles"u8; - -} - -/// -/// UTF-8 attribute keys for vcs.change.* (zero-allocation parsing) -/// -public static class VcsChangeUtf8 -{ - /// vcs.change.id - public static ReadOnlySpan Id => "vcs.change.id"u8; - - /// vcs.change.state - public static ReadOnlySpan State => "vcs.change.state"u8; - - /// vcs.change.title - public static ReadOnlySpan Title => "vcs.change.title"u8; - -} - -/// -/// UTF-8 attribute keys for vcs.line_change.* (zero-allocation parsing) -/// -public static class VcsLineChangeUtf8 -{ - /// vcs.line_change.type - public static ReadOnlySpan Type => "vcs.line_change.type"u8; - -} - -/// -/// UTF-8 attribute keys for vcs.owner.* (zero-allocation parsing) -/// -public static class VcsOwnerUtf8 -{ - /// vcs.owner.name - public static ReadOnlySpan Name => "vcs.owner.name"u8; - -} - -/// -/// UTF-8 attribute keys for vcs.provider.* (zero-allocation parsing) -/// -public static class VcsProviderUtf8 -{ - /// vcs.provider.name - public static ReadOnlySpan Name => "vcs.provider.name"u8; - -} - -/// -/// UTF-8 attribute keys for vcs.ref.* (zero-allocation parsing) -/// -public static class VcsRefUtf8 -{ - /// vcs.ref.base.name - public static ReadOnlySpan BaseName => "vcs.ref.base.name"u8; - - /// vcs.ref.base.revision - public static ReadOnlySpan BaseRevision => "vcs.ref.base.revision"u8; - - /// vcs.ref.base.type - public static ReadOnlySpan BaseType => "vcs.ref.base.type"u8; - - /// vcs.ref.head.name - public static ReadOnlySpan HeadName => "vcs.ref.head.name"u8; - - /// vcs.ref.head.revision - public static ReadOnlySpan HeadRevision => "vcs.ref.head.revision"u8; - - /// vcs.ref.head.type - public static ReadOnlySpan HeadType => "vcs.ref.head.type"u8; - - /// vcs.ref.type - public static ReadOnlySpan Type => "vcs.ref.type"u8; - -} - -/// -/// UTF-8 attribute keys for vcs.repository.* (zero-allocation parsing) -/// -public static class VcsRepositoryUtf8 -{ - /// vcs.repository.change.id - public static ReadOnlySpan ChangeId => "vcs.repository.change.id"u8; - - /// vcs.repository.change.title - public static ReadOnlySpan ChangeTitle => "vcs.repository.change.title"u8; - - /// vcs.repository.name - public static ReadOnlySpan Name => "vcs.repository.name"u8; - - /// vcs.repository.ref.name - public static ReadOnlySpan RefName => "vcs.repository.ref.name"u8; - - /// vcs.repository.ref.revision - public static ReadOnlySpan RefRevision => "vcs.repository.ref.revision"u8; - - /// vcs.repository.ref.type - public static ReadOnlySpan RefType => "vcs.repository.ref.type"u8; - - /// vcs.repository.url.full - public static ReadOnlySpan UrlFull => "vcs.repository.url.full"u8; - -} - -/// -/// UTF-8 attribute keys for vcs.revision_delta.* (zero-allocation parsing) -/// -public static class VcsRevisionDeltaUtf8 -{ - /// vcs.revision_delta.direction - public static ReadOnlySpan Direction => "vcs.revision_delta.direction"u8; - -} - -/// -/// UTF-8 attribute keys for webengine.description.* (zero-allocation parsing) -/// -public static class WebengineDescriptionUtf8 -{ - /// webengine.description - public static ReadOnlySpan Description => "webengine.description"u8; - -} - -/// -/// UTF-8 attribute keys for webengine.name.* (zero-allocation parsing) -/// -public static class WebengineNameUtf8 -{ - /// webengine.name - public static ReadOnlySpan Name => "webengine.name"u8; - -} - -/// -/// UTF-8 attribute keys for webengine.version.* (zero-allocation parsing) -/// -public static class WebengineVersionUtf8 -{ - /// webengine.version - public static ReadOnlySpan Version => "webengine.version"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.authentication.result -/// -public static class AspnetcoreAuthenticationResultUtf8Values -{ - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// none - public static ReadOnlySpan None => "none"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.authorization.result -/// -public static class AspnetcoreAuthorizationResultUtf8Values -{ - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.identity.password.check.result -/// -public static class AspnetcoreIdentityPasswordCheckResultUtf8Values -{ - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// password_missing - public static ReadOnlySpan PasswordMissing => "password_missing"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - - /// success_rehash_needed - public static ReadOnlySpan SuccessRehashNeeded => "success_rehash_needed"u8; - - /// user_missing - public static ReadOnlySpan UserMissing => "user_missing"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.identity.result -/// -public static class AspnetcoreIdentityResultUtf8Values -{ - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.identity.sign.in.result -/// -public static class AspnetcoreIdentitySignInResultUtf8Values -{ - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// locked_out - public static ReadOnlySpan LockedOut => "locked_out"u8; - - /// not_allowed - public static ReadOnlySpan NotAllowed => "not_allowed"u8; - - /// requires_two_factor - public static ReadOnlySpan RequiresTwoFactor => "requires_two_factor"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.identity.sign.in.type -/// -public static class AspnetcoreIdentitySignInTypeUtf8Values -{ - /// external - public static ReadOnlySpan External => "external"u8; - - /// passkey - public static ReadOnlySpan Passkey => "passkey"u8; - - /// password - public static ReadOnlySpan Password => "password"u8; - - /// two_factor - public static ReadOnlySpan TwoFactor => "two_factor"u8; - - /// two_factor_authenticator - public static ReadOnlySpan TwoFactorAuthenticator => "two_factor_authenticator"u8; - - /// two_factor_recovery_code - public static ReadOnlySpan TwoFactorRecoveryCode => "two_factor_recovery_code"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.identity.token.purpose -/// -public static class AspnetcoreIdentityTokenPurposeUtf8Values -{ - /// _OTHER - public static ReadOnlySpan Other => "_OTHER"u8; - - /// change_email - public static ReadOnlySpan ChangeEmail => "change_email"u8; - - /// change_phone_number - public static ReadOnlySpan ChangePhoneNumber => "change_phone_number"u8; - - /// email_confirmation - public static ReadOnlySpan EmailConfirmation => "email_confirmation"u8; - - /// reset_password - public static ReadOnlySpan ResetPassword => "reset_password"u8; - - /// two_factor - public static ReadOnlySpan TwoFactor => "two_factor"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.identity.token.verified -/// -public static class AspnetcoreIdentityTokenVerifiedUtf8Values -{ - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.identity.user.update.type -/// -public static class AspnetcoreIdentityUserUpdateTypeUtf8Values -{ - /// _OTHER - public static ReadOnlySpan Other => "_OTHER"u8; - - /// access_failed - public static ReadOnlySpan AccessFailed => "access_failed"u8; - - /// add_claims - public static ReadOnlySpan AddClaims => "add_claims"u8; - - /// add_login - public static ReadOnlySpan AddLogin => "add_login"u8; - - /// add_password - public static ReadOnlySpan AddPassword => "add_password"u8; - - /// add_to_roles - public static ReadOnlySpan AddToRoles => "add_to_roles"u8; - - /// change_email - public static ReadOnlySpan ChangeEmail => "change_email"u8; - - /// change_password - public static ReadOnlySpan ChangePassword => "change_password"u8; - - /// change_phone_number - public static ReadOnlySpan ChangePhoneNumber => "change_phone_number"u8; - - /// confirm_email - public static ReadOnlySpan ConfirmEmail => "confirm_email"u8; - - /// generate_new_two_factor_recovery_codes - public static ReadOnlySpan GenerateNewTwoFactorRecoveryCodes => "generate_new_two_factor_recovery_codes"u8; - - /// password_rehash - public static ReadOnlySpan PasswordRehash => "password_rehash"u8; - - /// redeem_two_factor_recovery_code - public static ReadOnlySpan RedeemTwoFactorRecoveryCode => "redeem_two_factor_recovery_code"u8; - - /// remove_authentication_token - public static ReadOnlySpan RemoveAuthenticationToken => "remove_authentication_token"u8; - - /// remove_claims - public static ReadOnlySpan RemoveClaims => "remove_claims"u8; - - /// remove_from_roles - public static ReadOnlySpan RemoveFromRoles => "remove_from_roles"u8; - - /// remove_login - public static ReadOnlySpan RemoveLogin => "remove_login"u8; - - /// remove_passkey - public static ReadOnlySpan RemovePasskey => "remove_passkey"u8; - - /// remove_password - public static ReadOnlySpan RemovePassword => "remove_password"u8; - - /// replace_claim - public static ReadOnlySpan ReplaceClaim => "replace_claim"u8; - - /// reset_access_failed_count - public static ReadOnlySpan ResetAccessFailedCount => "reset_access_failed_count"u8; - - /// reset_authenticator_key - public static ReadOnlySpan ResetAuthenticatorKey => "reset_authenticator_key"u8; - - /// reset_password - public static ReadOnlySpan ResetPassword => "reset_password"u8; - - /// security_stamp - public static ReadOnlySpan SecurityStamp => "security_stamp"u8; - - /// set_authentication_token - public static ReadOnlySpan SetAuthenticationToken => "set_authentication_token"u8; - - /// set_email - public static ReadOnlySpan SetEmail => "set_email"u8; - - /// set_lockout_enabled - public static ReadOnlySpan SetLockoutEnabled => "set_lockout_enabled"u8; - - /// set_lockout_end_date - public static ReadOnlySpan SetLockoutEndDate => "set_lockout_end_date"u8; - - /// set_passkey - public static ReadOnlySpan SetPasskey => "set_passkey"u8; - - /// set_phone_number - public static ReadOnlySpan SetPhoneNumber => "set_phone_number"u8; - - /// set_two_factor_enabled - public static ReadOnlySpan SetTwoFactorEnabled => "set_two_factor_enabled"u8; - - /// update - public static ReadOnlySpan Update => "update"u8; - - /// user_name - public static ReadOnlySpan UserName => "user_name"u8; - -} - -/// -/// UTF-8 enum values for azure.cosmosdb.connection.mode -/// -public static class AzureCosmosdbConnectionModeUtf8Values -{ - /// direct - public static ReadOnlySpan Direct => "direct"u8; - - /// gateway - public static ReadOnlySpan Gateway => "gateway"u8; - -} - -/// -/// UTF-8 enum values for azure.cosmosdb.consistency.level -/// -public static class AzureCosmosdbConsistencyLevelUtf8Values -{ - /// BoundedStaleness - public static ReadOnlySpan BoundedStaleness => "BoundedStaleness"u8; - - /// ConsistentPrefix - public static ReadOnlySpan ConsistentPrefix => "ConsistentPrefix"u8; - - /// Eventual - public static ReadOnlySpan Eventual => "Eventual"u8; - - /// Session - public static ReadOnlySpan Session => "Session"u8; - - /// Strong - public static ReadOnlySpan Strong => "Strong"u8; - -} - -/// -/// UTF-8 enum values for cicd.pipeline.action.name -/// -public static class CicdPipelineActionNameUtf8Values -{ - /// BUILD - public static ReadOnlySpan Build => "BUILD"u8; - - /// RUN - public static ReadOnlySpan Run => "RUN"u8; - - /// SYNC - public static ReadOnlySpan Sync => "SYNC"u8; - -} - -/// -/// UTF-8 enum values for cicd.pipeline.result -/// -public static class CicdPipelineResultUtf8Values -{ - /// cancellation - public static ReadOnlySpan Cancellation => "cancellation"u8; - - /// error - public static ReadOnlySpan Error => "error"u8; - - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// skip - public static ReadOnlySpan Skip => "skip"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - - /// timeout - public static ReadOnlySpan Timeout => "timeout"u8; - -} - -/// -/// UTF-8 enum values for cicd.pipeline.run.state -/// -public static class CicdPipelineRunStateUtf8Values -{ - /// executing - public static ReadOnlySpan Executing => "executing"u8; - - /// finalizing - public static ReadOnlySpan Finalizing => "finalizing"u8; - - /// pending - public static ReadOnlySpan Pending => "pending"u8; - -} - -/// -/// UTF-8 enum values for cicd.pipeline.task.run.result -/// -public static class CicdPipelineTaskRunResultUtf8Values -{ - /// cancellation - public static ReadOnlySpan Cancellation => "cancellation"u8; - - /// error - public static ReadOnlySpan Error => "error"u8; - - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// skip - public static ReadOnlySpan Skip => "skip"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - - /// timeout - public static ReadOnlySpan Timeout => "timeout"u8; - -} - -/// -/// UTF-8 enum values for cicd.pipeline.task.type -/// -public static class CicdPipelineTaskTypeUtf8Values -{ - /// build - public static ReadOnlySpan Build => "build"u8; - - /// deploy - public static ReadOnlySpan Deploy => "deploy"u8; - - /// test - public static ReadOnlySpan Test => "test"u8; - -} - -/// -/// UTF-8 enum values for cicd.worker.state -/// -public static class CicdWorkerStateUtf8Values -{ - /// available - public static ReadOnlySpan Available => "available"u8; - - /// busy - public static ReadOnlySpan Busy => "busy"u8; - - /// offline - public static ReadOnlySpan Offline => "offline"u8; - -} - -/// -/// UTF-8 enum values for cloud.platform -/// -public static class CloudPlatformUtf8Values -{ - /// akamai_cloud.compute - public static ReadOnlySpan AkamaiCloudCompute => "akamai_cloud.compute"u8; - - /// alibaba_cloud_ecs - public static ReadOnlySpan AlibabaCloudEcs => "alibaba_cloud_ecs"u8; - - /// alibaba_cloud_fc - public static ReadOnlySpan AlibabaCloudFc => "alibaba_cloud_fc"u8; - - /// alibaba_cloud_openshift - public static ReadOnlySpan AlibabaCloudOpenshift => "alibaba_cloud_openshift"u8; - - /// aws_app_runner - public static ReadOnlySpan AwsAppRunner => "aws_app_runner"u8; - - /// aws_ec2 - public static ReadOnlySpan AwsEc2 => "aws_ec2"u8; - - /// aws_ecs - public static ReadOnlySpan AwsEcs => "aws_ecs"u8; - - /// aws_eks - public static ReadOnlySpan AwsEks => "aws_eks"u8; - - /// aws_elastic_beanstalk - public static ReadOnlySpan AwsElasticBeanstalk => "aws_elastic_beanstalk"u8; - - /// aws_lambda - public static ReadOnlySpan AwsLambda => "aws_lambda"u8; - - /// aws_openshift - public static ReadOnlySpan AwsOpenshift => "aws_openshift"u8; - - /// azure.aks - public static ReadOnlySpan AzureAks => "azure.aks"u8; - - /// azure.app_service - public static ReadOnlySpan AzureAppService => "azure.app_service"u8; - - /// azure.container_apps - public static ReadOnlySpan AzureContainerApps => "azure.container_apps"u8; - - /// azure.container_instances - public static ReadOnlySpan AzureContainerInstances => "azure.container_instances"u8; - - /// azure.functions - public static ReadOnlySpan AzureFunctions => "azure.functions"u8; - - /// azure.openshift - public static ReadOnlySpan AzureOpenshift => "azure.openshift"u8; - - /// azure.vm - public static ReadOnlySpan AzureVm => "azure.vm"u8; - - /// gcp.agent_engine - public static ReadOnlySpan GcpAgentEngine => "gcp.agent_engine"u8; - - /// gcp_app_engine - public static ReadOnlySpan GcpAppEngine => "gcp_app_engine"u8; - - /// gcp_bare_metal_solution - public static ReadOnlySpan GcpBareMetalSolution => "gcp_bare_metal_solution"u8; - - /// gcp_cloud_functions - public static ReadOnlySpan GcpCloudFunctions => "gcp_cloud_functions"u8; - - /// gcp_cloud_run - public static ReadOnlySpan GcpCloudRun => "gcp_cloud_run"u8; - - /// gcp_compute_engine - public static ReadOnlySpan GcpComputeEngine => "gcp_compute_engine"u8; - - /// gcp_kubernetes_engine - public static ReadOnlySpan GcpKubernetesEngine => "gcp_kubernetes_engine"u8; - - /// gcp_openshift - public static ReadOnlySpan GcpOpenshift => "gcp_openshift"u8; - - /// hetzner.cloud_server - public static ReadOnlySpan HetznerCloudServer => "hetzner.cloud_server"u8; - - /// ibm_cloud_openshift - public static ReadOnlySpan IbmCloudOpenshift => "ibm_cloud_openshift"u8; - - /// oracle_cloud_compute - public static ReadOnlySpan OracleCloudCompute => "oracle_cloud_compute"u8; - - /// oracle_cloud_oke - public static ReadOnlySpan OracleCloudOke => "oracle_cloud_oke"u8; - - /// tencent_cloud_cvm - public static ReadOnlySpan TencentCloudCvm => "tencent_cloud_cvm"u8; - - /// tencent_cloud_eks - public static ReadOnlySpan TencentCloudEks => "tencent_cloud_eks"u8; - - /// tencent_cloud_scf - public static ReadOnlySpan TencentCloudScf => "tencent_cloud_scf"u8; - - /// vultr.cloud_compute - public static ReadOnlySpan VultrCloudCompute => "vultr.cloud_compute"u8; - -} - -/// -/// UTF-8 enum values for cloud.provider -/// -public static class CloudProviderUtf8Values -{ - /// akamai_cloud - public static ReadOnlySpan AkamaiCloud => "akamai_cloud"u8; - - /// alibaba_cloud - public static ReadOnlySpan AlibabaCloud => "alibaba_cloud"u8; - - /// aws - public static ReadOnlySpan Aws => "aws"u8; - - /// azure - public static ReadOnlySpan Azure => "azure"u8; - - /// gcp - public static ReadOnlySpan Gcp => "gcp"u8; - - /// heroku - public static ReadOnlySpan Heroku => "heroku"u8; - - /// hetzner - public static ReadOnlySpan Hetzner => "hetzner"u8; - - /// ibm_cloud - public static ReadOnlySpan IbmCloud => "ibm_cloud"u8; - - /// oracle_cloud - public static ReadOnlySpan OracleCloud => "oracle_cloud"u8; - - /// tencent_cloud - public static ReadOnlySpan TencentCloud => "tencent_cloud"u8; - - /// vultr - public static ReadOnlySpan Vultr => "vultr"u8; - -} - -/// -/// UTF-8 enum values for container.cpu.state -/// -public static class ContainerCpuStateUtf8Values -{ - /// kernel - public static ReadOnlySpan Kernel => "kernel"u8; - - /// system - public static ReadOnlySpan System => "system"u8; - - /// user - public static ReadOnlySpan User => "user"u8; - -} - -/// -/// UTF-8 enum values for cpu.mode -/// -public static class CpuModeUtf8Values -{ - /// system - public static ReadOnlySpan System => "system"u8; - - /// user - public static ReadOnlySpan User => "user"u8; - -} - -/// -/// UTF-8 enum values for db.cassandra.consistency.level -/// -public static class DbCassandraConsistencyLevelUtf8Values -{ - /// all - public static ReadOnlySpan All => "all"u8; - - /// any - public static ReadOnlySpan Any => "any"u8; - - /// each_quorum - public static ReadOnlySpan EachQuorum => "each_quorum"u8; - - /// local_one - public static ReadOnlySpan LocalOne => "local_one"u8; - - /// local_quorum - public static ReadOnlySpan LocalQuorum => "local_quorum"u8; - - /// local_serial - public static ReadOnlySpan LocalSerial => "local_serial"u8; - - /// one - public static ReadOnlySpan One => "one"u8; - - /// quorum - public static ReadOnlySpan Quorum => "quorum"u8; - - /// serial - public static ReadOnlySpan Serial => "serial"u8; - - /// three - public static ReadOnlySpan Three => "three"u8; - - /// two - public static ReadOnlySpan Two => "two"u8; - -} - -/// -/// UTF-8 enum values for db.client.connection.state -/// -public static class DbClientConnectionStateUtf8Values -{ - /// idle - public static ReadOnlySpan Idle => "idle"u8; - - /// used - public static ReadOnlySpan Used => "used"u8; - -} - -/// -/// UTF-8 enum values for db.client.connections.state -/// -public static class DbClientConnectionsStateUtf8Values -{ - /// idle - public static ReadOnlySpan Idle => "idle"u8; - - /// used - public static ReadOnlySpan Used => "used"u8; - -} - -/// -/// UTF-8 enum values for db.cosmosdb.connection.mode -/// -public static class DbCosmosdbConnectionModeUtf8Values -{ - /// direct - public static ReadOnlySpan Direct => "direct"u8; - - /// gateway - public static ReadOnlySpan Gateway => "gateway"u8; - -} - -/// -/// UTF-8 enum values for db.cosmosdb.consistency.level -/// -public static class DbCosmosdbConsistencyLevelUtf8Values -{ - /// BoundedStaleness - public static ReadOnlySpan BoundedStaleness => "BoundedStaleness"u8; - - /// ConsistentPrefix - public static ReadOnlySpan ConsistentPrefix => "ConsistentPrefix"u8; - - /// Eventual - public static ReadOnlySpan Eventual => "Eventual"u8; - - /// Session - public static ReadOnlySpan Session => "Session"u8; - - /// Strong - public static ReadOnlySpan Strong => "Strong"u8; - -} - -/// -/// UTF-8 enum values for db.cosmosdb.operation.type -/// -public static class DbCosmosdbOperationTypeUtf8Values -{ - /// batch - public static ReadOnlySpan Batch => "batch"u8; - - /// create - public static ReadOnlySpan Create => "create"u8; - - /// delete - public static ReadOnlySpan Delete => "delete"u8; - - /// execute - public static ReadOnlySpan Execute => "execute"u8; - - /// execute_javascript - public static ReadOnlySpan ExecuteJavascript => "execute_javascript"u8; - - /// head - public static ReadOnlySpan Head => "head"u8; - - /// head_feed - public static ReadOnlySpan HeadFeed => "head_feed"u8; - - /// invalid - public static ReadOnlySpan Invalid => "invalid"u8; - - /// patch - public static ReadOnlySpan Patch => "patch"u8; - - /// query - public static ReadOnlySpan Query => "query"u8; - - /// query_plan - public static ReadOnlySpan QueryPlan => "query_plan"u8; - - /// read - public static ReadOnlySpan Read => "read"u8; - - /// read_feed - public static ReadOnlySpan ReadFeed => "read_feed"u8; - - /// replace - public static ReadOnlySpan Replace => "replace"u8; - - /// upsert - public static ReadOnlySpan Upsert => "upsert"u8; - -} - -/// -/// UTF-8 enum values for db.system -/// -public static class DbSystemUtf8Values -{ - /// adabas - public static ReadOnlySpan Adabas => "adabas"u8; - - /// cache - public static ReadOnlySpan Cache => "cache"u8; - - /// cassandra - public static ReadOnlySpan Cassandra => "cassandra"u8; - - /// clickhouse - public static ReadOnlySpan Clickhouse => "clickhouse"u8; - - /// cloudscape - public static ReadOnlySpan Cloudscape => "cloudscape"u8; - - /// cockroachdb - public static ReadOnlySpan Cockroachdb => "cockroachdb"u8; - - /// coldfusion - public static ReadOnlySpan Coldfusion => "coldfusion"u8; - - /// cosmosdb - public static ReadOnlySpan Cosmosdb => "cosmosdb"u8; - - /// couchbase - public static ReadOnlySpan Couchbase => "couchbase"u8; - - /// couchdb - public static ReadOnlySpan Couchdb => "couchdb"u8; - - /// db2 - public static ReadOnlySpan Db2 => "db2"u8; - - /// derby - public static ReadOnlySpan Derby => "derby"u8; - - /// dynamodb - public static ReadOnlySpan Dynamodb => "dynamodb"u8; - - /// edb - public static ReadOnlySpan Edb => "edb"u8; - - /// elasticsearch - public static ReadOnlySpan Elasticsearch => "elasticsearch"u8; - - /// filemaker - public static ReadOnlySpan Filemaker => "filemaker"u8; - - /// firebird - public static ReadOnlySpan Firebird => "firebird"u8; - - /// firstsql - public static ReadOnlySpan Firstsql => "firstsql"u8; - - /// geode - public static ReadOnlySpan Geode => "geode"u8; - - /// h2 - public static ReadOnlySpan H2 => "h2"u8; - - /// hanadb - public static ReadOnlySpan Hanadb => "hanadb"u8; - - /// hbase - public static ReadOnlySpan Hbase => "hbase"u8; - - /// hive - public static ReadOnlySpan Hive => "hive"u8; - - /// hsqldb - public static ReadOnlySpan Hsqldb => "hsqldb"u8; - - /// influxdb - public static ReadOnlySpan Influxdb => "influxdb"u8; - - /// informix - public static ReadOnlySpan Informix => "informix"u8; - - /// ingres - public static ReadOnlySpan Ingres => "ingres"u8; - - /// instantdb - public static ReadOnlySpan Instantdb => "instantdb"u8; - - /// interbase - public static ReadOnlySpan Interbase => "interbase"u8; - - /// intersystems_cache - public static ReadOnlySpan IntersystemsCache => "intersystems_cache"u8; - - /// mariadb - public static ReadOnlySpan Mariadb => "mariadb"u8; - - /// maxdb - public static ReadOnlySpan Maxdb => "maxdb"u8; - - /// memcached - public static ReadOnlySpan Memcached => "memcached"u8; - - /// mongodb - public static ReadOnlySpan Mongodb => "mongodb"u8; - - /// mssql - public static ReadOnlySpan Mssql => "mssql"u8; - - /// mssqlcompact - public static ReadOnlySpan Mssqlcompact => "mssqlcompact"u8; - - /// mysql - public static ReadOnlySpan Mysql => "mysql"u8; - - /// neo4j - public static ReadOnlySpan Neo4j => "neo4j"u8; - - /// netezza - public static ReadOnlySpan Netezza => "netezza"u8; - - /// opensearch - public static ReadOnlySpan Opensearch => "opensearch"u8; - - /// oracle - public static ReadOnlySpan Oracle => "oracle"u8; - - /// other_sql - public static ReadOnlySpan OtherSql => "other_sql"u8; - - /// pervasive - public static ReadOnlySpan Pervasive => "pervasive"u8; - - /// pointbase - public static ReadOnlySpan Pointbase => "pointbase"u8; - - /// postgresql - public static ReadOnlySpan Postgresql => "postgresql"u8; - - /// progress - public static ReadOnlySpan Progress => "progress"u8; - - /// redis - public static ReadOnlySpan Redis => "redis"u8; - - /// redshift - public static ReadOnlySpan Redshift => "redshift"u8; - - /// spanner - public static ReadOnlySpan Spanner => "spanner"u8; - - /// sqlite - public static ReadOnlySpan Sqlite => "sqlite"u8; - - /// sybase - public static ReadOnlySpan Sybase => "sybase"u8; - - /// teradata - public static ReadOnlySpan Teradata => "teradata"u8; - - /// trino - public static ReadOnlySpan Trino => "trino"u8; - - /// vertica - public static ReadOnlySpan Vertica => "vertica"u8; - -} - -/// -/// UTF-8 enum values for db.system.name -/// -public static class DbSystemNameUtf8Values -{ - /// actian.ingres - public static ReadOnlySpan ActianIngres => "actian.ingres"u8; - - /// aws.dynamodb - public static ReadOnlySpan AwsDynamodb => "aws.dynamodb"u8; - - /// aws.redshift - public static ReadOnlySpan AwsRedshift => "aws.redshift"u8; - - /// azure.cosmosdb - public static ReadOnlySpan AzureCosmosdb => "azure.cosmosdb"u8; - - /// cassandra - public static ReadOnlySpan Cassandra => "cassandra"u8; - - /// clickhouse - public static ReadOnlySpan Clickhouse => "clickhouse"u8; - - /// cockroachdb - public static ReadOnlySpan Cockroachdb => "cockroachdb"u8; - - /// couchbase - public static ReadOnlySpan Couchbase => "couchbase"u8; - - /// couchdb - public static ReadOnlySpan Couchdb => "couchdb"u8; - - /// derby - public static ReadOnlySpan Derby => "derby"u8; - - /// elasticsearch - public static ReadOnlySpan Elasticsearch => "elasticsearch"u8; - - /// firebirdsql - public static ReadOnlySpan Firebirdsql => "firebirdsql"u8; - - /// gcp.spanner - public static ReadOnlySpan GcpSpanner => "gcp.spanner"u8; - - /// geode - public static ReadOnlySpan Geode => "geode"u8; - - /// h2database - public static ReadOnlySpan H2database => "h2database"u8; - - /// hbase - public static ReadOnlySpan Hbase => "hbase"u8; - - /// hive - public static ReadOnlySpan Hive => "hive"u8; - - /// hsqldb - public static ReadOnlySpan Hsqldb => "hsqldb"u8; - - /// ibm.db2 - public static ReadOnlySpan IbmDb2 => "ibm.db2"u8; - - /// ibm.informix - public static ReadOnlySpan IbmInformix => "ibm.informix"u8; - - /// ibm.netezza - public static ReadOnlySpan IbmNetezza => "ibm.netezza"u8; - - /// influxdb - public static ReadOnlySpan Influxdb => "influxdb"u8; - - /// instantdb - public static ReadOnlySpan Instantdb => "instantdb"u8; - - /// intersystems.cache - public static ReadOnlySpan IntersystemsCache => "intersystems.cache"u8; - - /// memcached - public static ReadOnlySpan Memcached => "memcached"u8; - - /// mongodb - public static ReadOnlySpan Mongodb => "mongodb"u8; - - /// neo4j - public static ReadOnlySpan Neo4j => "neo4j"u8; - - /// opensearch - public static ReadOnlySpan Opensearch => "opensearch"u8; - - /// oracle.db - public static ReadOnlySpan OracleDb => "oracle.db"u8; - - /// other_sql - public static ReadOnlySpan OtherSql => "other_sql"u8; - - /// redis - public static ReadOnlySpan Redis => "redis"u8; - - /// sap.hana - public static ReadOnlySpan SapHana => "sap.hana"u8; - - /// sap.maxdb - public static ReadOnlySpan SapMaxdb => "sap.maxdb"u8; - - /// softwareag.adabas - public static ReadOnlySpan SoftwareagAdabas => "softwareag.adabas"u8; - - /// sqlite - public static ReadOnlySpan Sqlite => "sqlite"u8; - - /// teradata - public static ReadOnlySpan Teradata => "teradata"u8; - - /// trino - public static ReadOnlySpan Trino => "trino"u8; - - /// mariadb - public static ReadOnlySpan Mariadb => "mariadb"u8; - - /// microsoft.sql_server - public static ReadOnlySpan MicrosoftSqlServer => "microsoft.sql_server"u8; - - /// mysql - public static ReadOnlySpan Mysql => "mysql"u8; - - /// postgresql - public static ReadOnlySpan Postgresql => "postgresql"u8; - -} - -/// -/// UTF-8 enum values for deployment.status -/// -public static class DeploymentStatusUtf8Values -{ - /// failed - public static ReadOnlySpan Failed => "failed"u8; - - /// succeeded - public static ReadOnlySpan Succeeded => "succeeded"u8; - -} - -/// -/// UTF-8 enum values for faas.document.operation -/// -public static class FaasDocumentOperationUtf8Values -{ - /// delete - public static ReadOnlySpan Delete => "delete"u8; - - /// edit - public static ReadOnlySpan Edit => "edit"u8; - - /// insert - public static ReadOnlySpan Insert => "insert"u8; - -} - -/// -/// UTF-8 enum values for faas.invoked.provider -/// -public static class FaasInvokedProviderUtf8Values -{ - /// alibaba_cloud - public static ReadOnlySpan AlibabaCloud => "alibaba_cloud"u8; - - /// aws - public static ReadOnlySpan Aws => "aws"u8; - - /// azure - public static ReadOnlySpan Azure => "azure"u8; - - /// gcp - public static ReadOnlySpan Gcp => "gcp"u8; - - /// tencent_cloud - public static ReadOnlySpan TencentCloud => "tencent_cloud"u8; - -} - -/// -/// UTF-8 enum values for faas.trigger -/// -public static class FaasTriggerUtf8Values -{ - /// datasource - public static ReadOnlySpan Datasource => "datasource"u8; - - /// http - public static ReadOnlySpan Http => "http"u8; - - /// other - public static ReadOnlySpan Other => "other"u8; - - /// pubsub - public static ReadOnlySpan Pubsub => "pubsub"u8; - - /// timer - public static ReadOnlySpan Timer => "timer"u8; - -} - -/// -/// UTF-8 enum values for feature.flag.evaluation.reason -/// -public static class FeatureFlagEvaluationReasonUtf8Values -{ - /// cached - public static ReadOnlySpan Cached => "cached"u8; - - /// default - public static ReadOnlySpan Default => "default"u8; - - /// disabled - public static ReadOnlySpan Disabled => "disabled"u8; - - /// error - public static ReadOnlySpan Error => "error"u8; - - /// split - public static ReadOnlySpan Split => "split"u8; - - /// stale - public static ReadOnlySpan Stale => "stale"u8; - - /// static - public static ReadOnlySpan Static => "static"u8; - - /// targeting_match - public static ReadOnlySpan TargetingMatch => "targeting_match"u8; - - /// unknown - public static ReadOnlySpan Unknown => "unknown"u8; - -} - -/// -/// UTF-8 enum values for feature.flag.result.reason -/// -public static class FeatureFlagResultReasonUtf8Values -{ - /// cached - public static ReadOnlySpan Cached => "cached"u8; - - /// default - public static ReadOnlySpan Default => "default"u8; - - /// disabled - public static ReadOnlySpan Disabled => "disabled"u8; - - /// error - public static ReadOnlySpan Error => "error"u8; - - /// split - public static ReadOnlySpan Split => "split"u8; - - /// stale - public static ReadOnlySpan Stale => "stale"u8; - - /// static - public static ReadOnlySpan Static => "static"u8; - - /// targeting_match - public static ReadOnlySpan TargetingMatch => "targeting_match"u8; - - /// unknown - public static ReadOnlySpan Unknown => "unknown"u8; - -} - -/// -/// UTF-8 enum values for gen.ai.openai.request.response.format -/// -public static class GenAiOpenaiRequestResponseFormatUtf8Values -{ - /// json_object - public static ReadOnlySpan JsonObject => "json_object"u8; - - /// json_schema - public static ReadOnlySpan JsonSchema => "json_schema"u8; - - /// text - public static ReadOnlySpan Text => "text"u8; - -} - -/// -/// UTF-8 enum values for gen.ai.openai.request.service.tier -/// -public static class GenAiOpenaiRequestServiceTierUtf8Values -{ - /// auto - public static ReadOnlySpan Auto => "auto"u8; - - /// default - public static ReadOnlySpan Default => "default"u8; - -} - -/// -/// UTF-8 enum values for gen.ai.operation.name -/// -public static class GenAiOperationNameUtf8Values -{ - /// chat - public static ReadOnlySpan Chat => "chat"u8; - - /// create_agent - public static ReadOnlySpan CreateAgent => "create_agent"u8; - - /// embeddings - public static ReadOnlySpan Embeddings => "embeddings"u8; - - /// execute_tool - public static ReadOnlySpan ExecuteTool => "execute_tool"u8; - - /// generate_content - public static ReadOnlySpan GenerateContent => "generate_content"u8; - - /// invoke_agent - public static ReadOnlySpan InvokeAgent => "invoke_agent"u8; - - /// retrieval - public static ReadOnlySpan Retrieval => "retrieval"u8; - - /// text_completion - public static ReadOnlySpan TextCompletion => "text_completion"u8; - -} - -/// -/// UTF-8 enum values for gen.ai.output.type -/// -public static class GenAiOutputTypeUtf8Values -{ - /// image - public static ReadOnlySpan Image => "image"u8; - - /// json - public static ReadOnlySpan Json => "json"u8; - - /// speech - public static ReadOnlySpan Speech => "speech"u8; - - /// text - public static ReadOnlySpan Text => "text"u8; - -} - -/// -/// UTF-8 enum values for gen.ai.provider.name -/// -public static class GenAiProviderNameUtf8Values -{ - /// anthropic - public static ReadOnlySpan Anthropic => "anthropic"u8; - - /// aws.bedrock - public static ReadOnlySpan AwsBedrock => "aws.bedrock"u8; - - /// azure.ai.inference - public static ReadOnlySpan AzureAiInference => "azure.ai.inference"u8; - - /// azure.ai.openai - public static ReadOnlySpan AzureAiOpenai => "azure.ai.openai"u8; - - /// cohere - public static ReadOnlySpan Cohere => "cohere"u8; - - /// deepseek - public static ReadOnlySpan Deepseek => "deepseek"u8; - - /// gcp.gemini - public static ReadOnlySpan GcpGemini => "gcp.gemini"u8; - - /// gcp.gen_ai - public static ReadOnlySpan GcpGenAi => "gcp.gen_ai"u8; - - /// gcp.vertex_ai - public static ReadOnlySpan GcpVertexAi => "gcp.vertex_ai"u8; - - /// groq - public static ReadOnlySpan Groq => "groq"u8; - - /// ibm.watsonx.ai - public static ReadOnlySpan IbmWatsonxAi => "ibm.watsonx.ai"u8; - - /// mistral_ai - public static ReadOnlySpan MistralAi => "mistral_ai"u8; - - /// openai - public static ReadOnlySpan Openai => "openai"u8; - - /// perplexity - public static ReadOnlySpan Perplexity => "perplexity"u8; - - /// x_ai - public static ReadOnlySpan XAi => "x_ai"u8; - -} - -/// -/// UTF-8 enum values for gen.ai.system -/// -public static class GenAiSystemUtf8Values -{ - /// anthropic - public static ReadOnlySpan Anthropic => "anthropic"u8; - - /// aws.bedrock - public static ReadOnlySpan AwsBedrock => "aws.bedrock"u8; - - /// az.ai.inference - public static ReadOnlySpan AzAiInference => "az.ai.inference"u8; - - /// az.ai.openai - public static ReadOnlySpan AzAiOpenai => "az.ai.openai"u8; - - /// azure.ai.inference - public static ReadOnlySpan AzureAiInference => "azure.ai.inference"u8; - - /// azure.ai.openai - public static ReadOnlySpan AzureAiOpenai => "azure.ai.openai"u8; - - /// cohere - public static ReadOnlySpan Cohere => "cohere"u8; - - /// deepseek - public static ReadOnlySpan Deepseek => "deepseek"u8; - - /// gcp.gemini - public static ReadOnlySpan GcpGemini => "gcp.gemini"u8; - - /// gcp.gen_ai - public static ReadOnlySpan GcpGenAi => "gcp.gen_ai"u8; - - /// gcp.vertex_ai - public static ReadOnlySpan GcpVertexAi => "gcp.vertex_ai"u8; - - /// gemini - public static ReadOnlySpan Gemini => "gemini"u8; - - /// groq - public static ReadOnlySpan Groq => "groq"u8; - - /// ibm.watsonx.ai - public static ReadOnlySpan IbmWatsonxAi => "ibm.watsonx.ai"u8; - - /// mistral_ai - public static ReadOnlySpan MistralAi => "mistral_ai"u8; - - /// openai - public static ReadOnlySpan Openai => "openai"u8; - - /// perplexity - public static ReadOnlySpan Perplexity => "perplexity"u8; - - /// vertex_ai - public static ReadOnlySpan VertexAi => "vertex_ai"u8; - - /// xai - public static ReadOnlySpan Xai => "xai"u8; - -} - -/// -/// UTF-8 enum values for gen.ai.token.type -/// -public static class GenAiTokenTypeUtf8Values -{ - /// input - public static ReadOnlySpan Input => "input"u8; - - /// output - public static ReadOnlySpan Completion => "output"u8; - - /// output - public static ReadOnlySpan Output => "output"u8; - -} - -/// -/// UTF-8 enum values for geo.continent.code -/// -public static class GeoContinentCodeUtf8Values -{ - /// AF - public static ReadOnlySpan Af => "AF"u8; - - /// AN - public static ReadOnlySpan An => "AN"u8; - - /// AS - public static ReadOnlySpan As => "AS"u8; - - /// EU - public static ReadOnlySpan Eu => "EU"u8; - - /// NA - public static ReadOnlySpan Na => "NA"u8; - - /// OC - public static ReadOnlySpan Oc => "OC"u8; - - /// SA - public static ReadOnlySpan Sa => "SA"u8; - -} - -/// -/// UTF-8 enum values for host.arch -/// -public static class HostArchUtf8Values -{ - /// amd64 - public static ReadOnlySpan Amd64 => "amd64"u8; - - /// arm32 - public static ReadOnlySpan Arm32 => "arm32"u8; - - /// arm64 - public static ReadOnlySpan Arm64 => "arm64"u8; - - /// ia64 - public static ReadOnlySpan Ia64 => "ia64"u8; - - /// ppc32 - public static ReadOnlySpan Ppc32 => "ppc32"u8; - - /// ppc64 - public static ReadOnlySpan Ppc64 => "ppc64"u8; - - /// s390x - public static ReadOnlySpan S390x => "s390x"u8; - - /// x86 - public static ReadOnlySpan X86 => "x86"u8; - -} - -/// -/// UTF-8 enum values for http.connection.state -/// -public static class HttpConnectionStateUtf8Values -{ - /// active - public static ReadOnlySpan Active => "active"u8; - - /// idle - public static ReadOnlySpan Idle => "idle"u8; - -} - -/// -/// UTF-8 enum values for http.flavor -/// -public static class HttpFlavorUtf8Values -{ - /// 1.0 - public static ReadOnlySpan Http10 => "1.0"u8; - - /// 1.1 - public static ReadOnlySpan Http11 => "1.1"u8; - - /// 2.0 - public static ReadOnlySpan Http20 => "2.0"u8; - - /// 3.0 - public static ReadOnlySpan Http30 => "3.0"u8; - - /// QUIC - public static ReadOnlySpan Quic => "QUIC"u8; - - /// SPDY - public static ReadOnlySpan Spdy => "SPDY"u8; - -} - -/// -/// UTF-8 enum values for http.request.method -/// -public static class HttpRequestMethodUtf8Values -{ - /// QUERY - public static ReadOnlySpan Query => "QUERY"u8; - - /// _OTHER - public static ReadOnlySpan Other => "_OTHER"u8; - - /// CONNECT - public static ReadOnlySpan Connect => "CONNECT"u8; - - /// DELETE - public static ReadOnlySpan Delete => "DELETE"u8; - - /// GET - public static ReadOnlySpan Get => "GET"u8; - - /// HEAD - public static ReadOnlySpan Head => "HEAD"u8; - - /// OPTIONS - public static ReadOnlySpan Options => "OPTIONS"u8; - - /// PATCH - public static ReadOnlySpan Patch => "PATCH"u8; - - /// POST - public static ReadOnlySpan Post => "POST"u8; - - /// PUT - public static ReadOnlySpan Put => "PUT"u8; - - /// TRACE - public static ReadOnlySpan Trace => "TRACE"u8; - -} - -/// -/// UTF-8 enum values for hw.type -/// -public static class HwTypeUtf8Values -{ - /// logical_disk - public static ReadOnlySpan LogicalDisk => "logical_disk"u8; - - /// network - public static ReadOnlySpan Network => "network"u8; - -} - -/// -/// UTF-8 enum values for k8s.container.status.reason -/// -public static class K8sContainerStatusReasonUtf8Values -{ - /// Completed - public static ReadOnlySpan Completed => "Completed"u8; - - /// ContainerCannotRun - public static ReadOnlySpan ContainerCannotRun => "ContainerCannotRun"u8; - - /// ContainerCreating - public static ReadOnlySpan ContainerCreating => "ContainerCreating"u8; - - /// CrashLoopBackOff - public static ReadOnlySpan CrashLoopBackOff => "CrashLoopBackOff"u8; - - /// CreateContainerConfigError - public static ReadOnlySpan CreateContainerConfigError => "CreateContainerConfigError"u8; - - /// ErrImagePull - public static ReadOnlySpan ErrImagePull => "ErrImagePull"u8; - - /// Error - public static ReadOnlySpan Error => "Error"u8; - - /// ImagePullBackOff - public static ReadOnlySpan ImagePullBackOff => "ImagePullBackOff"u8; - - /// OOMKilled - public static ReadOnlySpan OomKilled => "OOMKilled"u8; - -} - -/// -/// UTF-8 enum values for k8s.container.status.state -/// -public static class K8sContainerStatusStateUtf8Values -{ - /// running - public static ReadOnlySpan Running => "running"u8; - - /// terminated - public static ReadOnlySpan Terminated => "terminated"u8; - - /// waiting - public static ReadOnlySpan Waiting => "waiting"u8; - -} - -/// -/// UTF-8 enum values for k8s.namespace.phase -/// -public static class K8sNamespacePhaseUtf8Values -{ - /// active - public static ReadOnlySpan Active => "active"u8; - - /// terminating - public static ReadOnlySpan Terminating => "terminating"u8; - -} - -/// -/// UTF-8 enum values for k8s.node.condition.status -/// -public static class K8sNodeConditionStatusUtf8Values -{ - /// false - public static ReadOnlySpan ConditionFalse => "false"u8; - - /// true - public static ReadOnlySpan ConditionTrue => "true"u8; - - /// unknown - public static ReadOnlySpan ConditionUnknown => "unknown"u8; - -} - -/// -/// UTF-8 enum values for k8s.node.condition.type -/// -public static class K8sNodeConditionTypeUtf8Values -{ - /// DiskPressure - public static ReadOnlySpan DiskPressure => "DiskPressure"u8; - - /// MemoryPressure - public static ReadOnlySpan MemoryPressure => "MemoryPressure"u8; - - /// NetworkUnavailable - public static ReadOnlySpan NetworkUnavailable => "NetworkUnavailable"u8; - - /// PIDPressure - public static ReadOnlySpan PidPressure => "PIDPressure"u8; - - /// Ready - public static ReadOnlySpan Ready => "Ready"u8; - -} - -/// -/// UTF-8 enum values for k8s.pod.status.phase -/// -public static class K8sPodStatusPhaseUtf8Values -{ - /// Failed - public static ReadOnlySpan Failed => "Failed"u8; - - /// Pending - public static ReadOnlySpan Pending => "Pending"u8; - - /// Running - public static ReadOnlySpan Running => "Running"u8; - - /// Succeeded - public static ReadOnlySpan Succeeded => "Succeeded"u8; - - /// Unknown - public static ReadOnlySpan Unknown => "Unknown"u8; - -} - -/// -/// UTF-8 enum values for k8s.pod.status.reason -/// -public static class K8sPodStatusReasonUtf8Values -{ - /// Evicted - public static ReadOnlySpan Evicted => "Evicted"u8; - - /// NodeAffinity - public static ReadOnlySpan NodeAffinity => "NodeAffinity"u8; - - /// NodeLost - public static ReadOnlySpan NodeLost => "NodeLost"u8; - - /// Shutdown - public static ReadOnlySpan Shutdown => "Shutdown"u8; - - /// UnexpectedAdmissionError - public static ReadOnlySpan UnexpectedAdmissionError => "UnexpectedAdmissionError"u8; - -} - -/// -/// UTF-8 enum values for k8s.service.endpoint.address.type -/// -public static class K8sServiceEndpointAddressTypeUtf8Values -{ - /// FQDN - public static ReadOnlySpan Fqdn => "FQDN"u8; - - /// IPv4 - public static ReadOnlySpan Ipv4 => "IPv4"u8; - - /// IPv6 - public static ReadOnlySpan Ipv6 => "IPv6"u8; - -} - -/// -/// UTF-8 enum values for k8s.service.endpoint.condition -/// -public static class K8sServiceEndpointConditionUtf8Values -{ - /// ready - public static ReadOnlySpan Ready => "ready"u8; - - /// serving - public static ReadOnlySpan Serving => "serving"u8; - - /// terminating - public static ReadOnlySpan Terminating => "terminating"u8; - -} - -/// -/// UTF-8 enum values for k8s.service.type -/// -public static class K8sServiceTypeUtf8Values -{ - /// ClusterIP - public static ReadOnlySpan ClusterIp => "ClusterIP"u8; - - /// ExternalName - public static ReadOnlySpan ExternalName => "ExternalName"u8; - - /// LoadBalancer - public static ReadOnlySpan LoadBalancer => "LoadBalancer"u8; - - /// NodePort - public static ReadOnlySpan NodePort => "NodePort"u8; - -} - -/// -/// UTF-8 enum values for k8s.volume.type -/// -public static class K8sVolumeTypeUtf8Values -{ - /// configMap - public static ReadOnlySpan ConfigMap => "configMap"u8; - - /// downwardAPI - public static ReadOnlySpan DownwardApi => "downwardAPI"u8; - - /// emptyDir - public static ReadOnlySpan EmptyDir => "emptyDir"u8; - - /// local - public static ReadOnlySpan Local => "local"u8; - - /// persistentVolumeClaim - public static ReadOnlySpan PersistentVolumeClaim => "persistentVolumeClaim"u8; - - /// secret - public static ReadOnlySpan Secret => "secret"u8; - -} - -/// -/// UTF-8 enum values for log.iostream -/// -public static class LogIostreamUtf8Values -{ - /// stderr - public static ReadOnlySpan Stderr => "stderr"u8; - - /// stdout - public static ReadOnlySpan Stdout => "stdout"u8; - -} - -/// -/// UTF-8 enum values for mcp.method.name -/// -public static class McpMethodNameUtf8Values -{ - /// logging/setLevel - public static ReadOnlySpan LoggingSetLevel => "logging/setLevel"u8; - -} - -/// -/// UTF-8 enum values for messaging.operation.type -/// -public static class MessagingOperationTypeUtf8Values -{ - /// create - public static ReadOnlySpan Create => "create"u8; - - /// deliver - public static ReadOnlySpan Deliver => "deliver"u8; - - /// process - public static ReadOnlySpan Process => "process"u8; - - /// publish - public static ReadOnlySpan Publish => "publish"u8; - - /// receive - public static ReadOnlySpan Receive => "receive"u8; - - /// send - public static ReadOnlySpan Send => "send"u8; - - /// settle - public static ReadOnlySpan Settle => "settle"u8; - -} - -/// -/// UTF-8 enum values for messaging.rocketmq.consumption.model -/// -public static class MessagingRocketmqConsumptionModelUtf8Values -{ - /// broadcasting - public static ReadOnlySpan Broadcasting => "broadcasting"u8; - - /// clustering - public static ReadOnlySpan Clustering => "clustering"u8; - -} - -/// -/// UTF-8 enum values for messaging.rocketmq.message.type -/// -public static class MessagingRocketmqMessageTypeUtf8Values -{ - /// delay - public static ReadOnlySpan Delay => "delay"u8; - - /// fifo - public static ReadOnlySpan Fifo => "fifo"u8; - - /// normal - public static ReadOnlySpan Normal => "normal"u8; - - /// transaction - public static ReadOnlySpan Transaction => "transaction"u8; - -} - -/// -/// UTF-8 enum values for messaging.servicebus.disposition.status -/// -public static class MessagingServicebusDispositionStatusUtf8Values -{ - /// abandon - public static ReadOnlySpan Abandon => "abandon"u8; - - /// complete - public static ReadOnlySpan Complete => "complete"u8; - - /// dead_letter - public static ReadOnlySpan DeadLetter => "dead_letter"u8; - - /// defer - public static ReadOnlySpan Defer => "defer"u8; - -} - -/// -/// UTF-8 enum values for messaging.system -/// -public static class MessagingSystemUtf8Values -{ - /// activemq - public static ReadOnlySpan Activemq => "activemq"u8; - - /// aws.sns - public static ReadOnlySpan AwsSns => "aws.sns"u8; - - /// aws_sqs - public static ReadOnlySpan AwsSqs => "aws_sqs"u8; - - /// eventgrid - public static ReadOnlySpan Eventgrid => "eventgrid"u8; - - /// eventhubs - public static ReadOnlySpan Eventhubs => "eventhubs"u8; - - /// gcp_pubsub - public static ReadOnlySpan GcpPubsub => "gcp_pubsub"u8; - - /// jms - public static ReadOnlySpan Jms => "jms"u8; - - /// kafka - public static ReadOnlySpan Kafka => "kafka"u8; - - /// pulsar - public static ReadOnlySpan Pulsar => "pulsar"u8; - - /// rabbitmq - public static ReadOnlySpan Rabbitmq => "rabbitmq"u8; - - /// rocketmq - public static ReadOnlySpan Rocketmq => "rocketmq"u8; - - /// servicebus - public static ReadOnlySpan Servicebus => "servicebus"u8; - -} - -/// -/// UTF-8 enum values for network.connection.state -/// -public static class NetworkConnectionStateUtf8Values -{ - /// close_wait - public static ReadOnlySpan CloseWait => "close_wait"u8; - - /// closed - public static ReadOnlySpan Closed => "closed"u8; - - /// closing - public static ReadOnlySpan Closing => "closing"u8; - - /// established - public static ReadOnlySpan Established => "established"u8; - - /// fin_wait_1 - public static ReadOnlySpan FinWait1 => "fin_wait_1"u8; - - /// fin_wait_2 - public static ReadOnlySpan FinWait2 => "fin_wait_2"u8; - - /// last_ack - public static ReadOnlySpan LastAck => "last_ack"u8; - - /// listen - public static ReadOnlySpan Listen => "listen"u8; - - /// syn_received - public static ReadOnlySpan SynReceived => "syn_received"u8; - - /// syn_sent - public static ReadOnlySpan SynSent => "syn_sent"u8; - - /// time_wait - public static ReadOnlySpan TimeWait => "time_wait"u8; - -} - -/// -/// UTF-8 enum values for network.connection.subtype -/// -public static class NetworkConnectionSubtypeUtf8Values -{ - /// cdma - public static ReadOnlySpan Cdma => "cdma"u8; - - /// cdma2000_1xrtt - public static ReadOnlySpan Cdma20001xrtt => "cdma2000_1xrtt"u8; - - /// edge - public static ReadOnlySpan Edge => "edge"u8; - - /// ehrpd - public static ReadOnlySpan Ehrpd => "ehrpd"u8; - - /// evdo_0 - public static ReadOnlySpan Evdo0 => "evdo_0"u8; - - /// evdo_a - public static ReadOnlySpan EvdoA => "evdo_a"u8; - - /// evdo_b - public static ReadOnlySpan EvdoB => "evdo_b"u8; - - /// gprs - public static ReadOnlySpan Gprs => "gprs"u8; - - /// gsm - public static ReadOnlySpan Gsm => "gsm"u8; - - /// hsdpa - public static ReadOnlySpan Hsdpa => "hsdpa"u8; - - /// hspa - public static ReadOnlySpan Hspa => "hspa"u8; - - /// hspap - public static ReadOnlySpan Hspap => "hspap"u8; - - /// hsupa - public static ReadOnlySpan Hsupa => "hsupa"u8; - - /// iden - public static ReadOnlySpan Iden => "iden"u8; - - /// iwlan - public static ReadOnlySpan Iwlan => "iwlan"u8; - - /// lte - public static ReadOnlySpan Lte => "lte"u8; - - /// lte_ca - public static ReadOnlySpan LteCa => "lte_ca"u8; - - /// nr - public static ReadOnlySpan Nr => "nr"u8; - - /// nrnsa - public static ReadOnlySpan Nrnsa => "nrnsa"u8; - - /// td_scdma - public static ReadOnlySpan TdScdma => "td_scdma"u8; - - /// umts - public static ReadOnlySpan Umts => "umts"u8; - -} - -/// -/// UTF-8 enum values for network.connection.type -/// -public static class NetworkConnectionTypeUtf8Values -{ - /// cell - public static ReadOnlySpan Cell => "cell"u8; - - /// unavailable - public static ReadOnlySpan Unavailable => "unavailable"u8; - - /// unknown - public static ReadOnlySpan Unknown => "unknown"u8; - - /// wifi - public static ReadOnlySpan Wifi => "wifi"u8; - - /// wired - public static ReadOnlySpan Wired => "wired"u8; - -} - -/// -/// UTF-8 enum values for network.io.direction -/// -public static class NetworkIoDirectionUtf8Values -{ - /// receive - public static ReadOnlySpan Receive => "receive"u8; - - /// transmit - public static ReadOnlySpan Transmit => "transmit"u8; - -} - -/// -/// UTF-8 enum values for openai.api.type -/// -public static class OpenaiApiTypeUtf8Values -{ - /// chat_completions - public static ReadOnlySpan ChatCompletions => "chat_completions"u8; - - /// responses - public static ReadOnlySpan Responses => "responses"u8; - -} - -/// -/// UTF-8 enum values for openai.request.service.tier -/// -public static class OpenaiRequestServiceTierUtf8Values -{ - /// auto - public static ReadOnlySpan Auto => "auto"u8; - - /// default - public static ReadOnlySpan Default => "default"u8; - -} - -/// -/// UTF-8 enum values for os.type -/// -public static class OsTypeUtf8Values -{ - /// aix - public static ReadOnlySpan Aix => "aix"u8; - - /// darwin - public static ReadOnlySpan Darwin => "darwin"u8; - - /// dragonflybsd - public static ReadOnlySpan Dragonflybsd => "dragonflybsd"u8; - - /// freebsd - public static ReadOnlySpan Freebsd => "freebsd"u8; - - /// hpux - public static ReadOnlySpan Hpux => "hpux"u8; - - /// linux - public static ReadOnlySpan Linux => "linux"u8; - - /// netbsd - public static ReadOnlySpan Netbsd => "netbsd"u8; - - /// openbsd - public static ReadOnlySpan Openbsd => "openbsd"u8; - - /// solaris - public static ReadOnlySpan Solaris => "solaris"u8; - - /// windows - public static ReadOnlySpan Windows => "windows"u8; - - /// z_os - public static ReadOnlySpan ZOs => "z_os"u8; - - /// zos - public static ReadOnlySpan Zos => "zos"u8; - -} - -/// -/// UTF-8 enum values for otel.component.type -/// -public static class OtelComponentTypeUtf8Values -{ - /// batching_log_processor - public static ReadOnlySpan BatchingLogProcessor => "batching_log_processor"u8; - - /// batching_span_processor - public static ReadOnlySpan BatchingSpanProcessor => "batching_span_processor"u8; - - /// otlp_grpc_log_exporter - public static ReadOnlySpan OtlpGrpcLogExporter => "otlp_grpc_log_exporter"u8; - - /// otlp_grpc_metric_exporter - public static ReadOnlySpan OtlpGrpcMetricExporter => "otlp_grpc_metric_exporter"u8; - - /// otlp_grpc_span_exporter - public static ReadOnlySpan OtlpGrpcSpanExporter => "otlp_grpc_span_exporter"u8; - - /// otlp_http_json_log_exporter - public static ReadOnlySpan OtlpHttpJsonLogExporter => "otlp_http_json_log_exporter"u8; - - /// otlp_http_json_metric_exporter - public static ReadOnlySpan OtlpHttpJsonMetricExporter => "otlp_http_json_metric_exporter"u8; - - /// otlp_http_json_span_exporter - public static ReadOnlySpan OtlpHttpJsonSpanExporter => "otlp_http_json_span_exporter"u8; - - /// otlp_http_log_exporter - public static ReadOnlySpan OtlpHttpLogExporter => "otlp_http_log_exporter"u8; - - /// otlp_http_metric_exporter - public static ReadOnlySpan OtlpHttpMetricExporter => "otlp_http_metric_exporter"u8; - - /// otlp_http_span_exporter - public static ReadOnlySpan OtlpHttpSpanExporter => "otlp_http_span_exporter"u8; - - /// periodic_metric_reader - public static ReadOnlySpan PeriodicMetricReader => "periodic_metric_reader"u8; - - /// prometheus_http_text_metric_exporter - public static ReadOnlySpan PrometheusHttpTextMetricExporter => "prometheus_http_text_metric_exporter"u8; - - /// simple_log_processor - public static ReadOnlySpan SimpleLogProcessor => "simple_log_processor"u8; - - /// simple_span_processor - public static ReadOnlySpan SimpleSpanProcessor => "simple_span_processor"u8; - - /// zipkin_http_span_exporter - public static ReadOnlySpan ZipkinHttpSpanExporter => "zipkin_http_span_exporter"u8; - -} - -/// -/// UTF-8 enum values for otel.span.parent.origin -/// -public static class OtelSpanParentOriginUtf8Values -{ - /// local - public static ReadOnlySpan Local => "local"u8; - - /// none - public static ReadOnlySpan None => "none"u8; - - /// remote - public static ReadOnlySpan Remote => "remote"u8; - -} - -/// -/// UTF-8 enum values for otel.span.sampling.result -/// -public static class OtelSpanSamplingResultUtf8Values -{ - /// DROP - public static ReadOnlySpan Drop => "DROP"u8; - - /// RECORD_AND_SAMPLE - public static ReadOnlySpan RecordAndSample => "RECORD_AND_SAMPLE"u8; - - /// RECORD_ONLY - public static ReadOnlySpan RecordOnly => "RECORD_ONLY"u8; - -} - -/// -/// UTF-8 enum values for process.context.switch.type -/// -public static class ProcessContextSwitchTypeUtf8Values -{ - /// involuntary - public static ReadOnlySpan Involuntary => "involuntary"u8; - - /// voluntary - public static ReadOnlySpan Voluntary => "voluntary"u8; - -} - -/// -/// UTF-8 enum values for process.cpu.state -/// -public static class ProcessCpuStateUtf8Values -{ - /// system - public static ReadOnlySpan System => "system"u8; - - /// user - public static ReadOnlySpan User => "user"u8; - - /// wait - public static ReadOnlySpan Wait => "wait"u8; - -} - -/// -/// UTF-8 enum values for process.paging.fault.type -/// -public static class ProcessPagingFaultTypeUtf8Values -{ - /// major - public static ReadOnlySpan Major => "major"u8; - - /// minor - public static ReadOnlySpan Minor => "minor"u8; - -} - -/// -/// UTF-8 enum values for process.state -/// -public static class ProcessStateUtf8Values -{ - /// defunct - public static ReadOnlySpan Defunct => "defunct"u8; - - /// running - public static ReadOnlySpan Running => "running"u8; - - /// sleeping - public static ReadOnlySpan Sleeping => "sleeping"u8; - - /// stopped - public static ReadOnlySpan Stopped => "stopped"u8; - -} - -/// -/// UTF-8 enum values for profile.frame.type -/// -public static class ProfileFrameTypeUtf8Values -{ - /// beam - public static ReadOnlySpan Beam => "beam"u8; - - /// cpython - public static ReadOnlySpan Cpython => "cpython"u8; - - /// dotnet - public static ReadOnlySpan Dotnet => "dotnet"u8; - - /// go - public static ReadOnlySpan Go => "go"u8; - - /// jvm - public static ReadOnlySpan Jvm => "jvm"u8; - - /// kernel - public static ReadOnlySpan Kernel => "kernel"u8; - - /// native - public static ReadOnlySpan Native => "native"u8; - - /// perl - public static ReadOnlySpan Perl => "perl"u8; - - /// php - public static ReadOnlySpan Php => "php"u8; - - /// ruby - public static ReadOnlySpan Ruby => "ruby"u8; - - /// rust - public static ReadOnlySpan Rust => "rust"u8; - - /// v8js - public static ReadOnlySpan V8js => "v8js"u8; - -} - -/// -/// UTF-8 enum values for rpc.connect.rpc.error.code -/// -public static class RpcConnectRpcErrorCodeUtf8Values -{ - /// aborted - public static ReadOnlySpan Aborted => "aborted"u8; - - /// already_exists - public static ReadOnlySpan AlreadyExists => "already_exists"u8; - - /// cancelled - public static ReadOnlySpan Cancelled => "cancelled"u8; - - /// data_loss - public static ReadOnlySpan DataLoss => "data_loss"u8; - - /// deadline_exceeded - public static ReadOnlySpan DeadlineExceeded => "deadline_exceeded"u8; - - /// failed_precondition - public static ReadOnlySpan FailedPrecondition => "failed_precondition"u8; - - /// internal - public static ReadOnlySpan Internal => "internal"u8; - - /// invalid_argument - public static ReadOnlySpan InvalidArgument => "invalid_argument"u8; - - /// not_found - public static ReadOnlySpan NotFound => "not_found"u8; - - /// out_of_range - public static ReadOnlySpan OutOfRange => "out_of_range"u8; - - /// permission_denied - public static ReadOnlySpan PermissionDenied => "permission_denied"u8; - - /// resource_exhausted - public static ReadOnlySpan ResourceExhausted => "resource_exhausted"u8; - - /// unauthenticated - public static ReadOnlySpan Unauthenticated => "unauthenticated"u8; - - /// unavailable - public static ReadOnlySpan Unavailable => "unavailable"u8; - - /// unimplemented - public static ReadOnlySpan Unimplemented => "unimplemented"u8; - - /// unknown - public static ReadOnlySpan Unknown => "unknown"u8; - -} - -/// -/// UTF-8 enum values for rpc.message.type -/// -public static class RpcMessageTypeUtf8Values -{ - /// RECEIVED - public static ReadOnlySpan Received => "RECEIVED"u8; - - /// SENT - public static ReadOnlySpan Sent => "SENT"u8; - -} - -/// -/// UTF-8 enum values for rpc.system -/// -public static class RpcSystemUtf8Values -{ - /// apache_dubbo - public static ReadOnlySpan ApacheDubbo => "apache_dubbo"u8; - - /// connect_rpc - public static ReadOnlySpan ConnectRpc => "connect_rpc"u8; - - /// dotnet_wcf - public static ReadOnlySpan DotnetWcf => "dotnet_wcf"u8; - - /// grpc - public static ReadOnlySpan Grpc => "grpc"u8; - - /// java_rmi - public static ReadOnlySpan JavaRmi => "java_rmi"u8; - - /// jsonrpc - public static ReadOnlySpan Jsonrpc => "jsonrpc"u8; - - /// onc_rpc - public static ReadOnlySpan OncRpc => "onc_rpc"u8; - -} - -/// -/// UTF-8 enum values for rpc.system.name -/// -public static class RpcSystemNameUtf8Values -{ - /// connectrpc - public static ReadOnlySpan Connectrpc => "connectrpc"u8; - - /// dubbo - public static ReadOnlySpan Dubbo => "dubbo"u8; - - /// grpc - public static ReadOnlySpan Grpc => "grpc"u8; - - /// jsonrpc - public static ReadOnlySpan Jsonrpc => "jsonrpc"u8; - -} - -/// -/// UTF-8 enum values for service.criticality -/// -public static class ServiceCriticalityUtf8Values -{ - /// critical - public static ReadOnlySpan Critical => "critical"u8; - - /// high - public static ReadOnlySpan High => "high"u8; - - /// low - public static ReadOnlySpan Low => "low"u8; - - /// medium - public static ReadOnlySpan Medium => "medium"u8; - -} - -/// -/// UTF-8 enum values for system.cpu.state -/// -public static class SystemCpuStateUtf8Values -{ - /// idle - public static ReadOnlySpan Idle => "idle"u8; - - /// interrupt - public static ReadOnlySpan Interrupt => "interrupt"u8; - - /// iowait - public static ReadOnlySpan Iowait => "iowait"u8; - - /// nice - public static ReadOnlySpan Nice => "nice"u8; - - /// steal - public static ReadOnlySpan Steal => "steal"u8; - - /// system - public static ReadOnlySpan System => "system"u8; - - /// user - public static ReadOnlySpan User => "user"u8; - -} - -/// -/// UTF-8 enum values for system.filesystem.state -/// -public static class SystemFilesystemStateUtf8Values -{ - /// free - public static ReadOnlySpan Free => "free"u8; - - /// reserved - public static ReadOnlySpan Reserved => "reserved"u8; - - /// used - public static ReadOnlySpan Used => "used"u8; - -} - -/// -/// UTF-8 enum values for system.filesystem.type -/// -public static class SystemFilesystemTypeUtf8Values -{ - /// exfat - public static ReadOnlySpan Exfat => "exfat"u8; - - /// ext4 - public static ReadOnlySpan Ext4 => "ext4"u8; - - /// fat32 - public static ReadOnlySpan Fat32 => "fat32"u8; - - /// hfsplus - public static ReadOnlySpan Hfsplus => "hfsplus"u8; - - /// ntfs - public static ReadOnlySpan Ntfs => "ntfs"u8; - - /// refs - public static ReadOnlySpan Refs => "refs"u8; - -} - -/// -/// UTF-8 enum values for system.memory.linux.slab.state -/// -public static class SystemMemoryLinuxSlabStateUtf8Values -{ - /// reclaimable - public static ReadOnlySpan Reclaimable => "reclaimable"u8; - - /// unreclaimable - public static ReadOnlySpan Unreclaimable => "unreclaimable"u8; - -} - -/// -/// UTF-8 enum values for system.memory.state -/// -public static class SystemMemoryStateUtf8Values -{ - /// buffers - public static ReadOnlySpan Buffers => "buffers"u8; - - /// cached - public static ReadOnlySpan Cached => "cached"u8; - - /// free - public static ReadOnlySpan Free => "free"u8; - - /// shared - public static ReadOnlySpan Shared => "shared"u8; - - /// used - public static ReadOnlySpan Used => "used"u8; - -} - -/// -/// UTF-8 enum values for system.network.state -/// -public static class SystemNetworkStateUtf8Values -{ - /// close - public static ReadOnlySpan Close => "close"u8; - - /// close_wait - public static ReadOnlySpan CloseWait => "close_wait"u8; - - /// closing - public static ReadOnlySpan Closing => "closing"u8; - - /// delete - public static ReadOnlySpan Delete => "delete"u8; - - /// established - public static ReadOnlySpan Established => "established"u8; - - /// fin_wait_1 - public static ReadOnlySpan FinWait1 => "fin_wait_1"u8; - - /// fin_wait_2 - public static ReadOnlySpan FinWait2 => "fin_wait_2"u8; - - /// last_ack - public static ReadOnlySpan LastAck => "last_ack"u8; - - /// listen - public static ReadOnlySpan Listen => "listen"u8; - - /// syn_recv - public static ReadOnlySpan SynRecv => "syn_recv"u8; - - /// syn_sent - public static ReadOnlySpan SynSent => "syn_sent"u8; - - /// time_wait - public static ReadOnlySpan TimeWait => "time_wait"u8; - -} - -/// -/// UTF-8 enum values for system.paging.direction -/// -public static class SystemPagingDirectionUtf8Values -{ - /// in - public static ReadOnlySpan In => "in"u8; - - /// out - public static ReadOnlySpan Out => "out"u8; - -} - -/// -/// UTF-8 enum values for system.paging.fault.type -/// -public static class SystemPagingFaultTypeUtf8Values -{ - /// major - public static ReadOnlySpan Major => "major"u8; - - /// minor - public static ReadOnlySpan Minor => "minor"u8; - -} - -/// -/// UTF-8 enum values for system.paging.state -/// -public static class SystemPagingStateUtf8Values -{ - /// free - public static ReadOnlySpan Free => "free"u8; - - /// used - public static ReadOnlySpan Used => "used"u8; - -} - -/// -/// UTF-8 enum values for system.paging.type -/// -public static class SystemPagingTypeUtf8Values -{ - /// major - public static ReadOnlySpan Major => "major"u8; - - /// minor - public static ReadOnlySpan Minor => "minor"u8; - -} - -/// -/// UTF-8 enum values for system.process.status -/// -public static class SystemProcessStatusUtf8Values -{ - /// defunct - public static ReadOnlySpan Defunct => "defunct"u8; - - /// running - public static ReadOnlySpan Running => "running"u8; - - /// sleeping - public static ReadOnlySpan Sleeping => "sleeping"u8; - - /// stopped - public static ReadOnlySpan Stopped => "stopped"u8; - -} - -/// -/// UTF-8 enum values for system.processes.status -/// -public static class SystemProcessesStatusUtf8Values -{ - /// defunct - public static ReadOnlySpan Defunct => "defunct"u8; - - /// running - public static ReadOnlySpan Running => "running"u8; - - /// sleeping - public static ReadOnlySpan Sleeping => "sleeping"u8; - - /// stopped - public static ReadOnlySpan Stopped => "stopped"u8; - -} - -/// -/// UTF-8 enum values for test.case.result.status -/// -public static class TestCaseResultStatusUtf8Values -{ - /// fail - public static ReadOnlySpan Fail => "fail"u8; - - /// pass - public static ReadOnlySpan Pass => "pass"u8; - -} - -/// -/// UTF-8 enum values for test.suite.run.status -/// -public static class TestSuiteRunStatusUtf8Values -{ - /// aborted - public static ReadOnlySpan Aborted => "aborted"u8; - - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// in_progress - public static ReadOnlySpan InProgress => "in_progress"u8; - - /// skipped - public static ReadOnlySpan Skipped => "skipped"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - - /// timed_out - public static ReadOnlySpan TimedOut => "timed_out"u8; - -} - -/// -/// UTF-8 enum values for tls.protocol.name -/// -public static class TlsProtocolNameUtf8Values -{ - /// ssl - public static ReadOnlySpan Ssl => "ssl"u8; - - /// tls - public static ReadOnlySpan Tls => "tls"u8; - -} - -/// -/// UTF-8 enum values for user.agent.synthetic.type -/// -public static class UserAgentSyntheticTypeUtf8Values -{ - /// bot - public static ReadOnlySpan Bot => "bot"u8; - - /// test - public static ReadOnlySpan Test => "test"u8; - -} - -/// -/// UTF-8 enum values for v8js.heap.space.name -/// -public static class V8jsHeapSpaceNameUtf8Values -{ - /// code_space - public static ReadOnlySpan CodeSpace => "code_space"u8; - -} - -/// -/// UTF-8 enum values for vcs.change.state -/// -public static class VcsChangeStateUtf8Values -{ - /// closed - public static ReadOnlySpan Closed => "closed"u8; - - /// merged - public static ReadOnlySpan Merged => "merged"u8; - - /// open - public static ReadOnlySpan Open => "open"u8; - - /// wip - public static ReadOnlySpan Wip => "wip"u8; - -} - -/// -/// UTF-8 enum values for vcs.line.change.type -/// -public static class VcsLineChangeTypeUtf8Values -{ - /// added - public static ReadOnlySpan Added => "added"u8; - - /// removed - public static ReadOnlySpan Removed => "removed"u8; - -} - -/// -/// UTF-8 enum values for vcs.provider.name -/// -public static class VcsProviderNameUtf8Values -{ - /// bitbucket - public static ReadOnlySpan Bitbucket => "bitbucket"u8; - - /// gitea - public static ReadOnlySpan Gitea => "gitea"u8; - - /// github - public static ReadOnlySpan Github => "github"u8; - - /// gitlab - public static ReadOnlySpan Gitlab => "gitlab"u8; - - /// gittea - public static ReadOnlySpan Gittea => "gittea"u8; - -} - -/// -/// UTF-8 enum values for vcs.ref.base.type -/// -public static class VcsRefBaseTypeUtf8Values -{ - /// branch - public static ReadOnlySpan Branch => "branch"u8; - - /// tag - public static ReadOnlySpan Tag => "tag"u8; - -} - -/// -/// UTF-8 enum values for vcs.ref.head.type -/// -public static class VcsRefHeadTypeUtf8Values -{ - /// branch - public static ReadOnlySpan Branch => "branch"u8; - - /// tag - public static ReadOnlySpan Tag => "tag"u8; - -} - -/// -/// UTF-8 enum values for vcs.ref.type -/// -public static class VcsRefTypeUtf8Values -{ - /// branch - public static ReadOnlySpan Branch => "branch"u8; - - /// tag - public static ReadOnlySpan Tag => "tag"u8; - -} - -/// -/// UTF-8 enum values for vcs.repository.ref.type -/// -public static class VcsRepositoryRefTypeUtf8Values -{ - /// branch - public static ReadOnlySpan Branch => "branch"u8; - - /// tag - public static ReadOnlySpan Tag => "tag"u8; - -} - -/// -/// UTF-8 enum values for vcs.revision.delta.direction -/// -public static class VcsRevisionDeltaDirectionUtf8Values -{ - /// ahead - public static ReadOnlySpan Ahead => "ahead"u8; - - /// behind - public static ReadOnlySpan Behind => "behind"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.diagnostics.exception.result -/// -public static class AspnetcoreDiagnosticsExceptionResultUtf8Values -{ - /// aborted - public static ReadOnlySpan Aborted => "aborted"u8; - - /// handled - public static ReadOnlySpan Handled => "handled"u8; - - /// skipped - public static ReadOnlySpan Skipped => "skipped"u8; - - /// unhandled - public static ReadOnlySpan Unhandled => "unhandled"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.rate.limiting.result -/// -public static class AspnetcoreRateLimitingResultUtf8Values -{ - /// acquired - public static ReadOnlySpan Acquired => "acquired"u8; - - /// endpoint_limiter - public static ReadOnlySpan EndpointLimiter => "endpoint_limiter"u8; - - /// global_limiter - public static ReadOnlySpan GlobalLimiter => "global_limiter"u8; - - /// request_canceled - public static ReadOnlySpan RequestCanceled => "request_canceled"u8; - -} - -/// -/// UTF-8 enum values for aspnetcore.routing.match.status -/// -public static class AspnetcoreRoutingMatchStatusUtf8Values -{ - /// failure - public static ReadOnlySpan Failure => "failure"u8; - - /// success - public static ReadOnlySpan Success => "success"u8; - -} - -/// -/// UTF-8 enum values for dotnet.gc.heap.generation -/// -public static class DotnetGcHeapGenerationUtf8Values -{ - /// gen0 - public static ReadOnlySpan Gen0 => "gen0"u8; - - /// gen1 - public static ReadOnlySpan Gen1 => "gen1"u8; - - /// gen2 - public static ReadOnlySpan Gen2 => "gen2"u8; - - /// loh - public static ReadOnlySpan Loh => "loh"u8; - - /// poh - public static ReadOnlySpan Poh => "poh"u8; - -} - -/// -/// UTF-8 enum values for error.type -/// -public static class ErrorTypeUtf8Values -{ - /// _OTHER - public static ReadOnlySpan Other => "_OTHER"u8; - -} - -/// -/// UTF-8 enum values for network.transport -/// -public static class NetworkTransportUtf8Values -{ - /// pipe - public static ReadOnlySpan Pipe => "pipe"u8; - - /// quic - public static ReadOnlySpan Quic => "quic"u8; - - /// tcp - public static ReadOnlySpan Tcp => "tcp"u8; - - /// udp - public static ReadOnlySpan Udp => "udp"u8; - - /// unix - public static ReadOnlySpan Unix => "unix"u8; - -} - -/// -/// UTF-8 enum values for network.type -/// -public static class NetworkTypeUtf8Values -{ - /// ipv4 - public static ReadOnlySpan Ipv4 => "ipv4"u8; - - /// ipv6 - public static ReadOnlySpan Ipv6 => "ipv6"u8; - -} - -/// -/// UTF-8 enum values for otel.status.code -/// -public static class OtelStatusCodeUtf8Values -{ - /// ERROR - public static ReadOnlySpan Error => "ERROR"u8; - - /// OK - public static ReadOnlySpan Ok => "OK"u8; - -} - -/// -/// UTF-8 enum values for signalr.connection.status -/// -public static class SignalrConnectionStatusUtf8Values -{ - /// app_shutdown - public static ReadOnlySpan AppShutdown => "app_shutdown"u8; - - /// normal_closure - public static ReadOnlySpan NormalClosure => "normal_closure"u8; - - /// timeout - public static ReadOnlySpan Timeout => "timeout"u8; - -} - -/// -/// UTF-8 enum values for signalr.transport -/// -public static class SignalrTransportUtf8Values -{ - /// long_polling - public static ReadOnlySpan LongPolling => "long_polling"u8; - - /// server_sent_events - public static ReadOnlySpan ServerSentEvents => "server_sent_events"u8; - - /// web_sockets - public static ReadOnlySpan WebSockets => "web_sockets"u8; - -} - -/// -/// UTF-8 enum values for telemetry.sdk.language -/// -public static class TelemetrySdkLanguageUtf8Values -{ - /// cpp - public static ReadOnlySpan Cpp => "cpp"u8; - - /// dotnet - public static ReadOnlySpan Dotnet => "dotnet"u8; - - /// erlang - public static ReadOnlySpan Erlang => "erlang"u8; - - /// go - public static ReadOnlySpan Go => "go"u8; - - /// java - public static ReadOnlySpan Java => "java"u8; - - /// nodejs - public static ReadOnlySpan Nodejs => "nodejs"u8; - - /// php - public static ReadOnlySpan Php => "php"u8; - - /// python - public static ReadOnlySpan Python => "python"u8; - - /// ruby - public static ReadOnlySpan Ruby => "ruby"u8; - - /// rust - public static ReadOnlySpan Rust => "rust"u8; - - /// swift - public static ReadOnlySpan Swift => "swift"u8; - - /// webjs - public static ReadOnlySpan Webjs => "webjs"u8; - -} diff --git a/src/qyl.instrumentation/Instrumentation/SemanticConventions.g.cs b/src/qyl.instrumentation/Instrumentation/SemanticConventions.g.cs deleted file mode 100644 index 6efb159fc..000000000 --- a/src/qyl.instrumentation/Instrumentation/SemanticConventions.g.cs +++ /dev/null @@ -1,7553 +0,0 @@ -// -// Generated from @opentelemetry/semantic-conventions v1.40.0 -// Do not edit manually - run 'npm run generate' in SemconvGenerator - -namespace Qyl.Instrumentation.Instrumentation; - -/// -/// Semantic convention attributes for artifact.attestation.* -/// -public static class ArtifactAttestationAttributes -{ - /// artifact.attestation.filename - public const string Filename = "artifact.attestation.filename"; - - /// artifact.attestation.hash - public const string Hash = "artifact.attestation.hash"; - - /// artifact.attestation.id - public const string Id = "artifact.attestation.id"; - -} - -/// -/// Semantic convention attributes for artifact.filename.* -/// -public static class ArtifactFilenameAttributes -{ - /// artifact.filename - public const string Filename = "artifact.filename"; - -} - -/// -/// Semantic convention attributes for artifact.hash.* -/// -public static class ArtifactHashAttributes -{ - /// artifact.hash - public const string Hash = "artifact.hash"; - -} - -/// -/// Semantic convention attributes for artifact.purl.* -/// -public static class ArtifactPurlAttributes -{ - /// artifact.purl - public const string Purl = "artifact.purl"; - -} - -/// -/// Semantic convention attributes for artifact.version.* -/// -public static class ArtifactVersionAttributes -{ - /// artifact.version - public const string Version = "artifact.version"; - -} - -/// -/// Semantic convention attributes for aspnetcore.authentication.* -/// -public static class AspnetcoreAuthenticationAttributes -{ - /// aspnetcore.authentication.result - public const string Result = "aspnetcore.authentication.result"; - - /// aspnetcore.authentication.scheme - public const string Scheme = "aspnetcore.authentication.scheme"; - -} - -/// -/// Semantic convention attributes for aspnetcore.authorization.* -/// -public static class AspnetcoreAuthorizationAttributes -{ - /// aspnetcore.authorization.policy - public const string Policy = "aspnetcore.authorization.policy"; - - /// aspnetcore.authorization.result - public const string Result = "aspnetcore.authorization.result"; - -} - -/// -/// Semantic convention attributes for aspnetcore.diagnostics.* -/// -public static class AspnetcoreDiagnosticsAttributes -{ - /// aspnetcore.diagnostics.exception.result - public const string ExceptionResult = "aspnetcore.diagnostics.exception.result"; - - /// aspnetcore.diagnostics.handler.type - public const string HandlerType = "aspnetcore.diagnostics.handler.type"; - -} - -/// -/// Semantic convention attributes for aspnetcore.identity.* -/// -public static class AspnetcoreIdentityAttributes -{ - /// aspnetcore.identity.error_code - public const string ErrorCode = "aspnetcore.identity.error_code"; - - /// aspnetcore.identity.password_check_result - public const string PasswordCheckResult = "aspnetcore.identity.password_check_result"; - - /// aspnetcore.identity.result - public const string Result = "aspnetcore.identity.result"; - - /// aspnetcore.identity.sign_in.result - public const string SignInResult = "aspnetcore.identity.sign_in.result"; - - /// aspnetcore.identity.sign_in.type - public const string SignInType = "aspnetcore.identity.sign_in.type"; - - /// aspnetcore.identity.token_purpose - public const string TokenPurpose = "aspnetcore.identity.token_purpose"; - - /// aspnetcore.identity.token_verified - public const string TokenVerified = "aspnetcore.identity.token_verified"; - - /// aspnetcore.identity.user_type - public const string UserType = "aspnetcore.identity.user_type"; - - /// aspnetcore.identity.user.update_type - public const string UserUpdateType = "aspnetcore.identity.user.update_type"; - -} - -/// -/// Semantic convention attributes for aspnetcore.memory_pool.* -/// -public static class AspnetcoreMemoryPoolAttributes -{ - /// aspnetcore.memory_pool.owner - public const string Owner = "aspnetcore.memory_pool.owner"; - -} - -/// -/// Semantic convention attributes for aspnetcore.rate_limiting.* -/// -public static class AspnetcoreRateLimitingAttributes -{ - /// aspnetcore.rate_limiting.policy - public const string Policy = "aspnetcore.rate_limiting.policy"; - - /// aspnetcore.rate_limiting.result - public const string Result = "aspnetcore.rate_limiting.result"; - -} - -/// -/// Semantic convention attributes for aspnetcore.request.* -/// -public static class AspnetcoreRequestAttributes -{ - /// aspnetcore.request.is_unhandled - public const string IsUnhandled = "aspnetcore.request.is_unhandled"; - -} - -/// -/// Semantic convention attributes for aspnetcore.routing.* -/// -public static class AspnetcoreRoutingAttributes -{ - /// aspnetcore.routing.is_fallback - public const string IsFallback = "aspnetcore.routing.is_fallback"; - - /// aspnetcore.routing.match_status - public const string MatchStatus = "aspnetcore.routing.match_status"; - -} - -/// -/// Semantic convention attributes for aspnetcore.sign_in.* -/// -public static class AspnetcoreSignInAttributes -{ - /// aspnetcore.sign_in.is_persistent - public const string IsPersistent = "aspnetcore.sign_in.is_persistent"; - -} - -/// -/// Semantic convention attributes for aspnetcore.user.* -/// -public static class AspnetcoreUserAttributes -{ - /// aspnetcore.user.is_authenticated - public const string IsAuthenticated = "aspnetcore.user.is_authenticated"; - -} - -/// -/// Semantic convention attributes for azure.client.* -/// -public static class AzureClientAttributes -{ - /// azure.client.id - public const string Id = "azure.client.id"; - -} - -/// -/// Semantic convention attributes for azure.cosmosdb.* -/// -public static class AzureCosmosdbAttributes -{ - /// azure.cosmosdb.connection.mode - public const string ConnectionMode = "azure.cosmosdb.connection.mode"; - - /// azure.cosmosdb.consistency.level - public const string ConsistencyLevel = "azure.cosmosdb.consistency.level"; - - /// azure.cosmosdb.operation.contacted_regions - public const string OperationContactedRegions = "azure.cosmosdb.operation.contacted_regions"; - - /// azure.cosmosdb.operation.request_charge - public const string OperationRequestCharge = "azure.cosmosdb.operation.request_charge"; - - /// azure.cosmosdb.request.body.size - public const string RequestBodySize = "azure.cosmosdb.request.body.size"; - - /// azure.cosmosdb.response.sub_status_code - public const string ResponseSubStatusCode = "azure.cosmosdb.response.sub_status_code"; - -} - -/// -/// Semantic convention attributes for azure.resource_provider.* -/// -public static class AzureResourceProviderAttributes -{ - /// azure.resource_provider.namespace - public const string Namespace = "azure.resource_provider.namespace"; - -} - -/// -/// Semantic convention attributes for azure.service.* -/// -public static class AzureServiceAttributes -{ - /// azure.service.request.id - public const string RequestId = "azure.service.request.id"; - -} - -/// -/// Semantic convention attributes for browser.brands.* -/// -public static class BrowserBrandsAttributes -{ - /// browser.brands - public const string Brands = "browser.brands"; - -} - -/// -/// Semantic convention attributes for browser.language.* -/// -public static class BrowserLanguageAttributes -{ - /// browser.language - public const string Language = "browser.language"; - -} - -/// -/// Semantic convention attributes for browser.mobile.* -/// -public static class BrowserMobileAttributes -{ - /// browser.mobile - public const string Mobile = "browser.mobile"; - -} - -/// -/// Semantic convention attributes for browser.platform.* -/// -public static class BrowserPlatformAttributes -{ - /// browser.platform - public const string Platform = "browser.platform"; - -} - -/// -/// Semantic convention attributes for cicd.pipeline.* -/// -public static class CicdPipelineAttributes -{ - /// cicd.pipeline.action.name - public const string ActionName = "cicd.pipeline.action.name"; - - /// cicd.pipeline.name - public const string Name = "cicd.pipeline.name"; - - /// cicd.pipeline.result - public const string Result = "cicd.pipeline.result"; - - /// cicd.pipeline.run.id - public const string RunId = "cicd.pipeline.run.id"; - - /// cicd.pipeline.run.state - public const string RunState = "cicd.pipeline.run.state"; - - /// cicd.pipeline.run.url.full - public const string RunUrlFull = "cicd.pipeline.run.url.full"; - - /// cicd.pipeline.task.name - public const string TaskName = "cicd.pipeline.task.name"; - - /// cicd.pipeline.task.run.id - public const string TaskRunId = "cicd.pipeline.task.run.id"; - - /// cicd.pipeline.task.run.result - public const string TaskRunResult = "cicd.pipeline.task.run.result"; - - /// cicd.pipeline.task.run.url.full - public const string TaskRunUrlFull = "cicd.pipeline.task.run.url.full"; - - /// cicd.pipeline.task.type - public const string TaskType = "cicd.pipeline.task.type"; - -} - -/// -/// Semantic convention attributes for cicd.system.* -/// -public static class CicdSystemAttributes -{ - /// cicd.system.component - public const string Component = "cicd.system.component"; - -} - -/// -/// Semantic convention attributes for cicd.worker.* -/// -public static class CicdWorkerAttributes -{ - /// cicd.worker.id - public const string Id = "cicd.worker.id"; - - /// cicd.worker.name - public const string Name = "cicd.worker.name"; - - /// cicd.worker.state - public const string State = "cicd.worker.state"; - - /// cicd.worker.url.full - public const string UrlFull = "cicd.worker.url.full"; - -} - -/// -/// Semantic convention attributes for client.address.* -/// -public static class ClientAddressAttributes -{ - /// client.address - public const string Address = "client.address"; - -} - -/// -/// Semantic convention attributes for client.port.* -/// -public static class ClientPortAttributes -{ - /// client.port - public const string Port = "client.port"; - -} - -/// -/// Semantic convention attributes for cloud.account.* -/// -public static class CloudAccountAttributes -{ - /// cloud.account.id - public const string Id = "cloud.account.id"; - -} - -/// -/// Semantic convention attributes for cloud.availability_zone.* -/// -public static class CloudAvailabilityZoneAttributes -{ - /// cloud.availability_zone - public const string Availability_zone = "cloud.availability_zone"; - -} - -/// -/// Semantic convention attributes for cloud.platform.* -/// -public static class CloudPlatformAttributes -{ - /// cloud.platform - public const string Platform = "cloud.platform"; - -} - -/// -/// Semantic convention attributes for cloud.provider.* -/// -public static class CloudProviderAttributes -{ - /// cloud.provider - public const string Provider = "cloud.provider"; - -} - -/// -/// Semantic convention attributes for cloud.region.* -/// -public static class CloudRegionAttributes -{ - /// cloud.region - public const string Region = "cloud.region"; - -} - -/// -/// Semantic convention attributes for cloud.resource_id.* -/// -public static class CloudResourceIdAttributes -{ - /// cloud.resource_id - public const string Resource_id = "cloud.resource_id"; - -} - -/// -/// Semantic convention attributes for cloudevents.event_id.* -/// -public static class CloudeventsEventIdAttributes -{ - /// cloudevents.event_id - public const string Event_id = "cloudevents.event_id"; - -} - -/// -/// Semantic convention attributes for cloudevents.event_source.* -/// -public static class CloudeventsEventSourceAttributes -{ - /// cloudevents.event_source - public const string Event_source = "cloudevents.event_source"; - -} - -/// -/// Semantic convention attributes for cloudevents.event_spec_version.* -/// -public static class CloudeventsEventSpecVersionAttributes -{ - /// cloudevents.event_spec_version - public const string Event_spec_version = "cloudevents.event_spec_version"; - -} - -/// -/// Semantic convention attributes for cloudevents.event_subject.* -/// -public static class CloudeventsEventSubjectAttributes -{ - /// cloudevents.event_subject - public const string Event_subject = "cloudevents.event_subject"; - -} - -/// -/// Semantic convention attributes for cloudevents.event_type.* -/// -public static class CloudeventsEventTypeAttributes -{ - /// cloudevents.event_type - public const string Event_type = "cloudevents.event_type"; - -} - -/// -/// Semantic convention attributes for cloudfoundry.app.* -/// -public static class CloudfoundryAppAttributes -{ - /// cloudfoundry.app.id - public const string Id = "cloudfoundry.app.id"; - - /// cloudfoundry.app.instance.id - public const string InstanceId = "cloudfoundry.app.instance.id"; - - /// cloudfoundry.app.name - public const string Name = "cloudfoundry.app.name"; - -} - -/// -/// Semantic convention attributes for cloudfoundry.org.* -/// -public static class CloudfoundryOrgAttributes -{ - /// cloudfoundry.org.id - public const string Id = "cloudfoundry.org.id"; - - /// cloudfoundry.org.name - public const string Name = "cloudfoundry.org.name"; - -} - -/// -/// Semantic convention attributes for cloudfoundry.process.* -/// -public static class CloudfoundryProcessAttributes -{ - /// cloudfoundry.process.id - public const string Id = "cloudfoundry.process.id"; - - /// cloudfoundry.process.type - public const string Type = "cloudfoundry.process.type"; - -} - -/// -/// Semantic convention attributes for cloudfoundry.space.* -/// -public static class CloudfoundrySpaceAttributes -{ - /// cloudfoundry.space.id - public const string Id = "cloudfoundry.space.id"; - - /// cloudfoundry.space.name - public const string Name = "cloudfoundry.space.name"; - -} - -/// -/// Semantic convention attributes for cloudfoundry.system.* -/// -public static class CloudfoundrySystemAttributes -{ - /// cloudfoundry.system.id - public const string Id = "cloudfoundry.system.id"; - - /// cloudfoundry.system.instance.id - public const string InstanceId = "cloudfoundry.system.instance.id"; - -} - -/// -/// Semantic convention attributes for code.column.* -/// -public static class CodeColumnAttributes -{ - /// code.column - public const string Column = "code.column"; - - /// code.column.number - public const string Number = "code.column.number"; - -} - -/// -/// Semantic convention attributes for code.file.* -/// -public static class CodeFileAttributes -{ - /// code.file.path - public const string Path = "code.file.path"; - -} - -/// -/// Semantic convention attributes for code.filepath.* -/// -public static class CodeFilepathAttributes -{ - /// code.filepath - public const string Filepath = "code.filepath"; - -} - -/// -/// Semantic convention attributes for code.function.* -/// -public static class CodeFunctionAttributes -{ - /// code.function - public const string Function = "code.function"; - - /// code.function.name - public const string Name = "code.function.name"; - -} - -/// -/// Semantic convention attributes for code.line.* -/// -public static class CodeLineAttributes -{ - /// code.line.number - public const string Number = "code.line.number"; - -} - -/// -/// Semantic convention attributes for code.lineno.* -/// -public static class CodeLinenoAttributes -{ - /// code.lineno - public const string Lineno = "code.lineno"; - -} - -/// -/// Semantic convention attributes for code.namespace.* -/// -public static class CodeNamespaceAttributes -{ - /// code.namespace - public const string Namespace = "code.namespace"; - -} - -/// -/// Semantic convention attributes for code.stacktrace.* -/// -public static class CodeStacktraceAttributes -{ - /// code.stacktrace - public const string Stacktrace = "code.stacktrace"; - -} - -/// -/// Semantic convention attributes for container.command.* -/// -public static class ContainerCommandAttributes -{ - /// container.command - public const string Command = "container.command"; - -} - -/// -/// Semantic convention attributes for container.command_args.* -/// -public static class ContainerCommandArgsAttributes -{ - /// container.command_args - public const string Command_args = "container.command_args"; - -} - -/// -/// Semantic convention attributes for container.command_line.* -/// -public static class ContainerCommandLineAttributes -{ - /// container.command_line - public const string Command_line = "container.command_line"; - -} - -/// -/// Semantic convention attributes for container.cpu.* -/// -public static class ContainerCpuAttributes -{ - /// container.cpu.state - public const string State = "container.cpu.state"; - -} - -/// -/// Semantic convention attributes for container.csi.* -/// -public static class ContainerCsiAttributes -{ - /// container.csi.plugin.name - public const string PluginName = "container.csi.plugin.name"; - - /// container.csi.volume.id - public const string VolumeId = "container.csi.volume.id"; - -} - -/// -/// Semantic convention attributes for container.id.* -/// -public static class ContainerIdAttributes -{ - /// container.id - public const string Id = "container.id"; - -} - -/// -/// Semantic convention attributes for container.image.* -/// -public static class ContainerImageAttributes -{ - /// container.image.id - public const string Id = "container.image.id"; - - /// container.image.name - public const string Name = "container.image.name"; - - /// container.image.repo_digests - public const string RepoDigests = "container.image.repo_digests"; - - /// container.image.tags - public const string Tags = "container.image.tags"; - -} - -/// -/// Semantic convention attributes for container.name.* -/// -public static class ContainerNameAttributes -{ - /// container.name - public const string Name = "container.name"; - -} - -/// -/// Semantic convention attributes for container.runtime.* -/// -public static class ContainerRuntimeAttributes -{ - /// container.runtime - public const string Runtime = "container.runtime"; - - /// container.runtime.description - public const string Description = "container.runtime.description"; - - /// container.runtime.name - public const string Name = "container.runtime.name"; - - /// container.runtime.version - public const string Version = "container.runtime.version"; - -} - -/// -/// Semantic convention attributes for db.cassandra.* -/// -public static class DbCassandraAttributes -{ - /// db.cassandra.consistency_level - public const string ConsistencyLevel = "db.cassandra.consistency_level"; - - /// db.cassandra.coordinator.dc - public const string CoordinatorDc = "db.cassandra.coordinator.dc"; - - /// db.cassandra.coordinator.id - public const string CoordinatorId = "db.cassandra.coordinator.id"; - - /// db.cassandra.idempotence - public const string Idempotence = "db.cassandra.idempotence"; - - /// db.cassandra.page_size - public const string PageSize = "db.cassandra.page_size"; - - /// db.cassandra.speculative_execution_count - public const string SpeculativeExecutionCount = "db.cassandra.speculative_execution_count"; - - /// db.cassandra.table - public const string Table = "db.cassandra.table"; - -} - -/// -/// Semantic convention attributes for db.client.* -/// -public static class DbClientAttributes -{ - /// db.client.connection.pool.name - public const string ConnectionPoolName = "db.client.connection.pool.name"; - - /// db.client.connection.state - public const string ConnectionState = "db.client.connection.state"; - - /// db.client.connections.pool.name - public const string ConnectionsPoolName = "db.client.connections.pool.name"; - - /// db.client.connections.state - public const string ConnectionsState = "db.client.connections.state"; - -} - -/// -/// Semantic convention attributes for db.collection.* -/// -public static class DbCollectionAttributes -{ - /// db.collection.name - public const string Name = "db.collection.name"; - -} - -/// -/// Semantic convention attributes for db.connection_string.* -/// -public static class DbConnectionStringAttributes -{ - /// db.connection_string - public const string Connection_string = "db.connection_string"; - -} - -/// -/// Semantic convention attributes for db.cosmosdb.* -/// -public static class DbCosmosdbAttributes -{ - /// db.cosmosdb.client_id - public const string ClientId = "db.cosmosdb.client_id"; - - /// db.cosmosdb.connection_mode - public const string ConnectionMode = "db.cosmosdb.connection_mode"; - - /// db.cosmosdb.consistency_level - public const string ConsistencyLevel = "db.cosmosdb.consistency_level"; - - /// db.cosmosdb.container - public const string Container = "db.cosmosdb.container"; - - /// db.cosmosdb.operation_type - public const string OperationType = "db.cosmosdb.operation_type"; - - /// db.cosmosdb.regions_contacted - public const string RegionsContacted = "db.cosmosdb.regions_contacted"; - - /// db.cosmosdb.request_charge - public const string RequestCharge = "db.cosmosdb.request_charge"; - - /// db.cosmosdb.request_content_length - public const string RequestContentLength = "db.cosmosdb.request_content_length"; - - /// db.cosmosdb.status_code - public const string StatusCode = "db.cosmosdb.status_code"; - - /// db.cosmosdb.sub_status_code - public const string SubStatusCode = "db.cosmosdb.sub_status_code"; - -} - -/// -/// Semantic convention attributes for db.elasticsearch.* -/// -public static class DbElasticsearchAttributes -{ - /// db.elasticsearch.cluster.name - public const string ClusterName = "db.elasticsearch.cluster.name"; - - /// db.elasticsearch.node.name - public const string NodeName = "db.elasticsearch.node.name"; - -} - -/// -/// Semantic convention attributes for db.instance.* -/// -public static class DbInstanceAttributes -{ - /// db.instance.id - public const string Id = "db.instance.id"; - -} - -/// -/// Semantic convention attributes for db.jdbc.* -/// -public static class DbJdbcAttributes -{ - /// db.jdbc.driver_classname - public const string DriverClassname = "db.jdbc.driver_classname"; - -} - -/// -/// Semantic convention attributes for db.mongodb.* -/// -public static class DbMongodbAttributes -{ - /// db.mongodb.collection - public const string Collection = "db.mongodb.collection"; - -} - -/// -/// Semantic convention attributes for db.mssql.* -/// -public static class DbMssqlAttributes -{ - /// db.mssql.instance_name - public const string InstanceName = "db.mssql.instance_name"; - -} - -/// -/// Semantic convention attributes for db.name.* -/// -public static class DbNameAttributes -{ - /// db.name - public const string Name = "db.name"; - -} - -/// -/// Semantic convention attributes for db.namespace.* -/// -public static class DbNamespaceAttributes -{ - /// db.namespace - public const string Namespace = "db.namespace"; - -} - -/// -/// Semantic convention attributes for db.operation.* -/// -public static class DbOperationAttributes -{ - /// db.operation - public const string Operation = "db.operation"; - - /// db.operation.batch.size - public const string BatchSize = "db.operation.batch.size"; - - /// db.operation.name - public const string Name = "db.operation.name"; - -} - -/// -/// Semantic convention attributes for db.query.* -/// -public static class DbQueryAttributes -{ - /// db.query.summary - public const string Summary = "db.query.summary"; - - /// db.query.text - public const string Text = "db.query.text"; - -} - -/// -/// Semantic convention attributes for db.redis.* -/// -public static class DbRedisAttributes -{ - /// db.redis.database_index - public const string DatabaseIndex = "db.redis.database_index"; - -} - -/// -/// Semantic convention attributes for db.response.* -/// -public static class DbResponseAttributes -{ - /// db.response.returned_rows - public const string ReturnedRows = "db.response.returned_rows"; - - /// db.response.status_code - public const string StatusCode = "db.response.status_code"; - -} - -/// -/// Semantic convention attributes for db.sql.* -/// -public static class DbSqlAttributes -{ - /// db.sql.table - public const string Table = "db.sql.table"; - -} - -/// -/// Semantic convention attributes for db.statement.* -/// -public static class DbStatementAttributes -{ - /// db.statement - public const string Statement = "db.statement"; - -} - -/// -/// Semantic convention attributes for db.stored_procedure.* -/// -public static class DbStoredProcedureAttributes -{ - /// db.stored_procedure.name - public const string Name = "db.stored_procedure.name"; - -} - -/// -/// Semantic convention attributes for db.system.* -/// -public static class DbSystemAttributes -{ - /// db.system - public const string System = "db.system"; - - /// db.system.name - public const string Name = "db.system.name"; - -} - -/// -/// Semantic convention attributes for db.user.* -/// -public static class DbUserAttributes -{ - /// db.user - public const string User = "db.user"; - -} - -/// -/// Semantic convention attributes for deployment.environment.* -/// -public static class DeploymentEnvironmentAttributes -{ - /// deployment.environment - public const string Environment = "deployment.environment"; - - /// deployment.environment.name - public const string Name = "deployment.environment.name"; - -} - -/// -/// Semantic convention attributes for deployment.id.* -/// -public static class DeploymentIdAttributes -{ - /// deployment.id - public const string Id = "deployment.id"; - -} - -/// -/// Semantic convention attributes for deployment.name.* -/// -public static class DeploymentNameAttributes -{ - /// deployment.name - public const string Name = "deployment.name"; - -} - -/// -/// Semantic convention attributes for deployment.status.* -/// -public static class DeploymentStatusAttributes -{ - /// deployment.status - public const string Status = "deployment.status"; - -} - -/// -/// Semantic convention attributes for dns.answers.* -/// -public static class DnsAnswersAttributes -{ - /// dns.answers - public const string Answers = "dns.answers"; - -} - -/// -/// Semantic convention attributes for dns.question.* -/// -public static class DnsQuestionAttributes -{ - /// dns.question.name - public const string Name = "dns.question.name"; - -} - -/// -/// Semantic convention attributes for dotnet.gc.* -/// -public static class DotnetGcAttributes -{ - /// dotnet.gc.heap.generation - public const string HeapGeneration = "dotnet.gc.heap.generation"; - -} - -/// -/// Semantic convention attributes for elasticsearch.node.* -/// -public static class ElasticsearchNodeAttributes -{ - /// elasticsearch.node.name - public const string Name = "elasticsearch.node.name"; - -} - -/// -/// Semantic convention attributes for enduser.id.* -/// -public static class EnduserIdAttributes -{ - /// enduser.id - public const string Id = "enduser.id"; - -} - -/// -/// Semantic convention attributes for enduser.pseudo.* -/// -public static class EnduserPseudoAttributes -{ - /// enduser.pseudo.id - public const string Id = "enduser.pseudo.id"; - -} - -/// -/// Semantic convention attributes for enduser.role.* -/// -public static class EnduserRoleAttributes -{ - /// enduser.role - public const string Role = "enduser.role"; - -} - -/// -/// Semantic convention attributes for enduser.scope.* -/// -public static class EnduserScopeAttributes -{ - /// enduser.scope - public const string Scope = "enduser.scope"; - -} - -/// -/// Semantic convention attributes for error.message.* -/// -public static class ErrorMessageAttributes -{ - /// error.message - public const string Message = "error.message"; - -} - -/// -/// Semantic convention attributes for error.type.* -/// -public static class ErrorTypeAttributes -{ - /// error.type - public const string Type = "error.type"; - -} - -/// -/// Semantic convention attributes for exception.escaped.* -/// -public static class ExceptionEscapedAttributes -{ - /// exception.escaped - public const string Escaped = "exception.escaped"; - -} - -/// -/// Semantic convention attributes for exception.message.* -/// -public static class ExceptionMessageAttributes -{ - /// exception.message - public const string Message = "exception.message"; - -} - -/// -/// Semantic convention attributes for exception.stacktrace.* -/// -public static class ExceptionStacktraceAttributes -{ - /// exception.stacktrace - public const string Stacktrace = "exception.stacktrace"; - -} - -/// -/// Semantic convention attributes for exception.type.* -/// -public static class ExceptionTypeAttributes -{ - /// exception.type - public const string Type = "exception.type"; - -} - -/// -/// Semantic convention attributes for faas.coldstart.* -/// -public static class FaasColdstartAttributes -{ - /// faas.coldstart - public const string Coldstart = "faas.coldstart"; - -} - -/// -/// Semantic convention attributes for faas.cron.* -/// -public static class FaasCronAttributes -{ - /// faas.cron - public const string Cron = "faas.cron"; - -} - -/// -/// Semantic convention attributes for faas.document.* -/// -public static class FaasDocumentAttributes -{ - /// faas.document.collection - public const string Collection = "faas.document.collection"; - - /// faas.document.name - public const string Name = "faas.document.name"; - - /// faas.document.operation - public const string Operation = "faas.document.operation"; - - /// faas.document.time - public const string Time = "faas.document.time"; - -} - -/// -/// Semantic convention attributes for faas.instance.* -/// -public static class FaasInstanceAttributes -{ - /// faas.instance - public const string Instance = "faas.instance"; - -} - -/// -/// Semantic convention attributes for faas.invocation_id.* -/// -public static class FaasInvocationIdAttributes -{ - /// faas.invocation_id - public const string Invocation_id = "faas.invocation_id"; - -} - -/// -/// Semantic convention attributes for faas.invoked_name.* -/// -public static class FaasInvokedNameAttributes -{ - /// faas.invoked_name - public const string Invoked_name = "faas.invoked_name"; - -} - -/// -/// Semantic convention attributes for faas.invoked_provider.* -/// -public static class FaasInvokedProviderAttributes -{ - /// faas.invoked_provider - public const string Invoked_provider = "faas.invoked_provider"; - -} - -/// -/// Semantic convention attributes for faas.invoked_region.* -/// -public static class FaasInvokedRegionAttributes -{ - /// faas.invoked_region - public const string Invoked_region = "faas.invoked_region"; - -} - -/// -/// Semantic convention attributes for faas.max_memory.* -/// -public static class FaasMaxMemoryAttributes -{ - /// faas.max_memory - public const string Max_memory = "faas.max_memory"; - -} - -/// -/// Semantic convention attributes for faas.name.* -/// -public static class FaasNameAttributes -{ - /// faas.name - public const string Name = "faas.name"; - -} - -/// -/// Semantic convention attributes for faas.time.* -/// -public static class FaasTimeAttributes -{ - /// faas.time - public const string Time = "faas.time"; - -} - -/// -/// Semantic convention attributes for faas.trigger.* -/// -public static class FaasTriggerAttributes -{ - /// faas.trigger - public const string Trigger = "faas.trigger"; - -} - -/// -/// Semantic convention attributes for faas.version.* -/// -public static class FaasVersionAttributes -{ - /// faas.version - public const string Version = "faas.version"; - -} - -/// -/// Semantic convention attributes for feature_flag.context.* -/// -public static class FeatureFlagContextAttributes -{ - /// feature_flag.context.id - public const string Id = "feature_flag.context.id"; - -} - -/// -/// Semantic convention attributes for feature_flag.error.* -/// -public static class FeatureFlagErrorAttributes -{ - /// feature_flag.error.message - public const string Message = "feature_flag.error.message"; - -} - -/// -/// Semantic convention attributes for feature_flag.evaluation.* -/// -public static class FeatureFlagEvaluationAttributes -{ - /// feature_flag.evaluation.error.message - public const string ErrorMessage = "feature_flag.evaluation.error.message"; - - /// feature_flag.evaluation.reason - public const string Reason = "feature_flag.evaluation.reason"; - -} - -/// -/// Semantic convention attributes for feature_flag.key.* -/// -public static class FeatureFlagKeyAttributes -{ - /// feature_flag.key - public const string Key = "feature_flag.key"; - -} - -/// -/// Semantic convention attributes for feature_flag.provider.* -/// -public static class FeatureFlagProviderAttributes -{ - /// feature_flag.provider.name - public const string Name = "feature_flag.provider.name"; - -} - -/// -/// Semantic convention attributes for feature_flag.result.* -/// -public static class FeatureFlagResultAttributes -{ - /// feature_flag.result.reason - public const string Reason = "feature_flag.result.reason"; - - /// feature_flag.result.value - public const string Value = "feature_flag.result.value"; - - /// feature_flag.result.variant - public const string Variant = "feature_flag.result.variant"; - -} - -/// -/// Semantic convention attributes for feature_flag.set.* -/// -public static class FeatureFlagSetAttributes -{ - /// feature_flag.set.id - public const string Id = "feature_flag.set.id"; - -} - -/// -/// Semantic convention attributes for feature_flag.variant.* -/// -public static class FeatureFlagVariantAttributes -{ - /// feature_flag.variant - public const string Variant = "feature_flag.variant"; - -} - -/// -/// Semantic convention attributes for feature_flag.version.* -/// -public static class FeatureFlagVersionAttributes -{ - /// feature_flag.version - public const string Version = "feature_flag.version"; - -} - -/// -/// Semantic convention attributes for file.accessed.* -/// -public static class FileAccessedAttributes -{ - /// file.accessed - public const string Accessed = "file.accessed"; - -} - -/// -/// Semantic convention attributes for file.attributes.* -/// -public static class FileAttributesAttributes -{ - /// file.attributes - public const string Attributes = "file.attributes"; - -} - -/// -/// Semantic convention attributes for file.changed.* -/// -public static class FileChangedAttributes -{ - /// file.changed - public const string Changed = "file.changed"; - -} - -/// -/// Semantic convention attributes for file.created.* -/// -public static class FileCreatedAttributes -{ - /// file.created - public const string Created = "file.created"; - -} - -/// -/// Semantic convention attributes for file.directory.* -/// -public static class FileDirectoryAttributes -{ - /// file.directory - public const string Directory = "file.directory"; - -} - -/// -/// Semantic convention attributes for file.extension.* -/// -public static class FileExtensionAttributes -{ - /// file.extension - public const string Extension = "file.extension"; - -} - -/// -/// Semantic convention attributes for file.fork_name.* -/// -public static class FileForkNameAttributes -{ - /// file.fork_name - public const string Fork_name = "file.fork_name"; - -} - -/// -/// Semantic convention attributes for file.group.* -/// -public static class FileGroupAttributes -{ - /// file.group.id - public const string Id = "file.group.id"; - - /// file.group.name - public const string Name = "file.group.name"; - -} - -/// -/// Semantic convention attributes for file.inode.* -/// -public static class FileInodeAttributes -{ - /// file.inode - public const string Inode = "file.inode"; - -} - -/// -/// Semantic convention attributes for file.mode.* -/// -public static class FileModeAttributes -{ - /// file.mode - public const string Mode = "file.mode"; - -} - -/// -/// Semantic convention attributes for file.modified.* -/// -public static class FileModifiedAttributes -{ - /// file.modified - public const string Modified = "file.modified"; - -} - -/// -/// Semantic convention attributes for file.name.* -/// -public static class FileNameAttributes -{ - /// file.name - public const string Name = "file.name"; - -} - -/// -/// Semantic convention attributes for file.owner.* -/// -public static class FileOwnerAttributes -{ - /// file.owner.id - public const string Id = "file.owner.id"; - - /// file.owner.name - public const string Name = "file.owner.name"; - -} - -/// -/// Semantic convention attributes for file.path.* -/// -public static class FilePathAttributes -{ - /// file.path - public const string Path = "file.path"; - -} - -/// -/// Semantic convention attributes for file.size.* -/// -public static class FileSizeAttributes -{ - /// file.size - public const string Size = "file.size"; - -} - -/// -/// Semantic convention attributes for file.symbolic_link.* -/// -public static class FileSymbolicLinkAttributes -{ - /// file.symbolic_link.target_path - public const string TargetPath = "file.symbolic_link.target_path"; - -} - -/// -/// Semantic convention attributes for gen_ai.agent.* -/// -public static class GenAiAgentAttributes -{ - /// gen_ai.agent.description - public const string Description = "gen_ai.agent.description"; - - /// gen_ai.agent.id - public const string Id = "gen_ai.agent.id"; - - /// gen_ai.agent.name - public const string Name = "gen_ai.agent.name"; - - /// gen_ai.agent.version - public const string Version = "gen_ai.agent.version"; - -} - -/// -/// Semantic convention attributes for gen_ai.completion.* -/// -public static class GenAiCompletionAttributes -{ - /// gen_ai.completion - public const string Completion = "gen_ai.completion"; - -} - -/// -/// Semantic convention attributes for gen_ai.conversation.* -/// -public static class GenAiConversationAttributes -{ - /// gen_ai.conversation.id - public const string Id = "gen_ai.conversation.id"; - -} - -/// -/// Semantic convention attributes for gen_ai.data_source.* -/// -public static class GenAiDataSourceAttributes -{ - /// gen_ai.data_source.id - public const string Id = "gen_ai.data_source.id"; - -} - -/// -/// Semantic convention attributes for gen_ai.embeddings.* -/// -public static class GenAiEmbeddingsAttributes -{ - /// gen_ai.embeddings.dimension.count - public const string DimensionCount = "gen_ai.embeddings.dimension.count"; - -} - -/// -/// Semantic convention attributes for gen_ai.evaluation.* -/// -public static class GenAiEvaluationAttributes -{ - /// gen_ai.evaluation.explanation - public const string Explanation = "gen_ai.evaluation.explanation"; - - /// gen_ai.evaluation.name - public const string Name = "gen_ai.evaluation.name"; - - /// gen_ai.evaluation.score.label - public const string ScoreLabel = "gen_ai.evaluation.score.label"; - - /// gen_ai.evaluation.score.value - public const string ScoreValue = "gen_ai.evaluation.score.value"; - -} - -/// -/// Semantic convention attributes for gen_ai.input.* -/// -public static class GenAiInputAttributes -{ - /// gen_ai.input.messages - public const string Messages = "gen_ai.input.messages"; - -} - -/// -/// Semantic convention attributes for gen_ai.openai.* -/// -public static class GenAiOpenaiAttributes -{ - /// gen_ai.openai.request.response_format - public const string RequestResponseFormat = "gen_ai.openai.request.response_format"; - - /// gen_ai.openai.request.seed - public const string RequestSeed = "gen_ai.openai.request.seed"; - - /// gen_ai.openai.request.service_tier - public const string RequestServiceTier = "gen_ai.openai.request.service_tier"; - - /// gen_ai.openai.response.service_tier - public const string ResponseServiceTier = "gen_ai.openai.response.service_tier"; - - /// gen_ai.openai.response.system_fingerprint - public const string ResponseSystemFingerprint = "gen_ai.openai.response.system_fingerprint"; - -} - -/// -/// Semantic convention attributes for gen_ai.operation.* -/// -public static class GenAiOperationAttributes -{ - /// gen_ai.operation.name - public const string Name = "gen_ai.operation.name"; - -} - -/// -/// Semantic convention attributes for gen_ai.output.* -/// -public static class GenAiOutputAttributes -{ - /// gen_ai.output.messages - public const string Messages = "gen_ai.output.messages"; - - /// gen_ai.output.type - public const string Type = "gen_ai.output.type"; - -} - -/// -/// Semantic convention attributes for gen_ai.prompt.* -/// -public static class GenAiPromptAttributes -{ - /// gen_ai.prompt - public const string Prompt = "gen_ai.prompt"; - - /// gen_ai.prompt.name - public const string Name = "gen_ai.prompt.name"; - -} - -/// -/// Semantic convention attributes for gen_ai.provider.* -/// -public static class GenAiProviderAttributes -{ - /// gen_ai.provider.name - public const string Name = "gen_ai.provider.name"; - -} - -/// -/// Semantic convention attributes for gen_ai.request.* -/// -public static class GenAiRequestAttributes -{ - /// gen_ai.request.choice.count - public const string ChoiceCount = "gen_ai.request.choice.count"; - - /// gen_ai.request.encoding_formats - public const string EncodingFormats = "gen_ai.request.encoding_formats"; - - /// gen_ai.request.frequency_penalty - public const string FrequencyPenalty = "gen_ai.request.frequency_penalty"; - - /// gen_ai.request.max_tokens - public const string MaxTokens = "gen_ai.request.max_tokens"; - - /// gen_ai.request.model - public const string Model = "gen_ai.request.model"; - - /// gen_ai.request.presence_penalty - public const string PresencePenalty = "gen_ai.request.presence_penalty"; - - /// gen_ai.request.seed - public const string Seed = "gen_ai.request.seed"; - - /// gen_ai.request.stop_sequences - public const string StopSequences = "gen_ai.request.stop_sequences"; - - /// gen_ai.request.temperature - public const string Temperature = "gen_ai.request.temperature"; - - /// gen_ai.request.top_k - public const string TopK = "gen_ai.request.top_k"; - - /// gen_ai.request.top_p - public const string TopP = "gen_ai.request.top_p"; - -} - -/// -/// Semantic convention attributes for gen_ai.response.* -/// -public static class GenAiResponseAttributes -{ - /// gen_ai.response.finish_reasons - public const string FinishReasons = "gen_ai.response.finish_reasons"; - - /// gen_ai.response.id - public const string Id = "gen_ai.response.id"; - - /// gen_ai.response.model - public const string Model = "gen_ai.response.model"; - -} - -/// -/// Semantic convention attributes for gen_ai.retrieval.* -/// -public static class GenAiRetrievalAttributes -{ - /// gen_ai.retrieval.documents - public const string Documents = "gen_ai.retrieval.documents"; - - /// gen_ai.retrieval.query.text - public const string QueryText = "gen_ai.retrieval.query.text"; - -} - -/// -/// Semantic convention attributes for gen_ai.system.* -/// -public static class GenAiSystemAttributes -{ - /// gen_ai.system - public const string System = "gen_ai.system"; - -} - -/// -/// Semantic convention attributes for gen_ai.system_instructions.* -/// -public static class GenAiSystemInstructionsAttributes -{ - /// gen_ai.system_instructions - public const string System_instructions = "gen_ai.system_instructions"; - -} - -/// -/// Semantic convention attributes for gen_ai.token.* -/// -public static class GenAiTokenAttributes -{ - /// gen_ai.token.type - public const string Type = "gen_ai.token.type"; - -} - -/// -/// Semantic convention attributes for gen_ai.tool.* -/// -public static class GenAiToolAttributes -{ - /// gen_ai.tool.call.arguments - public const string CallArguments = "gen_ai.tool.call.arguments"; - - /// gen_ai.tool.call.id - public const string CallId = "gen_ai.tool.call.id"; - - /// gen_ai.tool.call.result - public const string CallResult = "gen_ai.tool.call.result"; - - /// gen_ai.tool.definitions - public const string Definitions = "gen_ai.tool.definitions"; - - /// gen_ai.tool.description - public const string Description = "gen_ai.tool.description"; - - /// gen_ai.tool.name - public const string Name = "gen_ai.tool.name"; - - /// gen_ai.tool.type - public const string Type = "gen_ai.tool.type"; - -} - -/// -/// Semantic convention attributes for gen_ai.usage.* -/// -public static class GenAiUsageAttributes -{ - /// gen_ai.usage.cache_creation.input_tokens - public const string CacheCreationInputTokens = "gen_ai.usage.cache_creation.input_tokens"; - - /// gen_ai.usage.cache_read.input_tokens - public const string CacheReadInputTokens = "gen_ai.usage.cache_read.input_tokens"; - - /// gen_ai.usage.completion_tokens - public const string CompletionTokens = "gen_ai.usage.completion_tokens"; - - /// gen_ai.usage.input_tokens - public const string InputTokens = "gen_ai.usage.input_tokens"; - - /// gen_ai.usage.output_tokens - public const string OutputTokens = "gen_ai.usage.output_tokens"; - - /// gen_ai.usage.prompt_tokens - public const string PromptTokens = "gen_ai.usage.prompt_tokens"; - -} - -/// -/// Semantic convention attributes for geo.continent.* -/// -public static class GeoContinentAttributes -{ - /// geo.continent.code - public const string Code = "geo.continent.code"; - -} - -/// -/// Semantic convention attributes for geo.country.* -/// -public static class GeoCountryAttributes -{ - /// geo.country.iso_code - public const string IsoCode = "geo.country.iso_code"; - -} - -/// -/// Semantic convention attributes for geo.locality.* -/// -public static class GeoLocalityAttributes -{ - /// geo.locality.name - public const string Name = "geo.locality.name"; - -} - -/// -/// Semantic convention attributes for geo.location.* -/// -public static class GeoLocationAttributes -{ - /// geo.location.lat - public const string Lat = "geo.location.lat"; - - /// geo.location.lon - public const string Lon = "geo.location.lon"; - -} - -/// -/// Semantic convention attributes for geo.postal_code.* -/// -public static class GeoPostalCodeAttributes -{ - /// geo.postal_code - public const string Postal_code = "geo.postal_code"; - -} - -/// -/// Semantic convention attributes for geo.region.* -/// -public static class GeoRegionAttributes -{ - /// geo.region.iso_code - public const string IsoCode = "geo.region.iso_code"; - -} - -/// -/// Semantic convention attributes for host.arch.* -/// -public static class HostArchAttributes -{ - /// host.arch - public const string Arch = "host.arch"; - -} - -/// -/// Semantic convention attributes for host.cpu.* -/// -public static class HostCpuAttributes -{ - /// host.cpu.cache.l2.size - public const string CacheL2Size = "host.cpu.cache.l2.size"; - - /// host.cpu.family - public const string Family = "host.cpu.family"; - - /// host.cpu.model.id - public const string ModelId = "host.cpu.model.id"; - - /// host.cpu.model.name - public const string ModelName = "host.cpu.model.name"; - - /// host.cpu.stepping - public const string Stepping = "host.cpu.stepping"; - - /// host.cpu.vendor.id - public const string VendorId = "host.cpu.vendor.id"; - -} - -/// -/// Semantic convention attributes for host.id.* -/// -public static class HostIdAttributes -{ - /// host.id - public const string Id = "host.id"; - -} - -/// -/// Semantic convention attributes for host.image.* -/// -public static class HostImageAttributes -{ - /// host.image.id - public const string Id = "host.image.id"; - - /// host.image.name - public const string Name = "host.image.name"; - - /// host.image.version - public const string Version = "host.image.version"; - -} - -/// -/// Semantic convention attributes for host.ip.* -/// -public static class HostIpAttributes -{ - /// host.ip - public const string Ip = "host.ip"; - -} - -/// -/// Semantic convention attributes for host.mac.* -/// -public static class HostMacAttributes -{ - /// host.mac - public const string Mac = "host.mac"; - -} - -/// -/// Semantic convention attributes for host.name.* -/// -public static class HostNameAttributes -{ - /// host.name - public const string Name = "host.name"; - -} - -/// -/// Semantic convention attributes for host.type.* -/// -public static class HostTypeAttributes -{ - /// host.type - public const string Type = "host.type"; - -} - -/// -/// Semantic convention attributes for http.client_ip.* -/// -public static class HttpClientIpAttributes -{ - /// http.client_ip - public const string Client_ip = "http.client_ip"; - -} - -/// -/// Semantic convention attributes for http.connection.* -/// -public static class HttpConnectionAttributes -{ - /// http.connection.state - public const string State = "http.connection.state"; - -} - -/// -/// Semantic convention attributes for http.flavor.* -/// -public static class HttpFlavorAttributes -{ - /// http.flavor - public const string Flavor = "http.flavor"; - -} - -/// -/// Semantic convention attributes for http.host.* -/// -public static class HttpHostAttributes -{ - /// http.host - public const string Host = "http.host"; - -} - -/// -/// Semantic convention attributes for http.method.* -/// -public static class HttpMethodAttributes -{ - /// http.method - public const string Method = "http.method"; - -} - -/// -/// Semantic convention attributes for http.request_content_length.* -/// -public static class HttpRequestContentLengthAttributes -{ - /// http.request_content_length - public const string Request_content_length = "http.request_content_length"; - -} - -/// -/// Semantic convention attributes for http.request_content_length_uncompressed.* -/// -public static class HttpRequestContentLengthUncompressedAttributes -{ - /// http.request_content_length_uncompressed - public const string Request_content_length_uncompressed = "http.request_content_length_uncompressed"; - -} - -/// -/// Semantic convention attributes for http.request.* -/// -public static class HttpRequestAttributes -{ - /// http.request.body.size - public const string BodySize = "http.request.body.size"; - - /// http.request.method - public const string Method = "http.request.method"; - - /// http.request.method_original - public const string MethodOriginal = "http.request.method_original"; - - /// http.request.resend_count - public const string ResendCount = "http.request.resend_count"; - - /// http.request.size - public const string Size = "http.request.size"; - -} - -/// -/// Semantic convention attributes for http.response_content_length.* -/// -public static class HttpResponseContentLengthAttributes -{ - /// http.response_content_length - public const string Response_content_length = "http.response_content_length"; - -} - -/// -/// Semantic convention attributes for http.response_content_length_uncompressed.* -/// -public static class HttpResponseContentLengthUncompressedAttributes -{ - /// http.response_content_length_uncompressed - public const string Response_content_length_uncompressed = "http.response_content_length_uncompressed"; - -} - -/// -/// Semantic convention attributes for http.response.* -/// -public static class HttpResponseAttributes -{ - /// http.response.body.size - public const string BodySize = "http.response.body.size"; - - /// http.response.size - public const string Size = "http.response.size"; - - /// http.response.status_code - public const string StatusCode = "http.response.status_code"; - -} - -/// -/// Semantic convention attributes for http.route.* -/// -public static class HttpRouteAttributes -{ - /// http.route - public const string Route = "http.route"; - -} - -/// -/// Semantic convention attributes for http.scheme.* -/// -public static class HttpSchemeAttributes -{ - /// http.scheme - public const string Scheme = "http.scheme"; - -} - -/// -/// Semantic convention attributes for http.server_name.* -/// -public static class HttpServerNameAttributes -{ - /// http.server_name - public const string Server_name = "http.server_name"; - -} - -/// -/// Semantic convention attributes for http.status_code.* -/// -public static class HttpStatusCodeAttributes -{ - /// http.status_code - public const string Status_code = "http.status_code"; - -} - -/// -/// Semantic convention attributes for http.target.* -/// -public static class HttpTargetAttributes -{ - /// http.target - public const string Target = "http.target"; - -} - -/// -/// Semantic convention attributes for http.url.* -/// -public static class HttpUrlAttributes -{ - /// http.url - public const string Url = "http.url"; - -} - -/// -/// Semantic convention attributes for http.user_agent.* -/// -public static class HttpUserAgentAttributes -{ - /// http.user_agent - public const string User_agent = "http.user_agent"; - -} - -/// -/// Semantic convention attributes for k8s.cluster.* -/// -public static class K8sClusterAttributes -{ - /// k8s.cluster.name - public const string Name = "k8s.cluster.name"; - - /// k8s.cluster.uid - public const string Uid = "k8s.cluster.uid"; - -} - -/// -/// Semantic convention attributes for k8s.container.* -/// -public static class K8sContainerAttributes -{ - /// k8s.container.name - public const string Name = "k8s.container.name"; - - /// k8s.container.restart_count - public const string RestartCount = "k8s.container.restart_count"; - - /// k8s.container.status.last_terminated_reason - public const string StatusLastTerminatedReason = "k8s.container.status.last_terminated_reason"; - - /// k8s.container.status.reason - public const string StatusReason = "k8s.container.status.reason"; - - /// k8s.container.status.state - public const string StatusState = "k8s.container.status.state"; - -} - -/// -/// Semantic convention attributes for k8s.cronjob.* -/// -public static class K8sCronjobAttributes -{ - /// k8s.cronjob.name - public const string Name = "k8s.cronjob.name"; - - /// k8s.cronjob.uid - public const string Uid = "k8s.cronjob.uid"; - -} - -/// -/// Semantic convention attributes for k8s.daemonset.* -/// -public static class K8sDaemonsetAttributes -{ - /// k8s.daemonset.name - public const string Name = "k8s.daemonset.name"; - - /// k8s.daemonset.uid - public const string Uid = "k8s.daemonset.uid"; - -} - -/// -/// Semantic convention attributes for k8s.deployment.* -/// -public static class K8sDeploymentAttributes -{ - /// k8s.deployment.name - public const string Name = "k8s.deployment.name"; - - /// k8s.deployment.uid - public const string Uid = "k8s.deployment.uid"; - -} - -/// -/// Semantic convention attributes for k8s.hpa.* -/// -public static class K8sHpaAttributes -{ - /// k8s.hpa.metric.type - public const string MetricType = "k8s.hpa.metric.type"; - - /// k8s.hpa.name - public const string Name = "k8s.hpa.name"; - - /// k8s.hpa.scaletargetref.api_version - public const string ScaletargetrefApiVersion = "k8s.hpa.scaletargetref.api_version"; - - /// k8s.hpa.scaletargetref.kind - public const string ScaletargetrefKind = "k8s.hpa.scaletargetref.kind"; - - /// k8s.hpa.scaletargetref.name - public const string ScaletargetrefName = "k8s.hpa.scaletargetref.name"; - - /// k8s.hpa.uid - public const string Uid = "k8s.hpa.uid"; - -} - -/// -/// Semantic convention attributes for k8s.hugepage.* -/// -public static class K8sHugepageAttributes -{ - /// k8s.hugepage.size - public const string Size = "k8s.hugepage.size"; - -} - -/// -/// Semantic convention attributes for k8s.job.* -/// -public static class K8sJobAttributes -{ - /// k8s.job.name - public const string Name = "k8s.job.name"; - - /// k8s.job.uid - public const string Uid = "k8s.job.uid"; - -} - -/// -/// Semantic convention attributes for k8s.namespace.* -/// -public static class K8sNamespaceAttributes -{ - /// k8s.namespace.name - public const string Name = "k8s.namespace.name"; - - /// k8s.namespace.phase - public const string Phase = "k8s.namespace.phase"; - -} - -/// -/// Semantic convention attributes for k8s.node.* -/// -public static class K8sNodeAttributes -{ - /// k8s.node.condition.status - public const string ConditionStatus = "k8s.node.condition.status"; - - /// k8s.node.condition.type - public const string ConditionType = "k8s.node.condition.type"; - - /// k8s.node.name - public const string Name = "k8s.node.name"; - - /// k8s.node.uid - public const string Uid = "k8s.node.uid"; - -} - -/// -/// Semantic convention attributes for k8s.pod.* -/// -public static class K8sPodAttributes -{ - /// k8s.pod.hostname - public const string Hostname = "k8s.pod.hostname"; - - /// k8s.pod.ip - public const string Ip = "k8s.pod.ip"; - - /// k8s.pod.name - public const string Name = "k8s.pod.name"; - - /// k8s.pod.start_time - public const string StartTime = "k8s.pod.start_time"; - - /// k8s.pod.status.phase - public const string StatusPhase = "k8s.pod.status.phase"; - - /// k8s.pod.status.reason - public const string StatusReason = "k8s.pod.status.reason"; - - /// k8s.pod.uid - public const string Uid = "k8s.pod.uid"; - -} - -/// -/// Semantic convention attributes for k8s.replicaset.* -/// -public static class K8sReplicasetAttributes -{ - /// k8s.replicaset.name - public const string Name = "k8s.replicaset.name"; - - /// k8s.replicaset.uid - public const string Uid = "k8s.replicaset.uid"; - -} - -/// -/// Semantic convention attributes for k8s.replicationcontroller.* -/// -public static class K8sReplicationcontrollerAttributes -{ - /// k8s.replicationcontroller.name - public const string Name = "k8s.replicationcontroller.name"; - - /// k8s.replicationcontroller.uid - public const string Uid = "k8s.replicationcontroller.uid"; - -} - -/// -/// Semantic convention attributes for k8s.resourcequota.* -/// -public static class K8sResourcequotaAttributes -{ - /// k8s.resourcequota.name - public const string Name = "k8s.resourcequota.name"; - - /// k8s.resourcequota.resource_name - public const string ResourceName = "k8s.resourcequota.resource_name"; - - /// k8s.resourcequota.uid - public const string Uid = "k8s.resourcequota.uid"; - -} - -/// -/// Semantic convention attributes for k8s.service.* -/// -public static class K8sServiceAttributes -{ - /// k8s.service.endpoint.address_type - public const string EndpointAddressType = "k8s.service.endpoint.address_type"; - - /// k8s.service.endpoint.condition - public const string EndpointCondition = "k8s.service.endpoint.condition"; - - /// k8s.service.endpoint.zone - public const string EndpointZone = "k8s.service.endpoint.zone"; - - /// k8s.service.name - public const string Name = "k8s.service.name"; - - /// k8s.service.publish_not_ready_addresses - public const string PublishNotReadyAddresses = "k8s.service.publish_not_ready_addresses"; - - /// k8s.service.traffic_distribution - public const string TrafficDistribution = "k8s.service.traffic_distribution"; - - /// k8s.service.type - public const string Type = "k8s.service.type"; - - /// k8s.service.uid - public const string Uid = "k8s.service.uid"; - -} - -/// -/// Semantic convention attributes for k8s.statefulset.* -/// -public static class K8sStatefulsetAttributes -{ - /// k8s.statefulset.name - public const string Name = "k8s.statefulset.name"; - - /// k8s.statefulset.uid - public const string Uid = "k8s.statefulset.uid"; - -} - -/// -/// Semantic convention attributes for k8s.storageclass.* -/// -public static class K8sStorageclassAttributes -{ - /// k8s.storageclass.name - public const string Name = "k8s.storageclass.name"; - -} - -/// -/// Semantic convention attributes for k8s.volume.* -/// -public static class K8sVolumeAttributes -{ - /// k8s.volume.name - public const string Name = "k8s.volume.name"; - - /// k8s.volume.type - public const string Type = "k8s.volume.type"; - -} - -/// -/// Semantic convention attributes for log.file.* -/// -public static class LogFileAttributes -{ - /// log.file.name - public const string Name = "log.file.name"; - - /// log.file.name_resolved - public const string NameResolved = "log.file.name_resolved"; - - /// log.file.path - public const string Path = "log.file.path"; - - /// log.file.path_resolved - public const string PathResolved = "log.file.path_resolved"; - -} - -/// -/// Semantic convention attributes for log.iostream.* -/// -public static class LogIostreamAttributes -{ - /// log.iostream - public const string Iostream = "log.iostream"; - -} - -/// -/// Semantic convention attributes for log.record.* -/// -public static class LogRecordAttributes -{ - /// log.record.original - public const string Original = "log.record.original"; - - /// log.record.uid - public const string Uid = "log.record.uid"; - -} - -/// -/// Semantic convention attributes for messaging.batch.* -/// -public static class MessagingBatchAttributes -{ - /// messaging.batch.message_count - public const string MessageCount = "messaging.batch.message_count"; - -} - -/// -/// Semantic convention attributes for messaging.client.* -/// -public static class MessagingClientAttributes -{ - /// messaging.client.id - public const string Id = "messaging.client.id"; - -} - -/// -/// Semantic convention attributes for messaging.consumer.* -/// -public static class MessagingConsumerAttributes -{ - /// messaging.consumer.group.name - public const string GroupName = "messaging.consumer.group.name"; - -} - -/// -/// Semantic convention attributes for messaging.destination_publish.* -/// -public static class MessagingDestinationPublishAttributes -{ - /// messaging.destination_publish.anonymous - public const string Anonymous = "messaging.destination_publish.anonymous"; - - /// messaging.destination_publish.name - public const string Name = "messaging.destination_publish.name"; - -} - -/// -/// Semantic convention attributes for messaging.destination.* -/// -public static class MessagingDestinationAttributes -{ - /// messaging.destination.anonymous - public const string Anonymous = "messaging.destination.anonymous"; - - /// messaging.destination.name - public const string Name = "messaging.destination.name"; - - /// messaging.destination.partition.id - public const string PartitionId = "messaging.destination.partition.id"; - - /// messaging.destination.subscription.name - public const string SubscriptionName = "messaging.destination.subscription.name"; - - /// messaging.destination.template - public const string Template = "messaging.destination.template"; - - /// messaging.destination.temporary - public const string Temporary = "messaging.destination.temporary"; - -} - -/// -/// Semantic convention attributes for messaging.eventhubs.* -/// -public static class MessagingEventhubsAttributes -{ - /// messaging.eventhubs.consumer.group - public const string ConsumerGroup = "messaging.eventhubs.consumer.group"; - - /// messaging.eventhubs.message.enqueued_time - public const string MessageEnqueuedTime = "messaging.eventhubs.message.enqueued_time"; - -} - -/// -/// Semantic convention attributes for messaging.gcp_pubsub.* -/// -public static class MessagingGcpPubsubAttributes -{ - /// messaging.gcp_pubsub.message.ack_deadline - public const string MessageAckDeadline = "messaging.gcp_pubsub.message.ack_deadline"; - - /// messaging.gcp_pubsub.message.ack_id - public const string MessageAckId = "messaging.gcp_pubsub.message.ack_id"; - - /// messaging.gcp_pubsub.message.delivery_attempt - public const string MessageDeliveryAttempt = "messaging.gcp_pubsub.message.delivery_attempt"; - - /// messaging.gcp_pubsub.message.ordering_key - public const string MessageOrderingKey = "messaging.gcp_pubsub.message.ordering_key"; - -} - -/// -/// Semantic convention attributes for messaging.kafka.* -/// -public static class MessagingKafkaAttributes -{ - /// messaging.kafka.consumer.group - public const string ConsumerGroup = "messaging.kafka.consumer.group"; - - /// messaging.kafka.destination.partition - public const string DestinationPartition = "messaging.kafka.destination.partition"; - - /// messaging.kafka.message.key - public const string MessageKey = "messaging.kafka.message.key"; - - /// messaging.kafka.message.offset - public const string MessageOffset = "messaging.kafka.message.offset"; - - /// messaging.kafka.message.tombstone - public const string MessageTombstone = "messaging.kafka.message.tombstone"; - - /// messaging.kafka.offset - public const string Offset = "messaging.kafka.offset"; - -} - -/// -/// Semantic convention attributes for messaging.message.* -/// -public static class MessagingMessageAttributes -{ - /// messaging.message.body.size - public const string BodySize = "messaging.message.body.size"; - - /// messaging.message.conversation_id - public const string ConversationId = "messaging.message.conversation_id"; - - /// messaging.message.envelope.size - public const string EnvelopeSize = "messaging.message.envelope.size"; - - /// messaging.message.id - public const string Id = "messaging.message.id"; - -} - -/// -/// Semantic convention attributes for messaging.operation.* -/// -public static class MessagingOperationAttributes -{ - /// messaging.operation - public const string Operation = "messaging.operation"; - - /// messaging.operation.name - public const string Name = "messaging.operation.name"; - - /// messaging.operation.type - public const string Type = "messaging.operation.type"; - -} - -/// -/// Semantic convention attributes for messaging.rabbitmq.* -/// -public static class MessagingRabbitmqAttributes -{ - /// messaging.rabbitmq.destination.routing_key - public const string DestinationRoutingKey = "messaging.rabbitmq.destination.routing_key"; - - /// messaging.rabbitmq.message.delivery_tag - public const string MessageDeliveryTag = "messaging.rabbitmq.message.delivery_tag"; - -} - -/// -/// Semantic convention attributes for messaging.rocketmq.* -/// -public static class MessagingRocketmqAttributes -{ - /// messaging.rocketmq.client_group - public const string ClientGroup = "messaging.rocketmq.client_group"; - - /// messaging.rocketmq.consumption_model - public const string ConsumptionModel = "messaging.rocketmq.consumption_model"; - - /// messaging.rocketmq.message.delay_time_level - public const string MessageDelayTimeLevel = "messaging.rocketmq.message.delay_time_level"; - - /// messaging.rocketmq.message.delivery_timestamp - public const string MessageDeliveryTimestamp = "messaging.rocketmq.message.delivery_timestamp"; - - /// messaging.rocketmq.message.group - public const string MessageGroup = "messaging.rocketmq.message.group"; - - /// messaging.rocketmq.message.keys - public const string MessageKeys = "messaging.rocketmq.message.keys"; - - /// messaging.rocketmq.message.tag - public const string MessageTag = "messaging.rocketmq.message.tag"; - - /// messaging.rocketmq.message.type - public const string MessageType = "messaging.rocketmq.message.type"; - - /// messaging.rocketmq.namespace - public const string Namespace = "messaging.rocketmq.namespace"; - -} - -/// -/// Semantic convention attributes for messaging.servicebus.* -/// -public static class MessagingServicebusAttributes -{ - /// messaging.servicebus.destination.subscription_name - public const string DestinationSubscriptionName = "messaging.servicebus.destination.subscription_name"; - - /// messaging.servicebus.disposition_status - public const string DispositionStatus = "messaging.servicebus.disposition_status"; - - /// messaging.servicebus.message.delivery_count - public const string MessageDeliveryCount = "messaging.servicebus.message.delivery_count"; - - /// messaging.servicebus.message.enqueued_time - public const string MessageEnqueuedTime = "messaging.servicebus.message.enqueued_time"; - -} - -/// -/// Semantic convention attributes for messaging.system.* -/// -public static class MessagingSystemAttributes -{ - /// messaging.system - public const string System = "messaging.system"; - -} - -/// -/// Semantic convention attributes for network.carrier.* -/// -public static class NetworkCarrierAttributes -{ - /// network.carrier.icc - public const string Icc = "network.carrier.icc"; - - /// network.carrier.mcc - public const string Mcc = "network.carrier.mcc"; - - /// network.carrier.mnc - public const string Mnc = "network.carrier.mnc"; - - /// network.carrier.name - public const string Name = "network.carrier.name"; - -} - -/// -/// Semantic convention attributes for network.connection.* -/// -public static class NetworkConnectionAttributes -{ - /// network.connection.state - public const string State = "network.connection.state"; - - /// network.connection.subtype - public const string Subtype = "network.connection.subtype"; - - /// network.connection.type - public const string Type = "network.connection.type"; - -} - -/// -/// Semantic convention attributes for network.interface.* -/// -public static class NetworkInterfaceAttributes -{ - /// network.interface.name - public const string Name = "network.interface.name"; - -} - -/// -/// Semantic convention attributes for network.io.* -/// -public static class NetworkIoAttributes -{ - /// network.io.direction - public const string Direction = "network.io.direction"; - -} - -/// -/// Semantic convention attributes for network.local.* -/// -public static class NetworkLocalAttributes -{ - /// network.local.address - public const string Address = "network.local.address"; - - /// network.local.port - public const string Port = "network.local.port"; - -} - -/// -/// Semantic convention attributes for network.peer.* -/// -public static class NetworkPeerAttributes -{ - /// network.peer.address - public const string Address = "network.peer.address"; - - /// network.peer.port - public const string Port = "network.peer.port"; - -} - -/// -/// Semantic convention attributes for network.protocol.* -/// -public static class NetworkProtocolAttributes -{ - /// network.protocol.name - public const string Name = "network.protocol.name"; - - /// network.protocol.version - public const string Version = "network.protocol.version"; - -} - -/// -/// Semantic convention attributes for network.transport.* -/// -public static class NetworkTransportAttributes -{ - /// network.transport - public const string Transport = "network.transport"; - -} - -/// -/// Semantic convention attributes for network.type.* -/// -public static class NetworkTypeAttributes -{ - /// network.type - public const string Type = "network.type"; - -} - -/// -/// Semantic convention attributes for openai.api.* -/// -public static class OpenaiApiAttributes -{ - /// openai.api.type - public const string Type = "openai.api.type"; - -} - -/// -/// Semantic convention attributes for openai.request.* -/// -public static class OpenaiRequestAttributes -{ - /// openai.request.service_tier - public const string ServiceTier = "openai.request.service_tier"; - -} - -/// -/// Semantic convention attributes for openai.response.* -/// -public static class OpenaiResponseAttributes -{ - /// openai.response.service_tier - public const string ServiceTier = "openai.response.service_tier"; - - /// openai.response.system_fingerprint - public const string SystemFingerprint = "openai.response.system_fingerprint"; - -} - -/// -/// Semantic convention attributes for oracle_cloud.realm.* -/// -public static class OracleCloudRealmAttributes -{ - /// oracle_cloud.realm - public const string Realm = "oracle_cloud.realm"; - -} - -/// -/// Semantic convention attributes for oracle.db.* -/// -public static class OracleDbAttributes -{ - /// oracle.db.domain - public const string Domain = "oracle.db.domain"; - - /// oracle.db.instance.name - public const string InstanceName = "oracle.db.instance.name"; - - /// oracle.db.name - public const string Name = "oracle.db.name"; - - /// oracle.db.pdb - public const string Pdb = "oracle.db.pdb"; - - /// oracle.db.service - public const string Service = "oracle.db.service"; - -} - -/// -/// Semantic convention attributes for os.build_id.* -/// -public static class OsBuildIdAttributes -{ - /// os.build_id - public const string Build_id = "os.build_id"; - -} - -/// -/// Semantic convention attributes for os.description.* -/// -public static class OsDescriptionAttributes -{ - /// os.description - public const string Description = "os.description"; - -} - -/// -/// Semantic convention attributes for os.name.* -/// -public static class OsNameAttributes -{ - /// os.name - public const string Name = "os.name"; - -} - -/// -/// Semantic convention attributes for os.type.* -/// -public static class OsTypeAttributes -{ - /// os.type - public const string Type = "os.type"; - -} - -/// -/// Semantic convention attributes for os.version.* -/// -public static class OsVersionAttributes -{ - /// os.version - public const string Version = "os.version"; - -} - -/// -/// Semantic convention attributes for otel.component.* -/// -public static class OtelComponentAttributes -{ - /// otel.component.name - public const string Name = "otel.component.name"; - - /// otel.component.type - public const string Type = "otel.component.type"; - -} - -/// -/// Semantic convention attributes for otel.event.* -/// -public static class OtelEventAttributes -{ - /// otel.event.name - public const string Name = "otel.event.name"; - -} - -/// -/// Semantic convention attributes for otel.library.* -/// -public static class OtelLibraryAttributes -{ - /// otel.library.name - public const string Name = "otel.library.name"; - - /// otel.library.version - public const string Version = "otel.library.version"; - -} - -/// -/// Semantic convention attributes for otel.scope.* -/// -public static class OtelScopeAttributes -{ - /// otel.scope.name - public const string Name = "otel.scope.name"; - - /// otel.scope.schema_url - public const string SchemaUrl = "otel.scope.schema_url"; - - /// otel.scope.version - public const string Version = "otel.scope.version"; - -} - -/// -/// Semantic convention attributes for otel.span.* -/// -public static class OtelSpanAttributes -{ - /// otel.span.parent.origin - public const string ParentOrigin = "otel.span.parent.origin"; - - /// otel.span.sampling_result - public const string SamplingResult = "otel.span.sampling_result"; - -} - -/// -/// Semantic convention attributes for otel.status_code.* -/// -public static class OtelStatusCodeAttributes -{ - /// otel.status_code - public const string Status_code = "otel.status_code"; - -} - -/// -/// Semantic convention attributes for otel.status_description.* -/// -public static class OtelStatusDescriptionAttributes -{ - /// otel.status_description - public const string Status_description = "otel.status_description"; - -} - -/// -/// Semantic convention attributes for pprof.location.* -/// -public static class PprofLocationAttributes -{ - /// pprof.location.is_folded - public const string IsFolded = "pprof.location.is_folded"; - -} - -/// -/// Semantic convention attributes for pprof.mapping.* -/// -public static class PprofMappingAttributes -{ - /// pprof.mapping.has_filenames - public const string HasFilenames = "pprof.mapping.has_filenames"; - - /// pprof.mapping.has_functions - public const string HasFunctions = "pprof.mapping.has_functions"; - - /// pprof.mapping.has_inline_frames - public const string HasInlineFrames = "pprof.mapping.has_inline_frames"; - - /// pprof.mapping.has_line_numbers - public const string HasLineNumbers = "pprof.mapping.has_line_numbers"; - -} - -/// -/// Semantic convention attributes for pprof.profile.* -/// -public static class PprofProfileAttributes -{ - /// pprof.profile.comment - public const string Comment = "pprof.profile.comment"; - - /// pprof.profile.doc_url - public const string DocUrl = "pprof.profile.doc_url"; - - /// pprof.profile.drop_frames - public const string DropFrames = "pprof.profile.drop_frames"; - - /// pprof.profile.keep_frames - public const string KeepFrames = "pprof.profile.keep_frames"; - -} - -/// -/// Semantic convention attributes for pprof.scope.* -/// -public static class PprofScopeAttributes -{ - /// pprof.scope.default_sample_type - public const string DefaultSampleType = "pprof.scope.default_sample_type"; - - /// pprof.scope.sample_type_order - public const string SampleTypeOrder = "pprof.scope.sample_type_order"; - -} - -/// -/// Semantic convention attributes for process.args_count.* -/// -public static class ProcessArgsCountAttributes -{ - /// process.args_count - public const string Args_count = "process.args_count"; - -} - -/// -/// Semantic convention attributes for process.command.* -/// -public static class ProcessCommandAttributes -{ - /// process.command - public const string Command = "process.command"; - -} - -/// -/// Semantic convention attributes for process.command_args.* -/// -public static class ProcessCommandArgsAttributes -{ - /// process.command_args - public const string Command_args = "process.command_args"; - -} - -/// -/// Semantic convention attributes for process.command_line.* -/// -public static class ProcessCommandLineAttributes -{ - /// process.command_line - public const string Command_line = "process.command_line"; - -} - -/// -/// Semantic convention attributes for process.context_switch.* -/// -public static class ProcessContextSwitchAttributes -{ - /// process.context_switch.type - public const string Type = "process.context_switch.type"; - -} - -/// -/// Semantic convention attributes for process.cpu.* -/// -public static class ProcessCpuAttributes -{ - /// process.cpu.state - public const string State = "process.cpu.state"; - -} - -/// -/// Semantic convention attributes for process.creation.* -/// -public static class ProcessCreationAttributes -{ - /// process.creation.time - public const string Time = "process.creation.time"; - -} - -/// -/// Semantic convention attributes for process.executable.* -/// -public static class ProcessExecutableAttributes -{ - /// process.executable.build_id.gnu - public const string BuildIdGnu = "process.executable.build_id.gnu"; - - /// process.executable.build_id.go - public const string BuildIdGo = "process.executable.build_id.go"; - - /// process.executable.build_id.htlhash - public const string BuildIdHtlhash = "process.executable.build_id.htlhash"; - - /// process.executable.build_id.profiling - public const string BuildIdProfiling = "process.executable.build_id.profiling"; - - /// process.executable.name - public const string Name = "process.executable.name"; - - /// process.executable.path - public const string Path = "process.executable.path"; - -} - -/// -/// Semantic convention attributes for process.exit.* -/// -public static class ProcessExitAttributes -{ - /// process.exit.code - public const string Code = "process.exit.code"; - - /// process.exit.time - public const string Time = "process.exit.time"; - -} - -/// -/// Semantic convention attributes for process.group_leader.* -/// -public static class ProcessGroupLeaderAttributes -{ - /// process.group_leader.pid - public const string Pid = "process.group_leader.pid"; - -} - -/// -/// Semantic convention attributes for process.interactive.* -/// -public static class ProcessInteractiveAttributes -{ - /// process.interactive - public const string Interactive = "process.interactive"; - -} - -/// -/// Semantic convention attributes for process.linux.* -/// -public static class ProcessLinuxAttributes -{ - /// process.linux.cgroup - public const string Cgroup = "process.linux.cgroup"; - -} - -/// -/// Semantic convention attributes for process.owner.* -/// -public static class ProcessOwnerAttributes -{ - /// process.owner - public const string Owner = "process.owner"; - -} - -/// -/// Semantic convention attributes for process.paging.* -/// -public static class ProcessPagingAttributes -{ - /// process.paging.fault_type - public const string FaultType = "process.paging.fault_type"; - -} - -/// -/// Semantic convention attributes for process.parent_pid.* -/// -public static class ProcessParentPidAttributes -{ - /// process.parent_pid - public const string Parent_pid = "process.parent_pid"; - -} - -/// -/// Semantic convention attributes for process.pid.* -/// -public static class ProcessPidAttributes -{ - /// process.pid - public const string Pid = "process.pid"; - -} - -/// -/// Semantic convention attributes for process.real_user.* -/// -public static class ProcessRealUserAttributes -{ - /// process.real_user.id - public const string Id = "process.real_user.id"; - - /// process.real_user.name - public const string Name = "process.real_user.name"; - -} - -/// -/// Semantic convention attributes for process.runtime.* -/// -public static class ProcessRuntimeAttributes -{ - /// process.runtime.description - public const string Description = "process.runtime.description"; - - /// process.runtime.name - public const string Name = "process.runtime.name"; - - /// process.runtime.version - public const string Version = "process.runtime.version"; - -} - -/// -/// Semantic convention attributes for process.saved_user.* -/// -public static class ProcessSavedUserAttributes -{ - /// process.saved_user.id - public const string Id = "process.saved_user.id"; - - /// process.saved_user.name - public const string Name = "process.saved_user.name"; - -} - -/// -/// Semantic convention attributes for process.session_leader.* -/// -public static class ProcessSessionLeaderAttributes -{ - /// process.session_leader.pid - public const string Pid = "process.session_leader.pid"; - -} - -/// -/// Semantic convention attributes for process.state.* -/// -public static class ProcessStateAttributes -{ - /// process.state - public const string State = "process.state"; - -} - -/// -/// Semantic convention attributes for process.title.* -/// -public static class ProcessTitleAttributes -{ - /// process.title - public const string Title = "process.title"; - -} - -/// -/// Semantic convention attributes for process.user.* -/// -public static class ProcessUserAttributes -{ - /// process.user.id - public const string Id = "process.user.id"; - - /// process.user.name - public const string Name = "process.user.name"; - -} - -/// -/// Semantic convention attributes for process.vpid.* -/// -public static class ProcessVpidAttributes -{ - /// process.vpid - public const string Vpid = "process.vpid"; - -} - -/// -/// Semantic convention attributes for process.working_directory.* -/// -public static class ProcessWorkingDirectoryAttributes -{ - /// process.working_directory - public const string Working_directory = "process.working_directory"; - -} - -/// -/// Semantic convention attributes for profile.frame.* -/// -public static class ProfileFrameAttributes -{ - /// profile.frame.type - public const string Type = "profile.frame.type"; - -} - -/// -/// Semantic convention attributes for rpc.connect_rpc.* -/// -public static class RpcConnectRpcAttributes -{ - /// rpc.connect_rpc.error_code - public const string ErrorCode = "rpc.connect_rpc.error_code"; - -} - -/// -/// Semantic convention attributes for rpc.grpc.* -/// -public static class RpcGrpcAttributes -{ - /// rpc.grpc.status_code - public const string StatusCode = "rpc.grpc.status_code"; - -} - -/// -/// Semantic convention attributes for rpc.jsonrpc.* -/// -public static class RpcJsonrpcAttributes -{ - /// rpc.jsonrpc.error_code - public const string ErrorCode = "rpc.jsonrpc.error_code"; - - /// rpc.jsonrpc.error_message - public const string ErrorMessage = "rpc.jsonrpc.error_message"; - - /// rpc.jsonrpc.request_id - public const string RequestId = "rpc.jsonrpc.request_id"; - - /// rpc.jsonrpc.version - public const string Version = "rpc.jsonrpc.version"; - -} - -/// -/// Semantic convention attributes for rpc.message.* -/// -public static class RpcMessageAttributes -{ - /// rpc.message.compressed_size - public const string CompressedSize = "rpc.message.compressed_size"; - - /// rpc.message.id - public const string Id = "rpc.message.id"; - - /// rpc.message.type - public const string Type = "rpc.message.type"; - - /// rpc.message.uncompressed_size - public const string UncompressedSize = "rpc.message.uncompressed_size"; - -} - -/// -/// Semantic convention attributes for rpc.method.* -/// -public static class RpcMethodAttributes -{ - /// rpc.method - public const string Method = "rpc.method"; - -} - -/// -/// Semantic convention attributes for rpc.method_original.* -/// -public static class RpcMethodOriginalAttributes -{ - /// rpc.method_original - public const string Method_original = "rpc.method_original"; - -} - -/// -/// Semantic convention attributes for rpc.response.* -/// -public static class RpcResponseAttributes -{ - /// rpc.response.status_code - public const string StatusCode = "rpc.response.status_code"; - -} - -/// -/// Semantic convention attributes for rpc.service.* -/// -public static class RpcServiceAttributes -{ - /// rpc.service - public const string Service = "rpc.service"; - -} - -/// -/// Semantic convention attributes for rpc.system.* -/// -public static class RpcSystemAttributes -{ - /// rpc.system - public const string System = "rpc.system"; - - /// rpc.system.name - public const string Name = "rpc.system.name"; - -} - -/// -/// Semantic convention attributes for server.address.* -/// -public static class ServerAddressAttributes -{ - /// server.address - public const string Address = "server.address"; - -} - -/// -/// Semantic convention attributes for server.port.* -/// -public static class ServerPortAttributes -{ - /// server.port - public const string Port = "server.port"; - -} - -/// -/// Semantic convention attributes for service.criticality.* -/// -public static class ServiceCriticalityAttributes -{ - /// service.criticality - public const string Criticality = "service.criticality"; - -} - -/// -/// Semantic convention attributes for service.instance.* -/// -public static class ServiceInstanceAttributes -{ - /// service.instance.id - public const string Id = "service.instance.id"; - -} - -/// -/// Semantic convention attributes for service.name.* -/// -public static class ServiceNameAttributes -{ - /// service.name - public const string Name = "service.name"; - -} - -/// -/// Semantic convention attributes for service.namespace.* -/// -public static class ServiceNamespaceAttributes -{ - /// service.namespace - public const string Namespace = "service.namespace"; - -} - -/// -/// Semantic convention attributes for service.peer.* -/// -public static class ServicePeerAttributes -{ - /// service.peer.name - public const string Name = "service.peer.name"; - - /// service.peer.namespace - public const string Namespace = "service.peer.namespace"; - -} - -/// -/// Semantic convention attributes for service.version.* -/// -public static class ServiceVersionAttributes -{ - /// service.version - public const string Version = "service.version"; - -} - -/// -/// Semantic convention attributes for session.id.* -/// -public static class SessionIdAttributes -{ - /// session.id - public const string Id = "session.id"; - -} - -/// -/// Semantic convention attributes for session.previous_id.* -/// -public static class SessionPreviousIdAttributes -{ - /// session.previous_id - public const string Previous_id = "session.previous_id"; - -} - -/// -/// Semantic convention attributes for signalr.connection.* -/// -public static class SignalrConnectionAttributes -{ - /// signalr.connection.status - public const string Status = "signalr.connection.status"; - -} - -/// -/// Semantic convention attributes for signalr.transport.* -/// -public static class SignalrTransportAttributes -{ - /// signalr.transport - public const string Transport = "signalr.transport"; - -} - -/// -/// Semantic convention attributes for system.cpu.* -/// -public static class SystemCpuAttributes -{ - /// system.cpu.logical_number - public const string LogicalNumber = "system.cpu.logical_number"; - - /// system.cpu.state - public const string State = "system.cpu.state"; - -} - -/// -/// Semantic convention attributes for system.device.* -/// -public static class SystemDeviceAttributes -{ - /// system.device - public const string Device = "system.device"; - -} - -/// -/// Semantic convention attributes for system.filesystem.* -/// -public static class SystemFilesystemAttributes -{ - /// system.filesystem.mode - public const string Mode = "system.filesystem.mode"; - - /// system.filesystem.mountpoint - public const string Mountpoint = "system.filesystem.mountpoint"; - - /// system.filesystem.state - public const string State = "system.filesystem.state"; - - /// system.filesystem.type - public const string Type = "system.filesystem.type"; - -} - -/// -/// Semantic convention attributes for system.memory.* -/// -public static class SystemMemoryAttributes -{ - /// system.memory.linux.slab.state - public const string LinuxSlabState = "system.memory.linux.slab.state"; - - /// system.memory.state - public const string State = "system.memory.state"; - -} - -/// -/// Semantic convention attributes for system.network.* -/// -public static class SystemNetworkAttributes -{ - /// system.network.state - public const string State = "system.network.state"; - -} - -/// -/// Semantic convention attributes for system.paging.* -/// -public static class SystemPagingAttributes -{ - /// system.paging.direction - public const string Direction = "system.paging.direction"; - - /// system.paging.fault.type - public const string FaultType = "system.paging.fault.type"; - - /// system.paging.state - public const string State = "system.paging.state"; - - /// system.paging.type - public const string Type = "system.paging.type"; - -} - -/// -/// Semantic convention attributes for system.process.* -/// -public static class SystemProcessAttributes -{ - /// system.process.status - public const string Status = "system.process.status"; - -} - -/// -/// Semantic convention attributes for system.processes.* -/// -public static class SystemProcessesAttributes -{ - /// system.processes.status - public const string Status = "system.processes.status"; - -} - -/// -/// Semantic convention attributes for telemetry.distro.* -/// -public static class TelemetryDistroAttributes -{ - /// telemetry.distro.name - public const string Name = "telemetry.distro.name"; - - /// telemetry.distro.version - public const string Version = "telemetry.distro.version"; - -} - -/// -/// Semantic convention attributes for telemetry.sdk.* -/// -public static class TelemetrySdkAttributes -{ - /// telemetry.sdk.language - public const string Language = "telemetry.sdk.language"; - - /// telemetry.sdk.name - public const string Name = "telemetry.sdk.name"; - - /// telemetry.sdk.version - public const string Version = "telemetry.sdk.version"; - -} - -/// -/// Semantic convention attributes for test.case.* -/// -public static class TestCaseAttributes -{ - /// test.case.name - public const string Name = "test.case.name"; - - /// test.case.result.status - public const string ResultStatus = "test.case.result.status"; - -} - -/// -/// Semantic convention attributes for test.suite.* -/// -public static class TestSuiteAttributes -{ - /// test.suite.name - public const string Name = "test.suite.name"; - - /// test.suite.run.status - public const string RunStatus = "test.suite.run.status"; - -} - -/// -/// Semantic convention attributes for thread.id.* -/// -public static class ThreadIdAttributes -{ - /// thread.id - public const string Id = "thread.id"; - -} - -/// -/// Semantic convention attributes for thread.name.* -/// -public static class ThreadNameAttributes -{ - /// thread.name - public const string Name = "thread.name"; - -} - -/// -/// Semantic convention attributes for tls.cipher.* -/// -public static class TlsCipherAttributes -{ - /// tls.cipher - public const string Cipher = "tls.cipher"; - -} - -/// -/// Semantic convention attributes for tls.client.* -/// -public static class TlsClientAttributes -{ - /// tls.client.certificate - public const string Certificate = "tls.client.certificate"; - - /// tls.client.certificate_chain - public const string CertificateChain = "tls.client.certificate_chain"; - - /// tls.client.hash.md5 - public const string HashMd5 = "tls.client.hash.md5"; - - /// tls.client.hash.sha1 - public const string HashSha1 = "tls.client.hash.sha1"; - - /// tls.client.hash.sha256 - public const string HashSha256 = "tls.client.hash.sha256"; - - /// tls.client.issuer - public const string Issuer = "tls.client.issuer"; - - /// tls.client.ja3 - public const string Ja3 = "tls.client.ja3"; - - /// tls.client.not_after - public const string NotAfter = "tls.client.not_after"; - - /// tls.client.not_before - public const string NotBefore = "tls.client.not_before"; - - /// tls.client.server_name - public const string ServerName = "tls.client.server_name"; - - /// tls.client.subject - public const string Subject = "tls.client.subject"; - - /// tls.client.supported_ciphers - public const string SupportedCiphers = "tls.client.supported_ciphers"; - -} - -/// -/// Semantic convention attributes for tls.curve.* -/// -public static class TlsCurveAttributes -{ - /// tls.curve - public const string Curve = "tls.curve"; - -} - -/// -/// Semantic convention attributes for tls.established.* -/// -public static class TlsEstablishedAttributes -{ - /// tls.established - public const string Established = "tls.established"; - -} - -/// -/// Semantic convention attributes for tls.next_protocol.* -/// -public static class TlsNextProtocolAttributes -{ - /// tls.next_protocol - public const string Next_protocol = "tls.next_protocol"; - -} - -/// -/// Semantic convention attributes for tls.protocol.* -/// -public static class TlsProtocolAttributes -{ - /// tls.protocol.name - public const string Name = "tls.protocol.name"; - - /// tls.protocol.version - public const string Version = "tls.protocol.version"; - -} - -/// -/// Semantic convention attributes for tls.resumed.* -/// -public static class TlsResumedAttributes -{ - /// tls.resumed - public const string Resumed = "tls.resumed"; - -} - -/// -/// Semantic convention attributes for tls.server.* -/// -public static class TlsServerAttributes -{ - /// tls.server.certificate - public const string Certificate = "tls.server.certificate"; - - /// tls.server.certificate_chain - public const string CertificateChain = "tls.server.certificate_chain"; - - /// tls.server.hash.md5 - public const string HashMd5 = "tls.server.hash.md5"; - - /// tls.server.hash.sha1 - public const string HashSha1 = "tls.server.hash.sha1"; - - /// tls.server.hash.sha256 - public const string HashSha256 = "tls.server.hash.sha256"; - - /// tls.server.issuer - public const string Issuer = "tls.server.issuer"; - - /// tls.server.ja3s - public const string Ja3s = "tls.server.ja3s"; - - /// tls.server.not_after - public const string NotAfter = "tls.server.not_after"; - - /// tls.server.not_before - public const string NotBefore = "tls.server.not_before"; - - /// tls.server.subject - public const string Subject = "tls.server.subject"; - -} - -/// -/// Semantic convention attributes for url.domain.* -/// -public static class UrlDomainAttributes -{ - /// url.domain - public const string Domain = "url.domain"; - -} - -/// -/// Semantic convention attributes for url.extension.* -/// -public static class UrlExtensionAttributes -{ - /// url.extension - public const string Extension = "url.extension"; - -} - -/// -/// Semantic convention attributes for url.fragment.* -/// -public static class UrlFragmentAttributes -{ - /// url.fragment - public const string Fragment = "url.fragment"; - -} - -/// -/// Semantic convention attributes for url.full.* -/// -public static class UrlFullAttributes -{ - /// url.full - public const string Full = "url.full"; - -} - -/// -/// Semantic convention attributes for url.original.* -/// -public static class UrlOriginalAttributes -{ - /// url.original - public const string Original = "url.original"; - -} - -/// -/// Semantic convention attributes for url.path.* -/// -public static class UrlPathAttributes -{ - /// url.path - public const string Path = "url.path"; - -} - -/// -/// Semantic convention attributes for url.port.* -/// -public static class UrlPortAttributes -{ - /// url.port - public const string Port = "url.port"; - -} - -/// -/// Semantic convention attributes for url.query.* -/// -public static class UrlQueryAttributes -{ - /// url.query - public const string Query = "url.query"; - -} - -/// -/// Semantic convention attributes for url.registered_domain.* -/// -public static class UrlRegisteredDomainAttributes -{ - /// url.registered_domain - public const string Registered_domain = "url.registered_domain"; - -} - -/// -/// Semantic convention attributes for url.scheme.* -/// -public static class UrlSchemeAttributes -{ - /// url.scheme - public const string Scheme = "url.scheme"; - -} - -/// -/// Semantic convention attributes for url.subdomain.* -/// -public static class UrlSubdomainAttributes -{ - /// url.subdomain - public const string Subdomain = "url.subdomain"; - -} - -/// -/// Semantic convention attributes for url.template.* -/// -public static class UrlTemplateAttributes -{ - /// url.template - public const string Template = "url.template"; - -} - -/// -/// Semantic convention attributes for url.top_level_domain.* -/// -public static class UrlTopLevelDomainAttributes -{ - /// url.top_level_domain - public const string Top_level_domain = "url.top_level_domain"; - -} - -/// -/// Semantic convention attributes for user_agent.name.* -/// -public static class UserAgentNameAttributes -{ - /// user_agent.name - public const string Name = "user_agent.name"; - -} - -/// -/// Semantic convention attributes for user_agent.original.* -/// -public static class UserAgentOriginalAttributes -{ - /// user_agent.original - public const string Original = "user_agent.original"; - -} - -/// -/// Semantic convention attributes for user_agent.os.* -/// -public static class UserAgentOsAttributes -{ - /// user_agent.os.name - public const string Name = "user_agent.os.name"; - - /// user_agent.os.version - public const string Version = "user_agent.os.version"; - -} - -/// -/// Semantic convention attributes for user_agent.synthetic.* -/// -public static class UserAgentSyntheticAttributes -{ - /// user_agent.synthetic.type - public const string Type = "user_agent.synthetic.type"; - -} - -/// -/// Semantic convention attributes for user_agent.version.* -/// -public static class UserAgentVersionAttributes -{ - /// user_agent.version - public const string Version = "user_agent.version"; - -} - -/// -/// Semantic convention attributes for user.email.* -/// -public static class UserEmailAttributes -{ - /// user.email - public const string Email = "user.email"; - -} - -/// -/// Semantic convention attributes for user.full_name.* -/// -public static class UserFullNameAttributes -{ - /// user.full_name - public const string Full_name = "user.full_name"; - -} - -/// -/// Semantic convention attributes for user.hash.* -/// -public static class UserHashAttributes -{ - /// user.hash - public const string Hash = "user.hash"; - -} - -/// -/// Semantic convention attributes for user.id.* -/// -public static class UserIdAttributes -{ - /// user.id - public const string Id = "user.id"; - -} - -/// -/// Semantic convention attributes for user.name.* -/// -public static class UserNameAttributes -{ - /// user.name - public const string Name = "user.name"; - -} - -/// -/// Semantic convention attributes for user.roles.* -/// -public static class UserRolesAttributes -{ - /// user.roles - public const string Roles = "user.roles"; - -} - -/// -/// Semantic convention attributes for vcs.change.* -/// -public static class VcsChangeAttributes -{ - /// vcs.change.id - public const string Id = "vcs.change.id"; - - /// vcs.change.state - public const string State = "vcs.change.state"; - - /// vcs.change.title - public const string Title = "vcs.change.title"; - -} - -/// -/// Semantic convention attributes for vcs.line_change.* -/// -public static class VcsLineChangeAttributes -{ - /// vcs.line_change.type - public const string Type = "vcs.line_change.type"; - -} - -/// -/// Semantic convention attributes for vcs.owner.* -/// -public static class VcsOwnerAttributes -{ - /// vcs.owner.name - public const string Name = "vcs.owner.name"; - -} - -/// -/// Semantic convention attributes for vcs.provider.* -/// -public static class VcsProviderAttributes -{ - /// vcs.provider.name - public const string Name = "vcs.provider.name"; - -} - -/// -/// Semantic convention attributes for vcs.ref.* -/// -public static class VcsRefAttributes -{ - /// vcs.ref.base.name - public const string BaseName = "vcs.ref.base.name"; - - /// vcs.ref.base.revision - public const string BaseRevision = "vcs.ref.base.revision"; - - /// vcs.ref.base.type - public const string BaseType = "vcs.ref.base.type"; - - /// vcs.ref.head.name - public const string HeadName = "vcs.ref.head.name"; - - /// vcs.ref.head.revision - public const string HeadRevision = "vcs.ref.head.revision"; - - /// vcs.ref.head.type - public const string HeadType = "vcs.ref.head.type"; - - /// vcs.ref.type - public const string Type = "vcs.ref.type"; - -} - -/// -/// Semantic convention attributes for vcs.repository.* -/// -public static class VcsRepositoryAttributes -{ - /// vcs.repository.change.id - public const string ChangeId = "vcs.repository.change.id"; - - /// vcs.repository.change.title - public const string ChangeTitle = "vcs.repository.change.title"; - - /// vcs.repository.name - public const string Name = "vcs.repository.name"; - - /// vcs.repository.ref.name - public const string RefName = "vcs.repository.ref.name"; - - /// vcs.repository.ref.revision - public const string RefRevision = "vcs.repository.ref.revision"; - - /// vcs.repository.ref.type - public const string RefType = "vcs.repository.ref.type"; - - /// vcs.repository.url.full - public const string UrlFull = "vcs.repository.url.full"; - -} - -/// -/// Semantic convention attributes for vcs.revision_delta.* -/// -public static class VcsRevisionDeltaAttributes -{ - /// vcs.revision_delta.direction - public const string Direction = "vcs.revision_delta.direction"; - -} - -/// -/// Semantic convention attributes for webengine.description.* -/// -public static class WebengineDescriptionAttributes -{ - /// webengine.description - public const string Description = "webengine.description"; - -} - -/// -/// Semantic convention attributes for webengine.name.* -/// -public static class WebengineNameAttributes -{ - /// webengine.name - public const string Name = "webengine.name"; - -} - -/// -/// Semantic convention attributes for webengine.version.* -/// -public static class WebengineVersionAttributes -{ - /// webengine.version - public const string Version = "webengine.version"; - -} - -/// -/// Enum values for aspnetcore.authentication.result -/// -public static class AspnetcoreAuthenticationResultValues -{ - /// failure - public const string Failure = "failure"; - - /// none - public const string None = "none"; - - /// success - public const string Success = "success"; - -} - -/// -/// Enum values for aspnetcore.authorization.result -/// -public static class AspnetcoreAuthorizationResultValues -{ - /// failure - public const string Failure = "failure"; - - /// success - public const string Success = "success"; - -} - -/// -/// Enum values for aspnetcore.identity.password.check.result -/// -public static class AspnetcoreIdentityPasswordCheckResultValues -{ - /// failure - public const string Failure = "failure"; - - /// password_missing - public const string PasswordMissing = "password_missing"; - - /// success - public const string Success = "success"; - - /// success_rehash_needed - public const string SuccessRehashNeeded = "success_rehash_needed"; - - /// user_missing - public const string UserMissing = "user_missing"; - -} - -/// -/// Enum values for aspnetcore.identity.result -/// -public static class AspnetcoreIdentityResultValues -{ - /// failure - public const string Failure = "failure"; - - /// success - public const string Success = "success"; - -} - -/// -/// Enum values for aspnetcore.identity.sign.in.result -/// -public static class AspnetcoreIdentitySignInResultValues -{ - /// failure - public const string Failure = "failure"; - - /// locked_out - public const string LockedOut = "locked_out"; - - /// not_allowed - public const string NotAllowed = "not_allowed"; - - /// requires_two_factor - public const string RequiresTwoFactor = "requires_two_factor"; - - /// success - public const string Success = "success"; - -} - -/// -/// Enum values for aspnetcore.identity.sign.in.type -/// -public static class AspnetcoreIdentitySignInTypeValues -{ - /// external - public const string External = "external"; - - /// passkey - public const string Passkey = "passkey"; - - /// password - public const string Password = "password"; - - /// two_factor - public const string TwoFactor = "two_factor"; - - /// two_factor_authenticator - public const string TwoFactorAuthenticator = "two_factor_authenticator"; - - /// two_factor_recovery_code - public const string TwoFactorRecoveryCode = "two_factor_recovery_code"; - -} - -/// -/// Enum values for aspnetcore.identity.token.purpose -/// -public static class AspnetcoreIdentityTokenPurposeValues -{ - /// _OTHER - public const string Other = "_OTHER"; - - /// change_email - public const string ChangeEmail = "change_email"; - - /// change_phone_number - public const string ChangePhoneNumber = "change_phone_number"; - - /// email_confirmation - public const string EmailConfirmation = "email_confirmation"; - - /// reset_password - public const string ResetPassword = "reset_password"; - - /// two_factor - public const string TwoFactor = "two_factor"; - -} - -/// -/// Enum values for aspnetcore.identity.token.verified -/// -public static class AspnetcoreIdentityTokenVerifiedValues -{ - /// failure - public const string Failure = "failure"; - - /// success - public const string Success = "success"; - -} - -/// -/// Enum values for aspnetcore.identity.user.update.type -/// -public static class AspnetcoreIdentityUserUpdateTypeValues -{ - /// _OTHER - public const string Other = "_OTHER"; - - /// access_failed - public const string AccessFailed = "access_failed"; - - /// add_claims - public const string AddClaims = "add_claims"; - - /// add_login - public const string AddLogin = "add_login"; - - /// add_password - public const string AddPassword = "add_password"; - - /// add_to_roles - public const string AddToRoles = "add_to_roles"; - - /// change_email - public const string ChangeEmail = "change_email"; - - /// change_password - public const string ChangePassword = "change_password"; - - /// change_phone_number - public const string ChangePhoneNumber = "change_phone_number"; - - /// confirm_email - public const string ConfirmEmail = "confirm_email"; - - /// generate_new_two_factor_recovery_codes - public const string GenerateNewTwoFactorRecoveryCodes = "generate_new_two_factor_recovery_codes"; - - /// password_rehash - public const string PasswordRehash = "password_rehash"; - - /// redeem_two_factor_recovery_code - public const string RedeemTwoFactorRecoveryCode = "redeem_two_factor_recovery_code"; - - /// remove_authentication_token - public const string RemoveAuthenticationToken = "remove_authentication_token"; - - /// remove_claims - public const string RemoveClaims = "remove_claims"; - - /// remove_from_roles - public const string RemoveFromRoles = "remove_from_roles"; - - /// remove_login - public const string RemoveLogin = "remove_login"; - - /// remove_passkey - public const string RemovePasskey = "remove_passkey"; - - /// remove_password - public const string RemovePassword = "remove_password"; - - /// replace_claim - public const string ReplaceClaim = "replace_claim"; - - /// reset_access_failed_count - public const string ResetAccessFailedCount = "reset_access_failed_count"; - - /// reset_authenticator_key - public const string ResetAuthenticatorKey = "reset_authenticator_key"; - - /// reset_password - public const string ResetPassword = "reset_password"; - - /// security_stamp - public const string SecurityStamp = "security_stamp"; - - /// set_authentication_token - public const string SetAuthenticationToken = "set_authentication_token"; - - /// set_email - public const string SetEmail = "set_email"; - - /// set_lockout_enabled - public const string SetLockoutEnabled = "set_lockout_enabled"; - - /// set_lockout_end_date - public const string SetLockoutEndDate = "set_lockout_end_date"; - - /// set_passkey - public const string SetPasskey = "set_passkey"; - - /// set_phone_number - public const string SetPhoneNumber = "set_phone_number"; - - /// set_two_factor_enabled - public const string SetTwoFactorEnabled = "set_two_factor_enabled"; - - /// update - public const string Update = "update"; - - /// user_name - public const string UserName = "user_name"; - -} - -/// -/// Enum values for azure.cosmosdb.connection.mode -/// -public static class AzureCosmosdbConnectionModeValues -{ - /// direct - public const string Direct = "direct"; - - /// gateway - public const string Gateway = "gateway"; - -} - -/// -/// Enum values for azure.cosmosdb.consistency.level -/// -public static class AzureCosmosdbConsistencyLevelValues -{ - /// BoundedStaleness - public const string BoundedStaleness = "BoundedStaleness"; - - /// ConsistentPrefix - public const string ConsistentPrefix = "ConsistentPrefix"; - - /// Eventual - public const string Eventual = "Eventual"; - - /// Session - public const string Session = "Session"; - - /// Strong - public const string Strong = "Strong"; - -} - -/// -/// Enum values for cicd.pipeline.action.name -/// -public static class CicdPipelineActionNameValues -{ - /// BUILD - public const string Build = "BUILD"; - - /// RUN - public const string Run = "RUN"; - - /// SYNC - public const string Sync = "SYNC"; - -} - -/// -/// Enum values for cicd.pipeline.result -/// -public static class CicdPipelineResultValues -{ - /// cancellation - public const string Cancellation = "cancellation"; - - /// error - public const string Error = "error"; - - /// failure - public const string Failure = "failure"; - - /// skip - public const string Skip = "skip"; - - /// success - public const string Success = "success"; - - /// timeout - public const string Timeout = "timeout"; - -} - -/// -/// Enum values for cicd.pipeline.run.state -/// -public static class CicdPipelineRunStateValues -{ - /// executing - public const string Executing = "executing"; - - /// finalizing - public const string Finalizing = "finalizing"; - - /// pending - public const string Pending = "pending"; - -} - -/// -/// Enum values for cicd.pipeline.task.run.result -/// -public static class CicdPipelineTaskRunResultValues -{ - /// cancellation - public const string Cancellation = "cancellation"; - - /// error - public const string Error = "error"; - - /// failure - public const string Failure = "failure"; - - /// skip - public const string Skip = "skip"; - - /// success - public const string Success = "success"; - - /// timeout - public const string Timeout = "timeout"; - -} - -/// -/// Enum values for cicd.pipeline.task.type -/// -public static class CicdPipelineTaskTypeValues -{ - /// build - public const string Build = "build"; - - /// deploy - public const string Deploy = "deploy"; - - /// test - public const string Test = "test"; - -} - -/// -/// Enum values for cicd.worker.state -/// -public static class CicdWorkerStateValues -{ - /// available - public const string Available = "available"; - - /// busy - public const string Busy = "busy"; - - /// offline - public const string Offline = "offline"; - -} - -/// -/// Enum values for cloud.platform -/// -public static class CloudPlatformValues -{ - /// akamai_cloud.compute - public const string AkamaiCloudCompute = "akamai_cloud.compute"; - - /// alibaba_cloud_ecs - public const string AlibabaCloudEcs = "alibaba_cloud_ecs"; - - /// alibaba_cloud_fc - public const string AlibabaCloudFc = "alibaba_cloud_fc"; - - /// alibaba_cloud_openshift - public const string AlibabaCloudOpenshift = "alibaba_cloud_openshift"; - - /// aws_app_runner - public const string AwsAppRunner = "aws_app_runner"; - - /// aws_ec2 - public const string AwsEc2 = "aws_ec2"; - - /// aws_ecs - public const string AwsEcs = "aws_ecs"; - - /// aws_eks - public const string AwsEks = "aws_eks"; - - /// aws_elastic_beanstalk - public const string AwsElasticBeanstalk = "aws_elastic_beanstalk"; - - /// aws_lambda - public const string AwsLambda = "aws_lambda"; - - /// aws_openshift - public const string AwsOpenshift = "aws_openshift"; - - /// azure.aks - public const string AzureAks = "azure.aks"; - - /// azure.app_service - public const string AzureAppService = "azure.app_service"; - - /// azure.container_apps - public const string AzureContainerApps = "azure.container_apps"; - - /// azure.container_instances - public const string AzureContainerInstances = "azure.container_instances"; - - /// azure.functions - public const string AzureFunctions = "azure.functions"; - - /// azure.openshift - public const string AzureOpenshift = "azure.openshift"; - - /// azure.vm - public const string AzureVm = "azure.vm"; - - /// gcp.agent_engine - public const string GcpAgentEngine = "gcp.agent_engine"; - - /// gcp_app_engine - public const string GcpAppEngine = "gcp_app_engine"; - - /// gcp_bare_metal_solution - public const string GcpBareMetalSolution = "gcp_bare_metal_solution"; - - /// gcp_cloud_functions - public const string GcpCloudFunctions = "gcp_cloud_functions"; - - /// gcp_cloud_run - public const string GcpCloudRun = "gcp_cloud_run"; - - /// gcp_compute_engine - public const string GcpComputeEngine = "gcp_compute_engine"; - - /// gcp_kubernetes_engine - public const string GcpKubernetesEngine = "gcp_kubernetes_engine"; - - /// gcp_openshift - public const string GcpOpenshift = "gcp_openshift"; - - /// hetzner.cloud_server - public const string HetznerCloudServer = "hetzner.cloud_server"; - - /// ibm_cloud_openshift - public const string IbmCloudOpenshift = "ibm_cloud_openshift"; - - /// oracle_cloud_compute - public const string OracleCloudCompute = "oracle_cloud_compute"; - - /// oracle_cloud_oke - public const string OracleCloudOke = "oracle_cloud_oke"; - - /// tencent_cloud_cvm - public const string TencentCloudCvm = "tencent_cloud_cvm"; - - /// tencent_cloud_eks - public const string TencentCloudEks = "tencent_cloud_eks"; - - /// tencent_cloud_scf - public const string TencentCloudScf = "tencent_cloud_scf"; - - /// vultr.cloud_compute - public const string VultrCloudCompute = "vultr.cloud_compute"; - -} - -/// -/// Enum values for cloud.provider -/// -public static class CloudProviderValues -{ - /// akamai_cloud - public const string AkamaiCloud = "akamai_cloud"; - - /// alibaba_cloud - public const string AlibabaCloud = "alibaba_cloud"; - - /// aws - public const string Aws = "aws"; - - /// azure - public const string Azure = "azure"; - - /// gcp - public const string Gcp = "gcp"; - - /// heroku - public const string Heroku = "heroku"; - - /// hetzner - public const string Hetzner = "hetzner"; - - /// ibm_cloud - public const string IbmCloud = "ibm_cloud"; - - /// oracle_cloud - public const string OracleCloud = "oracle_cloud"; - - /// tencent_cloud - public const string TencentCloud = "tencent_cloud"; - - /// vultr - public const string Vultr = "vultr"; - -} - -/// -/// Enum values for container.cpu.state -/// -public static class ContainerCpuStateValues -{ - /// kernel - public const string Kernel = "kernel"; - - /// system - public const string System = "system"; - - /// user - public const string User = "user"; - -} - -/// -/// Enum values for cpu.mode -/// -public static class CpuModeValues -{ - /// system - public const string System = "system"; - - /// user - public const string User = "user"; - -} - -/// -/// Enum values for db.cassandra.consistency.level -/// -public static class DbCassandraConsistencyLevelValues -{ - /// all - public const string All = "all"; - - /// any - public const string Any = "any"; - - /// each_quorum - public const string EachQuorum = "each_quorum"; - - /// local_one - public const string LocalOne = "local_one"; - - /// local_quorum - public const string LocalQuorum = "local_quorum"; - - /// local_serial - public const string LocalSerial = "local_serial"; - - /// one - public const string One = "one"; - - /// quorum - public const string Quorum = "quorum"; - - /// serial - public const string Serial = "serial"; - - /// three - public const string Three = "three"; - - /// two - public const string Two = "two"; - -} - -/// -/// Enum values for db.client.connection.state -/// -public static class DbClientConnectionStateValues -{ - /// idle - public const string Idle = "idle"; - - /// used - public const string Used = "used"; - -} - -/// -/// Enum values for db.client.connections.state -/// -public static class DbClientConnectionsStateValues -{ - /// idle - public const string Idle = "idle"; - - /// used - public const string Used = "used"; - -} - -/// -/// Enum values for db.cosmosdb.connection.mode -/// -public static class DbCosmosdbConnectionModeValues -{ - /// direct - public const string Direct = "direct"; - - /// gateway - public const string Gateway = "gateway"; - -} - -/// -/// Enum values for db.cosmosdb.consistency.level -/// -public static class DbCosmosdbConsistencyLevelValues -{ - /// BoundedStaleness - public const string BoundedStaleness = "BoundedStaleness"; - - /// ConsistentPrefix - public const string ConsistentPrefix = "ConsistentPrefix"; - - /// Eventual - public const string Eventual = "Eventual"; - - /// Session - public const string Session = "Session"; - - /// Strong - public const string Strong = "Strong"; - -} - -/// -/// Enum values for db.cosmosdb.operation.type -/// -public static class DbCosmosdbOperationTypeValues -{ - /// batch - public const string Batch = "batch"; - - /// create - public const string Create = "create"; - - /// delete - public const string Delete = "delete"; - - /// execute - public const string Execute = "execute"; - - /// execute_javascript - public const string ExecuteJavascript = "execute_javascript"; - - /// head - public const string Head = "head"; - - /// head_feed - public const string HeadFeed = "head_feed"; - - /// invalid - public const string Invalid = "invalid"; - - /// patch - public const string Patch = "patch"; - - /// query - public const string Query = "query"; - - /// query_plan - public const string QueryPlan = "query_plan"; - - /// read - public const string Read = "read"; - - /// read_feed - public const string ReadFeed = "read_feed"; - - /// replace - public const string Replace = "replace"; - - /// upsert - public const string Upsert = "upsert"; - -} - -/// -/// Enum values for db.system -/// -public static class DbSystemValues -{ - /// adabas - public const string Adabas = "adabas"; - - /// cache - public const string Cache = "cache"; - - /// cassandra - public const string Cassandra = "cassandra"; - - /// clickhouse - public const string Clickhouse = "clickhouse"; - - /// cloudscape - public const string Cloudscape = "cloudscape"; - - /// cockroachdb - public const string Cockroachdb = "cockroachdb"; - - /// coldfusion - public const string Coldfusion = "coldfusion"; - - /// cosmosdb - public const string Cosmosdb = "cosmosdb"; - - /// couchbase - public const string Couchbase = "couchbase"; - - /// couchdb - public const string Couchdb = "couchdb"; - - /// db2 - public const string Db2 = "db2"; - - /// derby - public const string Derby = "derby"; - - /// dynamodb - public const string Dynamodb = "dynamodb"; - - /// edb - public const string Edb = "edb"; - - /// elasticsearch - public const string Elasticsearch = "elasticsearch"; - - /// filemaker - public const string Filemaker = "filemaker"; - - /// firebird - public const string Firebird = "firebird"; - - /// firstsql - public const string Firstsql = "firstsql"; - - /// geode - public const string Geode = "geode"; - - /// h2 - public const string H2 = "h2"; - - /// hanadb - public const string Hanadb = "hanadb"; - - /// hbase - public const string Hbase = "hbase"; - - /// hive - public const string Hive = "hive"; - - /// hsqldb - public const string Hsqldb = "hsqldb"; - - /// influxdb - public const string Influxdb = "influxdb"; - - /// informix - public const string Informix = "informix"; - - /// ingres - public const string Ingres = "ingres"; - - /// instantdb - public const string Instantdb = "instantdb"; - - /// interbase - public const string Interbase = "interbase"; - - /// intersystems_cache - public const string IntersystemsCache = "intersystems_cache"; - - /// mariadb - public const string Mariadb = "mariadb"; - - /// maxdb - public const string Maxdb = "maxdb"; - - /// memcached - public const string Memcached = "memcached"; - - /// mongodb - public const string Mongodb = "mongodb"; - - /// mssql - public const string Mssql = "mssql"; - - /// mssqlcompact - public const string Mssqlcompact = "mssqlcompact"; - - /// mysql - public const string Mysql = "mysql"; - - /// neo4j - public const string Neo4j = "neo4j"; - - /// netezza - public const string Netezza = "netezza"; - - /// opensearch - public const string Opensearch = "opensearch"; - - /// oracle - public const string Oracle = "oracle"; - - /// other_sql - public const string OtherSql = "other_sql"; - - /// pervasive - public const string Pervasive = "pervasive"; - - /// pointbase - public const string Pointbase = "pointbase"; - - /// postgresql - public const string Postgresql = "postgresql"; - - /// progress - public const string Progress = "progress"; - - /// redis - public const string Redis = "redis"; - - /// redshift - public const string Redshift = "redshift"; - - /// spanner - public const string Spanner = "spanner"; - - /// sqlite - public const string Sqlite = "sqlite"; - - /// sybase - public const string Sybase = "sybase"; - - /// teradata - public const string Teradata = "teradata"; - - /// trino - public const string Trino = "trino"; - - /// vertica - public const string Vertica = "vertica"; - -} - -/// -/// Enum values for db.system.name -/// -public static class DbSystemNameValues -{ - /// actian.ingres - public const string ActianIngres = "actian.ingres"; - - /// aws.dynamodb - public const string AwsDynamodb = "aws.dynamodb"; - - /// aws.redshift - public const string AwsRedshift = "aws.redshift"; - - /// azure.cosmosdb - public const string AzureCosmosdb = "azure.cosmosdb"; - - /// cassandra - public const string Cassandra = "cassandra"; - - /// clickhouse - public const string Clickhouse = "clickhouse"; - - /// cockroachdb - public const string Cockroachdb = "cockroachdb"; - - /// couchbase - public const string Couchbase = "couchbase"; - - /// couchdb - public const string Couchdb = "couchdb"; - - /// derby - public const string Derby = "derby"; - - /// elasticsearch - public const string Elasticsearch = "elasticsearch"; - - /// firebirdsql - public const string Firebirdsql = "firebirdsql"; - - /// gcp.spanner - public const string GcpSpanner = "gcp.spanner"; - - /// geode - public const string Geode = "geode"; - - /// h2database - public const string H2database = "h2database"; - - /// hbase - public const string Hbase = "hbase"; - - /// hive - public const string Hive = "hive"; - - /// hsqldb - public const string Hsqldb = "hsqldb"; - - /// ibm.db2 - public const string IbmDb2 = "ibm.db2"; - - /// ibm.informix - public const string IbmInformix = "ibm.informix"; - - /// ibm.netezza - public const string IbmNetezza = "ibm.netezza"; - - /// influxdb - public const string Influxdb = "influxdb"; - - /// instantdb - public const string Instantdb = "instantdb"; - - /// intersystems.cache - public const string IntersystemsCache = "intersystems.cache"; - - /// memcached - public const string Memcached = "memcached"; - - /// mongodb - public const string Mongodb = "mongodb"; - - /// neo4j - public const string Neo4j = "neo4j"; - - /// opensearch - public const string Opensearch = "opensearch"; - - /// oracle.db - public const string OracleDb = "oracle.db"; - - /// other_sql - public const string OtherSql = "other_sql"; - - /// redis - public const string Redis = "redis"; - - /// sap.hana - public const string SapHana = "sap.hana"; - - /// sap.maxdb - public const string SapMaxdb = "sap.maxdb"; - - /// softwareag.adabas - public const string SoftwareagAdabas = "softwareag.adabas"; - - /// sqlite - public const string Sqlite = "sqlite"; - - /// teradata - public const string Teradata = "teradata"; - - /// trino - public const string Trino = "trino"; - - /// mariadb - public const string Mariadb = "mariadb"; - - /// microsoft.sql_server - public const string MicrosoftSqlServer = "microsoft.sql_server"; - - /// mysql - public const string Mysql = "mysql"; - - /// postgresql - public const string Postgresql = "postgresql"; - -} - -/// -/// Enum values for deployment.status -/// -public static class DeploymentStatusValues -{ - /// failed - public const string Failed = "failed"; - - /// succeeded - public const string Succeeded = "succeeded"; - -} - -/// -/// Enum values for faas.document.operation -/// -public static class FaasDocumentOperationValues -{ - /// delete - public const string Delete = "delete"; - - /// edit - public const string Edit = "edit"; - - /// insert - public const string Insert = "insert"; - -} - -/// -/// Enum values for faas.invoked.provider -/// -public static class FaasInvokedProviderValues -{ - /// alibaba_cloud - public const string AlibabaCloud = "alibaba_cloud"; - - /// aws - public const string Aws = "aws"; - - /// azure - public const string Azure = "azure"; - - /// gcp - public const string Gcp = "gcp"; - - /// tencent_cloud - public const string TencentCloud = "tencent_cloud"; - -} - -/// -/// Enum values for faas.trigger -/// -public static class FaasTriggerValues -{ - /// datasource - public const string Datasource = "datasource"; - - /// http - public const string Http = "http"; - - /// other - public const string Other = "other"; - - /// pubsub - public const string Pubsub = "pubsub"; - - /// timer - public const string Timer = "timer"; - -} - -/// -/// Enum values for feature.flag.evaluation.reason -/// -public static class FeatureFlagEvaluationReasonValues -{ - /// cached - public const string Cached = "cached"; - - /// default - public const string Default = "default"; - - /// disabled - public const string Disabled = "disabled"; - - /// error - public const string Error = "error"; - - /// split - public const string Split = "split"; - - /// stale - public const string Stale = "stale"; - - /// static - public const string Static = "static"; - - /// targeting_match - public const string TargetingMatch = "targeting_match"; - - /// unknown - public const string Unknown = "unknown"; - -} - -/// -/// Enum values for feature.flag.result.reason -/// -public static class FeatureFlagResultReasonValues -{ - /// cached - public const string Cached = "cached"; - - /// default - public const string Default = "default"; - - /// disabled - public const string Disabled = "disabled"; - - /// error - public const string Error = "error"; - - /// split - public const string Split = "split"; - - /// stale - public const string Stale = "stale"; - - /// static - public const string Static = "static"; - - /// targeting_match - public const string TargetingMatch = "targeting_match"; - - /// unknown - public const string Unknown = "unknown"; - -} - -/// -/// Enum values for gen.ai.openai.request.response.format -/// -public static class GenAiOpenaiRequestResponseFormatValues -{ - /// json_object - public const string JsonObject = "json_object"; - - /// json_schema - public const string JsonSchema = "json_schema"; - - /// text - public const string Text = "text"; - -} - -/// -/// Enum values for gen.ai.openai.request.service.tier -/// -public static class GenAiOpenaiRequestServiceTierValues -{ - /// auto - public const string Auto = "auto"; - - /// default - public const string Default = "default"; - -} - -/// -/// Enum values for gen.ai.operation.name -/// -public static class GenAiOperationNameValues -{ - /// chat - public const string Chat = "chat"; - - /// create_agent - public const string CreateAgent = "create_agent"; - - /// embeddings - public const string Embeddings = "embeddings"; - - /// execute_tool - public const string ExecuteTool = "execute_tool"; - - /// generate_content - public const string GenerateContent = "generate_content"; - - /// invoke_agent - public const string InvokeAgent = "invoke_agent"; - - /// retrieval - public const string Retrieval = "retrieval"; - - /// text_completion - public const string TextCompletion = "text_completion"; - -} - -/// -/// Enum values for gen.ai.output.type -/// -public static class GenAiOutputTypeValues -{ - /// image - public const string Image = "image"; - - /// json - public const string Json = "json"; - - /// speech - public const string Speech = "speech"; - - /// text - public const string Text = "text"; - -} - -/// -/// Enum values for gen.ai.provider.name -/// -public static class GenAiProviderNameValues -{ - /// anthropic - public const string Anthropic = "anthropic"; - - /// aws.bedrock - public const string AwsBedrock = "aws.bedrock"; - - /// azure.ai.inference - public const string AzureAiInference = "azure.ai.inference"; - - /// azure.ai.openai - public const string AzureAiOpenai = "azure.ai.openai"; - - /// cohere - public const string Cohere = "cohere"; - - /// deepseek - public const string Deepseek = "deepseek"; - - /// gcp.gemini - public const string GcpGemini = "gcp.gemini"; - - /// gcp.gen_ai - public const string GcpGenAi = "gcp.gen_ai"; - - /// gcp.vertex_ai - public const string GcpVertexAi = "gcp.vertex_ai"; - - /// groq - public const string Groq = "groq"; - - /// ibm.watsonx.ai - public const string IbmWatsonxAi = "ibm.watsonx.ai"; - - /// mistral_ai - public const string MistralAi = "mistral_ai"; - - /// openai - public const string Openai = "openai"; - - /// perplexity - public const string Perplexity = "perplexity"; - - /// x_ai - public const string XAi = "x_ai"; - -} - -/// -/// Enum values for gen.ai.system -/// -public static class GenAiSystemValues -{ - /// anthropic - public const string Anthropic = "anthropic"; - - /// aws.bedrock - public const string AwsBedrock = "aws.bedrock"; - - /// az.ai.inference - public const string AzAiInference = "az.ai.inference"; - - /// az.ai.openai - public const string AzAiOpenai = "az.ai.openai"; - - /// azure.ai.inference - public const string AzureAiInference = "azure.ai.inference"; - - /// azure.ai.openai - public const string AzureAiOpenai = "azure.ai.openai"; - - /// cohere - public const string Cohere = "cohere"; - - /// deepseek - public const string Deepseek = "deepseek"; - - /// gcp.gemini - public const string GcpGemini = "gcp.gemini"; - - /// gcp.gen_ai - public const string GcpGenAi = "gcp.gen_ai"; - - /// gcp.vertex_ai - public const string GcpVertexAi = "gcp.vertex_ai"; - - /// gemini - public const string Gemini = "gemini"; - - /// groq - public const string Groq = "groq"; - - /// ibm.watsonx.ai - public const string IbmWatsonxAi = "ibm.watsonx.ai"; - - /// mistral_ai - public const string MistralAi = "mistral_ai"; - - /// openai - public const string Openai = "openai"; - - /// perplexity - public const string Perplexity = "perplexity"; - - /// vertex_ai - public const string VertexAi = "vertex_ai"; - - /// xai - public const string Xai = "xai"; - -} - -/// -/// Enum values for gen.ai.token.type -/// -public static class GenAiTokenTypeValues -{ - /// input - public const string Input = "input"; - - /// output - public const string Completion = "output"; - - /// output - public const string Output = "output"; - -} - -/// -/// Enum values for geo.continent.code -/// -public static class GeoContinentCodeValues -{ - /// AF - public const string Af = "AF"; - - /// AN - public const string An = "AN"; - - /// AS - public const string As = "AS"; - - /// EU - public const string Eu = "EU"; - - /// NA - public const string Na = "NA"; - - /// OC - public const string Oc = "OC"; - - /// SA - public const string Sa = "SA"; - -} - -/// -/// Enum values for host.arch -/// -public static class HostArchValues -{ - /// amd64 - public const string Amd64 = "amd64"; - - /// arm32 - public const string Arm32 = "arm32"; - - /// arm64 - public const string Arm64 = "arm64"; - - /// ia64 - public const string Ia64 = "ia64"; - - /// ppc32 - public const string Ppc32 = "ppc32"; - - /// ppc64 - public const string Ppc64 = "ppc64"; - - /// s390x - public const string S390x = "s390x"; - - /// x86 - public const string X86 = "x86"; - -} - -/// -/// Enum values for http.connection.state -/// -public static class HttpConnectionStateValues -{ - /// active - public const string Active = "active"; - - /// idle - public const string Idle = "idle"; - -} - -/// -/// Enum values for http.flavor -/// -public static class HttpFlavorValues -{ - /// 1.0 - public const string Http10 = "1.0"; - - /// 1.1 - public const string Http11 = "1.1"; - - /// 2.0 - public const string Http20 = "2.0"; - - /// 3.0 - public const string Http30 = "3.0"; - - /// QUIC - public const string Quic = "QUIC"; - - /// SPDY - public const string Spdy = "SPDY"; - -} - -/// -/// Enum values for http.request.method -/// -public static class HttpRequestMethodValues -{ - /// QUERY - public const string Query = "QUERY"; - - /// _OTHER - public const string Other = "_OTHER"; - - /// CONNECT - public const string Connect = "CONNECT"; - - /// DELETE - public const string Delete = "DELETE"; - - /// GET - public const string Get = "GET"; - - /// HEAD - public const string Head = "HEAD"; - - /// OPTIONS - public const string Options = "OPTIONS"; - - /// PATCH - public const string Patch = "PATCH"; - - /// POST - public const string Post = "POST"; - - /// PUT - public const string Put = "PUT"; - - /// TRACE - public const string Trace = "TRACE"; - -} - -/// -/// Enum values for hw.type -/// -public static class HwTypeValues -{ - /// logical_disk - public const string LogicalDisk = "logical_disk"; - - /// network - public const string Network = "network"; - -} - -/// -/// Enum values for k8s.container.status.reason -/// -public static class K8sContainerStatusReasonValues -{ - /// Completed - public const string Completed = "Completed"; - - /// ContainerCannotRun - public const string ContainerCannotRun = "ContainerCannotRun"; - - /// ContainerCreating - public const string ContainerCreating = "ContainerCreating"; - - /// CrashLoopBackOff - public const string CrashLoopBackOff = "CrashLoopBackOff"; - - /// CreateContainerConfigError - public const string CreateContainerConfigError = "CreateContainerConfigError"; - - /// ErrImagePull - public const string ErrImagePull = "ErrImagePull"; - - /// Error - public const string Error = "Error"; - - /// ImagePullBackOff - public const string ImagePullBackOff = "ImagePullBackOff"; - - /// OOMKilled - public const string OomKilled = "OOMKilled"; - -} - -/// -/// Enum values for k8s.container.status.state -/// -public static class K8sContainerStatusStateValues -{ - /// running - public const string Running = "running"; - - /// terminated - public const string Terminated = "terminated"; - - /// waiting - public const string Waiting = "waiting"; - -} - -/// -/// Enum values for k8s.namespace.phase -/// -public static class K8sNamespacePhaseValues -{ - /// active - public const string Active = "active"; - - /// terminating - public const string Terminating = "terminating"; - -} - -/// -/// Enum values for k8s.node.condition.status -/// -public static class K8sNodeConditionStatusValues -{ - /// false - public const string ConditionFalse = "false"; - - /// true - public const string ConditionTrue = "true"; - - /// unknown - public const string ConditionUnknown = "unknown"; - -} - -/// -/// Enum values for k8s.node.condition.type -/// -public static class K8sNodeConditionTypeValues -{ - /// DiskPressure - public const string DiskPressure = "DiskPressure"; - - /// MemoryPressure - public const string MemoryPressure = "MemoryPressure"; - - /// NetworkUnavailable - public const string NetworkUnavailable = "NetworkUnavailable"; - - /// PIDPressure - public const string PidPressure = "PIDPressure"; - - /// Ready - public const string Ready = "Ready"; - -} - -/// -/// Enum values for k8s.pod.status.phase -/// -public static class K8sPodStatusPhaseValues -{ - /// Failed - public const string Failed = "Failed"; - - /// Pending - public const string Pending = "Pending"; - - /// Running - public const string Running = "Running"; - - /// Succeeded - public const string Succeeded = "Succeeded"; - - /// Unknown - public const string Unknown = "Unknown"; - -} - -/// -/// Enum values for k8s.pod.status.reason -/// -public static class K8sPodStatusReasonValues -{ - /// Evicted - public const string Evicted = "Evicted"; - - /// NodeAffinity - public const string NodeAffinity = "NodeAffinity"; - - /// NodeLost - public const string NodeLost = "NodeLost"; - - /// Shutdown - public const string Shutdown = "Shutdown"; - - /// UnexpectedAdmissionError - public const string UnexpectedAdmissionError = "UnexpectedAdmissionError"; - -} - -/// -/// Enum values for k8s.service.endpoint.address.type -/// -public static class K8sServiceEndpointAddressTypeValues -{ - /// FQDN - public const string Fqdn = "FQDN"; - - /// IPv4 - public const string Ipv4 = "IPv4"; - - /// IPv6 - public const string Ipv6 = "IPv6"; - -} - -/// -/// Enum values for k8s.service.endpoint.condition -/// -public static class K8sServiceEndpointConditionValues -{ - /// ready - public const string Ready = "ready"; - - /// serving - public const string Serving = "serving"; - - /// terminating - public const string Terminating = "terminating"; - -} - -/// -/// Enum values for k8s.service.type -/// -public static class K8sServiceTypeValues -{ - /// ClusterIP - public const string ClusterIp = "ClusterIP"; - - /// ExternalName - public const string ExternalName = "ExternalName"; - - /// LoadBalancer - public const string LoadBalancer = "LoadBalancer"; - - /// NodePort - public const string NodePort = "NodePort"; - -} - -/// -/// Enum values for k8s.volume.type -/// -public static class K8sVolumeTypeValues -{ - /// configMap - public const string ConfigMap = "configMap"; - - /// downwardAPI - public const string DownwardApi = "downwardAPI"; - - /// emptyDir - public const string EmptyDir = "emptyDir"; - - /// local - public const string Local = "local"; - - /// persistentVolumeClaim - public const string PersistentVolumeClaim = "persistentVolumeClaim"; - - /// secret - public const string Secret = "secret"; - -} - -/// -/// Enum values for log.iostream -/// -public static class LogIostreamValues -{ - /// stderr - public const string Stderr = "stderr"; - - /// stdout - public const string Stdout = "stdout"; - -} - -/// -/// Enum values for mcp.method.name -/// -public static class McpMethodNameValues -{ - /// logging/setLevel - public const string LoggingSetLevel = "logging/setLevel"; - -} - -/// -/// Enum values for messaging.operation.type -/// -public static class MessagingOperationTypeValues -{ - /// create - public const string Create = "create"; - - /// deliver - public const string Deliver = "deliver"; - - /// process - public const string Process = "process"; - - /// publish - public const string Publish = "publish"; - - /// receive - public const string Receive = "receive"; - - /// send - public const string Send = "send"; - - /// settle - public const string Settle = "settle"; - -} - -/// -/// Enum values for messaging.rocketmq.consumption.model -/// -public static class MessagingRocketmqConsumptionModelValues -{ - /// broadcasting - public const string Broadcasting = "broadcasting"; - - /// clustering - public const string Clustering = "clustering"; - -} - -/// -/// Enum values for messaging.rocketmq.message.type -/// -public static class MessagingRocketmqMessageTypeValues -{ - /// delay - public const string Delay = "delay"; - - /// fifo - public const string Fifo = "fifo"; - - /// normal - public const string Normal = "normal"; - - /// transaction - public const string Transaction = "transaction"; - -} - -/// -/// Enum values for messaging.servicebus.disposition.status -/// -public static class MessagingServicebusDispositionStatusValues -{ - /// abandon - public const string Abandon = "abandon"; - - /// complete - public const string Complete = "complete"; - - /// dead_letter - public const string DeadLetter = "dead_letter"; - - /// defer - public const string Defer = "defer"; - -} - -/// -/// Enum values for messaging.system -/// -public static class MessagingSystemValues -{ - /// activemq - public const string Activemq = "activemq"; - - /// aws.sns - public const string AwsSns = "aws.sns"; - - /// aws_sqs - public const string AwsSqs = "aws_sqs"; - - /// eventgrid - public const string Eventgrid = "eventgrid"; - - /// eventhubs - public const string Eventhubs = "eventhubs"; - - /// gcp_pubsub - public const string GcpPubsub = "gcp_pubsub"; - - /// jms - public const string Jms = "jms"; - - /// kafka - public const string Kafka = "kafka"; - - /// pulsar - public const string Pulsar = "pulsar"; - - /// rabbitmq - public const string Rabbitmq = "rabbitmq"; - - /// rocketmq - public const string Rocketmq = "rocketmq"; - - /// servicebus - public const string Servicebus = "servicebus"; - -} - -/// -/// Enum values for network.connection.state -/// -public static class NetworkConnectionStateValues -{ - /// close_wait - public const string CloseWait = "close_wait"; - - /// closed - public const string Closed = "closed"; - - /// closing - public const string Closing = "closing"; - - /// established - public const string Established = "established"; - - /// fin_wait_1 - public const string FinWait1 = "fin_wait_1"; - - /// fin_wait_2 - public const string FinWait2 = "fin_wait_2"; - - /// last_ack - public const string LastAck = "last_ack"; - - /// listen - public const string Listen = "listen"; - - /// syn_received - public const string SynReceived = "syn_received"; - - /// syn_sent - public const string SynSent = "syn_sent"; - - /// time_wait - public const string TimeWait = "time_wait"; - -} - -/// -/// Enum values for network.connection.subtype -/// -public static class NetworkConnectionSubtypeValues -{ - /// cdma - public const string Cdma = "cdma"; - - /// cdma2000_1xrtt - public const string Cdma20001xrtt = "cdma2000_1xrtt"; - - /// edge - public const string Edge = "edge"; - - /// ehrpd - public const string Ehrpd = "ehrpd"; - - /// evdo_0 - public const string Evdo0 = "evdo_0"; - - /// evdo_a - public const string EvdoA = "evdo_a"; - - /// evdo_b - public const string EvdoB = "evdo_b"; - - /// gprs - public const string Gprs = "gprs"; - - /// gsm - public const string Gsm = "gsm"; - - /// hsdpa - public const string Hsdpa = "hsdpa"; - - /// hspa - public const string Hspa = "hspa"; - - /// hspap - public const string Hspap = "hspap"; - - /// hsupa - public const string Hsupa = "hsupa"; - - /// iden - public const string Iden = "iden"; - - /// iwlan - public const string Iwlan = "iwlan"; - - /// lte - public const string Lte = "lte"; - - /// lte_ca - public const string LteCa = "lte_ca"; - - /// nr - public const string Nr = "nr"; - - /// nrnsa - public const string Nrnsa = "nrnsa"; - - /// td_scdma - public const string TdScdma = "td_scdma"; - - /// umts - public const string Umts = "umts"; - -} - -/// -/// Enum values for network.connection.type -/// -public static class NetworkConnectionTypeValues -{ - /// cell - public const string Cell = "cell"; - - /// unavailable - public const string Unavailable = "unavailable"; - - /// unknown - public const string Unknown = "unknown"; - - /// wifi - public const string Wifi = "wifi"; - - /// wired - public const string Wired = "wired"; - -} - -/// -/// Enum values for network.io.direction -/// -public static class NetworkIoDirectionValues -{ - /// receive - public const string Receive = "receive"; - - /// transmit - public const string Transmit = "transmit"; - -} - -/// -/// Enum values for openai.api.type -/// -public static class OpenaiApiTypeValues -{ - /// chat_completions - public const string ChatCompletions = "chat_completions"; - - /// responses - public const string Responses = "responses"; - -} - -/// -/// Enum values for openai.request.service.tier -/// -public static class OpenaiRequestServiceTierValues -{ - /// auto - public const string Auto = "auto"; - - /// default - public const string Default = "default"; - -} - -/// -/// Enum values for os.type -/// -public static class OsTypeValues -{ - /// aix - public const string Aix = "aix"; - - /// darwin - public const string Darwin = "darwin"; - - /// dragonflybsd - public const string Dragonflybsd = "dragonflybsd"; - - /// freebsd - public const string Freebsd = "freebsd"; - - /// hpux - public const string Hpux = "hpux"; - - /// linux - public const string Linux = "linux"; - - /// netbsd - public const string Netbsd = "netbsd"; - - /// openbsd - public const string Openbsd = "openbsd"; - - /// solaris - public const string Solaris = "solaris"; - - /// windows - public const string Windows = "windows"; - - /// z_os - public const string ZOs = "z_os"; - - /// zos - public const string Zos = "zos"; - -} - -/// -/// Enum values for otel.component.type -/// -public static class OtelComponentTypeValues -{ - /// batching_log_processor - public const string BatchingLogProcessor = "batching_log_processor"; - - /// batching_span_processor - public const string BatchingSpanProcessor = "batching_span_processor"; - - /// otlp_grpc_log_exporter - public const string OtlpGrpcLogExporter = "otlp_grpc_log_exporter"; - - /// otlp_grpc_metric_exporter - public const string OtlpGrpcMetricExporter = "otlp_grpc_metric_exporter"; - - /// otlp_grpc_span_exporter - public const string OtlpGrpcSpanExporter = "otlp_grpc_span_exporter"; - - /// otlp_http_json_log_exporter - public const string OtlpHttpJsonLogExporter = "otlp_http_json_log_exporter"; - - /// otlp_http_json_metric_exporter - public const string OtlpHttpJsonMetricExporter = "otlp_http_json_metric_exporter"; - - /// otlp_http_json_span_exporter - public const string OtlpHttpJsonSpanExporter = "otlp_http_json_span_exporter"; - - /// otlp_http_log_exporter - public const string OtlpHttpLogExporter = "otlp_http_log_exporter"; - - /// otlp_http_metric_exporter - public const string OtlpHttpMetricExporter = "otlp_http_metric_exporter"; - - /// otlp_http_span_exporter - public const string OtlpHttpSpanExporter = "otlp_http_span_exporter"; - - /// periodic_metric_reader - public const string PeriodicMetricReader = "periodic_metric_reader"; - - /// prometheus_http_text_metric_exporter - public const string PrometheusHttpTextMetricExporter = "prometheus_http_text_metric_exporter"; - - /// simple_log_processor - public const string SimpleLogProcessor = "simple_log_processor"; - - /// simple_span_processor - public const string SimpleSpanProcessor = "simple_span_processor"; - - /// zipkin_http_span_exporter - public const string ZipkinHttpSpanExporter = "zipkin_http_span_exporter"; - -} - -/// -/// Enum values for otel.span.parent.origin -/// -public static class OtelSpanParentOriginValues -{ - /// local - public const string Local = "local"; - - /// none - public const string None = "none"; - - /// remote - public const string Remote = "remote"; - -} - -/// -/// Enum values for otel.span.sampling.result -/// -public static class OtelSpanSamplingResultValues -{ - /// DROP - public const string Drop = "DROP"; - - /// RECORD_AND_SAMPLE - public const string RecordAndSample = "RECORD_AND_SAMPLE"; - - /// RECORD_ONLY - public const string RecordOnly = "RECORD_ONLY"; - -} - -/// -/// Enum values for process.context.switch.type -/// -public static class ProcessContextSwitchTypeValues -{ - /// involuntary - public const string Involuntary = "involuntary"; - - /// voluntary - public const string Voluntary = "voluntary"; - -} - -/// -/// Enum values for process.cpu.state -/// -public static class ProcessCpuStateValues -{ - /// system - public const string System = "system"; - - /// user - public const string User = "user"; - - /// wait - public const string Wait = "wait"; - -} - -/// -/// Enum values for process.paging.fault.type -/// -public static class ProcessPagingFaultTypeValues -{ - /// major - public const string Major = "major"; - - /// minor - public const string Minor = "minor"; - -} - -/// -/// Enum values for process.state -/// -public static class ProcessStateValues -{ - /// defunct - public const string Defunct = "defunct"; - - /// running - public const string Running = "running"; - - /// sleeping - public const string Sleeping = "sleeping"; - - /// stopped - public const string Stopped = "stopped"; - -} - -/// -/// Enum values for profile.frame.type -/// -public static class ProfileFrameTypeValues -{ - /// beam - public const string Beam = "beam"; - - /// cpython - public const string Cpython = "cpython"; - - /// dotnet - public const string Dotnet = "dotnet"; - - /// go - public const string Go = "go"; - - /// jvm - public const string Jvm = "jvm"; - - /// kernel - public const string Kernel = "kernel"; - - /// native - public const string Native = "native"; - - /// perl - public const string Perl = "perl"; - - /// php - public const string Php = "php"; - - /// ruby - public const string Ruby = "ruby"; - - /// rust - public const string Rust = "rust"; - - /// v8js - public const string V8js = "v8js"; - -} - -/// -/// Enum values for rpc.connect.rpc.error.code -/// -public static class RpcConnectRpcErrorCodeValues -{ - /// aborted - public const string Aborted = "aborted"; - - /// already_exists - public const string AlreadyExists = "already_exists"; - - /// cancelled - public const string Cancelled = "cancelled"; - - /// data_loss - public const string DataLoss = "data_loss"; - - /// deadline_exceeded - public const string DeadlineExceeded = "deadline_exceeded"; - - /// failed_precondition - public const string FailedPrecondition = "failed_precondition"; - - /// internal - public const string Internal = "internal"; - - /// invalid_argument - public const string InvalidArgument = "invalid_argument"; - - /// not_found - public const string NotFound = "not_found"; - - /// out_of_range - public const string OutOfRange = "out_of_range"; - - /// permission_denied - public const string PermissionDenied = "permission_denied"; - - /// resource_exhausted - public const string ResourceExhausted = "resource_exhausted"; - - /// unauthenticated - public const string Unauthenticated = "unauthenticated"; - - /// unavailable - public const string Unavailable = "unavailable"; - - /// unimplemented - public const string Unimplemented = "unimplemented"; - - /// unknown - public const string Unknown = "unknown"; - -} - -/// -/// Enum values for rpc.message.type -/// -public static class RpcMessageTypeValues -{ - /// RECEIVED - public const string Received = "RECEIVED"; - - /// SENT - public const string Sent = "SENT"; - -} - -/// -/// Enum values for rpc.system -/// -public static class RpcSystemValues -{ - /// apache_dubbo - public const string ApacheDubbo = "apache_dubbo"; - - /// connect_rpc - public const string ConnectRpc = "connect_rpc"; - - /// dotnet_wcf - public const string DotnetWcf = "dotnet_wcf"; - - /// grpc - public const string Grpc = "grpc"; - - /// java_rmi - public const string JavaRmi = "java_rmi"; - - /// jsonrpc - public const string Jsonrpc = "jsonrpc"; - - /// onc_rpc - public const string OncRpc = "onc_rpc"; - -} - -/// -/// Enum values for rpc.system.name -/// -public static class RpcSystemNameValues -{ - /// connectrpc - public const string Connectrpc = "connectrpc"; - - /// dubbo - public const string Dubbo = "dubbo"; - - /// grpc - public const string Grpc = "grpc"; - - /// jsonrpc - public const string Jsonrpc = "jsonrpc"; - -} - -/// -/// Enum values for service.criticality -/// -public static class ServiceCriticalityValues -{ - /// critical - public const string Critical = "critical"; - - /// high - public const string High = "high"; - - /// low - public const string Low = "low"; - - /// medium - public const string Medium = "medium"; - -} - -/// -/// Enum values for system.cpu.state -/// -public static class SystemCpuStateValues -{ - /// idle - public const string Idle = "idle"; - - /// interrupt - public const string Interrupt = "interrupt"; - - /// iowait - public const string Iowait = "iowait"; - - /// nice - public const string Nice = "nice"; - - /// steal - public const string Steal = "steal"; - - /// system - public const string System = "system"; - - /// user - public const string User = "user"; - -} - -/// -/// Enum values for system.filesystem.state -/// -public static class SystemFilesystemStateValues -{ - /// free - public const string Free = "free"; - - /// reserved - public const string Reserved = "reserved"; - - /// used - public const string Used = "used"; - -} - -/// -/// Enum values for system.filesystem.type -/// -public static class SystemFilesystemTypeValues -{ - /// exfat - public const string Exfat = "exfat"; - - /// ext4 - public const string Ext4 = "ext4"; - - /// fat32 - public const string Fat32 = "fat32"; - - /// hfsplus - public const string Hfsplus = "hfsplus"; - - /// ntfs - public const string Ntfs = "ntfs"; - - /// refs - public const string Refs = "refs"; - -} - -/// -/// Enum values for system.memory.linux.slab.state -/// -public static class SystemMemoryLinuxSlabStateValues -{ - /// reclaimable - public const string Reclaimable = "reclaimable"; - - /// unreclaimable - public const string Unreclaimable = "unreclaimable"; - -} - -/// -/// Enum values for system.memory.state -/// -public static class SystemMemoryStateValues -{ - /// buffers - public const string Buffers = "buffers"; - - /// cached - public const string Cached = "cached"; - - /// free - public const string Free = "free"; - - /// shared - public const string Shared = "shared"; - - /// used - public const string Used = "used"; - -} - -/// -/// Enum values for system.network.state -/// -public static class SystemNetworkStateValues -{ - /// close - public const string Close = "close"; - - /// close_wait - public const string CloseWait = "close_wait"; - - /// closing - public const string Closing = "closing"; - - /// delete - public const string Delete = "delete"; - - /// established - public const string Established = "established"; - - /// fin_wait_1 - public const string FinWait1 = "fin_wait_1"; - - /// fin_wait_2 - public const string FinWait2 = "fin_wait_2"; - - /// last_ack - public const string LastAck = "last_ack"; - - /// listen - public const string Listen = "listen"; - - /// syn_recv - public const string SynRecv = "syn_recv"; - - /// syn_sent - public const string SynSent = "syn_sent"; - - /// time_wait - public const string TimeWait = "time_wait"; - -} - -/// -/// Enum values for system.paging.direction -/// -public static class SystemPagingDirectionValues -{ - /// in - public const string In = "in"; - - /// out - public const string Out = "out"; - -} - -/// -/// Enum values for system.paging.fault.type -/// -public static class SystemPagingFaultTypeValues -{ - /// major - public const string Major = "major"; - - /// minor - public const string Minor = "minor"; - -} - -/// -/// Enum values for system.paging.state -/// -public static class SystemPagingStateValues -{ - /// free - public const string Free = "free"; - - /// used - public const string Used = "used"; - -} - -/// -/// Enum values for system.paging.type -/// -public static class SystemPagingTypeValues -{ - /// major - public const string Major = "major"; - - /// minor - public const string Minor = "minor"; - -} - -/// -/// Enum values for system.process.status -/// -public static class SystemProcessStatusValues -{ - /// defunct - public const string Defunct = "defunct"; - - /// running - public const string Running = "running"; - - /// sleeping - public const string Sleeping = "sleeping"; - - /// stopped - public const string Stopped = "stopped"; - -} - -/// -/// Enum values for system.processes.status -/// -public static class SystemProcessesStatusValues -{ - /// defunct - public const string Defunct = "defunct"; - - /// running - public const string Running = "running"; - - /// sleeping - public const string Sleeping = "sleeping"; - - /// stopped - public const string Stopped = "stopped"; - -} - -/// -/// Enum values for test.case.result.status -/// -public static class TestCaseResultStatusValues -{ - /// fail - public const string Fail = "fail"; - - /// pass - public const string Pass = "pass"; - -} - -/// -/// Enum values for test.suite.run.status -/// -public static class TestSuiteRunStatusValues -{ - /// aborted - public const string Aborted = "aborted"; - - /// failure - public const string Failure = "failure"; - - /// in_progress - public const string InProgress = "in_progress"; - - /// skipped - public const string Skipped = "skipped"; - - /// success - public const string Success = "success"; - - /// timed_out - public const string TimedOut = "timed_out"; - -} - -/// -/// Enum values for tls.protocol.name -/// -public static class TlsProtocolNameValues -{ - /// ssl - public const string Ssl = "ssl"; - - /// tls - public const string Tls = "tls"; - -} - -/// -/// Enum values for user.agent.synthetic.type -/// -public static class UserAgentSyntheticTypeValues -{ - /// bot - public const string Bot = "bot"; - - /// test - public const string Test = "test"; - -} - -/// -/// Enum values for v8js.heap.space.name -/// -public static class V8jsHeapSpaceNameValues -{ - /// code_space - public const string CodeSpace = "code_space"; - -} - -/// -/// Enum values for vcs.change.state -/// -public static class VcsChangeStateValues -{ - /// closed - public const string Closed = "closed"; - - /// merged - public const string Merged = "merged"; - - /// open - public const string Open = "open"; - - /// wip - public const string Wip = "wip"; - -} - -/// -/// Enum values for vcs.line.change.type -/// -public static class VcsLineChangeTypeValues -{ - /// added - public const string Added = "added"; - - /// removed - public const string Removed = "removed"; - -} - -/// -/// Enum values for vcs.provider.name -/// -public static class VcsProviderNameValues -{ - /// bitbucket - public const string Bitbucket = "bitbucket"; - - /// gitea - public const string Gitea = "gitea"; - - /// github - public const string Github = "github"; - - /// gitlab - public const string Gitlab = "gitlab"; - - /// gittea - public const string Gittea = "gittea"; - -} - -/// -/// Enum values for vcs.ref.base.type -/// -public static class VcsRefBaseTypeValues -{ - /// branch - public const string Branch = "branch"; - - /// tag - public const string Tag = "tag"; - -} - -/// -/// Enum values for vcs.ref.head.type -/// -public static class VcsRefHeadTypeValues -{ - /// branch - public const string Branch = "branch"; - - /// tag - public const string Tag = "tag"; - -} - -/// -/// Enum values for vcs.ref.type -/// -public static class VcsRefTypeValues -{ - /// branch - public const string Branch = "branch"; - - /// tag - public const string Tag = "tag"; - -} - -/// -/// Enum values for vcs.repository.ref.type -/// -public static class VcsRepositoryRefTypeValues -{ - /// branch - public const string Branch = "branch"; - - /// tag - public const string Tag = "tag"; - -} - -/// -/// Enum values for vcs.revision.delta.direction -/// -public static class VcsRevisionDeltaDirectionValues -{ - /// ahead - public const string Ahead = "ahead"; - - /// behind - public const string Behind = "behind"; - -} - -/// -/// Enum values for aspnetcore.diagnostics.exception.result -/// -public static class AspnetcoreDiagnosticsExceptionResultValues -{ - /// aborted - public const string Aborted = "aborted"; - - /// handled - public const string Handled = "handled"; - - /// skipped - public const string Skipped = "skipped"; - - /// unhandled - public const string Unhandled = "unhandled"; - -} - -/// -/// Enum values for aspnetcore.rate.limiting.result -/// -public static class AspnetcoreRateLimitingResultValues -{ - /// acquired - public const string Acquired = "acquired"; - - /// endpoint_limiter - public const string EndpointLimiter = "endpoint_limiter"; - - /// global_limiter - public const string GlobalLimiter = "global_limiter"; - - /// request_canceled - public const string RequestCanceled = "request_canceled"; - -} - -/// -/// Enum values for aspnetcore.routing.match.status -/// -public static class AspnetcoreRoutingMatchStatusValues -{ - /// failure - public const string Failure = "failure"; - - /// success - public const string Success = "success"; - -} - -/// -/// Enum values for dotnet.gc.heap.generation -/// -public static class DotnetGcHeapGenerationValues -{ - /// gen0 - public const string Gen0 = "gen0"; - - /// gen1 - public const string Gen1 = "gen1"; - - /// gen2 - public const string Gen2 = "gen2"; - - /// loh - public const string Loh = "loh"; - - /// poh - public const string Poh = "poh"; - -} - -/// -/// Enum values for error.type -/// -public static class ErrorTypeValues -{ - /// _OTHER - public const string Other = "_OTHER"; - -} - -/// -/// Enum values for network.transport -/// -public static class NetworkTransportValues -{ - /// pipe - public const string Pipe = "pipe"; - - /// quic - public const string Quic = "quic"; - - /// tcp - public const string Tcp = "tcp"; - - /// udp - public const string Udp = "udp"; - - /// unix - public const string Unix = "unix"; - -} - -/// -/// Enum values for network.type -/// -public static class NetworkTypeValues -{ - /// ipv4 - public const string Ipv4 = "ipv4"; - - /// ipv6 - public const string Ipv6 = "ipv6"; - -} - -/// -/// Enum values for otel.status.code -/// -public static class OtelStatusCodeValues -{ - /// ERROR - public const string Error = "ERROR"; - - /// OK - public const string Ok = "OK"; - -} - -/// -/// Enum values for signalr.connection.status -/// -public static class SignalrConnectionStatusValues -{ - /// app_shutdown - public const string AppShutdown = "app_shutdown"; - - /// normal_closure - public const string NormalClosure = "normal_closure"; - - /// timeout - public const string Timeout = "timeout"; - -} - -/// -/// Enum values for signalr.transport -/// -public static class SignalrTransportValues -{ - /// long_polling - public const string LongPolling = "long_polling"; - - /// server_sent_events - public const string ServerSentEvents = "server_sent_events"; - - /// web_sockets - public const string WebSockets = "web_sockets"; - -} - -/// -/// Enum values for telemetry.sdk.language -/// -public static class TelemetrySdkLanguageValues -{ - /// cpp - public const string Cpp = "cpp"; - - /// dotnet - public const string Dotnet = "dotnet"; - - /// erlang - public const string Erlang = "erlang"; - - /// go - public const string Go = "go"; - - /// java - public const string Java = "java"; - - /// nodejs - public const string Nodejs = "nodejs"; - - /// php - public const string Php = "php"; - - /// python - public const string Python = "python"; - - /// ruby - public const string Ruby = "ruby"; - - /// rust - public const string Rust = "rust"; - - /// swift - public const string Swift = "swift"; - - /// webjs - public const string Webjs = "webjs"; - -} From 4a907d4744c4766660757cdc746e2e40a3f304eb Mon Sep 17 00:00:00 2001 From: ancplua Date: Tue, 21 Apr 2026 04:10:41 +0200 Subject: [PATCH 02/13] chore(semconv): wire Weaver end-to-end with SQL + TS templates, scripted MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two working Weaver-side templates prove the pipeline against upstream semconv v1.40.0, emitting into eng/semconv/out/ (gitignored): - promoted_columns.g.sql.j2 — DuckDB column list, parent-prefix grouped, suffix-driven BIGINT/DOUBLE type inference, 31k lines matching current column count and type distribution - semconv.ts.j2 — TypeScript `export const` flat list, parent-prefix comment groups matching the legacy shape (enum `as const` blocks still TODO; current output covers attribute keys) Two bootstrap scripts so the pipeline is runnable from any clone: - bootstrap-weaver.sh — downloads Weaver v0.22.1 native binary + clones open-telemetry/semantic-conventions@v1.40.0 into .tools/ - run-weaver.sh — invokes `weaver registry generate` with the correct --registry / --templates paths and writes to eng/semconv/out/ Not yet in scope (partial PR #141, cutover to follow): - NUKE target swap — GenerateSemconv still calls `npm run generate` (the stripped-down generate-semconv.ts) for TSP / facades / SQL / TS. The Weaver templates run side-by-side for diff verification. - TypeSpec template (6842-line output with scalars + enum unions + models) - 3 facade templates (GenAi/Db/McpAttributes) — need qyl-extensions.json param loading + upstream-enum merging + cross-cutting attribute pull - TS `as const` enum blocks — structural port of the existing TS generator's enum extraction pass Run locally: ./eng/semconv/bootstrap-weaver.sh && ./eng/semconv/run-weaver.sh Co-Authored-By: Claude Opus 4.7 (1M context) --- eng/semconv/bootstrap-weaver.sh | 43 +++++++++++++++++++ eng/semconv/run-weaver.sh | 40 +++++++++++++++++ .../registry/qyl/promoted_columns.g.sql.j2 | 29 +++++++++++++ .../templates/registry/qyl/semconv.ts.j2 | 13 ++++-- .../templates/registry/qyl/weaver.yaml | 5 +++ 5 files changed, 127 insertions(+), 3 deletions(-) create mode 100755 eng/semconv/bootstrap-weaver.sh create mode 100755 eng/semconv/run-weaver.sh create mode 100644 eng/semconv/templates/registry/qyl/promoted_columns.g.sql.j2 diff --git a/eng/semconv/bootstrap-weaver.sh b/eng/semconv/bootstrap-weaver.sh new file mode 100755 index 000000000..5fdf7e357 --- /dev/null +++ b/eng/semconv/bootstrap-weaver.sh @@ -0,0 +1,43 @@ +#!/usr/bin/env bash +# One-time setup for the Weaver-based semconv pipeline. +# Downloads the Weaver CLI and clones the upstream semconv v1.40.0 registry. +# Artifacts land under .tools/ (gitignored). + +set -euo pipefail + +REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)" +TOOLS_DIR="${REPO_ROOT}/.tools" +WEAVER_DIR="${TOOLS_DIR}/weaver" +UPSTREAM_DIR="${TOOLS_DIR}/semconv-upstream" + +WEAVER_VERSION="v0.22.1" +SEMCONV_TAG="v1.40.0" + +UNAME_M="$(uname -m)" +case "${UNAME_M}" in + arm64|aarch64) WEAVER_ARCH="aarch64-apple-darwin" ;; + x86_64) WEAVER_ARCH="x86_64-apple-darwin" ;; + *) echo "Unsupported arch: ${UNAME_M}" >&2; exit 1 ;; +esac + +mkdir -p "${WEAVER_DIR}" +if [ ! -x "${WEAVER_DIR}/weaver-${WEAVER_ARCH}/weaver" ]; then + echo "Downloading Weaver ${WEAVER_VERSION} (${WEAVER_ARCH})..." + curl -sL \ + "https://github.com/open-telemetry/weaver/releases/download/${WEAVER_VERSION}/weaver-${WEAVER_ARCH}.tar.xz" \ + -o "${WEAVER_DIR}/weaver.tar.xz" + tar -xf "${WEAVER_DIR}/weaver.tar.xz" -C "${WEAVER_DIR}" + rm "${WEAVER_DIR}/weaver.tar.xz" +fi + +if [ ! -d "${UPSTREAM_DIR}" ]; then + echo "Cloning open-telemetry/semantic-conventions@${SEMCONV_TAG}..." + git clone --depth 1 --branch "${SEMCONV_TAG}" \ + https://github.com/open-telemetry/semantic-conventions.git "${UPSTREAM_DIR}" +fi + +echo "" +echo "Weaver: ${WEAVER_DIR}/weaver-${WEAVER_ARCH}/weaver ($(${WEAVER_DIR}/weaver-${WEAVER_ARCH}/weaver --version))" +echo "Upstream: ${UPSTREAM_DIR} (semconv ${SEMCONV_TAG})" +echo "" +echo "Next: ./eng/semconv/run-weaver.sh" diff --git a/eng/semconv/run-weaver.sh b/eng/semconv/run-weaver.sh new file mode 100755 index 000000000..a688010bb --- /dev/null +++ b/eng/semconv/run-weaver.sh @@ -0,0 +1,40 @@ +#!/usr/bin/env bash +# Run qyl's Weaver template pipeline against the upstream semconv v1.40.0 registry. +# +# Proof-of-pipeline invocation for the in-flight `generate-semconv.ts` → Weaver migration. +# Emits draft outputs to eng/semconv/out/ (gitignored) for side-by-side diff against +# the live outputs committed under src/. +# +# Prerequisites (one-time setup): +# ./eng/semconv/bootstrap-weaver.sh # downloads weaver + upstream semconv clone + +set -euo pipefail + +REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)" +WEAVER_BIN="${REPO_ROOT}/.tools/weaver/weaver-aarch64-apple-darwin/weaver" +UPSTREAM_REGISTRY="${REPO_ROOT}/.tools/semconv-upstream/model" +TEMPLATES_ROOT="${REPO_ROOT}/eng/semconv/templates/registry" +OUT_DIR="${REPO_ROOT}/eng/semconv/out" + +if [ ! -x "${WEAVER_BIN}" ]; then + echo "Weaver binary not found at ${WEAVER_BIN}" >&2 + echo "Run: ./eng/semconv/bootstrap-weaver.sh" >&2 + exit 1 +fi + +if [ ! -d "${UPSTREAM_REGISTRY}" ]; then + echo "Upstream registry not found at ${UPSTREAM_REGISTRY}" >&2 + echo "Run: ./eng/semconv/bootstrap-weaver.sh" >&2 + exit 1 +fi + +rm -rf "${OUT_DIR}" +"${WEAVER_BIN}" registry generate \ + --registry "${UPSTREAM_REGISTRY}" \ + --templates "${TEMPLATES_ROOT}" \ + qyl \ + "${OUT_DIR}" + +echo "" +echo "Weaver outputs:" +ls -la "${OUT_DIR}" diff --git a/eng/semconv/templates/registry/qyl/promoted_columns.g.sql.j2 b/eng/semconv/templates/registry/qyl/promoted_columns.g.sql.j2 new file mode 100644 index 000000000..7e08a0d5a --- /dev/null +++ b/eng/semconv/templates/registry/qyl/promoted_columns.g.sql.j2 @@ -0,0 +1,29 @@ +{#- + DuckDB promoted columns — semconv attributes flattened to typed columns. + Target: src/qyl.collector/Storage/promoted-columns.g.sql +-#} +-- +-- Generated from open-telemetry/semantic-conventions v1.40.0 via Weaver +-- Do not edit manually - run 'nuke GenerateSemconv' +-- +-- Promoted columns for fast queries (extracted from attributes_json) +-- Include in CREATE TABLE statements as needed +{% set bigint_suffixes = ['_tokens', '_count', '_size', '_top_k', '_max_tokens', '_seed'] %} +{% set double_suffixes = ['_duration', '_temperature', '_top_p', '_frequency_penalty', '_presence_penalty'] %} +{% set last_parent = namespace(v='') %} +{% for group in ctx | sort(attribute="root_namespace") %} +{% if group.root_namespace in params.include_prefixes %} +{% for attr in group.attributes | sort(attribute="name") %} +{% set parent = attr.name.split('.')[:-1] | join('.') %} +{% set type_ns = namespace(t='VARCHAR') %} +{% for s in bigint_suffixes %}{% if attr.name.endswith(s) %}{% set type_ns.t = 'BIGINT' %}{% endif %}{% endfor %} +{% for s in double_suffixes %}{% if attr.name.endswith(s) %}{% set type_ns.t = 'DOUBLE' %}{% endif %}{% endfor %} +{% if parent != last_parent.v %} + +-- {{ parent }} attributes +{% set last_parent.v = parent %} +{% endif %} +{{ attr.name | replace('.', '_') }} {{ type_ns.t }}, +{% endfor %} +{% endif %} +{% endfor %} diff --git a/eng/semconv/templates/registry/qyl/semconv.ts.j2 b/eng/semconv/templates/registry/qyl/semconv.ts.j2 index ff5add2c9..d639035c2 100644 --- a/eng/semconv/templates/registry/qyl/semconv.ts.j2 +++ b/eng/semconv/templates/registry/qyl/semconv.ts.j2 @@ -1,18 +1,25 @@ {#- TypeScript semconv constants for qyl.dashboard. Target: src/qyl.dashboard/src/lib/semconv.ts - Shape: flat `export const` list grouped by root namespace. + Shape: export const flat list grouped by parent-prefix (matches the + legacy generator shape — e.g. `// artifact.attestation` comment + before artifact.attestation.* attributes). -#} // // Generated from open-telemetry/semantic-conventions v1.40.0 via Weaver // Do not edit manually - run 'nuke GenerateSemconv' // Attribute keys +{% set last_parent = namespace(v='') %} {% for group in ctx | sort(attribute="root_namespace") %} {% if group.root_namespace in params.include_prefixes %} - -// {{ group.root_namespace }} {% for attr in group.attributes | sort(attribute="name") %} +{% set parent = attr.name.split('.')[:-1] | join('.') %} +{% if parent != last_parent.v %} + +// {{ parent }} +{% set last_parent.v = parent %} +{% endif %} export const {{ attr.name | screaming_snake_case }} = "{{ attr.name }}"; {% endfor %} {% endif %} diff --git a/eng/semconv/templates/registry/qyl/weaver.yaml b/eng/semconv/templates/registry/qyl/weaver.yaml index baa93d1af..de6fb526b 100644 --- a/eng/semconv/templates/registry/qyl/weaver.yaml +++ b/eng/semconv/templates/registry/qyl/weaver.yaml @@ -81,3 +81,8 @@ templates: filter: semconv_grouped_attributes application_mode: single file_name: "semconv.ts" + + - template: promoted_columns.g.sql.j2 + filter: semconv_grouped_attributes + application_mode: single + file_name: "promoted-columns.g.sql" From d1c49a42bab454bcb19b7fb3a177edd6dc354829 Mon Sep 17 00:00:00 2001 From: ancplua Date: Tue, 21 Apr 2026 04:20:35 +0200 Subject: [PATCH 03/13] =?UTF-8?q?refactor(semconv):=20cutover=20to=20Weave?= =?UTF-8?q?r=20=E2=80=94=20delete=20TS=20generator,=20hand-maintain=20faca?= =?UTF-8?q?des?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Weaver now owns the generated semconv outputs for which qyl consumers exist: - src/qyl.dashboard/src/lib/semconv.ts (TypeScript attribute keys) - src/qyl.collector/Storage/promoted-columns.g.sql (DuckDB promoted cols) Facades moved to hand-maintained source. The prior Jinja-port of three facades (GenAi/Db/Mcp) would have required porting qyl-extensions.json's propertyOverrides + upstream enum-merge + cross-cutting-attribute lookup into MiniJinja — 3–4h of template engineering for 3 files totaling <600 LoC that rarely change. Hand-edit is simpler: - src/qyl.contracts/Attributes/DbAttributes.cs (was .g.cs) - src/qyl.contracts/Attributes/GenAiAttributes.cs (was .g.cs) - src/qyl.contracts/Attributes/McpAttributes.cs (was .g.cs) TS enum `as const` blocks dropped: the sole consumer (src/qyl.dashboard/src/components/genai/ToolDefinitionsViewer.tsx) imports only flat attribute keys (GEN_AI_TOOL_*), not the enum objects. All 7 imports resolve against the new Weaver output; dashboard typecheck clean against the semconv change. TypeSpec output (core/specs/generated/semconv.g.tsp, 6842 lines) stays pinned at v1.40.0 — no Weaver template yet, no regenerator. When OTel bumps semconv, write the TSP Jinja template or port by hand. Deleted: - eng/semconv/generate-semconv.ts (921 LoC) - eng/semconv/qyl-extensions.json (250 LoC config) - eng/semconv/package.json / package-lock.json / tsconfig.json - eng/semconv/CHANGELOG.md (upstream dependency tracker) - eng/semconv/node_modules (gitignored) NUKE `GenerateSemconv` now shells out to bootstrap-weaver.sh + run-weaver.sh. SemconvInstall npm target removed entirely. Net this commit: +754 / -4112 = -3,358 LoC. Plus the -22,005 LoC from the previous commit on this branch gives the PR -25,363 LoC total for the contract-drift cleanup + Weaver cutover. Full solution build: 0 errors, 74 warnings (unchanged from main). Co-Authored-By: Claude Opus 4.7 (1M context) --- eng/build/BuildPipeline.cs | 44 +- eng/semconv/CHANGELOG.md | 428 ---- eng/semconv/generate-semconv.ts | 921 --------- eng/semconv/package-lock.json | 601 ------ eng/semconv/package.json | 21 - eng/semconv/qyl-extensions.json | 250 --- eng/semconv/run-weaver.sh | 41 +- eng/semconv/tsconfig.json | 21 - .../Storage/promoted-columns.g.sql | 702 ++++--- .../{DbAttributes.g.cs => DbAttributes.cs} | 9 +- ...enAiAttributes.g.cs => GenAiAttributes.cs} | 9 +- .../{McpAttributes.g.cs => McpAttributes.cs} | 9 +- src/qyl.dashboard/src/lib/semconv.ts | 1810 ++++------------- 13 files changed, 754 insertions(+), 4112 deletions(-) delete mode 100644 eng/semconv/CHANGELOG.md delete mode 100644 eng/semconv/generate-semconv.ts delete mode 100644 eng/semconv/package-lock.json delete mode 100644 eng/semconv/package.json delete mode 100644 eng/semconv/qyl-extensions.json delete mode 100644 eng/semconv/tsconfig.json rename src/qyl.contracts/Attributes/{DbAttributes.g.cs => DbAttributes.cs} (92%) rename src/qyl.contracts/Attributes/{GenAiAttributes.g.cs => GenAiAttributes.cs} (97%) rename src/qyl.contracts/Attributes/{McpAttributes.g.cs => McpAttributes.cs} (89%) diff --git a/eng/build/BuildPipeline.cs b/eng/build/BuildPipeline.cs index c81ce5fdc..ae9874fe8 100644 --- a/eng/build/BuildPipeline.cs +++ b/eng/build/BuildPipeline.cs @@ -165,39 +165,33 @@ partial interface IPipeline : IHazSourcePaths // Semconv Targets (OTel Semantic Conventions) // ════════════════════════════════════════════════════════════════════════ - Target SemconvInstall => d => d - .Description("Install semconv-generator npm dependencies") + Target GenerateSemconv => d => d + .Description("Generate OTel Semantic Conventions via Weaver (TypeScript + DuckDB)") .OnlyWhenStatic(() => SemconvDirectory.DirectoryExists()) .Executes(() => { - Log.Information("Installing semconv-generator dependencies..."); - - NpmTasks.NpmInstall(s => s - .SetProcessWorkingDirectory(SemconvDirectory)); + Log.Information("Running Weaver for OTel Semantic Conventions..."); - Log.Information("Semconv dependencies installed"); - }); + var script = SemconvDirectory / "run-weaver.sh"; + var bootstrap = SemconvDirectory / "bootstrap-weaver.sh"; - Target GenerateSemconv => d => d - .Description("Generate OTel Semantic Conventions (C#, TypeScript, TypeSpec, DuckDB)") - .DependsOn(SemconvInstall) - .OnlyWhenStatic(() => SemconvDirectory.DirectoryExists()) - .Executes(() => - { - Log.Information("Generating OTel Semantic Conventions..."); + if (!script.FileExists()) + { + Log.Error("Missing {Script}. Run {Bootstrap} first.", script, bootstrap); + throw new FileNotFoundException("run-weaver.sh not found", script); + } - NpmTasks.NpmRun(s => s - .SetProcessWorkingDirectory(SemconvDirectory) - .SetCommand("generate")); + // Ensure the .tools/ toolchain is present. bootstrap-weaver.sh is + // idempotent and exits quickly when binaries + upstream clone are + // already cached. + ProcessTasks.StartProcess("bash", bootstrap, logOutput: true).AssertZeroExitCode(); + ProcessTasks.StartProcess("bash", script, logOutput: true).AssertZeroExitCode(); - Log.Information("Semconv generated to final destinations:"); - Log.Information(" TypeSpec: core/specs/generated/semconv.g.tsp"); - Log.Information(" C#: src/qyl.instrumentation/Instrumentation/SemanticConventions.g.cs"); - Log.Information(" C# UTF-8: src/qyl.instrumentation/Instrumentation/SemanticConventions.Utf8.g.cs"); + Log.Information("Semconv written to:"); Log.Information(" TypeScript: src/qyl.dashboard/src/lib/semconv.ts"); - Log.Information(" DuckDB: src/qyl.collector/Storage/promoted-columns.g.sql"); - Log.Information(" Protocol: src/qyl.contracts/Attributes/GenAiAttributes.g.cs"); - Log.Information(" Protocol: src/qyl.contracts/Attributes/DbAttributes.g.cs"); + Log.Information(" DuckDB: src/qyl.collector/Storage/promoted-columns.g.sql"); + Log.Information("Facades under src/qyl.contracts/Attributes/*.cs are hand-maintained."); + Log.Information("TypeSpec at core/specs/generated/semconv.g.tsp is pinned at v1.40.0 (no generator yet)."); }); // ════════════════════════════════════════════════════════════════════════ diff --git a/eng/semconv/CHANGELOG.md b/eng/semconv/CHANGELOG.md deleted file mode 100644 index 54616b067..000000000 --- a/eng/semconv/CHANGELOG.md +++ /dev/null @@ -1,428 +0,0 @@ -# Semantic Conventions Schema Changelog - -Source: [open-telemetry/semantic-conventions/schemas](https://github.com/open-telemetry/semantic-conventions/tree/main/schemas) - -Cumulative rename chain from v1.4.0 to v1.40.0. Each entry shows what was renamed in that version. -Only the **right-hand side** (target) names are valid in v1.40.0. - ---- - -## v1.8.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `db.cassandra.keyspace` | `db.namespace` (via `db.name` in v1.8 then renamed again in v1.25) | -| `db.hbase.namespace` | `db.namespace` (via `db.name` in v1.8 then renamed again in v1.25) | - -## v1.13.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `net.host.ip` | `server.socket.address` (via `net.sock.host.addr` in v1.13 then renamed in v1.21) | -| `net.peer.ip` | `net.sock.peer.addr` | - -## v1.15.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `http.retry_count` | `http.request.resend_count` (via `http.resend_count` in v1.15 then renamed in v1.22) | - -## v1.17.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `messaging.consumer_id` | `messaging.consumer.id` | -| `messaging.conversation_id` | `messaging.message.conversation_id` | -| `messaging.destination` | `messaging.destination.name` | -| `messaging.destination_kind` | `messaging.destination.kind` | -| `messaging.kafka.consumer_group` | `messaging.consumer.group.name` (via `messaging.kafka.consumer.group` in v1.17 then renamed in v1.27) | -| `messaging.kafka.message_key` | `messaging.kafka.message.key` | -| `messaging.kafka.partition` | `messaging.destination.partition.id` (via `messaging.kafka.destination.partition` in v1.17 then renamed in v1.25) | -| `messaging.kafka.tombstone` | `messaging.kafka.message.tombstone` | -| `messaging.message_id` | `messaging.message.id` | -| `messaging.message_payload_compressed_size_bytes` | `messaging.message.payload_compressed_size_bytes` | -| `messaging.message_payload_size_bytes` | `messaging.message.body.size` (via `messaging.message.payload_size_bytes` in v1.17 then renamed in v1.22) | -| `messaging.protocol` | `network.protocol.name` (via `net.app.protocol.name` in v1.17 -> `net.protocol.name` in v1.20 -> `network.protocol.name` in v1.21) | -| `messaging.protocol_version` | `network.protocol.version` (via `net.app.protocol.version` in v1.17 -> `net.protocol.version` in v1.20 -> `network.protocol.version` in v1.21) | -| `messaging.rabbitmq.routing_key` | `messaging.rabbitmq.destination.routing_key` | -| `messaging.rocketmq.message_keys` | `messaging.rocketmq.message.keys` | -| `messaging.rocketmq.message_tag` | `messaging.rocketmq.message.tag` | -| `messaging.rocketmq.message_type` | `messaging.rocketmq.message.type` | -| `messaging.temp_destination` | `messaging.destination.temporary` | - -## v1.19.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `browser.user_agent` | `user_agent.original` | -| `faas.execution` | `faas.invocation_id` | -| `faas.id` | `cloud.resource_id` | -| `http.user_agent` | `user_agent.original` | - -## v1.20.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `net.app.protocol.name` | `network.protocol.name` (via `net.protocol.name` in v1.20 then renamed in v1.21) | -| `net.app.protocol.version` | `network.protocol.version` (via `net.protocol.version` in v1.20 then renamed in v1.21) | - -## v1.21.0 - -The great HTTP/network rename. - -| Old | v1.40.0 Name | -|-----|-------------| -| `http.client_ip` | `client.address` | -| `http.method` | `http.request.method` | -| `http.request_content_length` | `http.request.body.size` | -| `http.response_content_length` | `http.response.body.size` | -| `http.scheme` | `url.scheme` | -| `http.status_code` | `http.response.status_code` | -| `http.url` | `url.full` | -| `messaging.kafka.client_id` | `messaging.client.id` (via `messaging.client_id` in v1.21 then renamed in v1.26) | -| `messaging.rocketmq.client_id` | `messaging.client.id` (via `messaging.client_id` in v1.21 then renamed in v1.26) | -| `net.host.carrier.icc` | `network.carrier.icc` | -| `net.host.carrier.mcc` | `network.carrier.mcc` | -| `net.host.carrier.mnc` | `network.carrier.mnc` | -| `net.host.carrier.name` | `network.carrier.name` | -| `net.host.connection.subtype` | `network.connection.subtype` | -| `net.host.connection.type` | `network.connection.type` | -| `net.host.name` | `server.address` | -| `net.host.port` | `server.port` | -| `net.protocol.name` | `network.protocol.name` | -| `net.protocol.version` | `network.protocol.version` | -| `net.sock.host.addr` | `server.socket.address` | -| `net.sock.host.port` | `server.socket.port` | -| `net.sock.peer.name` | `server.socket.domain` | - -| Old Metric | v1.40.0 Metric | -|-----------|---------------| -| `process.runtime.jvm.cpu.utilization` | `jvm.cpu.recent_utilization` (via `process.runtime.jvm.cpu.recent_utilization` in v1.21 then renamed in v1.22) | - -## v1.22.0 - -The JVM and system restructure. - -**Attribute renames (27):** - -| Old | v1.40.0 Name | -|-----|-------------| -| `http.resend_count` | `http.request.resend_count` | -| `messaging.message.payload_size_bytes` | `messaging.message.body.size` | -| `telemetry.auto.version` | `telemetry.distro.version` | - -Plus 24 context-dependent renames (`state`, `type`, `direction`, `device`, `pool`, `name`, `action`, etc.) that now carry their domain prefix (e.g. `state` -> `system.cpu.state` -> `cpu.mode` in v1.27). - -**Metric renames (21):** - -| Old Metric | v1.40.0 Metric | -|-----------|---------------| -| `http.client.duration` | `http.client.request.duration` | -| `http.server.duration` | `http.server.request.duration` | -| `http.server.request.size` | `http.server.request.body.size` | -| `http.server.response.size` | `http.server.response.body.size` | -| `process.runtime.jvm.buffer.count` | `jvm.buffer.count` | -| `process.runtime.jvm.buffer.limit` | `jvm.buffer.memory.limit` | -| `process.runtime.jvm.buffer.usage` | `jvm.buffer.memory.used` (via `jvm.buffer.memory.usage` in v1.22 then renamed in v1.27) | -| `process.runtime.jvm.classes.current_loaded` | `jvm.class.count` | -| `process.runtime.jvm.classes.loaded` | `jvm.class.loaded` | -| `process.runtime.jvm.classes.unloaded` | `jvm.class.unloaded` | -| `process.runtime.jvm.cpu.recent_utilization` | `jvm.cpu.recent_utilization` | -| `process.runtime.jvm.cpu.time` | `jvm.cpu.time` | -| `process.runtime.jvm.gc.duration` | `jvm.gc.duration` | -| `process.runtime.jvm.memory.committed` | `jvm.memory.committed` | -| `process.runtime.jvm.memory.init` | `jvm.memory.init` | -| `process.runtime.jvm.memory.limit` | `jvm.memory.limit` | -| `process.runtime.jvm.memory.usage` | `jvm.memory.used` (via `jvm.memory.usage` in v1.22 then renamed in v1.24) | -| `process.runtime.jvm.memory.usage_after_last_gc` | `jvm.memory.used_after_last_gc` (via `jvm.memory.usage_after_last_gc` in v1.22 then renamed in v1.24) | -| `process.runtime.jvm.system.cpu.load_1m` | `jvm.system.cpu.load_1m` | -| `process.runtime.jvm.system.cpu.utilization` | `jvm.system.cpu.utilization` | -| `process.runtime.jvm.threads.count` | `jvm.thread.count` | - -## v1.23.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `thread.daemon` | `jvm.thread.daemon` | - -## v1.24.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `system.disk.io.direction` | `disk.io.direction` | -| `system.network.io.direction` | `network.io.direction` | - -| Old Metric | v1.40.0 Metric | -|-----------|---------------| -| `jvm.memory.usage` | `jvm.memory.used` | -| `jvm.memory.usage_after_last_gc` | `jvm.memory.used_after_last_gc` | - -## v1.25.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `container.labels` | `container.label` | -| `db.cassandra.table` | `db.collection.name` | -| `db.cosmosdb.container` | `db.collection.name` | -| `db.mongodb.collection` | `db.collection.name` | -| `db.name` | `db.namespace` | -| `db.operation` | `db.operation.name` | -| `db.sql.table` | `db.collection.name` | -| `db.statement` | `db.query.text` | -| `k8s.pod.labels` | `k8s.pod.label` | -| `messaging.kafka.destination.partition` | `messaging.destination.partition.id` | -| `messaging.operation` | `messaging.operation.type` | - -| Old Metric | v1.40.0 Metric | -|-----------|---------------| -| `process.open_file_descriptors` | `process.unix.file_descriptor.count` (via `process.open_file_descriptor.count` in v1.25 then renamed in v1.39) | -| `process.threads` | `process.thread.count` | -| `system.processes.count` | `system.process.count` | -| `system.processes.created` | `system.process.created` | - -## v1.26.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `enduser.id` | `user.id` | -| `messaging.client_id` | `messaging.client.id` | -| `pool.name` | `db.client.connection.pool.name` (via `db.client.connections.pool.name` in v1.26 then renamed in v1.27) | -| `state` | `db.client.connection.state` (via `db.client.connections.state` in v1.26 then renamed in v1.27) | - -| Old Metric | v1.40.0 Metric | -|-----------|---------------| -| `db.client.connections.idle.max` | `db.client.connection.idle.max` | -| `db.client.connections.idle.min` | `db.client.connection.idle.min` | -| `db.client.connections.max` | `db.client.connection.max` | -| `db.client.connections.pending_requests` | `db.client.connection.pending_requests` | -| `db.client.connections.timeouts` | `db.client.connection.timeouts` | -| `db.client.connections.usage` | `db.client.connection.count` | - -## v1.27.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `container.cpu.state` | `cpu.mode` | -| `db.client.connections.pool.name` | `db.client.connection.pool.name` | -| `db.client.connections.state` | `db.client.connection.state` | -| `db.elasticsearch.cluster.name` | `db.namespace` | -| `deployment.environment` | `deployment.environment.name` | -| `gen_ai.usage.completion_tokens` | `gen_ai.usage.output_tokens` | -| `gen_ai.usage.prompt_tokens` | `gen_ai.usage.input_tokens` | -| `messaging.eventhubs.consumer.group` | `messaging.consumer.group.name` | -| `messaging.kafka.consumer.group` | `messaging.consumer.group.name` | -| `messaging.kafka.message.offset` | `messaging.kafka.offset` | -| `messaging.rocketmq.client_group` | `messaging.consumer.group.name` | -| `messaging.servicebus.destination.subscription_name` | `messaging.destination.subscription.name` | -| `process.cpu.state` | `cpu.mode` | -| `system.cpu.state` | `cpu.mode` | -| `tls.client.server_name` | `server.address` | - -| Old Metric | v1.40.0 Metric | -|-----------|---------------| -| `jvm.buffer.memory.usage` | `jvm.buffer.memory.used` | -| `messaging.publish.messages` | `messaging.client.sent.messages` (via `messaging.client.published.messages` in v1.27 then renamed in v1.28) | - -## v1.28.0 - -| Old Metric | v1.40.0 Metric | -|-----------|---------------| -| `messaging.client.published.messages` | `messaging.client.sent.messages` | - -## v1.29.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `process.executable.build_id.profiling` | `process.executable.build_id.htlhash` | -| `system.device` | `network.interface.name` | -| `vcs.repository.change.id` | `vcs.change.id` | -| `vcs.repository.change.title` | `vcs.change.title` | -| `vcs.repository.ref.name` | `vcs.ref.head.name` | -| `vcs.repository.ref.revision` | `vcs.ref.head.revision` | -| `vcs.repository.ref.type` | `vcs.ref.head.type` | - -## v1.30.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `code.column` | `code.column.number` | -| `code.filepath` | `code.file.path` | -| `code.function` | `code.function.name` | -| `code.lineno` | `code.line.number` | -| `db.cassandra.consistency_level` | `cassandra.consistency.level` | -| `db.cassandra.coordinator.dc` | `cassandra.coordinator.dc` | -| `db.cassandra.coordinator.id` | `cassandra.coordinator.id` | -| `db.cassandra.idempotence` | `cassandra.query.idempotent` | -| `db.cassandra.page_size` | `cassandra.page.size` | -| `db.cassandra.speculative_execution_count` | `cassandra.speculative_execution.count` | -| `db.cosmosdb.client_id` | `azure.client.id` | -| `db.cosmosdb.connection_mode` | `azure.cosmosdb.connection.mode` | -| `db.cosmosdb.consistency_level` | `azure.cosmosdb.consistency.level` | -| `db.cosmosdb.regions_contacted` | `azure.cosmosdb.operation.contacted_regions` | -| `db.cosmosdb.request_charge` | `azure.cosmosdb.operation.request_charge` | -| `db.cosmosdb.request_content_length` | `azure.cosmosdb.request.body.size` | -| `db.cosmosdb.sub_status_code` | `azure.cosmosdb.response.sub_status_code` | -| `db.elasticsearch.node.name` | `elasticsearch.node.name` | -| `db.system` | `db.system.name` | -| `gen_ai.openai.request.seed` | `gen_ai.request.seed` | -| `system.network.state` | `network.connection.state` | - -| Old Metric | v1.40.0 Metric | -|-----------|---------------| -| `db.client.cosmosdb.active_instance.count` | `azure.cosmosdb.client.active_instance.count` | -| `db.client.cosmosdb.operation.request_charge` | `azure.cosmosdb.client.operation.request_charge` | - -## v1.31.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `android.state` | `android.app.state` | -| `io.state` | `ios.app.state` | -| `system.cpu.logical_number` | `cpu.logical_number` | - -| Old Metric | v1.40.0 Metric | -|-----------|---------------| -| `k8s.replication_controller.available_pods` | `k8s.replicationcontroller.pod.available` (renamed again in v1.38) | -| `k8s.replication_controller.desired_pods` | `k8s.replicationcontroller.pod.desired` (renamed again in v1.38) | -| `system.cpu.frequency` | `system.cpu.frequency` (renamed to `cpu.frequency` in v1.31, renamed back in v1.34) | -| `system.cpu.time` | `system.cpu.time` (renamed to `cpu.time` in v1.31, renamed back in v1.34) | -| `system.cpu.utilization` | `system.cpu.utilization` (renamed to `cpu.utilization` in v1.31, renamed back in v1.34) | - -## v1.32.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `feature_flag.evaluation.reason` | `feature_flag.result.reason` | -| `feature_flag.variant` | `feature_flag.result.variant` | - -| Old Metric | v1.40.0 Metric | -|-----------|---------------| -| `otel.sdk.exporter.span.exported.count` | `otel.sdk.exporter.span.exported` | -| `otel.sdk.exporter.span.inflight.count` | `otel.sdk.exporter.span.inflight` | -| `otel.sdk.processor.span.processed.count` | `otel.sdk.processor.span.processed` | -| `otel.sdk.span.ended.count` | `otel.sdk.span.ended` | -| `otel.sdk.span.live.count` | `otel.sdk.span.live` | - -## v1.33.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `feature_flag.evaluation.error.message` | `feature_flag.error.message` (renamed to `error.message` in v1.33, then to `feature_flag.error.message` in v1.40) | -| `feature_flag.provider_name` | `feature_flag.provider.name` | - -## v1.34.0 - -Reverted the v1.31 cpu metric renames. - -| Old Metric | v1.40.0 Metric | -|-----------|---------------| -| `cpu.frequency` | `system.cpu.frequency` | -| `cpu.time` | `system.cpu.time` | -| `cpu.utilization` | `system.cpu.utilization` | - -## v1.35.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `az.namespace` | `azure.resource_provider.namespace` | -| `az.service_request_id` | `azure.service.request.id` | - -| Old Metric | v1.40.0 Metric | -|-----------|---------------| -| `system.network.connections` | `system.network.connection.count` | - -## v1.37.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `container.runtime` | `container.runtime.name` | -| `enduser.role` | `user.roles` | -| `gen_ai.openai.request.service_tier` | `openai.request.service_tier` | -| `gen_ai.openai.response.service_tier` | `openai.response.service_tier` | -| `gen_ai.openai.response.system_fingerprint` | `openai.response.system_fingerprint` | -| `gen_ai.system` | `gen_ai.provider.name` | - -## v1.38.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `process.context_switch_type` | `process.context_switch.type` | -| `process.paging.fault_type` | `system.paging.fault.type` | -| `system.paging.type` | `system.paging.fault.type` | -| `system.process.status` | `process.state` | -| `system.processes.status` | `process.state` | - -**Metric renames (32)** — the k8s restructure: - -| Old Metric | v1.40.0 Metric | -|-----------|---------------| -| `k8s.cronjob.active_jobs` | `k8s.cronjob.job.active` | -| `k8s.daemonset.current_scheduled_nodes` | `k8s.daemonset.node.current_scheduled` | -| `k8s.daemonset.desired_scheduled_nodes` | `k8s.daemonset.node.desired_scheduled` | -| `k8s.daemonset.misscheduled_nodes` | `k8s.daemonset.node.misscheduled` | -| `k8s.daemonset.ready_nodes` | `k8s.daemonset.node.ready` | -| `k8s.deployment.available_pods` | `k8s.deployment.pod.available` | -| `k8s.deployment.desired_pods` | `k8s.deployment.pod.desired` | -| `k8s.hpa.current_pods` | `k8s.hpa.pod.current` | -| `k8s.hpa.desired_pods` | `k8s.hpa.pod.desired` | -| `k8s.hpa.max_pods` | `k8s.hpa.pod.max` | -| `k8s.hpa.min_pods` | `k8s.hpa.pod.min` | -| `k8s.job.active_pods` | `k8s.job.pod.active` | -| `k8s.job.desired_successful_pods` | `k8s.job.pod.desired_successful` | -| `k8s.job.failed_pods` | `k8s.job.pod.failed` | -| `k8s.job.max_parallel_pods` | `k8s.job.pod.max_parallel` | -| `k8s.job.successful_pods` | `k8s.job.pod.successful` | -| `k8s.node.allocatable.cpu` | `k8s.node.cpu.allocatable` | -| `k8s.node.allocatable.ephemeral_storage` | `k8s.node.ephemeral_storage.allocatable` | -| `k8s.node.allocatable.memory` | `k8s.node.memory.allocatable` | -| `k8s.node.allocatable.pods` | `k8s.node.pod.allocatable` | -| `k8s.replicaset.available_pods` | `k8s.replicaset.pod.available` | -| `k8s.replicaset.desired_pods` | `k8s.replicaset.pod.desired` | -| `k8s.replicationcontroller.available_pods` | `k8s.replicationcontroller.pod.available` | -| `k8s.replicationcontroller.desired_pods` | `k8s.replicationcontroller.pod.desired` | -| `k8s.statefulset.current_pods` | `k8s.statefulset.pod.current` | -| `k8s.statefulset.desired_pods` | `k8s.statefulset.pod.desired` | -| `k8s.statefulset.ready_pods` | `k8s.statefulset.pod.ready` | -| `k8s.statefulset.updated_pods` | `k8s.statefulset.pod.updated` | -| `v8js.heap.space.available_size` | `v8js.memory.heap.space.available_size` | -| `v8js.heap.space.physical_size` | `v8js.memory.heap.space.physical_size` | - -## v1.39.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `linux.memory.slab.state` | `system.memory.linux.slab.state` | -| `peer.service` | `service.peer.name` | -| `rpc.connect_rpc.error_code` | `rpc.response.status_code` | -| `rpc.connect_rpc.request.metadata` | `rpc.request.metadata` | -| `rpc.connect_rpc.response.metadata` | `rpc.response.metadata` | -| `rpc.grpc.request.metadata` | `rpc.request.metadata` | -| `rpc.grpc.response.metadata` | `rpc.response.metadata` | -| `rpc.jsonrpc.request_id` | `jsonrpc.request.id` | -| `rpc.jsonrpc.version` | `jsonrpc.protocol.version` | -| `rpc.system` | `rpc.system.name` | - -| Old Metric | v1.40.0 Metric | -|-----------|---------------| -| `process.open_file_descriptor.count` | `process.unix.file_descriptor.count` | -| `system.linux.memory.available` | `system.memory.linux.available` | -| `system.linux.memory.slab.usage` | `system.memory.linux.slab.usage` | - -## v1.40.0 - -| Old | v1.40.0 Name | -|-----|-------------| -| `feature_flag.evaluation.error.message` | `feature_flag.error.message` | - -| Old Metric | v1.40.0 Metric | -|-----------|---------------| -| `system.memory.shared` | `system.memory.linux.shared` | - ---- - -## Totals - -- **~170 attribute renames** across 21 versions -- **~90 metric renames** across 14 versions -- Schema URL: `https://opentelemetry.io/schemas/1.40.0` -- Schema source: [schemas/1.40.0](https://github.com/open-telemetry/semantic-conventions/blob/main/schemas/1.40.0) diff --git a/eng/semconv/generate-semconv.ts b/eng/semconv/generate-semconv.ts deleted file mode 100644 index cfd420aad..000000000 --- a/eng/semconv/generate-semconv.ts +++ /dev/null @@ -1,921 +0,0 @@ -#!/usr/bin/env npx tsx -/** - * OTel Semantic Conventions Generator - * - * Generates TypeScript, C#, TypeSpec, and DuckDB column definitions from - * @opentelemetry/semantic-conventions NPM package. - * - * Usage: - * npm run generate # Generate all outputs - * npm run generate:ts # TypeScript only - * npm run generate:cs # C# only - * npm run generate:tsp # TypeSpec only - * npm run generate:sql # DuckDB only - */ - -import * as fs from "fs"; -import * as path from "path"; -import {fileURLToPath} from "url"; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -// ============================================================================ -// Types -// ============================================================================ - -interface Attribute { - exportName: string; // ATTR_GEN_AI_SYSTEM - value: string; // "gen_ai.system" -} - -interface EnumValue { - attributePrefix: string; // GEN_AI_SYSTEM - exportName: string; // GEN_AI_SYSTEM_VALUE_OPENAI - memberName: string; // OPENAI - value: string; // "openai" -} - -interface ParsedData { - version: string; - attributes: Attribute[]; - attrMap: Map; - enums: Map; // grouped by attributePrefix -} - -// Protocol facade types (driven by qyl-extensions.json) -interface FacadeEnumDef { - upstream?: string; - summary?: string; - extensions?: Record; - values?: Record; -} - -interface FacadeCustomClass { - summary?: string; - values: Record; -} - -interface FacadeConfig { - className: string; - namespace: string; - output: string; - description: string; - upstreamPrefix: string; - metadata?: Record; - attributes: string[]; - propertyOverrides?: Record; - crossCutting?: Record; - enums?: Record; - customClasses?: Record; -} - -interface ExtensionsConfig { - facades: FacadeConfig[]; -} - -// ============================================================================ -// Configuration -// ============================================================================ - -const CONFIG = { - // Filter to only include these prefixes (empty = all) - includePrefixes: [ - // AI - "gen_ai", "code", - // Transport - "http", "rpc", "messaging", "url", "user_agent", "signalr", "kestrel", - // Data - "db", "file", "vcs", "artifact", "elasticsearch", - // Infra - "cloud", "container", "k8s", "host", "os", "faas", "webengine", - // Security - "network", "tls", "dns", - // Runtime - "process", "thread", "system", "dotnet", "aspnetcore", - // Identity - "user", "enduser", "geo", "client", "server", "service", "telemetry", - // Observe - "browser", "session", "exception", "error", "log", "feature_flag", "otel", "test", - // Profiling (v1development, Development stability) - "profile", "pprof", - // Ops - "cicd", "deployment", - // Vendor AI - "openai", "azure", - // Vendor DB / Cloud - "oracle", "oracle_cloud", - ], - - // Output paths (relative to this script) - Direct to final destinations. - // C# const + UTF-8 targets dropped 2026-04-21: zero callers in src/. The facades - // under src/qyl.contracts/Attributes/ (emitted by generateProtocolFacades) carry - // everything we still consume. Semconv literal keys inline at call sites. - outputs: { - typescript: "../../src/qyl.dashboard/src/lib/semconv.ts", - typespec: "../../core/specs/generated/semconv.g.tsp", - duckdb: "../../src/qyl.collector/Storage/promoted-columns.g.sql", - }, - - // TypeSpec reserved keywords that need escaping - typespecReservedKeywords: new Set([ - "namespace", "model", "interface", "enum", "union", "alias", - "scalar", "op", "using", "import", "is", "extends", "unknown", - "void", "never", "null", "true", "false", "if", "else", "return", - ]), - - // C# namespace - csharpNamespace: "Qyl.Instrumentation.Instrumentation", - - // TypeSpec namespace - typespecNamespace: "OTel.SemConv", - - // DuckDB type mappings based on attribute suffix - duckDbTypes: new Map([ - ["_tokens", "BIGINT"], - ["_count", "BIGINT"], - ["_size", "BIGINT"], - ["_duration", "DOUBLE"], - ["_temperature", "DOUBLE"], - ["_top_p", "DOUBLE"], - ["_top_k", "BIGINT"], - ["_max_tokens", "BIGINT"], - ["_seed", "BIGINT"], - ["_frequency_penalty", "DOUBLE"], - ["_presence_penalty", "DOUBLE"], - ]), - - // TypeSpec type mappings based on attribute suffix - typespecTypes: new Map([ - ["_tokens", "int64"], - ["_count", "int64"], - ["_size", "int64"], - ["_duration", "float64"], - ["_temperature", "float64"], - ["_top_p", "float64"], - ["_top_k", "int64"], - ["_max_tokens", "int64"], - ["_seed", "int64"], - ["_frequency_penalty", "float64"], - ["_presence_penalty", "float64"], - ["_port", "int32"], - ["_pid", "int32"], - ["_bytes", "int64"], - ["_length", "int64"], - ]), -}; - -// ============================================================================ -// Parser -// ============================================================================ - -function getPackageVersion(): string { - const pkgPath = path.join( - __dirname, - "node_modules/@opentelemetry/semantic-conventions/package.json" - ); - const pkg = JSON.parse(fs.readFileSync(pkgPath, "utf-8")); - return pkg.version; -} - -function parseDeclarationFile(filePath: string): { - attrs: Attribute[]; - enums: EnumValue[]; -} { - const content = fs.readFileSync(filePath, "utf-8"); - const attrs: Attribute[] = []; - const enums: EnumValue[] = []; - - // Match: export declare const ATTR_GEN_AI_SYSTEM: "gen_ai.system"; - // Also: export const ATTR_GEN_AI_SYSTEM = 'gen_ai.system'; - const attrRegex = - /export\s+(?:declare\s+)?const\s+(ATTR_[A-Z0-9_]+)\s*(?::\s*['"]([^'"]+)['"]|=\s*['"]([^'"]+)['"])/g; - let match: RegExpExecArray | null; - while ((match = attrRegex.exec(content)) !== null) { - attrs.push({ - exportName: match[1], - value: match[2] || match[3], // Type annotation or assignment - }); - } - - // Match enum values: export declare const GEN_AI_SYSTEM_VALUE_OPENAI: "openai"; - // Also: export const GEN_AI_SYSTEM_VALUE_OPENAI = 'openai'; - const enumRegex = - /export\s+(?:declare\s+)?const\s+([A-Z0-9_]+)_VALUE_([A-Z0-9_]+)\s*(?::\s*['"]([^'"]+)['"]|=\s*['"]([^'"]+)['"])/g; - while ((match = enumRegex.exec(content)) !== null) { - enums.push({ - attributePrefix: match[1], - exportName: `${match[1]}_VALUE_${match[2]}`, - memberName: match[2], - value: match[3] || match[4], // Type annotation or assignment - }); - } - - return {attrs, enums}; -} - -function parse(): ParsedData { - const version = getPackageVersion(); - - // Parse all .d.ts files in the package - const semconvDir = path.join( - __dirname, - "node_modules/@opentelemetry/semantic-conventions/build/src" - ); - - const allAttrs: Attribute[] = []; - const allEnums: EnumValue[] = []; - - function walkDir(dir: string) { - const files = fs.readdirSync(dir); - for (const file of files) { - const fullPath = path.join(dir, file); - const stat = fs.statSync(fullPath); - if (stat.isDirectory()) { - walkDir(fullPath); - } else if (file.endsWith(".d.ts")) { - const {attrs, enums} = parseDeclarationFile(fullPath); - allAttrs.push(...attrs); - allEnums.push(...enums); - } - } - } - - walkDir(semconvDir); - - // Filter by prefix if configured - const filteredAttrs = - CONFIG.includePrefixes.length > 0 - ? allAttrs.filter((a) => - CONFIG.includePrefixes.some((p) => a.value.startsWith(p)) - ) - : allAttrs; - - const filteredEnums = - CONFIG.includePrefixes.length > 0 - ? allEnums.filter((e) => - CONFIG.includePrefixes.some((p) => { - // Normalize both to use underscores for consistent comparison - const normalizedPrefix = p.replace(/\./g, "_"); - const enumPrefixNormalized = e.attributePrefix.toLowerCase(); - return e.value.startsWith(p) || - e.value.startsWith(normalizedPrefix) || - enumPrefixNormalized.startsWith(normalizedPrefix); - }) - ) - : allEnums; - - // Group enums by attribute prefix - const enumMap = new Map(); - for (const e of filteredEnums) { - const group = enumMap.get(e.attributePrefix) || []; - group.push(e); - enumMap.set(e.attributePrefix, group); - } - - // Dedupe attributes by value - const seenValues = new Set(); - const dedupedAttrs = filteredAttrs.filter((a) => { - if (seenValues.has(a.value)) return false; - seenValues.add(a.value); - return true; - }); - - // Sort for consistent output - dedupedAttrs.sort((a, b) => a.value.localeCompare(b.value)); - - // O(1) lookup by attribute value - const attrMap = new Map(dedupedAttrs.map(a => [a.value, a])); - - console.log( - ` Found ${dedupedAttrs.length} attributes, ${enumMap.size} enum groups` - ); - - return { - version, - attributes: dedupedAttrs, - attrMap, - enums: enumMap, - }; -} - -// ============================================================================ -// TypeScript Generator -// ============================================================================ - -function generateTypeScript(data: ParsedData): string { - const lines: string[] = [ - `// `, - `// Generated from @opentelemetry/semantic-conventions v${data.version}`, - `// Do not edit manually - run 'npm run generate' in SemconvGenerator`, - ``, - `// Attribute keys`, - ]; - - // Group attributes by prefix for readability - const grouped = groupByPrefix(data.attributes.map((a) => a.value)); - - for (const [prefix, attrs] of grouped) { - lines.push(``); - lines.push(`// ${prefix}`); - for (const attr of attrs) { - const found = data.attrMap.get(attr); - if (found) { - lines.push(`export const ${attrToConstName(found.value)} = "${found.value}";`); - } - } - } - - // Enum values as objects - if (data.enums.size > 0) { - lines.push(``); - lines.push(`// Enum values`); - - for (const [prefix, values] of data.enums) { - const enumName = snakeToPascal(prefix) + "Values"; - lines.push(`export const ${enumName} = {`); - for (const v of values) { - const memberName = snakeToPascal(v.memberName); - lines.push(` ${memberName}: "${v.value}",`); - } - lines.push(`} as const;`); - lines.push(``); - } - } - - return lines.join("\n"); -} - -// ============================================================================ -// TypeSpec Generator (Enhanced for QYL integration) -// ============================================================================ - -function generateTypeSpec(data: ParsedData): string { - const lines: string[] = [ - `// `, - `// Generated from @opentelemetry/semantic-conventions v${data.version}`, - `// Do not edit manually - run 'npm run generate:tsp' in SemconvGenerator`, - `//`, - `// Usage in your TypeSpec files:`, - `// import "./semconv.g.tsp";`, - `// using ${CONFIG.typespecNamespace};`, - `//`, - `// model MySpan {`, - `// @encodedName("application/json", Keys.GenAi.providerName)`, - `// provider: GenAiProviderNameValue;`, - `// }`, - ``, - `import "@typespec/http";`, - ``, - `using TypeSpec.Http;`, - ``, - `namespace ${CONFIG.typespecNamespace};`, - ``, - `// ============================================================================`, - `// Common OTel Scalars (for type-safe attribute values)`, - `// ============================================================================`, - ``, - `/** 128-bit trace identifier (32 hex chars) */`, - `@minLength(32) @maxLength(32)`, - `@pattern("^[a-f0-9]{32}$")`, - `scalar TraceId extends string;`, - ``, - `/** 64-bit span identifier (16 hex chars) */`, - `@minLength(16) @maxLength(16)`, - `@pattern("^[a-f0-9]{16}$")`, - `scalar SpanId extends string;`, - ``, - `/** Token count (always int64 per semconv) */`, - `scalar TokenCount extends int64;`, - ``, - `/** Duration in seconds (float64) */`, - `scalar DurationSeconds extends float64;`, - ``, - `/** Duration in nanoseconds (int64) */`, - `scalar DurationNanos extends int64;`, - ``, - `/** Port number */`, - `@minValue(1) @maxValue(65535)`, - `scalar Port extends int32;`, - ``, - `/** Byte count */`, - `@minValue(0)`, - `scalar ByteCount extends int64;`, - ``, - ]; - - // Group attributes by top-level domain (gen_ai, http, db, etc.) - const domainGroups = groupByTopLevelPrefix(data.attributes.map(a => a.value)); - - // Build a map of attribute prefix -> enum values for quick lookup - const enumLookup = buildEnumLookup(data.enums); - - // ======================================================================== - // Generate Keys namespace with string constants - // ======================================================================== - lines.push(`// ============================================================================`); - lines.push(`// Attribute Key Constants (use with @encodedName)`); - lines.push(`// ============================================================================`); - lines.push(`// Example: @encodedName("application/json", Keys.GenAi.providerName)`); - lines.push(`// ============================================================================`); - lines.push(``); - lines.push(`namespace Keys {`); - - for (const [domain, attrs] of domainGroups) { - const nsName = prefixToClassName(domain); - lines.push(` /** ${domain}.* attribute keys */`); - lines.push(` namespace ${nsName} {`); - - for (const attr of attrs) { - const found = data.attrMap.get(attr); - if (found) { - const propName = attrToTypeSpecPropName(found.value, domain); - lines.push(` /** "${found.value}" */`); - // propName is already escaped by attrToTypeSpecPropName - lines.push(` alias ${propName} = "${found.value}";`); - } - } - - lines.push(` }`); - lines.push(``); - } - - lines.push(`}`); - lines.push(``); - - // ======================================================================== - // Generate enum union types (deduplicated) - // ======================================================================== - lines.push(`// ============================================================================`); - lines.push(`// Enum Value Types (union types for known values)`); - lines.push(`// ============================================================================`); - lines.push(``); - - // Track emitted enums to avoid duplicates - const emittedEnums = new Set(); - - for (const [enumPrefix, values] of data.enums) { - const enumName = prefixToClassName(enumPrefix.toLowerCase().replace(/_/g, ".")) + "Value"; - - // Skip if already emitted - if (emittedEnums.has(enumName)) { - continue; - } - emittedEnums.add(enumName); - - const attrKey = enumPrefix.toLowerCase().replace(/_/g, "."); - - lines.push(`/** Known values for ${attrKey} */`); - lines.push(`union ${enumName} {`); - - for (const v of values) { - const memberName = escapeTypeSpecKeyword(snakeToCamel(v.memberName)); - lines.push(` /** "${v.value}" */`); - lines.push(` ${memberName}: "${v.value}",`); - } - - lines.push(` /** Allow unknown/custom values */`); - lines.push(` string,`); - lines.push(`}`); - lines.push(``); - } - - // ======================================================================== - // Generate attribute models per domain - // ======================================================================== - for (const [domain, attrs] of domainGroups) { - const modelName = prefixToClassName(domain) + "Attributes"; - - lines.push(`// ============================================================================`); - lines.push(`// ${domain}.* Attributes Model`); - lines.push(`// ============================================================================`); - lines.push(``); - - lines.push(`/** Semantic convention attributes for ${domain}.* */`); - lines.push(`model ${modelName} {`); - - for (const attr of attrs) { - const found = data.attrMap.get(attr); - if (found) { - const propName = attrToTypeSpecPropName(found.value, domain); - const propType = inferTypeSpecType(found.value, enumLookup); - lines.push(` /** ${found.value} */`); - lines.push(` @encodedName("application/json", "${found.value}")`); - lines.push(` ${propName}?: ${propType};`); - lines.push(``); - } - } - - lines.push(`}`); - lines.push(``); - } - - // Note: Combined model (AllOTelAttributes) intentionally omitted due to - // property name collisions across domains (name, id, version, etc.) - // Use individual domain models instead: GenAiAttributes, DbAttributes, etc. - - return lines.join("\n"); -} - -function buildEnumLookup(enums: Map): Map { - // Map from attribute key pattern to enum type name - // e.g., "gen_ai.system" -> "GenAiSystemValue" - const lookup = new Map(); - - for (const [prefix] of enums) { - // Convert GEN_AI_SYSTEM -> gen_ai.system - const attrKey = prefix.toLowerCase().replace(/_/g, "."); - const enumName = prefixToClassName(attrKey) + "Value"; - lookup.set(attrKey, enumName); - } - - return lookup; -} - - -function inferTypeSpecType(attrName: string, enumLookup: Map): string { - // Check if this attribute has known enum values - const enumType = enumLookup.get(attrName); - if (enumType) { - return enumType; - } - - // Check suffix mappings - for (const [suffix, type] of CONFIG.typespecTypes) { - if (attrName.endsWith(suffix)) { - return type; - } - } - - // Default to string - return "string"; -} - -function attrToTypeSpecPropName(attr: string, domain: string): string { - // gen_ai.request.model with domain gen_ai -> requestModel - // Remove the domain prefix and convert to camelCase - const withoutDomain = attr.startsWith(domain + ".") - ? attr.slice(domain.length + 1) - : attr; - - // Convert dots and underscores to camelCase - const parts = withoutDomain.split(/[._]/); - const identifier = parts - .map((p, i) => i === 0 ? p.toLowerCase() : p.charAt(0).toUpperCase() + p.slice(1).toLowerCase()) - .join(""); - - // Escape TypeSpec reserved keywords with backticks - return escapeTypeSpecKeyword(identifier); -} - -function snakeToCamel(snake: string): string { - const parts = snake.toLowerCase().split("_"); - return parts - .map((p, i) => i === 0 ? p : p.charAt(0).toUpperCase() + p.slice(1)) - .join(""); -} - -/** - * Escapes TypeSpec reserved keywords with backticks. - * e.g., "namespace" -> "`namespace`", "unknown" -> "`unknown`" - */ -function escapeTypeSpecKeyword(identifier: string): string { - if (CONFIG.typespecReservedKeywords.has(identifier)) { - return `\`${identifier}\``; - } - return identifier; -} - -// ============================================================================ -// DuckDB Generator -// ============================================================================ - -function generateDuckDb(data: ParsedData): string { - const lines: string[] = [ - `-- `, - `-- Generated from @opentelemetry/semantic-conventions v${data.version}`, - `-- Do not edit manually - run 'npm run generate' in SemconvGenerator`, - `--`, - `-- Promoted columns for fast queries (extracted from attributes_json)`, - `-- Include in CREATE TABLE statements as needed`, - ``, - ]; - - // Group attributes by prefix - const grouped = groupByPrefix(data.attributes.map((a) => a.value)); - - for (const [prefix, attrs] of grouped) { - lines.push(`-- ${prefix} attributes`); - - for (const attr of attrs) { - const columnName = attr.replace(/\./g, "_"); - const duckDbType = inferDuckDbType(attr); - lines.push(`${columnName} ${duckDbType},`); - } - - lines.push(``); - } - - return lines.join("\n"); -} - -function inferDuckDbType(attrName: string): string { - // Check suffix mappings - for (const [suffix, type] of CONFIG.duckDbTypes) { - if (attrName.endsWith(suffix)) { - return type; - } - } - // Default to VARCHAR - return "VARCHAR"; -} - -// ============================================================================ -// Contracts Facade Generator (qyl.contracts domain facades) -// ============================================================================ - -function generateProtocolFacades(data: ParsedData): void { - const configPath = path.join(__dirname, "qyl-extensions.json"); - if (!fs.existsSync(configPath)) { - console.warn(" qyl-extensions.json not found, skipping protocol facades"); - return; - } - - const config: ExtensionsConfig = JSON.parse(fs.readFileSync(configPath, "utf-8")); - - for (const facade of config.facades) { - const output = generateFacadeClass(data, facade); - const outputPath = path.join(__dirname, facade.output); - fs.mkdirSync(path.dirname(outputPath), {recursive: true}); - fs.writeFileSync(outputPath, output); - console.log(` ✓ Protocol facade: ${facade.output}`); - } -} - -function generateFacadeClass(data: ParsedData, facade: FacadeConfig): string { - const lines: string[] = []; - const version = data.version; - - // Header - lines.push(`// `); - lines.push(`// Generated from @opentelemetry/semantic-conventions v${version} + qyl-extensions.json`); - lines.push(`// Do not edit manually - run 'npm run generate:protocol' in eng/semconv`); - lines.push(``); - lines.push(`namespace ${facade.namespace};`); - lines.push(``); - - // Class summary - lines.push(`/// `); - const descResolved = facade.description.replace(/\{version}/g, version); - for (const descLine of descResolved.split("\n")) { - lines.push(`/// ${descLine}`); - } - lines.push(`/// `); - lines.push(`public static class ${facade.className}`); - lines.push(`{`); - - // Metadata constants (SchemaUrl, SourceName, etc.) - if (facade.metadata) { - for (const [name, template] of Object.entries(facade.metadata)) { - const value = template.replace(/\{version}/g, version); - lines.push(` /// ${name}.`); - lines.push(` public const string ${name} = "${value}";`); - lines.push(``); - } - } - - // Upstream attributes (flattened from the domain prefix) - for (const key of facade.attributes) { - const override = facade.propertyOverrides?.[key]; - const propName = override ?? attrToCSharpPropName(key, facade.upstreamPrefix); - - const found = data.attrMap.get(key); - if (!found) { - console.warn(` ⚠ '${key}' not found in upstream v${version}`); - } - - lines.push(` /// ${key}`); - lines.push(` public const string ${propName} = "${key}";`); - lines.push(``); - } - - // Cross-cutting attributes (from other namespaces) - if (facade.crossCutting) { - for (const [propName, key] of Object.entries(facade.crossCutting)) { - lines.push(` /// ${key}`); - lines.push(` public const string ${propName} = "${key}";`); - lines.push(``); - } - } - - // Nested enum classes - if (facade.enums) { - for (const [className, enumDef] of Object.entries(facade.enums)) { - const summary = enumDef.summary ?? `Well-known ${className.toLowerCase()} values.`; - lines.push(` /// ${summary}`); - lines.push(` public static class ${className}`); - lines.push(` {`); - - // Upstream enum values (auto-named via snakeToPascal) - if (enumDef.upstream) { - const upstreamValues = data.enums.get(enumDef.upstream) ?? []; - if (upstreamValues.length === 0) { - console.warn(` ⚠ No upstream enum values for '${enumDef.upstream}'`); - } - for (const v of upstreamValues) { - const memberName = snakeToPascal(v.memberName); - lines.push(` /// ${v.value}`); - lines.push(` public const string ${memberName} = "${v.value}";`); - lines.push(``); - } - - // Extension values after upstream - if (enumDef.extensions) { - lines.push(` // qyl extensions`); - lines.push(``); - for (const [prop, val] of Object.entries(enumDef.extensions)) { - lines.push(` /// ${val}`); - lines.push(` public const string ${prop} = "${val}";`); - lines.push(``); - } - } - } - - // Fully custom values (no upstream) - if (enumDef.values) { - for (const [prop, val] of Object.entries(enumDef.values)) { - lines.push(` /// ${val}`); - lines.push(` public const string ${prop} = "${val}";`); - lines.push(``); - } - } - - lines.push(` }`); - lines.push(``); - } - } - - // Nested custom classes (Metrics, Events, Deprecated) - if (facade.customClasses) { - for (const [className, classDef] of Object.entries(facade.customClasses)) { - const summary = classDef.summary ?? `${className} constants.`; - lines.push(` /// ${summary}`); - lines.push(` public static class ${className}`); - lines.push(` {`); - - for (const [prop, val] of Object.entries(classDef.values)) { - lines.push(` /// ${val}`); - lines.push(` public const string ${prop} = "${val}";`); - lines.push(``); - } - - lines.push(` }`); - lines.push(``); - } - } - - lines.push(`}`); - lines.push(``); - - return lines.join("\n"); -} - -// ============================================================================ -// Helpers -// ============================================================================ - -function groupByPrefix(values: string[]): Map { - const groups = new Map(); - for (const v of values) { - const parts = v.split("."); - const prefix = parts.slice(0, 2).join("."); // e.g., "gen_ai" - const group = groups.get(prefix) || []; - group.push(v); - groups.set(prefix, group); - } - return groups; -} - -function groupByTopLevelPrefix(values: string[]): Map { - const groups = new Map(); - for (const v of values) { - const parts = v.split("."); - // Use first part only: gen_ai.request.model -> gen_ai - const prefix = parts[0]; - const group = groups.get(prefix) || []; - group.push(v); - groups.set(prefix, group); - } - return groups; -} - -function attrToConstName(attr: string): string { - // gen_ai.system -> GEN_AI_SYSTEM - return attr.toUpperCase().replace(/\./g, "_"); -} - -function prefixToClassName(prefix: string): string { - // gen_ai -> GenAi - return prefix - .split(/[._]/) - .map((p) => p.charAt(0).toUpperCase() + p.slice(1).toLowerCase()) - .join(""); -} - -function attrToCSharpPropName(attr: string, prefix: string): string { - // gen_ai.request.model with prefix gen_ai -> RequestModel - // gen_ai.system with prefix gen_ai.system -> Value (fallback for exact match) - if (!attr || !prefix) { - // Fallback: PascalCase the full attribute name - return (attr ?? "Unknown").split(/[._]/).map(s => s.charAt(0).toUpperCase() + s.slice(1).toLowerCase()).join(""); - } - if (attr === prefix || attr.length <= prefix.length) { - // Extract last segment as the property name - const parts = attr.split("."); - const lastPart = parts[parts.length - 1]; - return lastPart.charAt(0).toUpperCase() + lastPart.slice(1).toLowerCase(); - } - const withoutPrefix = attr.slice(prefix.length + 1); // remove "gen_ai." - return withoutPrefix - .split(/[._]/) - .map((p) => p.charAt(0).toUpperCase() + p.slice(1).toLowerCase()) - .join(""); -} - -function snakeToPascal(snake: string): string { - return snake - .toLowerCase() - .split("_") - .map((p) => p.charAt(0).toUpperCase() + p.slice(1)) - .join(""); -} - - -// ============================================================================ -// Main -// ============================================================================ - -function parseArg(args: string[], name: string): string | undefined { - const prefix = `--${name}=`; - const arg = args.find(a => a.startsWith(prefix)); - return arg ? arg.slice(prefix.length) : undefined; -} - -function main() { - const args = process.argv.slice(2); - const tsOnly = args.includes("--ts-only"); - const tspOnly = args.includes("--tsp-only"); - const sqlOnly = args.includes("--sql-only"); - const protocolOnly = args.includes("--protocol-only"); - const generateAll = !tsOnly && !tspOnly && !sqlOnly && !protocolOnly; - - // Optional overrides - const namespaceOverride = parseArg(args, "namespace"); - const outputOverride = parseArg(args, "output"); - - console.log("Parsing @opentelemetry/semantic-conventions..."); - const data = parse(); - - if (generateAll || tsOnly) { - const ts = generateTypeScript(data); - const tsPath = path.join(__dirname, CONFIG.outputs.typescript); - fs.mkdirSync(path.dirname(tsPath), {recursive: true}); - fs.writeFileSync(tsPath, ts); - console.log(`✓ Generated ${CONFIG.outputs.typescript}`); - } - - if (generateAll || tspOnly) { - // Use override namespace if provided - const originalNamespace = CONFIG.typespecNamespace; - if (namespaceOverride) { - CONFIG.typespecNamespace = namespaceOverride; - } - - const tsp = generateTypeSpec(data); - const tspPath = outputOverride - ? path.join(__dirname, outputOverride) - : path.join(__dirname, CONFIG.outputs.typespec); - fs.mkdirSync(path.dirname(tspPath), {recursive: true}); - fs.writeFileSync(tspPath, tsp); - console.log(`✓ Generated ${tspPath.replace(__dirname + "/", "")}`); - - // Restore - CONFIG.typespecNamespace = originalNamespace; - } - - if (generateAll || sqlOnly) { - const sql = generateDuckDb(data); - const sqlPath = path.join(__dirname, CONFIG.outputs.duckdb); - fs.mkdirSync(path.dirname(sqlPath), {recursive: true}); - fs.writeFileSync(sqlPath, sql); - console.log(`✓ Generated ${CONFIG.outputs.duckdb}`); - } - - if (generateAll || protocolOnly) { - generateProtocolFacades(data); - } - - console.log("Done!"); -} - -main(); diff --git a/eng/semconv/package-lock.json b/eng/semconv/package-lock.json deleted file mode 100644 index 416133f61..000000000 --- a/eng/semconv/package-lock.json +++ /dev/null @@ -1,601 +0,0 @@ -{ - "name": "@qyl/semconv-generator", - "version": "1.0.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "@qyl/semconv-generator", - "version": "1.0.0", - "devDependencies": { - "@opentelemetry/semantic-conventions": "1.40.0", - "@types/node": "^25.1.0", - "tsx": "^4.21.0", - "typescript": "^5.9.3" - } - }, - "node_modules/@esbuild/aix-ppc64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.3.tgz", - "integrity": "sha512-9fJMTNFTWZMh5qwrBItuziu834eOCUcEqymSH7pY+zoMVEZg3gcPuBNxH1EvfVYe9h0x/Ptw8KBzv7qxb7l8dg==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "aix" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-arm": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.3.tgz", - "integrity": "sha512-i5D1hPY7GIQmXlXhs2w8AWHhenb00+GxjxRncS2ZM7YNVGNfaMxgzSGuO8o8SJzRc/oZwU2bcScvVERk03QhzA==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.3.tgz", - "integrity": "sha512-YdghPYUmj/FX2SYKJ0OZxf+iaKgMsKHVPF1MAq/P8WirnSpCStzKJFjOjzsW0QQ7oIAiccHdcqjbHmJxRb/dmg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.3.tgz", - "integrity": "sha512-IN/0BNTkHtk8lkOM8JWAYFg4ORxBkZQf9zXiEOfERX/CzxW3Vg1ewAhU7QSWQpVIzTW+b8Xy+lGzdYXV6UZObQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/darwin-arm64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.3.tgz", - "integrity": "sha512-Re491k7ByTVRy0t3EKWajdLIr0gz2kKKfzafkth4Q8A5n1xTHrkqZgLLjFEHVD+AXdUGgQMq+Godfq45mGpCKg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.3.tgz", - "integrity": "sha512-vHk/hA7/1AckjGzRqi6wbo+jaShzRowYip6rt6q7VYEDX4LEy1pZfDpdxCBnGtl+A5zq8iXDcyuxwtv3hNtHFg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.3.tgz", - "integrity": "sha512-ipTYM2fjt3kQAYOvo6vcxJx3nBYAzPjgTCk7QEgZG8AUO3ydUhvelmhrbOheMnGOlaSFUoHXB6un+A7q4ygY9w==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.3.tgz", - "integrity": "sha512-dDk0X87T7mI6U3K9VjWtHOXqwAMJBNN2r7bejDsc+j03SEjtD9HrOl8gVFByeM0aJksoUuUVU9TBaZa2rgj0oA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.3.tgz", - "integrity": "sha512-s6nPv2QkSupJwLYyfS+gwdirm0ukyTFNl3KTgZEAiJDd+iHZcbTPPcWCcRYH+WlNbwChgH2QkE9NSlNrMT8Gfw==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.3.tgz", - "integrity": "sha512-sZOuFz/xWnZ4KH3YfFrKCf1WyPZHakVzTiqji3WDc0BCl2kBwiJLCXpzLzUBLgmp4veFZdvN5ChW4Eq/8Fc2Fg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.3.tgz", - "integrity": "sha512-yGlQYjdxtLdh0a3jHjuwOrxQjOZYD/C9PfdbgJJF3TIZWnm/tMd/RcNiLngiu4iwcBAOezdnSLAwQDPqTmtTYg==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.3.tgz", - "integrity": "sha512-WO60Sn8ly3gtzhyjATDgieJNet/KqsDlX5nRC5Y3oTFcS1l0KWba+SEa9Ja1GfDqSF1z6hif/SkpQJbL63cgOA==", - "cpu": [ - "loong64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.3.tgz", - "integrity": "sha512-APsymYA6sGcZ4pD6k+UxbDjOFSvPWyZhjaiPyl/f79xKxwTnrn5QUnXR5prvetuaSMsb4jgeHewIDCIWljrSxw==", - "cpu": [ - "mips64el" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.3.tgz", - "integrity": "sha512-eizBnTeBefojtDb9nSh4vvVQ3V9Qf9Df01PfawPcRzJH4gFSgrObw+LveUyDoKU3kxi5+9RJTCWlj4FjYXVPEA==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.3.tgz", - "integrity": "sha512-3Emwh0r5wmfm3ssTWRQSyVhbOHvqegUDRd0WhmXKX2mkHJe1SFCMJhagUleMq+Uci34wLSipf8Lagt4LlpRFWQ==", - "cpu": [ - "riscv64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.3.tgz", - "integrity": "sha512-pBHUx9LzXWBc7MFIEEL0yD/ZVtNgLytvx60gES28GcWMqil8ElCYR4kvbV2BDqsHOvVDRrOxGySBM9Fcv744hw==", - "cpu": [ - "s390x" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-x64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.3.tgz", - "integrity": "sha512-Czi8yzXUWIQYAtL/2y6vogER8pvcsOsk5cpwL4Gk5nJqH5UZiVByIY8Eorm5R13gq+DQKYg0+JyQoytLQas4dA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/netbsd-arm64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.3.tgz", - "integrity": "sha512-sDpk0RgmTCR/5HguIZa9n9u+HVKf40fbEUt+iTzSnCaGvY9kFP0YKBWZtJaraonFnqef5SlJ8/TiPAxzyS+UoA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.3.tgz", - "integrity": "sha512-P14lFKJl/DdaE00LItAukUdZO5iqNH7+PjoBm+fLQjtxfcfFE20Xf5CrLsmZdq5LFFZzb5JMZ9grUwvtVYzjiA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openbsd-arm64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.3.tgz", - "integrity": "sha512-AIcMP77AvirGbRl/UZFTq5hjXK+2wC7qFRGoHSDrZ5v5b8DK/GYpXW3CPRL53NkvDqb9D+alBiC/dV0Fb7eJcw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.3.tgz", - "integrity": "sha512-DnW2sRrBzA+YnE70LKqnM3P+z8vehfJWHXECbwBmH/CU51z6FiqTQTHFenPlHmo3a8UgpLyH3PT+87OViOh1AQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openharmony-arm64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.3.tgz", - "integrity": "sha512-NinAEgr/etERPTsZJ7aEZQvvg/A6IsZG/LgZy+81wON2huV7SrK3e63dU0XhyZP4RKGyTm7aOgmQk0bGp0fy2g==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "openharmony" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.3.tgz", - "integrity": "sha512-PanZ+nEz+eWoBJ8/f8HKxTTD172SKwdXebZ0ndd953gt1HRBbhMsaNqjTyYLGLPdoWHy4zLU7bDVJztF5f3BHA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.3.tgz", - "integrity": "sha512-B2t59lWWYrbRDw/tjiWOuzSsFh1Y/E95ofKz7rIVYSQkUYBjfSgf6oeYPNWHToFRr2zx52JKApIcAS/D5TUBnA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.3.tgz", - "integrity": "sha512-QLKSFeXNS8+tHW7tZpMtjlNb7HKau0QDpwm49u0vUp9y1WOF+PEzkU84y9GqYaAVW8aH8f3GcBck26jh54cX4Q==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-x64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.3.tgz", - "integrity": "sha512-4uJGhsxuptu3OcpVAzli+/gWusVGwZZHTlS63hh++ehExkVT8SgiEf7/uC/PclrPPkLhZqGgCTjd0VWLo6xMqA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@opentelemetry/semantic-conventions": { - "version": "1.40.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.40.0.tgz", - "integrity": "sha512-cifvXDhcqMwwTlTK04GBNeIe7yyo28Mfby85QXFe1Yk8nmi36Ab/5UQwptOx84SsoGNRg+EVSjwzfSZMy6pmlw==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=14" - } - }, - "node_modules/@types/node": { - "version": "25.3.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-25.3.2.tgz", - "integrity": "sha512-RpV6r/ij22zRRdyBPcxDeKAzH43phWVKEjL2iksqo1Vz3CuBUrgmPpPhALKiRfU7OMCmeeO9vECBMsV0hMTG8Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~7.18.0" - } - }, - "node_modules/esbuild": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.3.tgz", - "integrity": "sha512-8VwMnyGCONIs6cWue2IdpHxHnAjzxnw2Zr7MkVxB2vjmQ2ivqGFb4LEG3SMnv0Gb2F/G/2yA8zUaiL1gywDCCg==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=18" - }, - "optionalDependencies": { - "@esbuild/aix-ppc64": "0.27.3", - "@esbuild/android-arm": "0.27.3", - "@esbuild/android-arm64": "0.27.3", - "@esbuild/android-x64": "0.27.3", - "@esbuild/darwin-arm64": "0.27.3", - "@esbuild/darwin-x64": "0.27.3", - "@esbuild/freebsd-arm64": "0.27.3", - "@esbuild/freebsd-x64": "0.27.3", - "@esbuild/linux-arm": "0.27.3", - "@esbuild/linux-arm64": "0.27.3", - "@esbuild/linux-ia32": "0.27.3", - "@esbuild/linux-loong64": "0.27.3", - "@esbuild/linux-mips64el": "0.27.3", - "@esbuild/linux-ppc64": "0.27.3", - "@esbuild/linux-riscv64": "0.27.3", - "@esbuild/linux-s390x": "0.27.3", - "@esbuild/linux-x64": "0.27.3", - "@esbuild/netbsd-arm64": "0.27.3", - "@esbuild/netbsd-x64": "0.27.3", - "@esbuild/openbsd-arm64": "0.27.3", - "@esbuild/openbsd-x64": "0.27.3", - "@esbuild/openharmony-arm64": "0.27.3", - "@esbuild/sunos-x64": "0.27.3", - "@esbuild/win32-arm64": "0.27.3", - "@esbuild/win32-ia32": "0.27.3", - "@esbuild/win32-x64": "0.27.3" - } - }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/get-tsconfig": { - "version": "4.13.6", - "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.13.6.tgz", - "integrity": "sha512-shZT/QMiSHc/YBLxxOkMtgSid5HFoauqCE3/exfsEcwg1WkeqjG+V40yBbBrsD+jW2HDXcs28xOfcbm2jI8Ddw==", - "dev": true, - "license": "MIT", - "dependencies": { - "resolve-pkg-maps": "^1.0.0" - }, - "funding": { - "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" - } - }, - "node_modules/resolve-pkg-maps": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", - "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" - } - }, - "node_modules/tsx": { - "version": "4.21.0", - "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.21.0.tgz", - "integrity": "sha512-5C1sg4USs1lfG0GFb2RLXsdpXqBSEhAaA/0kPL01wxzpMqLILNxIxIOKiILz+cdg/pLnOUxFYOR5yhHU666wbw==", - "dev": true, - "license": "MIT", - "dependencies": { - "esbuild": "~0.27.0", - "get-tsconfig": "^4.7.5" - }, - "bin": { - "tsx": "dist/cli.mjs" - }, - "engines": { - "node": ">=18.0.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.3" - } - }, - "node_modules/typescript": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", - "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", - "dev": true, - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, - "node_modules/undici-types": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz", - "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==", - "dev": true, - "license": "MIT" - } - } -} diff --git a/eng/semconv/package.json b/eng/semconv/package.json deleted file mode 100644 index e0dae1abd..000000000 --- a/eng/semconv/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "@qyl/semconv-generator", - "version": "1.0.0", - "type": "module", - "description": "Generate OTel Semantic Conventions for TypeScript, C#, TypeSpec, and DuckDB", - "scripts": { - "generate": "tsx generate-semconv.ts", - "generate:ts": "tsx generate-semconv.ts --ts-only", - "generate:cs": "tsx generate-semconv.ts --cs-only", - "generate:utf8": "tsx generate-semconv.ts --utf8-only", - "generate:tsp": "tsx generate-semconv.ts --tsp-only", - "generate:sql": "tsx generate-semconv.ts --sql-only", - "generate:protocol": "tsx generate-semconv.ts --protocol-only" - }, - "devDependencies": { - "@opentelemetry/semantic-conventions": "1.40.0", - "@types/node": "^25.1.0", - "tsx": "^4.21.0", - "typescript": "^5.9.3" - } -} diff --git a/eng/semconv/qyl-extensions.json b/eng/semconv/qyl-extensions.json deleted file mode 100644 index 7b7a5c66c..000000000 --- a/eng/semconv/qyl-extensions.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "$comment": "Contracts facade definitions — merged upstream OTel semconv + qyl extensions. Used by generateProtocolFacades() in generate-semconv.ts", - "facades": [ - { - "className": "GenAiAttributes", - "namespace": "qyl.contracts.Attributes", - "output": "../../src/qyl.contracts/Attributes/GenAiAttributes.g.cs", - "description": "OTel {version} GenAI semantic convention attribute keys.\nStatus: Development\nhttps://opentelemetry.io/docs/specs/semconv/gen-ai/", - "upstreamPrefix": "gen_ai", - "metadata": { - "SchemaUrl": "https://opentelemetry.io/schemas/{version}", - "SourceName": "OpenTelemetry.Instrumentation.GenAI" - }, - "attributes": [ - "gen_ai.provider.name", - "gen_ai.operation.name", - "gen_ai.request.model", - "gen_ai.request.temperature", - "gen_ai.request.max_tokens", - "gen_ai.request.top_p", - "gen_ai.request.top_k", - "gen_ai.request.stop_sequences", - "gen_ai.request.frequency_penalty", - "gen_ai.request.presence_penalty", - "gen_ai.request.choice.count", - "gen_ai.request.seed", - "gen_ai.request.encoding_formats", - "gen_ai.response.model", - "gen_ai.response.finish_reasons", - "gen_ai.response.id", - "gen_ai.usage.input_tokens", - "gen_ai.usage.output_tokens", - "gen_ai.usage.cache_read.input_tokens", - "gen_ai.usage.cache_creation.input_tokens", - "gen_ai.token.type", - "gen_ai.tool.name", - "gen_ai.tool.call.id", - "gen_ai.tool.description", - "gen_ai.tool.type", - "gen_ai.tool.call.arguments", - "gen_ai.tool.call.result", - "gen_ai.tool.definitions", - "gen_ai.input.messages", - "gen_ai.output.messages", - "gen_ai.output.type", - "gen_ai.system_instructions", - "gen_ai.agent.version", - "gen_ai.conversation.id", - "gen_ai.prompt.name", - "gen_ai.embeddings.dimension.count", - "gen_ai.evaluation.name", - "gen_ai.evaluation.score.value", - "gen_ai.evaluation.score.label", - "gen_ai.evaluation.explanation", - "gen_ai.data_source.id" - ], - "crossCutting": { - "UserId": "user.id", - "SessionId": "session.id", - "ErrorType": "error.type", - "ExceptionType": "exception.type", - "ExceptionMessage": "exception.message", - "ExceptionStacktrace": "exception.stacktrace", - "ServerAddress": "server.address", - "ServerPort": "server.port", - "ClientAddress": "client.address", - "ClientPort": "client.port" - }, - "enums": { - "Operations": { - "summary": "Well-known operation name values.", - "upstream": "GEN_AI_OPERATION_NAME", - "extensions": { - "ImageGeneration": "image_generation", - "AudioTranscription": "audio_transcription", - "TextToSpeech": "text_to_speech", - "Rerank": "rerank" - } - }, - "Providers": { - "summary": "Well-known provider name values.", - "upstream": "GEN_AI_PROVIDER_NAME", - "extensions": { - "GitHubCopilot": "github_copilot", - "MicrosoftAgents": "microsoft_agents", - "Meta": "meta", - "HuggingFace": "hugging_face", - "Replicate": "replicate", - "TogetherAi": "together_ai", - "Fireworks": "fireworks", - "Anyscale": "anyscale", - "Ollama": "ollama", - "Local": "local", - "Custom": "custom" - } - }, - "TokenTypes": { - "summary": "Well-known token type values.", - "values": { - "Input": "input", - "Output": "output" - } - }, - "OutputTypes": { - "summary": "Well-known output type values.", - "upstream": "GEN_AI_OUTPUT_TYPE" - }, - "ToolTypes": { - "summary": "Well-known tool type values.", - "values": { - "Function": "function", - "Extension": "extension", - "Datastore": "datastore" - } - } - }, - "customClasses": { - "Metrics": { - "summary": "GenAI metrics names.", - "values": { - "ClientTokenUsage": "gen_ai.client.token.usage", - "ClientOperationDuration": "gen_ai.client.operation.duration", - "ServerRequestDuration": "gen_ai.server.request.duration", - "ServerTimePerOutputToken": "gen_ai.server.time_per_output_token", - "ServerTimeToFirstToken": "gen_ai.server.time_to_first_token" - } - }, - "Events": { - "summary": "GenAI event names.", - "values": { - "ClientInferenceOperationDetails": "gen_ai.client.inference.operation.details", - "EvaluationResult": "gen_ai.evaluation.result" - } - } - } - }, - { - "className": "DbAttributes", - "namespace": "qyl.contracts.Attributes", - "output": "../../src/qyl.contracts/Attributes/DbAttributes.g.cs", - "description": "OTel {version} Database semantic convention attribute keys.\nStatus: Stable\nhttps://opentelemetry.io/docs/specs/semconv/database/", - "upstreamPrefix": "db", - "attributes": [ - "db.system.name", - "db.operation.name", - "db.query.text", - "db.query.summary", - "db.namespace", - "db.collection.name", - "db.response.status_code", - "db.response.returned_rows", - "db.client.connection.pool.name", - "db.client.connection.state", - "db.operation.batch.size", - "db.stored_procedure.name" - ], - "propertyOverrides": { - "db.client.connection.pool.name": "ConnectionPoolName", - "db.client.connection.state": "ConnectionState" - }, - "enums": { - "Systems": { - "summary": "Well-known database system name values.", - "values": { - "DuckDb": "duckdb", - "PostgreSql": "postgresql", - "MsSql": "mssql", - "Sqlite": "sqlite", - "MySql": "mysql", - "MariaDb": "mariadb", - "Oracle": "oracle", - "Firebird": "firebird", - "Redis": "redis", - "MongoDb": "mongodb", - "Elasticsearch": "elasticsearch", - "CosmosDb": "cosmosdb", - "Cassandra": "cassandra" - } - }, - "Operations": { - "summary": "Well-known database operation name values.", - "values": { - "Select": "SELECT", - "Insert": "INSERT", - "Update": "UPDATE", - "Delete": "DELETE", - "Create": "CREATE", - "Drop": "DROP", - "ExecuteReader": "ExecuteReader", - "ExecuteNonQuery": "ExecuteNonQuery", - "ExecuteScalar": "ExecuteScalar" - } - } - } - }, - { - "className": "McpAttributes", - "namespace": "qyl.contracts.Attributes", - "output": "../../src/qyl.contracts/Attributes/McpAttributes.g.cs", - "description": "OTel {version} MCP (Model Context Protocol) semantic convention attribute keys.\nStatus: Experimental\nhttps://github.com/open-telemetry/semantic-conventions/blob/main/docs/gen-ai/mcp.md", - "metadata": { - "SchemaUrl": "https://opentelemetry.io/schemas/{version}", - "SourceName": "qyl.mcp" - }, - "upstreamPrefix": "mcp", - "attributes": [ - "mcp.method.name", - "mcp.protocol.version", - "mcp.session.id", - "mcp.server.name" - ], - "crossCutting": { - "JsonrpcRequestId": "jsonrpc.request.id", - "JsonrpcProtocolVersion": "jsonrpc.protocol.version", - "RpcSystem": "rpc.system", - "RpcMethod": "rpc.method", - "ErrorType": "error.type", - "ServerAddress": "server.address", - "ServerPort": "server.port" - }, - "enums": { - "Methods": { - "summary": "Well-known MCP method name values.", - "values": { - "ToolsCall": "tools/call", - "ToolsList": "tools/list", - "PromptsGet": "prompts/get", - "PromptsList": "prompts/list", - "ResourcesRead": "resources/read", - "ResourcesList": "resources/list", - "Initialize": "initialize", - "Ping": "ping" - } - }, - "Systems": { - "summary": "Well-known RPC system values.", - "values": { - "JsonRpc": "jsonrpc" - } - }, - "JsonrpcVersions": { - "summary": "Well-known JSON-RPC protocol version values.", - "values": { - "V2": "2.0" - } - } - } - } - ] -} diff --git a/eng/semconv/run-weaver.sh b/eng/semconv/run-weaver.sh index a688010bb..75f86fdfc 100755 --- a/eng/semconv/run-weaver.sh +++ b/eng/semconv/run-weaver.sh @@ -1,12 +1,16 @@ #!/usr/bin/env bash -# Run qyl's Weaver template pipeline against the upstream semconv v1.40.0 registry. +# Generate qyl's semconv outputs into the final src/ destinations via Weaver. # -# Proof-of-pipeline invocation for the in-flight `generate-semconv.ts` → Weaver migration. -# Emits draft outputs to eng/semconv/out/ (gitignored) for side-by-side diff against -# the live outputs committed under src/. +# Pinned inputs: open-telemetry/semantic-conventions v1.40.0 (cloned by bootstrap) +# Output targets: +# - src/qyl.dashboard/src/lib/semconv.ts (TypeScript const keys) +# - src/qyl.collector/Storage/promoted-columns.g.sql (DuckDB columns) # -# Prerequisites (one-time setup): -# ./eng/semconv/bootstrap-weaver.sh # downloads weaver + upstream semconv clone +# Not emitted by Weaver yet (committed files stay as-is until templated): +# - core/specs/generated/semconv.g.tsp (TypeSpec — huge, future work) +# - src/qyl.contracts/Attributes/*Attributes.cs (hand-maintained facades) +# +# Bootstrap once per clone: ./eng/semconv/bootstrap-weaver.sh set -euo pipefail @@ -14,27 +18,28 @@ REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)" WEAVER_BIN="${REPO_ROOT}/.tools/weaver/weaver-aarch64-apple-darwin/weaver" UPSTREAM_REGISTRY="${REPO_ROOT}/.tools/semconv-upstream/model" TEMPLATES_ROOT="${REPO_ROOT}/eng/semconv/templates/registry" -OUT_DIR="${REPO_ROOT}/eng/semconv/out" +STAGING_DIR="${REPO_ROOT}/eng/semconv/out" -if [ ! -x "${WEAVER_BIN}" ]; then - echo "Weaver binary not found at ${WEAVER_BIN}" >&2 - echo "Run: ./eng/semconv/bootstrap-weaver.sh" >&2 - exit 1 -fi +TS_DEST="${REPO_ROOT}/src/qyl.dashboard/src/lib/semconv.ts" +SQL_DEST="${REPO_ROOT}/src/qyl.collector/Storage/promoted-columns.g.sql" -if [ ! -d "${UPSTREAM_REGISTRY}" ]; then - echo "Upstream registry not found at ${UPSTREAM_REGISTRY}" >&2 +if [ ! -x "${WEAVER_BIN}" ] || [ ! -d "${UPSTREAM_REGISTRY}" ]; then + echo "Weaver or upstream registry missing." >&2 echo "Run: ./eng/semconv/bootstrap-weaver.sh" >&2 exit 1 fi -rm -rf "${OUT_DIR}" +rm -rf "${STAGING_DIR}" "${WEAVER_BIN}" registry generate \ --registry "${UPSTREAM_REGISTRY}" \ --templates "${TEMPLATES_ROOT}" \ qyl \ - "${OUT_DIR}" + "${STAGING_DIR}" + +install -m 0644 "${STAGING_DIR}/semconv.ts" "${TS_DEST}" +install -m 0644 "${STAGING_DIR}/promoted-columns.g.sql" "${SQL_DEST}" echo "" -echo "Weaver outputs:" -ls -la "${OUT_DIR}" +echo "Wrote:" +echo " ${TS_DEST} ($(wc -l < "${TS_DEST}") lines)" +echo " ${SQL_DEST} ($(wc -l < "${SQL_DEST}") lines)" diff --git a/eng/semconv/tsconfig.json b/eng/semconv/tsconfig.json deleted file mode 100644 index 22c0a98e3..000000000 --- a/eng/semconv/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2022", - "module": "ESNext", - "moduleResolution": "bundler", - "strict": true, - "esModuleInterop": true, - "skipLibCheck": true, - "declaration": false, - "outDir": "dist", - "rootDir": ".", - "resolveJsonModule": true - }, - "include": [ - "*.ts" - ], - "exclude": [ - "node_modules", - "dist" - ] -} diff --git a/src/qyl.collector/Storage/promoted-columns.g.sql b/src/qyl.collector/Storage/promoted-columns.g.sql index 4edecb95a..3195c3c60 100644 --- a/src/qyl.collector/Storage/promoted-columns.g.sql +++ b/src/qyl.collector/Storage/promoted-columns.g.sql @@ -1,6 +1,6 @@ -- --- Generated from @opentelemetry/semantic-conventions v1.40.0 --- Do not edit manually - run 'npm run generate' in SemconvGenerator +-- Generated from open-telemetry/semantic-conventions v1.40.0 via Weaver +-- Do not edit manually - run 'nuke GenerateSemconv' -- -- Promoted columns for fast queries (extracted from attributes_json) -- Include in CREATE TABLE statements as needed @@ -10,16 +10,10 @@ artifact_attestation_filename VARCHAR, artifact_attestation_hash VARCHAR, artifact_attestation_id VARCHAR, --- artifact.filename attributes +-- artifact attributes artifact_filename VARCHAR, - --- artifact.hash attributes artifact_hash VARCHAR, - --- artifact.purl attributes artifact_purl VARCHAR, - --- artifact.version attributes artifact_version VARCHAR, -- aspnetcore.authentication attributes @@ -30,21 +24,31 @@ aspnetcore_authentication_scheme VARCHAR, aspnetcore_authorization_policy VARCHAR, aspnetcore_authorization_result VARCHAR, --- aspnetcore.diagnostics attributes +-- aspnetcore.diagnostics.exception attributes aspnetcore_diagnostics_exception_result VARCHAR, + +-- aspnetcore.diagnostics.handler attributes aspnetcore_diagnostics_handler_type VARCHAR, -- aspnetcore.identity attributes aspnetcore_identity_error_code VARCHAR, aspnetcore_identity_password_check_result VARCHAR, aspnetcore_identity_result VARCHAR, + +-- aspnetcore.identity.sign_in attributes aspnetcore_identity_sign_in_result VARCHAR, aspnetcore_identity_sign_in_type VARCHAR, + +-- aspnetcore.identity attributes aspnetcore_identity_token_purpose VARCHAR, aspnetcore_identity_token_verified VARCHAR, -aspnetcore_identity_user_type VARCHAR, + +-- aspnetcore.identity.user attributes aspnetcore_identity_user_update_type VARCHAR, +-- aspnetcore.identity attributes +aspnetcore_identity_user_type VARCHAR, + -- aspnetcore.memory_pool attributes aspnetcore_memory_pool_owner VARCHAR, @@ -68,43 +72,59 @@ aspnetcore_user_is_authenticated VARCHAR, -- azure.client attributes azure_client_id VARCHAR, --- azure.cosmosdb attributes +-- azure.cosmosdb.connection attributes azure_cosmosdb_connection_mode VARCHAR, + +-- azure.cosmosdb.consistency attributes azure_cosmosdb_consistency_level VARCHAR, + +-- azure.cosmosdb.operation attributes azure_cosmosdb_operation_contacted_regions VARCHAR, azure_cosmosdb_operation_request_charge VARCHAR, + +-- azure.cosmosdb.request.body attributes azure_cosmosdb_request_body_size VARCHAR, + +-- azure.cosmosdb.response attributes azure_cosmosdb_response_sub_status_code VARCHAR, -- azure.resource_provider attributes azure_resource_provider_namespace VARCHAR, --- azure.service attributes +-- azure.service.request attributes azure_service_request_id VARCHAR, --- browser.brands attributes +-- browser attributes browser_brands VARCHAR, - --- browser.language attributes browser_language VARCHAR, - --- browser.mobile attributes browser_mobile VARCHAR, - --- browser.platform attributes browser_platform VARCHAR, --- cicd.pipeline attributes +-- cicd.pipeline.action attributes cicd_pipeline_action_name VARCHAR, + +-- cicd.pipeline attributes cicd_pipeline_name VARCHAR, cicd_pipeline_result VARCHAR, + +-- cicd.pipeline.run attributes cicd_pipeline_run_id VARCHAR, cicd_pipeline_run_state VARCHAR, + +-- cicd.pipeline.run.url attributes cicd_pipeline_run_url_full VARCHAR, + +-- cicd.pipeline.task attributes cicd_pipeline_task_name VARCHAR, + +-- cicd.pipeline.task.run attributes cicd_pipeline_task_run_id VARCHAR, cicd_pipeline_task_run_result VARCHAR, + +-- cicd.pipeline.task.run.url attributes cicd_pipeline_task_run_url_full VARCHAR, + +-- cicd.pipeline.task attributes cicd_pipeline_task_type VARCHAR, -- cicd.system attributes @@ -114,111 +134,63 @@ cicd_system_component VARCHAR, cicd_worker_id VARCHAR, cicd_worker_name VARCHAR, cicd_worker_state VARCHAR, + +-- cicd.worker.url attributes cicd_worker_url_full VARCHAR, --- client.address attributes +-- client attributes client_address VARCHAR, - --- client.port attributes client_port VARCHAR, -- cloud.account attributes cloud_account_id VARCHAR, --- cloud.availability_zone attributes +-- cloud attributes cloud_availability_zone VARCHAR, - --- cloud.platform attributes cloud_platform VARCHAR, - --- cloud.provider attributes cloud_provider VARCHAR, - --- cloud.region attributes cloud_region VARCHAR, - --- cloud.resource_id attributes cloud_resource_id VARCHAR, --- cloudevents.event_id attributes -cloudevents_event_id VARCHAR, - --- cloudevents.event_source attributes -cloudevents_event_source VARCHAR, - --- cloudevents.event_spec_version attributes -cloudevents_event_spec_version VARCHAR, - --- cloudevents.event_subject attributes -cloudevents_event_subject VARCHAR, - --- cloudevents.event_type attributes -cloudevents_event_type VARCHAR, - --- cloudfoundry.app attributes -cloudfoundry_app_id VARCHAR, -cloudfoundry_app_instance_id VARCHAR, -cloudfoundry_app_name VARCHAR, - --- cloudfoundry.org attributes -cloudfoundry_org_id VARCHAR, -cloudfoundry_org_name VARCHAR, - --- cloudfoundry.process attributes -cloudfoundry_process_id VARCHAR, -cloudfoundry_process_type VARCHAR, - --- cloudfoundry.space attributes -cloudfoundry_space_id VARCHAR, -cloudfoundry_space_name VARCHAR, - --- cloudfoundry.system attributes -cloudfoundry_system_id VARCHAR, -cloudfoundry_system_instance_id VARCHAR, +-- code attributes +code_column VARCHAR, -- code.column attributes -code_column VARCHAR, code_column_number VARCHAR, -- code.file attributes code_file_path VARCHAR, --- code.filepath attributes +-- code attributes code_filepath VARCHAR, +code_function VARCHAR, -- code.function attributes -code_function VARCHAR, code_function_name VARCHAR, -- code.line attributes code_line_number VARCHAR, --- code.lineno attributes +-- code attributes code_lineno VARCHAR, - --- code.namespace attributes code_namespace VARCHAR, - --- code.stacktrace attributes code_stacktrace VARCHAR, --- container.command attributes +-- container attributes container_command VARCHAR, - --- container.command_args attributes container_command_args VARCHAR, - --- container.command_line attributes container_command_line VARCHAR, -- container.cpu attributes container_cpu_state VARCHAR, --- container.csi attributes +-- container.csi.plugin attributes container_csi_plugin_name VARCHAR, + +-- container.csi.volume attributes container_csi_volume_id VARCHAR, --- container.id attributes +-- container attributes container_id VARCHAR, -- container.image attributes @@ -227,34 +199,46 @@ container_image_name VARCHAR, container_image_repo_digests VARCHAR, container_image_tags VARCHAR, --- container.name attributes +-- container attributes +container_label VARCHAR, +container_labels VARCHAR, container_name VARCHAR, +container_runtime VARCHAR, -- container.runtime attributes -container_runtime VARCHAR, container_runtime_description VARCHAR, container_runtime_name VARCHAR, container_runtime_version VARCHAR, -- db.cassandra attributes db_cassandra_consistency_level VARCHAR, + +-- db.cassandra.coordinator attributes db_cassandra_coordinator_dc VARCHAR, db_cassandra_coordinator_id VARCHAR, + +-- db.cassandra attributes db_cassandra_idempotence VARCHAR, db_cassandra_page_size BIGINT, db_cassandra_speculative_execution_count BIGINT, db_cassandra_table VARCHAR, --- db.client attributes +-- db.client.connection.pool attributes db_client_connection_pool_name VARCHAR, + +-- db.client.connection attributes db_client_connection_state VARCHAR, + +-- db.client.connections.pool attributes db_client_connections_pool_name VARCHAR, + +-- db.client.connections attributes db_client_connections_state VARCHAR, -- db.collection attributes db_collection_name VARCHAR, --- db.connection_string attributes +-- db attributes db_connection_string VARCHAR, -- db.cosmosdb attributes @@ -269,10 +253,15 @@ db_cosmosdb_request_content_length VARCHAR, db_cosmosdb_status_code VARCHAR, db_cosmosdb_sub_status_code VARCHAR, --- db.elasticsearch attributes +-- db.elasticsearch.cluster attributes db_elasticsearch_cluster_name VARCHAR, + +-- db.elasticsearch.node attributes db_elasticsearch_node_name VARCHAR, +-- db.elasticsearch attributes +db_elasticsearch_path_parts VARCHAR, + -- db.instance attributes db_instance_id VARCHAR, @@ -285,18 +274,20 @@ db_mongodb_collection VARCHAR, -- db.mssql attributes db_mssql_instance_name VARCHAR, --- db.name attributes +-- db attributes db_name VARCHAR, - --- db.namespace attributes db_namespace VARCHAR, - --- db.operation attributes db_operation VARCHAR, + +-- db.operation.batch attributes db_operation_batch_size VARCHAR, + +-- db.operation attributes db_operation_name VARCHAR, +db_operation_parameter VARCHAR, -- db.query attributes +db_query_parameter VARCHAR, db_query_summary VARCHAR, db_query_text VARCHAR, @@ -310,78 +301,66 @@ db_response_status_code VARCHAR, -- db.sql attributes db_sql_table VARCHAR, --- db.statement attributes +-- db attributes db_statement VARCHAR, -- db.stored_procedure attributes db_stored_procedure_name VARCHAR, --- db.system attributes +-- db attributes db_system VARCHAR, + +-- db.system attributes db_system_name VARCHAR, --- db.user attributes +-- db attributes db_user VARCHAR, --- deployment.environment attributes +-- deployment attributes deployment_environment VARCHAR, + +-- deployment.environment attributes deployment_environment_name VARCHAR, --- deployment.id attributes +-- deployment attributes deployment_id VARCHAR, - --- deployment.name attributes deployment_name VARCHAR, - --- deployment.status attributes deployment_status VARCHAR, --- dns.answers attributes +-- dns attributes dns_answers VARCHAR, -- dns.question attributes dns_question_name VARCHAR, --- dotnet.gc attributes +-- dotnet.gc.heap attributes dotnet_gc_heap_generation VARCHAR, -- elasticsearch.node attributes elasticsearch_node_name VARCHAR, --- enduser.id attributes +-- enduser attributes enduser_id VARCHAR, -- enduser.pseudo attributes enduser_pseudo_id VARCHAR, --- enduser.role attributes +-- enduser attributes enduser_role VARCHAR, - --- enduser.scope attributes enduser_scope VARCHAR, --- error.message attributes +-- error attributes error_message VARCHAR, - --- error.type attributes error_type VARCHAR, --- exception.escaped attributes +-- exception attributes exception_escaped VARCHAR, - --- exception.message attributes exception_message VARCHAR, - --- exception.stacktrace attributes exception_stacktrace VARCHAR, - --- exception.type attributes exception_type VARCHAR, --- faas.coldstart attributes +-- faas attributes faas_coldstart VARCHAR, - --- faas.cron attributes faas_cron VARCHAR, -- faas.document attributes @@ -390,34 +369,16 @@ faas_document_name VARCHAR, faas_document_operation VARCHAR, faas_document_time VARCHAR, --- faas.instance attributes +-- faas attributes faas_instance VARCHAR, - --- faas.invocation_id attributes faas_invocation_id VARCHAR, - --- faas.invoked_name attributes faas_invoked_name VARCHAR, - --- faas.invoked_provider attributes faas_invoked_provider VARCHAR, - --- faas.invoked_region attributes faas_invoked_region VARCHAR, - --- faas.max_memory attributes faas_max_memory VARCHAR, - --- faas.name attributes faas_name VARCHAR, - --- faas.time attributes faas_time VARCHAR, - --- faas.trigger attributes faas_trigger VARCHAR, - --- faas.version attributes faas_version VARCHAR, -- feature_flag.context attributes @@ -426,11 +387,13 @@ feature_flag_context_id VARCHAR, -- feature_flag.error attributes feature_flag_error_message VARCHAR, --- feature_flag.evaluation attributes +-- feature_flag.evaluation.error attributes feature_flag_evaluation_error_message VARCHAR, + +-- feature_flag.evaluation attributes feature_flag_evaluation_reason VARCHAR, --- feature_flag.key attributes +-- feature_flag attributes feature_flag_key VARCHAR, -- feature_flag.provider attributes @@ -444,57 +407,35 @@ feature_flag_result_variant VARCHAR, -- feature_flag.set attributes feature_flag_set_id VARCHAR, --- feature_flag.variant attributes +-- feature_flag attributes feature_flag_variant VARCHAR, - --- feature_flag.version attributes feature_flag_version VARCHAR, --- file.accessed attributes +-- file attributes file_accessed VARCHAR, - --- file.attributes attributes file_attributes VARCHAR, - --- file.changed attributes file_changed VARCHAR, - --- file.created attributes file_created VARCHAR, - --- file.directory attributes file_directory VARCHAR, - --- file.extension attributes file_extension VARCHAR, - --- file.fork_name attributes file_fork_name VARCHAR, -- file.group attributes file_group_id VARCHAR, file_group_name VARCHAR, --- file.inode attributes +-- file attributes file_inode VARCHAR, - --- file.mode attributes file_mode VARCHAR, - --- file.modified attributes file_modified VARCHAR, - --- file.name attributes file_name VARCHAR, -- file.owner attributes file_owner_id VARCHAR, file_owner_name VARCHAR, --- file.path attributes +-- file attributes file_path VARCHAR, - --- file.size attributes file_size VARCHAR, -- file.symbolic_link attributes @@ -506,7 +447,7 @@ gen_ai_agent_id VARCHAR, gen_ai_agent_name VARCHAR, gen_ai_agent_version VARCHAR, --- gen_ai.completion attributes +-- gen_ai attributes gen_ai_completion VARCHAR, -- gen_ai.conversation attributes @@ -515,22 +456,26 @@ gen_ai_conversation_id VARCHAR, -- gen_ai.data_source attributes gen_ai_data_source_id VARCHAR, --- gen_ai.embeddings attributes +-- gen_ai.embeddings.dimension attributes gen_ai_embeddings_dimension_count VARCHAR, -- gen_ai.evaluation attributes gen_ai_evaluation_explanation VARCHAR, gen_ai_evaluation_name VARCHAR, + +-- gen_ai.evaluation.score attributes gen_ai_evaluation_score_label VARCHAR, gen_ai_evaluation_score_value VARCHAR, -- gen_ai.input attributes gen_ai_input_messages VARCHAR, --- gen_ai.openai attributes +-- gen_ai.openai.request attributes gen_ai_openai_request_response_format VARCHAR, gen_ai_openai_request_seed VARCHAR, gen_ai_openai_request_service_tier VARCHAR, + +-- gen_ai.openai.response attributes gen_ai_openai_response_service_tier VARCHAR, gen_ai_openai_response_system_fingerprint VARCHAR, @@ -541,15 +486,19 @@ gen_ai_operation_name VARCHAR, gen_ai_output_messages VARCHAR, gen_ai_output_type VARCHAR, --- gen_ai.prompt attributes +-- gen_ai attributes gen_ai_prompt VARCHAR, + +-- gen_ai.prompt attributes gen_ai_prompt_name VARCHAR, -- gen_ai.provider attributes gen_ai_provider_name VARCHAR, --- gen_ai.request attributes +-- gen_ai.request.choice attributes gen_ai_request_choice_count VARCHAR, + +-- gen_ai.request attributes gen_ai_request_encoding_formats VARCHAR, gen_ai_request_frequency_penalty VARCHAR, gen_ai_request_max_tokens BIGINT, @@ -568,29 +517,35 @@ gen_ai_response_model VARCHAR, -- gen_ai.retrieval attributes gen_ai_retrieval_documents VARCHAR, + +-- gen_ai.retrieval.query attributes gen_ai_retrieval_query_text VARCHAR, --- gen_ai.system attributes +-- gen_ai attributes gen_ai_system VARCHAR, - --- gen_ai.system_instructions attributes gen_ai_system_instructions VARCHAR, -- gen_ai.token attributes gen_ai_token_type VARCHAR, --- gen_ai.tool attributes +-- gen_ai.tool.call attributes gen_ai_tool_call_arguments VARCHAR, gen_ai_tool_call_id VARCHAR, gen_ai_tool_call_result VARCHAR, + +-- gen_ai.tool attributes gen_ai_tool_definitions VARCHAR, gen_ai_tool_description VARCHAR, gen_ai_tool_name VARCHAR, gen_ai_tool_type VARCHAR, --- gen_ai.usage attributes +-- gen_ai.usage.cache_creation attributes gen_ai_usage_cache_creation_input_tokens BIGINT, + +-- gen_ai.usage.cache_read attributes gen_ai_usage_cache_read_input_tokens BIGINT, + +-- gen_ai.usage attributes gen_ai_usage_completion_tokens BIGINT, gen_ai_usage_input_tokens BIGINT, gen_ai_usage_output_tokens BIGINT, @@ -609,24 +564,32 @@ geo_locality_name VARCHAR, geo_location_lat VARCHAR, geo_location_lon VARCHAR, --- geo.postal_code attributes +-- geo attributes geo_postal_code VARCHAR, -- geo.region attributes geo_region_iso_code VARCHAR, --- host.arch attributes +-- host attributes host_arch VARCHAR, --- host.cpu attributes +-- host.cpu.cache.l2 attributes host_cpu_cache_l2_size VARCHAR, + +-- host.cpu attributes host_cpu_family VARCHAR, + +-- host.cpu.model attributes host_cpu_model_id VARCHAR, host_cpu_model_name VARCHAR, + +-- host.cpu attributes host_cpu_stepping VARCHAR, + +-- host.cpu.vendor attributes host_cpu_vendor_id VARCHAR, --- host.id attributes +-- host attributes host_id VARCHAR, -- host.image attributes @@ -634,76 +597,54 @@ host_image_id VARCHAR, host_image_name VARCHAR, host_image_version VARCHAR, --- host.ip attributes +-- host attributes host_ip VARCHAR, - --- host.mac attributes host_mac VARCHAR, - --- host.name attributes host_name VARCHAR, - --- host.type attributes host_type VARCHAR, --- http.client_ip attributes +-- http attributes http_client_ip VARCHAR, -- http.connection attributes http_connection_state VARCHAR, --- http.flavor attributes +-- http attributes http_flavor VARCHAR, - --- http.host attributes http_host VARCHAR, - --- http.method attributes http_method VARCHAR, --- http.request_content_length attributes -http_request_content_length VARCHAR, - --- http.request_content_length_uncompressed attributes -http_request_content_length_uncompressed VARCHAR, +-- http.request.body attributes +http_request_body_size VARCHAR, -- http.request attributes -http_request_body_size VARCHAR, +http_request_header VARCHAR, http_request_method VARCHAR, http_request_method_original VARCHAR, http_request_resend_count BIGINT, http_request_size VARCHAR, --- http.response_content_length attributes -http_response_content_length VARCHAR, +-- http attributes +http_request_content_length VARCHAR, +http_request_content_length_uncompressed VARCHAR, --- http.response_content_length_uncompressed attributes -http_response_content_length_uncompressed VARCHAR, +-- http.response.body attributes +http_response_body_size VARCHAR, -- http.response attributes -http_response_body_size VARCHAR, +http_response_header VARCHAR, http_response_size VARCHAR, http_response_status_code VARCHAR, --- http.route attributes +-- http attributes +http_response_content_length VARCHAR, +http_response_content_length_uncompressed VARCHAR, http_route VARCHAR, - --- http.scheme attributes http_scheme VARCHAR, - --- http.server_name attributes http_server_name VARCHAR, - --- http.status_code attributes http_status_code VARCHAR, - --- http.target attributes http_target VARCHAR, - --- http.url attributes http_url VARCHAR, - --- http.user_agent attributes http_user_agent VARCHAR, -- k8s.cluster attributes @@ -713,57 +654,90 @@ k8s_cluster_uid VARCHAR, -- k8s.container attributes k8s_container_name VARCHAR, k8s_container_restart_count BIGINT, + +-- k8s.container.status attributes k8s_container_status_last_terminated_reason VARCHAR, k8s_container_status_reason VARCHAR, k8s_container_status_state VARCHAR, -- k8s.cronjob attributes +k8s_cronjob_annotation VARCHAR, +k8s_cronjob_label VARCHAR, k8s_cronjob_name VARCHAR, k8s_cronjob_uid VARCHAR, -- k8s.daemonset attributes +k8s_daemonset_annotation VARCHAR, +k8s_daemonset_label VARCHAR, k8s_daemonset_name VARCHAR, k8s_daemonset_uid VARCHAR, -- k8s.deployment attributes +k8s_deployment_annotation VARCHAR, +k8s_deployment_label VARCHAR, k8s_deployment_name VARCHAR, k8s_deployment_uid VARCHAR, --- k8s.hpa attributes +-- k8s.hpa.metric attributes k8s_hpa_metric_type VARCHAR, + +-- k8s.hpa attributes k8s_hpa_name VARCHAR, + +-- k8s.hpa.scaletargetref attributes k8s_hpa_scaletargetref_api_version VARCHAR, k8s_hpa_scaletargetref_kind VARCHAR, k8s_hpa_scaletargetref_name VARCHAR, + +-- k8s.hpa attributes k8s_hpa_uid VARCHAR, -- k8s.hugepage attributes k8s_hugepage_size VARCHAR, -- k8s.job attributes +k8s_job_annotation VARCHAR, +k8s_job_label VARCHAR, k8s_job_name VARCHAR, k8s_job_uid VARCHAR, -- k8s.namespace attributes +k8s_namespace_annotation VARCHAR, +k8s_namespace_label VARCHAR, k8s_namespace_name VARCHAR, k8s_namespace_phase VARCHAR, -- k8s.node attributes +k8s_node_annotation VARCHAR, + +-- k8s.node.condition attributes k8s_node_condition_status VARCHAR, k8s_node_condition_type VARCHAR, + +-- k8s.node attributes +k8s_node_label VARCHAR, k8s_node_name VARCHAR, k8s_node_uid VARCHAR, -- k8s.pod attributes +k8s_pod_annotation VARCHAR, k8s_pod_hostname VARCHAR, k8s_pod_ip VARCHAR, +k8s_pod_label VARCHAR, +k8s_pod_labels VARCHAR, k8s_pod_name VARCHAR, k8s_pod_start_time VARCHAR, + +-- k8s.pod.status attributes k8s_pod_status_phase VARCHAR, k8s_pod_status_reason VARCHAR, + +-- k8s.pod attributes k8s_pod_uid VARCHAR, -- k8s.replicaset attributes +k8s_replicaset_annotation VARCHAR, +k8s_replicaset_label VARCHAR, k8s_replicaset_name VARCHAR, k8s_replicaset_uid VARCHAR, @@ -777,16 +751,25 @@ k8s_resourcequota_resource_name VARCHAR, k8s_resourcequota_uid VARCHAR, -- k8s.service attributes +k8s_service_annotation VARCHAR, + +-- k8s.service.endpoint attributes k8s_service_endpoint_address_type VARCHAR, k8s_service_endpoint_condition VARCHAR, k8s_service_endpoint_zone VARCHAR, + +-- k8s.service attributes +k8s_service_label VARCHAR, k8s_service_name VARCHAR, k8s_service_publish_not_ready_addresses VARCHAR, +k8s_service_selector VARCHAR, k8s_service_traffic_distribution VARCHAR, k8s_service_type VARCHAR, k8s_service_uid VARCHAR, -- k8s.statefulset attributes +k8s_statefulset_annotation VARCHAR, +k8s_statefulset_label VARCHAR, k8s_statefulset_name VARCHAR, k8s_statefulset_uid VARCHAR, @@ -803,7 +786,7 @@ log_file_name_resolved VARCHAR, log_file_path VARCHAR, log_file_path_resolved VARCHAR, --- log.iostream attributes +-- log attributes log_iostream VARCHAR, -- log.record attributes @@ -816,72 +799,104 @@ messaging_batch_message_count BIGINT, -- messaging.client attributes messaging_client_id VARCHAR, --- messaging.consumer attributes +-- messaging.consumer.group attributes messaging_consumer_group_name VARCHAR, --- messaging.destination_publish attributes -messaging_destination_publish_anonymous VARCHAR, -messaging_destination_publish_name VARCHAR, - -- messaging.destination attributes messaging_destination_anonymous VARCHAR, messaging_destination_name VARCHAR, + +-- messaging.destination.partition attributes messaging_destination_partition_id VARCHAR, + +-- messaging.destination.subscription attributes messaging_destination_subscription_name VARCHAR, + +-- messaging.destination attributes messaging_destination_template VARCHAR, messaging_destination_temporary VARCHAR, --- messaging.eventhubs attributes +-- messaging.destination_publish attributes +messaging_destination_publish_anonymous VARCHAR, +messaging_destination_publish_name VARCHAR, + +-- messaging.eventhubs.consumer attributes messaging_eventhubs_consumer_group VARCHAR, + +-- messaging.eventhubs.message attributes messaging_eventhubs_message_enqueued_time VARCHAR, --- messaging.gcp_pubsub attributes +-- messaging.gcp_pubsub.message attributes messaging_gcp_pubsub_message_ack_deadline VARCHAR, messaging_gcp_pubsub_message_ack_id VARCHAR, messaging_gcp_pubsub_message_delivery_attempt VARCHAR, messaging_gcp_pubsub_message_ordering_key VARCHAR, --- messaging.kafka attributes +-- messaging.kafka.consumer attributes messaging_kafka_consumer_group VARCHAR, + +-- messaging.kafka.destination attributes messaging_kafka_destination_partition VARCHAR, + +-- messaging.kafka.message attributes messaging_kafka_message_key VARCHAR, messaging_kafka_message_offset VARCHAR, messaging_kafka_message_tombstone VARCHAR, + +-- messaging.kafka attributes messaging_kafka_offset VARCHAR, --- messaging.message attributes +-- messaging.message.body attributes messaging_message_body_size VARCHAR, + +-- messaging.message attributes messaging_message_conversation_id VARCHAR, + +-- messaging.message.envelope attributes messaging_message_envelope_size VARCHAR, + +-- messaging.message attributes messaging_message_id VARCHAR, --- messaging.operation attributes +-- messaging attributes messaging_operation VARCHAR, + +-- messaging.operation attributes messaging_operation_name VARCHAR, messaging_operation_type VARCHAR, --- messaging.rabbitmq attributes +-- messaging.rabbitmq.destination attributes messaging_rabbitmq_destination_routing_key VARCHAR, + +-- messaging.rabbitmq.message attributes messaging_rabbitmq_message_delivery_tag VARCHAR, -- messaging.rocketmq attributes messaging_rocketmq_client_group VARCHAR, messaging_rocketmq_consumption_model VARCHAR, + +-- messaging.rocketmq.message attributes messaging_rocketmq_message_delay_time_level VARCHAR, messaging_rocketmq_message_delivery_timestamp VARCHAR, messaging_rocketmq_message_group VARCHAR, messaging_rocketmq_message_keys VARCHAR, messaging_rocketmq_message_tag VARCHAR, messaging_rocketmq_message_type VARCHAR, + +-- messaging.rocketmq attributes messaging_rocketmq_namespace VARCHAR, --- messaging.servicebus attributes +-- messaging.servicebus.destination attributes messaging_servicebus_destination_subscription_name VARCHAR, + +-- messaging.servicebus attributes messaging_servicebus_disposition_status VARCHAR, + +-- messaging.servicebus.message attributes messaging_servicebus_message_delivery_count BIGINT, messaging_servicebus_message_enqueued_time VARCHAR, --- messaging.system attributes +-- messaging attributes messaging_system VARCHAR, -- network.carrier attributes @@ -913,10 +928,8 @@ network_peer_port VARCHAR, network_protocol_name VARCHAR, network_protocol_version VARCHAR, --- network.transport attributes +-- network attributes network_transport VARCHAR, - --- network.type attributes network_type VARCHAR, -- openai.api attributes @@ -929,29 +942,25 @@ openai_request_service_tier VARCHAR, openai_response_service_tier VARCHAR, openai_response_system_fingerprint VARCHAR, --- oracle_cloud.realm attributes -oracle_cloud_realm VARCHAR, - -- oracle.db attributes oracle_db_domain VARCHAR, + +-- oracle.db.instance attributes oracle_db_instance_name VARCHAR, + +-- oracle.db attributes oracle_db_name VARCHAR, oracle_db_pdb VARCHAR, oracle_db_service VARCHAR, --- os.build_id attributes -os_build_id VARCHAR, +-- oracle_cloud attributes +oracle_cloud_realm VARCHAR, --- os.description attributes +-- os attributes +os_build_id VARCHAR, os_description VARCHAR, - --- os.name attributes os_name VARCHAR, - --- os.type attributes os_type VARCHAR, - --- os.version attributes os_version VARCHAR, -- otel.component attributes @@ -970,14 +979,14 @@ otel_scope_name VARCHAR, otel_scope_schema_url VARCHAR, otel_scope_version VARCHAR, --- otel.span attributes +-- otel.span.parent attributes otel_span_parent_origin VARCHAR, + +-- otel.span attributes otel_span_sampling_result VARCHAR, --- otel.status_code attributes +-- otel attributes otel_status_code VARCHAR, - --- otel.status_description attributes otel_status_description VARCHAR, -- pprof.location attributes @@ -999,16 +1008,10 @@ pprof_profile_keep_frames VARCHAR, pprof_scope_default_sample_type VARCHAR, pprof_scope_sample_type_order VARCHAR, --- process.args_count attributes +-- process attributes process_args_count BIGINT, - --- process.command attributes process_command VARCHAR, - --- process.command_args attributes process_command_args VARCHAR, - --- process.command_line attributes process_command_line VARCHAR, -- process.context_switch attributes @@ -1020,11 +1023,16 @@ process_cpu_state VARCHAR, -- process.creation attributes process_creation_time VARCHAR, --- process.executable attributes +-- process attributes +process_environment_variable VARCHAR, + +-- process.executable.build_id attributes process_executable_build_id_gnu VARCHAR, process_executable_build_id_go VARCHAR, process_executable_build_id_htlhash VARCHAR, process_executable_build_id_profiling VARCHAR, + +-- process.executable attributes process_executable_name VARCHAR, process_executable_path VARCHAR, @@ -1035,22 +1043,20 @@ process_exit_time VARCHAR, -- process.group_leader attributes process_group_leader_pid VARCHAR, --- process.interactive attributes +-- process attributes process_interactive VARCHAR, -- process.linux attributes process_linux_cgroup VARCHAR, --- process.owner attributes +-- process attributes process_owner VARCHAR, -- process.paging attributes process_paging_fault_type VARCHAR, --- process.parent_pid attributes +-- process attributes process_parent_pid VARCHAR, - --- process.pid attributes process_pid VARCHAR, -- process.real_user attributes @@ -1069,20 +1075,16 @@ process_saved_user_name VARCHAR, -- process.session_leader attributes process_session_leader_pid VARCHAR, --- process.state attributes +-- process attributes process_state VARCHAR, - --- process.title attributes process_title VARCHAR, -- process.user attributes process_user_id VARCHAR, process_user_name VARCHAR, --- process.vpid attributes +-- process attributes process_vpid VARCHAR, - --- process.working_directory attributes process_working_directory VARCHAR, -- profile.frame attributes @@ -1091,6 +1093,18 @@ profile_frame_type VARCHAR, -- rpc.connect_rpc attributes rpc_connect_rpc_error_code VARCHAR, +-- rpc.connect_rpc.request attributes +rpc_connect_rpc_request_metadata VARCHAR, + +-- rpc.connect_rpc.response attributes +rpc_connect_rpc_response_metadata VARCHAR, + +-- rpc.grpc.request attributes +rpc_grpc_request_metadata VARCHAR, + +-- rpc.grpc.response attributes +rpc_grpc_response_metadata VARCHAR, + -- rpc.grpc attributes rpc_grpc_status_code VARCHAR, @@ -1106,64 +1120,60 @@ rpc_message_id VARCHAR, rpc_message_type VARCHAR, rpc_message_uncompressed_size BIGINT, --- rpc.method attributes +-- rpc attributes rpc_method VARCHAR, - --- rpc.method_original attributes rpc_method_original VARCHAR, +-- rpc.request attributes +rpc_request_metadata VARCHAR, + -- rpc.response attributes +rpc_response_metadata VARCHAR, rpc_response_status_code VARCHAR, --- rpc.service attributes +-- rpc attributes rpc_service VARCHAR, +rpc_system VARCHAR, -- rpc.system attributes -rpc_system VARCHAR, rpc_system_name VARCHAR, --- server.address attributes +-- server attributes server_address VARCHAR, - --- server.port attributes server_port VARCHAR, --- service.criticality attributes +-- service attributes service_criticality VARCHAR, -- service.instance attributes service_instance_id VARCHAR, --- service.name attributes +-- service attributes service_name VARCHAR, - --- service.namespace attributes service_namespace VARCHAR, -- service.peer attributes service_peer_name VARCHAR, service_peer_namespace VARCHAR, --- service.version attributes +-- service attributes service_version VARCHAR, --- session.id attributes +-- session attributes session_id VARCHAR, - --- session.previous_id attributes session_previous_id VARCHAR, -- signalr.connection attributes signalr_connection_status VARCHAR, --- signalr.transport attributes +-- signalr attributes signalr_transport VARCHAR, -- system.cpu attributes system_cpu_logical_number VARCHAR, system_cpu_state VARCHAR, --- system.device attributes +-- system attributes system_device VARCHAR, -- system.filesystem attributes @@ -1172,8 +1182,10 @@ system_filesystem_mountpoint VARCHAR, system_filesystem_state VARCHAR, system_filesystem_type VARCHAR, --- system.memory attributes +-- system.memory.linux.slab attributes system_memory_linux_slab_state VARCHAR, + +-- system.memory attributes system_memory_state VARCHAR, -- system.network attributes @@ -1181,7 +1193,11 @@ system_network_state VARCHAR, -- system.paging attributes system_paging_direction VARCHAR, + +-- system.paging.fault attributes system_paging_fault_type VARCHAR, + +-- system.paging attributes system_paging_state VARCHAR, system_paging_type VARCHAR, @@ -1202,27 +1218,33 @@ telemetry_sdk_version VARCHAR, -- test.case attributes test_case_name VARCHAR, + +-- test.case.result attributes test_case_result_status VARCHAR, -- test.suite attributes test_suite_name VARCHAR, + +-- test.suite.run attributes test_suite_run_status VARCHAR, --- thread.id attributes +-- thread attributes thread_id VARCHAR, - --- thread.name attributes thread_name VARCHAR, --- tls.cipher attributes +-- tls attributes tls_cipher VARCHAR, -- tls.client attributes tls_client_certificate VARCHAR, tls_client_certificate_chain VARCHAR, + +-- tls.client.hash attributes tls_client_hash_md5 VARCHAR, tls_client_hash_sha1 VARCHAR, tls_client_hash_sha256 VARCHAR, + +-- tls.client attributes tls_client_issuer VARCHAR, tls_client_ja3 VARCHAR, tls_client_not_after VARCHAR, @@ -1231,77 +1253,59 @@ tls_client_server_name VARCHAR, tls_client_subject VARCHAR, tls_client_supported_ciphers VARCHAR, --- tls.curve attributes +-- tls attributes tls_curve VARCHAR, - --- tls.established attributes tls_established VARCHAR, - --- tls.next_protocol attributes tls_next_protocol VARCHAR, -- tls.protocol attributes tls_protocol_name VARCHAR, tls_protocol_version VARCHAR, --- tls.resumed attributes +-- tls attributes tls_resumed VARCHAR, -- tls.server attributes tls_server_certificate VARCHAR, tls_server_certificate_chain VARCHAR, + +-- tls.server.hash attributes tls_server_hash_md5 VARCHAR, tls_server_hash_sha1 VARCHAR, tls_server_hash_sha256 VARCHAR, + +-- tls.server attributes tls_server_issuer VARCHAR, tls_server_ja3s VARCHAR, tls_server_not_after VARCHAR, tls_server_not_before VARCHAR, tls_server_subject VARCHAR, --- url.domain attributes +-- url attributes url_domain VARCHAR, - --- url.extension attributes url_extension VARCHAR, - --- url.fragment attributes url_fragment VARCHAR, - --- url.full attributes url_full VARCHAR, - --- url.original attributes url_original VARCHAR, - --- url.path attributes url_path VARCHAR, - --- url.port attributes url_port VARCHAR, - --- url.query attributes url_query VARCHAR, - --- url.registered_domain attributes url_registered_domain VARCHAR, - --- url.scheme attributes url_scheme VARCHAR, - --- url.subdomain attributes url_subdomain VARCHAR, - --- url.template attributes url_template VARCHAR, - --- url.top_level_domain attributes url_top_level_domain VARCHAR, --- user_agent.name attributes -user_agent_name VARCHAR, +-- user attributes +user_email VARCHAR, +user_full_name VARCHAR, +user_hash VARCHAR, +user_id VARCHAR, +user_name VARCHAR, +user_roles VARCHAR, --- user_agent.original attributes +-- user_agent attributes +user_agent_name VARCHAR, user_agent_original VARCHAR, -- user_agent.os attributes @@ -1311,27 +1315,9 @@ user_agent_os_version VARCHAR, -- user_agent.synthetic attributes user_agent_synthetic_type VARCHAR, --- user_agent.version attributes +-- user_agent attributes user_agent_version VARCHAR, --- user.email attributes -user_email VARCHAR, - --- user.full_name attributes -user_full_name VARCHAR, - --- user.hash attributes -user_hash VARCHAR, - --- user.id attributes -user_id VARCHAR, - --- user.name attributes -user_name VARCHAR, - --- user.roles attributes -user_roles VARCHAR, - -- vcs.change attributes vcs_change_id VARCHAR, vcs_change_state VARCHAR, @@ -1346,32 +1332,38 @@ vcs_owner_name VARCHAR, -- vcs.provider attributes vcs_provider_name VARCHAR, --- vcs.ref attributes +-- vcs.ref.base attributes vcs_ref_base_name VARCHAR, vcs_ref_base_revision VARCHAR, vcs_ref_base_type VARCHAR, + +-- vcs.ref.head attributes vcs_ref_head_name VARCHAR, vcs_ref_head_revision VARCHAR, vcs_ref_head_type VARCHAR, + +-- vcs.ref attributes vcs_ref_type VARCHAR, --- vcs.repository attributes +-- vcs.repository.change attributes vcs_repository_change_id VARCHAR, vcs_repository_change_title VARCHAR, + +-- vcs.repository attributes vcs_repository_name VARCHAR, + +-- vcs.repository.ref attributes vcs_repository_ref_name VARCHAR, vcs_repository_ref_revision VARCHAR, vcs_repository_ref_type VARCHAR, + +-- vcs.repository.url attributes vcs_repository_url_full VARCHAR, -- vcs.revision_delta attributes vcs_revision_delta_direction VARCHAR, --- webengine.description attributes +-- webengine attributes webengine_description VARCHAR, - --- webengine.name attributes webengine_name VARCHAR, - --- webengine.version attributes webengine_version VARCHAR, diff --git a/src/qyl.contracts/Attributes/DbAttributes.g.cs b/src/qyl.contracts/Attributes/DbAttributes.cs similarity index 92% rename from src/qyl.contracts/Attributes/DbAttributes.g.cs rename to src/qyl.contracts/Attributes/DbAttributes.cs index c98a2d1b4..9b56bfc6b 100644 --- a/src/qyl.contracts/Attributes/DbAttributes.g.cs +++ b/src/qyl.contracts/Attributes/DbAttributes.cs @@ -1,6 +1,9 @@ -// -// Generated from @opentelemetry/semantic-conventions v1.40.0 + qyl-extensions.json -// Do not edit manually - run 'npm run generate:protocol' in eng/semconv +// Copyright (c) 2025-2026 ancplua +// +// Hand-maintained OTel 1.40.0 semconv facade for qyl consumers. +// Previously generated from eng/semconv/qyl-extensions.json — migrated to +// hand-edit on 2026-04-21 during the Weaver migration. Bump semconv keys +// by hand when upstream moves; qyl-specific enum extensions live here. namespace qyl.contracts.Attributes; diff --git a/src/qyl.contracts/Attributes/GenAiAttributes.g.cs b/src/qyl.contracts/Attributes/GenAiAttributes.cs similarity index 97% rename from src/qyl.contracts/Attributes/GenAiAttributes.g.cs rename to src/qyl.contracts/Attributes/GenAiAttributes.cs index d54e7cea0..1dfa1f74c 100644 --- a/src/qyl.contracts/Attributes/GenAiAttributes.g.cs +++ b/src/qyl.contracts/Attributes/GenAiAttributes.cs @@ -1,6 +1,9 @@ -// -// Generated from @opentelemetry/semantic-conventions v1.40.0 + qyl-extensions.json -// Do not edit manually - run 'npm run generate:protocol' in eng/semconv +// Copyright (c) 2025-2026 ancplua +// +// Hand-maintained OTel 1.40.0 semconv facade for qyl consumers. +// Previously generated from eng/semconv/qyl-extensions.json — migrated to +// hand-edit on 2026-04-21 during the Weaver migration. Bump semconv keys +// by hand when upstream moves; qyl-specific enum extensions live here. namespace qyl.contracts.Attributes; diff --git a/src/qyl.contracts/Attributes/McpAttributes.g.cs b/src/qyl.contracts/Attributes/McpAttributes.cs similarity index 89% rename from src/qyl.contracts/Attributes/McpAttributes.g.cs rename to src/qyl.contracts/Attributes/McpAttributes.cs index 9168ea430..92cbaca96 100644 --- a/src/qyl.contracts/Attributes/McpAttributes.g.cs +++ b/src/qyl.contracts/Attributes/McpAttributes.cs @@ -1,6 +1,9 @@ -// -// Generated from @opentelemetry/semantic-conventions v1.40.0 + qyl-extensions.json -// Do not edit manually - run 'npm run generate:protocol' in eng/semconv +// Copyright (c) 2025-2026 ancplua +// +// Hand-maintained OTel 1.40.0 semconv facade for qyl consumers. +// Previously generated from eng/semconv/qyl-extensions.json — migrated to +// hand-edit on 2026-04-21 during the Weaver migration. Bump semconv keys +// by hand when upstream moves; qyl-specific enum extensions live here. namespace qyl.contracts.Attributes; diff --git a/src/qyl.dashboard/src/lib/semconv.ts b/src/qyl.dashboard/src/lib/semconv.ts index 01f0bc5cc..dea33be9f 100644 --- a/src/qyl.dashboard/src/lib/semconv.ts +++ b/src/qyl.dashboard/src/lib/semconv.ts @@ -1,6 +1,6 @@ // -// Generated from @opentelemetry/semantic-conventions v1.40.0 -// Do not edit manually - run 'npm run generate' in SemconvGenerator +// Generated from open-telemetry/semantic-conventions v1.40.0 via Weaver +// Do not edit manually - run 'nuke GenerateSemconv' // Attribute keys @@ -9,16 +9,10 @@ export const ARTIFACT_ATTESTATION_FILENAME = "artifact.attestation.filename"; export const ARTIFACT_ATTESTATION_HASH = "artifact.attestation.hash"; export const ARTIFACT_ATTESTATION_ID = "artifact.attestation.id"; -// artifact.filename +// artifact export const ARTIFACT_FILENAME = "artifact.filename"; - -// artifact.hash export const ARTIFACT_HASH = "artifact.hash"; - -// artifact.purl export const ARTIFACT_PURL = "artifact.purl"; - -// artifact.version export const ARTIFACT_VERSION = "artifact.version"; // aspnetcore.authentication @@ -29,21 +23,31 @@ export const ASPNETCORE_AUTHENTICATION_SCHEME = "aspnetcore.authentication.schem export const ASPNETCORE_AUTHORIZATION_POLICY = "aspnetcore.authorization.policy"; export const ASPNETCORE_AUTHORIZATION_RESULT = "aspnetcore.authorization.result"; -// aspnetcore.diagnostics +// aspnetcore.diagnostics.exception export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = "aspnetcore.diagnostics.exception.result"; + +// aspnetcore.diagnostics.handler export const ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = "aspnetcore.diagnostics.handler.type"; // aspnetcore.identity export const ASPNETCORE_IDENTITY_ERROR_CODE = "aspnetcore.identity.error_code"; export const ASPNETCORE_IDENTITY_PASSWORD_CHECK_RESULT = "aspnetcore.identity.password_check_result"; export const ASPNETCORE_IDENTITY_RESULT = "aspnetcore.identity.result"; + +// aspnetcore.identity.sign_in export const ASPNETCORE_IDENTITY_SIGN_IN_RESULT = "aspnetcore.identity.sign_in.result"; export const ASPNETCORE_IDENTITY_SIGN_IN_TYPE = "aspnetcore.identity.sign_in.type"; + +// aspnetcore.identity export const ASPNETCORE_IDENTITY_TOKEN_PURPOSE = "aspnetcore.identity.token_purpose"; export const ASPNETCORE_IDENTITY_TOKEN_VERIFIED = "aspnetcore.identity.token_verified"; -export const ASPNETCORE_IDENTITY_USER_TYPE = "aspnetcore.identity.user_type"; + +// aspnetcore.identity.user export const ASPNETCORE_IDENTITY_USER_UPDATE_TYPE = "aspnetcore.identity.user.update_type"; +// aspnetcore.identity +export const ASPNETCORE_IDENTITY_USER_TYPE = "aspnetcore.identity.user_type"; + // aspnetcore.memory_pool export const ASPNETCORE_MEMORY_POOL_OWNER = "aspnetcore.memory_pool.owner"; @@ -67,43 +71,59 @@ export const ASPNETCORE_USER_IS_AUTHENTICATED = "aspnetcore.user.is_authenticate // azure.client export const AZURE_CLIENT_ID = "azure.client.id"; -// azure.cosmosdb +// azure.cosmosdb.connection export const AZURE_COSMOSDB_CONNECTION_MODE = "azure.cosmosdb.connection.mode"; + +// azure.cosmosdb.consistency export const AZURE_COSMOSDB_CONSISTENCY_LEVEL = "azure.cosmosdb.consistency.level"; + +// azure.cosmosdb.operation export const AZURE_COSMOSDB_OPERATION_CONTACTED_REGIONS = "azure.cosmosdb.operation.contacted_regions"; export const AZURE_COSMOSDB_OPERATION_REQUEST_CHARGE = "azure.cosmosdb.operation.request_charge"; + +// azure.cosmosdb.request.body export const AZURE_COSMOSDB_REQUEST_BODY_SIZE = "azure.cosmosdb.request.body.size"; + +// azure.cosmosdb.response export const AZURE_COSMOSDB_RESPONSE_SUB_STATUS_CODE = "azure.cosmosdb.response.sub_status_code"; // azure.resource_provider export const AZURE_RESOURCE_PROVIDER_NAMESPACE = "azure.resource_provider.namespace"; -// azure.service +// azure.service.request export const AZURE_SERVICE_REQUEST_ID = "azure.service.request.id"; -// browser.brands +// browser export const BROWSER_BRANDS = "browser.brands"; - -// browser.language export const BROWSER_LANGUAGE = "browser.language"; - -// browser.mobile export const BROWSER_MOBILE = "browser.mobile"; - -// browser.platform export const BROWSER_PLATFORM = "browser.platform"; -// cicd.pipeline +// cicd.pipeline.action export const CICD_PIPELINE_ACTION_NAME = "cicd.pipeline.action.name"; + +// cicd.pipeline export const CICD_PIPELINE_NAME = "cicd.pipeline.name"; export const CICD_PIPELINE_RESULT = "cicd.pipeline.result"; + +// cicd.pipeline.run export const CICD_PIPELINE_RUN_ID = "cicd.pipeline.run.id"; export const CICD_PIPELINE_RUN_STATE = "cicd.pipeline.run.state"; + +// cicd.pipeline.run.url export const CICD_PIPELINE_RUN_URL_FULL = "cicd.pipeline.run.url.full"; + +// cicd.pipeline.task export const CICD_PIPELINE_TASK_NAME = "cicd.pipeline.task.name"; + +// cicd.pipeline.task.run export const CICD_PIPELINE_TASK_RUN_ID = "cicd.pipeline.task.run.id"; export const CICD_PIPELINE_TASK_RUN_RESULT = "cicd.pipeline.task.run.result"; + +// cicd.pipeline.task.run.url export const CICD_PIPELINE_TASK_RUN_URL_FULL = "cicd.pipeline.task.run.url.full"; + +// cicd.pipeline.task export const CICD_PIPELINE_TASK_TYPE = "cicd.pipeline.task.type"; // cicd.system @@ -113,111 +133,63 @@ export const CICD_SYSTEM_COMPONENT = "cicd.system.component"; export const CICD_WORKER_ID = "cicd.worker.id"; export const CICD_WORKER_NAME = "cicd.worker.name"; export const CICD_WORKER_STATE = "cicd.worker.state"; + +// cicd.worker.url export const CICD_WORKER_URL_FULL = "cicd.worker.url.full"; -// client.address +// client export const CLIENT_ADDRESS = "client.address"; - -// client.port export const CLIENT_PORT = "client.port"; // cloud.account export const CLOUD_ACCOUNT_ID = "cloud.account.id"; -// cloud.availability_zone +// cloud export const CLOUD_AVAILABILITY_ZONE = "cloud.availability_zone"; - -// cloud.platform export const CLOUD_PLATFORM = "cloud.platform"; - -// cloud.provider export const CLOUD_PROVIDER = "cloud.provider"; - -// cloud.region export const CLOUD_REGION = "cloud.region"; - -// cloud.resource_id export const CLOUD_RESOURCE_ID = "cloud.resource_id"; -// cloudevents.event_id -export const CLOUDEVENTS_EVENT_ID = "cloudevents.event_id"; - -// cloudevents.event_source -export const CLOUDEVENTS_EVENT_SOURCE = "cloudevents.event_source"; - -// cloudevents.event_spec_version -export const CLOUDEVENTS_EVENT_SPEC_VERSION = "cloudevents.event_spec_version"; - -// cloudevents.event_subject -export const CLOUDEVENTS_EVENT_SUBJECT = "cloudevents.event_subject"; - -// cloudevents.event_type -export const CLOUDEVENTS_EVENT_TYPE = "cloudevents.event_type"; - -// cloudfoundry.app -export const CLOUDFOUNDRY_APP_ID = "cloudfoundry.app.id"; -export const CLOUDFOUNDRY_APP_INSTANCE_ID = "cloudfoundry.app.instance.id"; -export const CLOUDFOUNDRY_APP_NAME = "cloudfoundry.app.name"; - -// cloudfoundry.org -export const CLOUDFOUNDRY_ORG_ID = "cloudfoundry.org.id"; -export const CLOUDFOUNDRY_ORG_NAME = "cloudfoundry.org.name"; - -// cloudfoundry.process -export const CLOUDFOUNDRY_PROCESS_ID = "cloudfoundry.process.id"; -export const CLOUDFOUNDRY_PROCESS_TYPE = "cloudfoundry.process.type"; - -// cloudfoundry.space -export const CLOUDFOUNDRY_SPACE_ID = "cloudfoundry.space.id"; -export const CLOUDFOUNDRY_SPACE_NAME = "cloudfoundry.space.name"; - -// cloudfoundry.system -export const CLOUDFOUNDRY_SYSTEM_ID = "cloudfoundry.system.id"; -export const CLOUDFOUNDRY_SYSTEM_INSTANCE_ID = "cloudfoundry.system.instance.id"; +// code +export const CODE_COLUMN = "code.column"; // code.column -export const CODE_COLUMN = "code.column"; export const CODE_COLUMN_NUMBER = "code.column.number"; // code.file export const CODE_FILE_PATH = "code.file.path"; -// code.filepath +// code export const CODE_FILEPATH = "code.filepath"; +export const CODE_FUNCTION = "code.function"; // code.function -export const CODE_FUNCTION = "code.function"; export const CODE_FUNCTION_NAME = "code.function.name"; // code.line export const CODE_LINE_NUMBER = "code.line.number"; -// code.lineno +// code export const CODE_LINENO = "code.lineno"; - -// code.namespace export const CODE_NAMESPACE = "code.namespace"; - -// code.stacktrace export const CODE_STACKTRACE = "code.stacktrace"; -// container.command +// container export const CONTAINER_COMMAND = "container.command"; - -// container.command_args export const CONTAINER_COMMAND_ARGS = "container.command_args"; - -// container.command_line export const CONTAINER_COMMAND_LINE = "container.command_line"; // container.cpu export const CONTAINER_CPU_STATE = "container.cpu.state"; -// container.csi +// container.csi.plugin export const CONTAINER_CSI_PLUGIN_NAME = "container.csi.plugin.name"; + +// container.csi.volume export const CONTAINER_CSI_VOLUME_ID = "container.csi.volume.id"; -// container.id +// container export const CONTAINER_ID = "container.id"; // container.image @@ -226,34 +198,46 @@ export const CONTAINER_IMAGE_NAME = "container.image.name"; export const CONTAINER_IMAGE_REPO_DIGESTS = "container.image.repo_digests"; export const CONTAINER_IMAGE_TAGS = "container.image.tags"; -// container.name +// container +export const CONTAINER_LABEL = "container.label"; +export const CONTAINER_LABELS = "container.labels"; export const CONTAINER_NAME = "container.name"; +export const CONTAINER_RUNTIME = "container.runtime"; // container.runtime -export const CONTAINER_RUNTIME = "container.runtime"; export const CONTAINER_RUNTIME_DESCRIPTION = "container.runtime.description"; export const CONTAINER_RUNTIME_NAME = "container.runtime.name"; export const CONTAINER_RUNTIME_VERSION = "container.runtime.version"; // db.cassandra export const DB_CASSANDRA_CONSISTENCY_LEVEL = "db.cassandra.consistency_level"; + +// db.cassandra.coordinator export const DB_CASSANDRA_COORDINATOR_DC = "db.cassandra.coordinator.dc"; export const DB_CASSANDRA_COORDINATOR_ID = "db.cassandra.coordinator.id"; + +// db.cassandra export const DB_CASSANDRA_IDEMPOTENCE = "db.cassandra.idempotence"; export const DB_CASSANDRA_PAGE_SIZE = "db.cassandra.page_size"; export const DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = "db.cassandra.speculative_execution_count"; export const DB_CASSANDRA_TABLE = "db.cassandra.table"; -// db.client +// db.client.connection.pool export const DB_CLIENT_CONNECTION_POOL_NAME = "db.client.connection.pool.name"; + +// db.client.connection export const DB_CLIENT_CONNECTION_STATE = "db.client.connection.state"; + +// db.client.connections.pool export const DB_CLIENT_CONNECTIONS_POOL_NAME = "db.client.connections.pool.name"; + +// db.client.connections export const DB_CLIENT_CONNECTIONS_STATE = "db.client.connections.state"; // db.collection export const DB_COLLECTION_NAME = "db.collection.name"; -// db.connection_string +// db export const DB_CONNECTION_STRING = "db.connection_string"; // db.cosmosdb @@ -268,10 +252,15 @@ export const DB_COSMOSDB_REQUEST_CONTENT_LENGTH = "db.cosmosdb.request_content_l export const DB_COSMOSDB_STATUS_CODE = "db.cosmosdb.status_code"; export const DB_COSMOSDB_SUB_STATUS_CODE = "db.cosmosdb.sub_status_code"; -// db.elasticsearch +// db.elasticsearch.cluster export const DB_ELASTICSEARCH_CLUSTER_NAME = "db.elasticsearch.cluster.name"; + +// db.elasticsearch.node export const DB_ELASTICSEARCH_NODE_NAME = "db.elasticsearch.node.name"; +// db.elasticsearch +export const DB_ELASTICSEARCH_PATH_PARTS = "db.elasticsearch.path_parts"; + // db.instance export const DB_INSTANCE_ID = "db.instance.id"; @@ -284,18 +273,20 @@ export const DB_MONGODB_COLLECTION = "db.mongodb.collection"; // db.mssql export const DB_MSSQL_INSTANCE_NAME = "db.mssql.instance_name"; -// db.name +// db export const DB_NAME = "db.name"; - -// db.namespace export const DB_NAMESPACE = "db.namespace"; - -// db.operation export const DB_OPERATION = "db.operation"; + +// db.operation.batch export const DB_OPERATION_BATCH_SIZE = "db.operation.batch.size"; + +// db.operation export const DB_OPERATION_NAME = "db.operation.name"; +export const DB_OPERATION_PARAMETER = "db.operation.parameter"; // db.query +export const DB_QUERY_PARAMETER = "db.query.parameter"; export const DB_QUERY_SUMMARY = "db.query.summary"; export const DB_QUERY_TEXT = "db.query.text"; @@ -309,78 +300,66 @@ export const DB_RESPONSE_STATUS_CODE = "db.response.status_code"; // db.sql export const DB_SQL_TABLE = "db.sql.table"; -// db.statement +// db export const DB_STATEMENT = "db.statement"; // db.stored_procedure export const DB_STORED_PROCEDURE_NAME = "db.stored_procedure.name"; -// db.system +// db export const DB_SYSTEM = "db.system"; + +// db.system export const DB_SYSTEM_NAME = "db.system.name"; -// db.user +// db export const DB_USER = "db.user"; -// deployment.environment +// deployment export const DEPLOYMENT_ENVIRONMENT = "deployment.environment"; + +// deployment.environment export const DEPLOYMENT_ENVIRONMENT_NAME = "deployment.environment.name"; -// deployment.id +// deployment export const DEPLOYMENT_ID = "deployment.id"; - -// deployment.name export const DEPLOYMENT_NAME = "deployment.name"; - -// deployment.status export const DEPLOYMENT_STATUS = "deployment.status"; -// dns.answers +// dns export const DNS_ANSWERS = "dns.answers"; // dns.question export const DNS_QUESTION_NAME = "dns.question.name"; -// dotnet.gc +// dotnet.gc.heap export const DOTNET_GC_HEAP_GENERATION = "dotnet.gc.heap.generation"; // elasticsearch.node export const ELASTICSEARCH_NODE_NAME = "elasticsearch.node.name"; -// enduser.id +// enduser export const ENDUSER_ID = "enduser.id"; // enduser.pseudo export const ENDUSER_PSEUDO_ID = "enduser.pseudo.id"; -// enduser.role +// enduser export const ENDUSER_ROLE = "enduser.role"; - -// enduser.scope export const ENDUSER_SCOPE = "enduser.scope"; -// error.message +// error export const ERROR_MESSAGE = "error.message"; - -// error.type export const ERROR_TYPE = "error.type"; -// exception.escaped +// exception export const EXCEPTION_ESCAPED = "exception.escaped"; - -// exception.message export const EXCEPTION_MESSAGE = "exception.message"; - -// exception.stacktrace export const EXCEPTION_STACKTRACE = "exception.stacktrace"; - -// exception.type export const EXCEPTION_TYPE = "exception.type"; -// faas.coldstart +// faas export const FAAS_COLDSTART = "faas.coldstart"; - -// faas.cron export const FAAS_CRON = "faas.cron"; // faas.document @@ -389,34 +368,16 @@ export const FAAS_DOCUMENT_NAME = "faas.document.name"; export const FAAS_DOCUMENT_OPERATION = "faas.document.operation"; export const FAAS_DOCUMENT_TIME = "faas.document.time"; -// faas.instance +// faas export const FAAS_INSTANCE = "faas.instance"; - -// faas.invocation_id export const FAAS_INVOCATION_ID = "faas.invocation_id"; - -// faas.invoked_name export const FAAS_INVOKED_NAME = "faas.invoked_name"; - -// faas.invoked_provider export const FAAS_INVOKED_PROVIDER = "faas.invoked_provider"; - -// faas.invoked_region export const FAAS_INVOKED_REGION = "faas.invoked_region"; - -// faas.max_memory export const FAAS_MAX_MEMORY = "faas.max_memory"; - -// faas.name export const FAAS_NAME = "faas.name"; - -// faas.time export const FAAS_TIME = "faas.time"; - -// faas.trigger export const FAAS_TRIGGER = "faas.trigger"; - -// faas.version export const FAAS_VERSION = "faas.version"; // feature_flag.context @@ -425,11 +386,13 @@ export const FEATURE_FLAG_CONTEXT_ID = "feature_flag.context.id"; // feature_flag.error export const FEATURE_FLAG_ERROR_MESSAGE = "feature_flag.error.message"; -// feature_flag.evaluation +// feature_flag.evaluation.error export const FEATURE_FLAG_EVALUATION_ERROR_MESSAGE = "feature_flag.evaluation.error.message"; + +// feature_flag.evaluation export const FEATURE_FLAG_EVALUATION_REASON = "feature_flag.evaluation.reason"; -// feature_flag.key +// feature_flag export const FEATURE_FLAG_KEY = "feature_flag.key"; // feature_flag.provider @@ -443,57 +406,35 @@ export const FEATURE_FLAG_RESULT_VARIANT = "feature_flag.result.variant"; // feature_flag.set export const FEATURE_FLAG_SET_ID = "feature_flag.set.id"; -// feature_flag.variant +// feature_flag export const FEATURE_FLAG_VARIANT = "feature_flag.variant"; - -// feature_flag.version export const FEATURE_FLAG_VERSION = "feature_flag.version"; -// file.accessed +// file export const FILE_ACCESSED = "file.accessed"; - -// file.attributes export const FILE_ATTRIBUTES = "file.attributes"; - -// file.changed export const FILE_CHANGED = "file.changed"; - -// file.created export const FILE_CREATED = "file.created"; - -// file.directory export const FILE_DIRECTORY = "file.directory"; - -// file.extension export const FILE_EXTENSION = "file.extension"; - -// file.fork_name export const FILE_FORK_NAME = "file.fork_name"; // file.group export const FILE_GROUP_ID = "file.group.id"; export const FILE_GROUP_NAME = "file.group.name"; -// file.inode +// file export const FILE_INODE = "file.inode"; - -// file.mode export const FILE_MODE = "file.mode"; - -// file.modified export const FILE_MODIFIED = "file.modified"; - -// file.name export const FILE_NAME = "file.name"; // file.owner export const FILE_OWNER_ID = "file.owner.id"; export const FILE_OWNER_NAME = "file.owner.name"; -// file.path +// file export const FILE_PATH = "file.path"; - -// file.size export const FILE_SIZE = "file.size"; // file.symbolic_link @@ -505,7 +446,7 @@ export const GEN_AI_AGENT_ID = "gen_ai.agent.id"; export const GEN_AI_AGENT_NAME = "gen_ai.agent.name"; export const GEN_AI_AGENT_VERSION = "gen_ai.agent.version"; -// gen_ai.completion +// gen_ai export const GEN_AI_COMPLETION = "gen_ai.completion"; // gen_ai.conversation @@ -514,22 +455,26 @@ export const GEN_AI_CONVERSATION_ID = "gen_ai.conversation.id"; // gen_ai.data_source export const GEN_AI_DATA_SOURCE_ID = "gen_ai.data_source.id"; -// gen_ai.embeddings +// gen_ai.embeddings.dimension export const GEN_AI_EMBEDDINGS_DIMENSION_COUNT = "gen_ai.embeddings.dimension.count"; // gen_ai.evaluation export const GEN_AI_EVALUATION_EXPLANATION = "gen_ai.evaluation.explanation"; export const GEN_AI_EVALUATION_NAME = "gen_ai.evaluation.name"; + +// gen_ai.evaluation.score export const GEN_AI_EVALUATION_SCORE_LABEL = "gen_ai.evaluation.score.label"; export const GEN_AI_EVALUATION_SCORE_VALUE = "gen_ai.evaluation.score.value"; // gen_ai.input export const GEN_AI_INPUT_MESSAGES = "gen_ai.input.messages"; -// gen_ai.openai +// gen_ai.openai.request export const GEN_AI_OPENAI_REQUEST_RESPONSE_FORMAT = "gen_ai.openai.request.response_format"; export const GEN_AI_OPENAI_REQUEST_SEED = "gen_ai.openai.request.seed"; export const GEN_AI_OPENAI_REQUEST_SERVICE_TIER = "gen_ai.openai.request.service_tier"; + +// gen_ai.openai.response export const GEN_AI_OPENAI_RESPONSE_SERVICE_TIER = "gen_ai.openai.response.service_tier"; export const GEN_AI_OPENAI_RESPONSE_SYSTEM_FINGERPRINT = "gen_ai.openai.response.system_fingerprint"; @@ -540,15 +485,19 @@ export const GEN_AI_OPERATION_NAME = "gen_ai.operation.name"; export const GEN_AI_OUTPUT_MESSAGES = "gen_ai.output.messages"; export const GEN_AI_OUTPUT_TYPE = "gen_ai.output.type"; -// gen_ai.prompt +// gen_ai export const GEN_AI_PROMPT = "gen_ai.prompt"; + +// gen_ai.prompt export const GEN_AI_PROMPT_NAME = "gen_ai.prompt.name"; // gen_ai.provider export const GEN_AI_PROVIDER_NAME = "gen_ai.provider.name"; -// gen_ai.request +// gen_ai.request.choice export const GEN_AI_REQUEST_CHOICE_COUNT = "gen_ai.request.choice.count"; + +// gen_ai.request export const GEN_AI_REQUEST_ENCODING_FORMATS = "gen_ai.request.encoding_formats"; export const GEN_AI_REQUEST_FREQUENCY_PENALTY = "gen_ai.request.frequency_penalty"; export const GEN_AI_REQUEST_MAX_TOKENS = "gen_ai.request.max_tokens"; @@ -567,29 +516,35 @@ export const GEN_AI_RESPONSE_MODEL = "gen_ai.response.model"; // gen_ai.retrieval export const GEN_AI_RETRIEVAL_DOCUMENTS = "gen_ai.retrieval.documents"; + +// gen_ai.retrieval.query export const GEN_AI_RETRIEVAL_QUERY_TEXT = "gen_ai.retrieval.query.text"; -// gen_ai.system +// gen_ai export const GEN_AI_SYSTEM = "gen_ai.system"; - -// gen_ai.system_instructions export const GEN_AI_SYSTEM_INSTRUCTIONS = "gen_ai.system_instructions"; // gen_ai.token export const GEN_AI_TOKEN_TYPE = "gen_ai.token.type"; -// gen_ai.tool +// gen_ai.tool.call export const GEN_AI_TOOL_CALL_ARGUMENTS = "gen_ai.tool.call.arguments"; export const GEN_AI_TOOL_CALL_ID = "gen_ai.tool.call.id"; export const GEN_AI_TOOL_CALL_RESULT = "gen_ai.tool.call.result"; + +// gen_ai.tool export const GEN_AI_TOOL_DEFINITIONS = "gen_ai.tool.definitions"; export const GEN_AI_TOOL_DESCRIPTION = "gen_ai.tool.description"; export const GEN_AI_TOOL_NAME = "gen_ai.tool.name"; export const GEN_AI_TOOL_TYPE = "gen_ai.tool.type"; -// gen_ai.usage +// gen_ai.usage.cache_creation export const GEN_AI_USAGE_CACHE_CREATION_INPUT_TOKENS = "gen_ai.usage.cache_creation.input_tokens"; + +// gen_ai.usage.cache_read export const GEN_AI_USAGE_CACHE_READ_INPUT_TOKENS = "gen_ai.usage.cache_read.input_tokens"; + +// gen_ai.usage export const GEN_AI_USAGE_COMPLETION_TOKENS = "gen_ai.usage.completion_tokens"; export const GEN_AI_USAGE_INPUT_TOKENS = "gen_ai.usage.input_tokens"; export const GEN_AI_USAGE_OUTPUT_TOKENS = "gen_ai.usage.output_tokens"; @@ -608,24 +563,32 @@ export const GEO_LOCALITY_NAME = "geo.locality.name"; export const GEO_LOCATION_LAT = "geo.location.lat"; export const GEO_LOCATION_LON = "geo.location.lon"; -// geo.postal_code +// geo export const GEO_POSTAL_CODE = "geo.postal_code"; // geo.region export const GEO_REGION_ISO_CODE = "geo.region.iso_code"; -// host.arch +// host export const HOST_ARCH = "host.arch"; -// host.cpu +// host.cpu.cache.l2 export const HOST_CPU_CACHE_L2_SIZE = "host.cpu.cache.l2.size"; + +// host.cpu export const HOST_CPU_FAMILY = "host.cpu.family"; + +// host.cpu.model export const HOST_CPU_MODEL_ID = "host.cpu.model.id"; export const HOST_CPU_MODEL_NAME = "host.cpu.model.name"; + +// host.cpu export const HOST_CPU_STEPPING = "host.cpu.stepping"; + +// host.cpu.vendor export const HOST_CPU_VENDOR_ID = "host.cpu.vendor.id"; -// host.id +// host export const HOST_ID = "host.id"; // host.image @@ -633,76 +596,54 @@ export const HOST_IMAGE_ID = "host.image.id"; export const HOST_IMAGE_NAME = "host.image.name"; export const HOST_IMAGE_VERSION = "host.image.version"; -// host.ip +// host export const HOST_IP = "host.ip"; - -// host.mac export const HOST_MAC = "host.mac"; - -// host.name export const HOST_NAME = "host.name"; - -// host.type export const HOST_TYPE = "host.type"; -// http.client_ip +// http export const HTTP_CLIENT_IP = "http.client_ip"; // http.connection export const HTTP_CONNECTION_STATE = "http.connection.state"; -// http.flavor +// http export const HTTP_FLAVOR = "http.flavor"; - -// http.host export const HTTP_HOST = "http.host"; - -// http.method export const HTTP_METHOD = "http.method"; -// http.request_content_length -export const HTTP_REQUEST_CONTENT_LENGTH = "http.request_content_length"; - -// http.request_content_length_uncompressed -export const HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED = "http.request_content_length_uncompressed"; +// http.request.body +export const HTTP_REQUEST_BODY_SIZE = "http.request.body.size"; // http.request -export const HTTP_REQUEST_BODY_SIZE = "http.request.body.size"; +export const HTTP_REQUEST_HEADER = "http.request.header"; export const HTTP_REQUEST_METHOD = "http.request.method"; export const HTTP_REQUEST_METHOD_ORIGINAL = "http.request.method_original"; export const HTTP_REQUEST_RESEND_COUNT = "http.request.resend_count"; export const HTTP_REQUEST_SIZE = "http.request.size"; -// http.response_content_length -export const HTTP_RESPONSE_CONTENT_LENGTH = "http.response_content_length"; +// http +export const HTTP_REQUEST_CONTENT_LENGTH = "http.request_content_length"; +export const HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED = "http.request_content_length_uncompressed"; -// http.response_content_length_uncompressed -export const HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED = "http.response_content_length_uncompressed"; +// http.response.body +export const HTTP_RESPONSE_BODY_SIZE = "http.response.body.size"; // http.response -export const HTTP_RESPONSE_BODY_SIZE = "http.response.body.size"; +export const HTTP_RESPONSE_HEADER = "http.response.header"; export const HTTP_RESPONSE_SIZE = "http.response.size"; export const HTTP_RESPONSE_STATUS_CODE = "http.response.status_code"; -// http.route +// http +export const HTTP_RESPONSE_CONTENT_LENGTH = "http.response_content_length"; +export const HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED = "http.response_content_length_uncompressed"; export const HTTP_ROUTE = "http.route"; - -// http.scheme export const HTTP_SCHEME = "http.scheme"; - -// http.server_name export const HTTP_SERVER_NAME = "http.server_name"; - -// http.status_code export const HTTP_STATUS_CODE = "http.status_code"; - -// http.target export const HTTP_TARGET = "http.target"; - -// http.url export const HTTP_URL = "http.url"; - -// http.user_agent export const HTTP_USER_AGENT = "http.user_agent"; // k8s.cluster @@ -712,57 +653,90 @@ export const K8S_CLUSTER_UID = "k8s.cluster.uid"; // k8s.container export const K8S_CONTAINER_NAME = "k8s.container.name"; export const K8S_CONTAINER_RESTART_COUNT = "k8s.container.restart_count"; + +// k8s.container.status export const K8S_CONTAINER_STATUS_LAST_TERMINATED_REASON = "k8s.container.status.last_terminated_reason"; export const K8S_CONTAINER_STATUS_REASON = "k8s.container.status.reason"; export const K8S_CONTAINER_STATUS_STATE = "k8s.container.status.state"; // k8s.cronjob +export const K8S_CRONJOB_ANNOTATION = "k8s.cronjob.annotation"; +export const K8S_CRONJOB_LABEL = "k8s.cronjob.label"; export const K8S_CRONJOB_NAME = "k8s.cronjob.name"; export const K8S_CRONJOB_UID = "k8s.cronjob.uid"; // k8s.daemonset +export const K8S_DAEMONSET_ANNOTATION = "k8s.daemonset.annotation"; +export const K8S_DAEMONSET_LABEL = "k8s.daemonset.label"; export const K8S_DAEMONSET_NAME = "k8s.daemonset.name"; export const K8S_DAEMONSET_UID = "k8s.daemonset.uid"; // k8s.deployment +export const K8S_DEPLOYMENT_ANNOTATION = "k8s.deployment.annotation"; +export const K8S_DEPLOYMENT_LABEL = "k8s.deployment.label"; export const K8S_DEPLOYMENT_NAME = "k8s.deployment.name"; export const K8S_DEPLOYMENT_UID = "k8s.deployment.uid"; -// k8s.hpa +// k8s.hpa.metric export const K8S_HPA_METRIC_TYPE = "k8s.hpa.metric.type"; + +// k8s.hpa export const K8S_HPA_NAME = "k8s.hpa.name"; + +// k8s.hpa.scaletargetref export const K8S_HPA_SCALETARGETREF_API_VERSION = "k8s.hpa.scaletargetref.api_version"; export const K8S_HPA_SCALETARGETREF_KIND = "k8s.hpa.scaletargetref.kind"; export const K8S_HPA_SCALETARGETREF_NAME = "k8s.hpa.scaletargetref.name"; + +// k8s.hpa export const K8S_HPA_UID = "k8s.hpa.uid"; // k8s.hugepage export const K8S_HUGEPAGE_SIZE = "k8s.hugepage.size"; // k8s.job +export const K8S_JOB_ANNOTATION = "k8s.job.annotation"; +export const K8S_JOB_LABEL = "k8s.job.label"; export const K8S_JOB_NAME = "k8s.job.name"; export const K8S_JOB_UID = "k8s.job.uid"; // k8s.namespace +export const K8S_NAMESPACE_ANNOTATION = "k8s.namespace.annotation"; +export const K8S_NAMESPACE_LABEL = "k8s.namespace.label"; export const K8S_NAMESPACE_NAME = "k8s.namespace.name"; export const K8S_NAMESPACE_PHASE = "k8s.namespace.phase"; // k8s.node +export const K8S_NODE_ANNOTATION = "k8s.node.annotation"; + +// k8s.node.condition export const K8S_NODE_CONDITION_STATUS = "k8s.node.condition.status"; export const K8S_NODE_CONDITION_TYPE = "k8s.node.condition.type"; + +// k8s.node +export const K8S_NODE_LABEL = "k8s.node.label"; export const K8S_NODE_NAME = "k8s.node.name"; export const K8S_NODE_UID = "k8s.node.uid"; // k8s.pod +export const K8S_POD_ANNOTATION = "k8s.pod.annotation"; export const K8S_POD_HOSTNAME = "k8s.pod.hostname"; export const K8S_POD_IP = "k8s.pod.ip"; +export const K8S_POD_LABEL = "k8s.pod.label"; +export const K8S_POD_LABELS = "k8s.pod.labels"; export const K8S_POD_NAME = "k8s.pod.name"; export const K8S_POD_START_TIME = "k8s.pod.start_time"; + +// k8s.pod.status export const K8S_POD_STATUS_PHASE = "k8s.pod.status.phase"; export const K8S_POD_STATUS_REASON = "k8s.pod.status.reason"; + +// k8s.pod export const K8S_POD_UID = "k8s.pod.uid"; // k8s.replicaset +export const K8S_REPLICASET_ANNOTATION = "k8s.replicaset.annotation"; +export const K8S_REPLICASET_LABEL = "k8s.replicaset.label"; export const K8S_REPLICASET_NAME = "k8s.replicaset.name"; export const K8S_REPLICASET_UID = "k8s.replicaset.uid"; @@ -776,16 +750,25 @@ export const K8S_RESOURCEQUOTA_RESOURCE_NAME = "k8s.resourcequota.resource_name" export const K8S_RESOURCEQUOTA_UID = "k8s.resourcequota.uid"; // k8s.service +export const K8S_SERVICE_ANNOTATION = "k8s.service.annotation"; + +// k8s.service.endpoint export const K8S_SERVICE_ENDPOINT_ADDRESS_TYPE = "k8s.service.endpoint.address_type"; export const K8S_SERVICE_ENDPOINT_CONDITION = "k8s.service.endpoint.condition"; export const K8S_SERVICE_ENDPOINT_ZONE = "k8s.service.endpoint.zone"; + +// k8s.service +export const K8S_SERVICE_LABEL = "k8s.service.label"; export const K8S_SERVICE_NAME = "k8s.service.name"; export const K8S_SERVICE_PUBLISH_NOT_READY_ADDRESSES = "k8s.service.publish_not_ready_addresses"; +export const K8S_SERVICE_SELECTOR = "k8s.service.selector"; export const K8S_SERVICE_TRAFFIC_DISTRIBUTION = "k8s.service.traffic_distribution"; export const K8S_SERVICE_TYPE = "k8s.service.type"; export const K8S_SERVICE_UID = "k8s.service.uid"; // k8s.statefulset +export const K8S_STATEFULSET_ANNOTATION = "k8s.statefulset.annotation"; +export const K8S_STATEFULSET_LABEL = "k8s.statefulset.label"; export const K8S_STATEFULSET_NAME = "k8s.statefulset.name"; export const K8S_STATEFULSET_UID = "k8s.statefulset.uid"; @@ -802,7 +785,7 @@ export const LOG_FILE_NAME_RESOLVED = "log.file.name_resolved"; export const LOG_FILE_PATH = "log.file.path"; export const LOG_FILE_PATH_RESOLVED = "log.file.path_resolved"; -// log.iostream +// log export const LOG_IOSTREAM = "log.iostream"; // log.record @@ -815,72 +798,104 @@ export const MESSAGING_BATCH_MESSAGE_COUNT = "messaging.batch.message_count"; // messaging.client export const MESSAGING_CLIENT_ID = "messaging.client.id"; -// messaging.consumer +// messaging.consumer.group export const MESSAGING_CONSUMER_GROUP_NAME = "messaging.consumer.group.name"; -// messaging.destination_publish -export const MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = "messaging.destination_publish.anonymous"; -export const MESSAGING_DESTINATION_PUBLISH_NAME = "messaging.destination_publish.name"; - // messaging.destination export const MESSAGING_DESTINATION_ANONYMOUS = "messaging.destination.anonymous"; export const MESSAGING_DESTINATION_NAME = "messaging.destination.name"; + +// messaging.destination.partition export const MESSAGING_DESTINATION_PARTITION_ID = "messaging.destination.partition.id"; + +// messaging.destination.subscription export const MESSAGING_DESTINATION_SUBSCRIPTION_NAME = "messaging.destination.subscription.name"; + +// messaging.destination export const MESSAGING_DESTINATION_TEMPLATE = "messaging.destination.template"; export const MESSAGING_DESTINATION_TEMPORARY = "messaging.destination.temporary"; -// messaging.eventhubs +// messaging.destination_publish +export const MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = "messaging.destination_publish.anonymous"; +export const MESSAGING_DESTINATION_PUBLISH_NAME = "messaging.destination_publish.name"; + +// messaging.eventhubs.consumer export const MESSAGING_EVENTHUBS_CONSUMER_GROUP = "messaging.eventhubs.consumer.group"; + +// messaging.eventhubs.message export const MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = "messaging.eventhubs.message.enqueued_time"; -// messaging.gcp_pubsub +// messaging.gcp_pubsub.message export const MESSAGING_GCP_PUBSUB_MESSAGE_ACK_DEADLINE = "messaging.gcp_pubsub.message.ack_deadline"; export const MESSAGING_GCP_PUBSUB_MESSAGE_ACK_ID = "messaging.gcp_pubsub.message.ack_id"; export const MESSAGING_GCP_PUBSUB_MESSAGE_DELIVERY_ATTEMPT = "messaging.gcp_pubsub.message.delivery_attempt"; export const MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = "messaging.gcp_pubsub.message.ordering_key"; -// messaging.kafka +// messaging.kafka.consumer export const MESSAGING_KAFKA_CONSUMER_GROUP = "messaging.kafka.consumer.group"; + +// messaging.kafka.destination export const MESSAGING_KAFKA_DESTINATION_PARTITION = "messaging.kafka.destination.partition"; + +// messaging.kafka.message export const MESSAGING_KAFKA_MESSAGE_KEY = "messaging.kafka.message.key"; export const MESSAGING_KAFKA_MESSAGE_OFFSET = "messaging.kafka.message.offset"; export const MESSAGING_KAFKA_MESSAGE_TOMBSTONE = "messaging.kafka.message.tombstone"; + +// messaging.kafka export const MESSAGING_KAFKA_OFFSET = "messaging.kafka.offset"; -// messaging.message +// messaging.message.body export const MESSAGING_MESSAGE_BODY_SIZE = "messaging.message.body.size"; + +// messaging.message export const MESSAGING_MESSAGE_CONVERSATION_ID = "messaging.message.conversation_id"; + +// messaging.message.envelope export const MESSAGING_MESSAGE_ENVELOPE_SIZE = "messaging.message.envelope.size"; + +// messaging.message export const MESSAGING_MESSAGE_ID = "messaging.message.id"; -// messaging.operation +// messaging export const MESSAGING_OPERATION = "messaging.operation"; + +// messaging.operation export const MESSAGING_OPERATION_NAME = "messaging.operation.name"; export const MESSAGING_OPERATION_TYPE = "messaging.operation.type"; -// messaging.rabbitmq +// messaging.rabbitmq.destination export const MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = "messaging.rabbitmq.destination.routing_key"; + +// messaging.rabbitmq.message export const MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = "messaging.rabbitmq.message.delivery_tag"; // messaging.rocketmq export const MESSAGING_ROCKETMQ_CLIENT_GROUP = "messaging.rocketmq.client_group"; export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = "messaging.rocketmq.consumption_model"; + +// messaging.rocketmq.message export const MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = "messaging.rocketmq.message.delay_time_level"; export const MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = "messaging.rocketmq.message.delivery_timestamp"; export const MESSAGING_ROCKETMQ_MESSAGE_GROUP = "messaging.rocketmq.message.group"; export const MESSAGING_ROCKETMQ_MESSAGE_KEYS = "messaging.rocketmq.message.keys"; export const MESSAGING_ROCKETMQ_MESSAGE_TAG = "messaging.rocketmq.message.tag"; export const MESSAGING_ROCKETMQ_MESSAGE_TYPE = "messaging.rocketmq.message.type"; + +// messaging.rocketmq export const MESSAGING_ROCKETMQ_NAMESPACE = "messaging.rocketmq.namespace"; -// messaging.servicebus +// messaging.servicebus.destination export const MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = "messaging.servicebus.destination.subscription_name"; + +// messaging.servicebus export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS = "messaging.servicebus.disposition_status"; + +// messaging.servicebus.message export const MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = "messaging.servicebus.message.delivery_count"; export const MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = "messaging.servicebus.message.enqueued_time"; -// messaging.system +// messaging export const MESSAGING_SYSTEM = "messaging.system"; // network.carrier @@ -912,10 +927,8 @@ export const NETWORK_PEER_PORT = "network.peer.port"; export const NETWORK_PROTOCOL_NAME = "network.protocol.name"; export const NETWORK_PROTOCOL_VERSION = "network.protocol.version"; -// network.transport +// network export const NETWORK_TRANSPORT = "network.transport"; - -// network.type export const NETWORK_TYPE = "network.type"; // openai.api @@ -928,29 +941,25 @@ export const OPENAI_REQUEST_SERVICE_TIER = "openai.request.service_tier"; export const OPENAI_RESPONSE_SERVICE_TIER = "openai.response.service_tier"; export const OPENAI_RESPONSE_SYSTEM_FINGERPRINT = "openai.response.system_fingerprint"; -// oracle_cloud.realm -export const ORACLE_CLOUD_REALM = "oracle_cloud.realm"; - // oracle.db export const ORACLE_DB_DOMAIN = "oracle.db.domain"; + +// oracle.db.instance export const ORACLE_DB_INSTANCE_NAME = "oracle.db.instance.name"; + +// oracle.db export const ORACLE_DB_NAME = "oracle.db.name"; export const ORACLE_DB_PDB = "oracle.db.pdb"; export const ORACLE_DB_SERVICE = "oracle.db.service"; -// os.build_id -export const OS_BUILD_ID = "os.build_id"; +// oracle_cloud +export const ORACLE_CLOUD_REALM = "oracle_cloud.realm"; -// os.description +// os +export const OS_BUILD_ID = "os.build_id"; export const OS_DESCRIPTION = "os.description"; - -// os.name export const OS_NAME = "os.name"; - -// os.type export const OS_TYPE = "os.type"; - -// os.version export const OS_VERSION = "os.version"; // otel.component @@ -969,14 +978,14 @@ export const OTEL_SCOPE_NAME = "otel.scope.name"; export const OTEL_SCOPE_SCHEMA_URL = "otel.scope.schema_url"; export const OTEL_SCOPE_VERSION = "otel.scope.version"; -// otel.span +// otel.span.parent export const OTEL_SPAN_PARENT_ORIGIN = "otel.span.parent.origin"; + +// otel.span export const OTEL_SPAN_SAMPLING_RESULT = "otel.span.sampling_result"; -// otel.status_code +// otel export const OTEL_STATUS_CODE = "otel.status_code"; - -// otel.status_description export const OTEL_STATUS_DESCRIPTION = "otel.status_description"; // pprof.location @@ -998,16 +1007,10 @@ export const PPROF_PROFILE_KEEP_FRAMES = "pprof.profile.keep_frames"; export const PPROF_SCOPE_DEFAULT_SAMPLE_TYPE = "pprof.scope.default_sample_type"; export const PPROF_SCOPE_SAMPLE_TYPE_ORDER = "pprof.scope.sample_type_order"; -// process.args_count +// process export const PROCESS_ARGS_COUNT = "process.args_count"; - -// process.command export const PROCESS_COMMAND = "process.command"; - -// process.command_args export const PROCESS_COMMAND_ARGS = "process.command_args"; - -// process.command_line export const PROCESS_COMMAND_LINE = "process.command_line"; // process.context_switch @@ -1019,11 +1022,16 @@ export const PROCESS_CPU_STATE = "process.cpu.state"; // process.creation export const PROCESS_CREATION_TIME = "process.creation.time"; -// process.executable +// process +export const PROCESS_ENVIRONMENT_VARIABLE = "process.environment_variable"; + +// process.executable.build_id export const PROCESS_EXECUTABLE_BUILD_ID_GNU = "process.executable.build_id.gnu"; export const PROCESS_EXECUTABLE_BUILD_ID_GO = "process.executable.build_id.go"; export const PROCESS_EXECUTABLE_BUILD_ID_HTLHASH = "process.executable.build_id.htlhash"; export const PROCESS_EXECUTABLE_BUILD_ID_PROFILING = "process.executable.build_id.profiling"; + +// process.executable export const PROCESS_EXECUTABLE_NAME = "process.executable.name"; export const PROCESS_EXECUTABLE_PATH = "process.executable.path"; @@ -1034,22 +1042,20 @@ export const PROCESS_EXIT_TIME = "process.exit.time"; // process.group_leader export const PROCESS_GROUP_LEADER_PID = "process.group_leader.pid"; -// process.interactive +// process export const PROCESS_INTERACTIVE = "process.interactive"; // process.linux export const PROCESS_LINUX_CGROUP = "process.linux.cgroup"; -// process.owner +// process export const PROCESS_OWNER = "process.owner"; // process.paging export const PROCESS_PAGING_FAULT_TYPE = "process.paging.fault_type"; -// process.parent_pid +// process export const PROCESS_PARENT_PID = "process.parent_pid"; - -// process.pid export const PROCESS_PID = "process.pid"; // process.real_user @@ -1068,20 +1074,16 @@ export const PROCESS_SAVED_USER_NAME = "process.saved_user.name"; // process.session_leader export const PROCESS_SESSION_LEADER_PID = "process.session_leader.pid"; -// process.state +// process export const PROCESS_STATE = "process.state"; - -// process.title export const PROCESS_TITLE = "process.title"; // process.user export const PROCESS_USER_ID = "process.user.id"; export const PROCESS_USER_NAME = "process.user.name"; -// process.vpid +// process export const PROCESS_VPID = "process.vpid"; - -// process.working_directory export const PROCESS_WORKING_DIRECTORY = "process.working_directory"; // profile.frame @@ -1090,6 +1092,18 @@ export const PROFILE_FRAME_TYPE = "profile.frame.type"; // rpc.connect_rpc export const RPC_CONNECT_RPC_ERROR_CODE = "rpc.connect_rpc.error_code"; +// rpc.connect_rpc.request +export const RPC_CONNECT_RPC_REQUEST_METADATA = "rpc.connect_rpc.request.metadata"; + +// rpc.connect_rpc.response +export const RPC_CONNECT_RPC_RESPONSE_METADATA = "rpc.connect_rpc.response.metadata"; + +// rpc.grpc.request +export const RPC_GRPC_REQUEST_METADATA = "rpc.grpc.request.metadata"; + +// rpc.grpc.response +export const RPC_GRPC_RESPONSE_METADATA = "rpc.grpc.response.metadata"; + // rpc.grpc export const RPC_GRPC_STATUS_CODE = "rpc.grpc.status_code"; @@ -1105,64 +1119,60 @@ export const RPC_MESSAGE_ID = "rpc.message.id"; export const RPC_MESSAGE_TYPE = "rpc.message.type"; export const RPC_MESSAGE_UNCOMPRESSED_SIZE = "rpc.message.uncompressed_size"; -// rpc.method +// rpc export const RPC_METHOD = "rpc.method"; - -// rpc.method_original export const RPC_METHOD_ORIGINAL = "rpc.method_original"; +// rpc.request +export const RPC_REQUEST_METADATA = "rpc.request.metadata"; + // rpc.response +export const RPC_RESPONSE_METADATA = "rpc.response.metadata"; export const RPC_RESPONSE_STATUS_CODE = "rpc.response.status_code"; -// rpc.service +// rpc export const RPC_SERVICE = "rpc.service"; +export const RPC_SYSTEM = "rpc.system"; // rpc.system -export const RPC_SYSTEM = "rpc.system"; export const RPC_SYSTEM_NAME = "rpc.system.name"; -// server.address +// server export const SERVER_ADDRESS = "server.address"; - -// server.port export const SERVER_PORT = "server.port"; -// service.criticality +// service export const SERVICE_CRITICALITY = "service.criticality"; // service.instance export const SERVICE_INSTANCE_ID = "service.instance.id"; -// service.name +// service export const SERVICE_NAME = "service.name"; - -// service.namespace export const SERVICE_NAMESPACE = "service.namespace"; // service.peer export const SERVICE_PEER_NAME = "service.peer.name"; export const SERVICE_PEER_NAMESPACE = "service.peer.namespace"; -// service.version +// service export const SERVICE_VERSION = "service.version"; -// session.id +// session export const SESSION_ID = "session.id"; - -// session.previous_id export const SESSION_PREVIOUS_ID = "session.previous_id"; // signalr.connection export const SIGNALR_CONNECTION_STATUS = "signalr.connection.status"; -// signalr.transport +// signalr export const SIGNALR_TRANSPORT = "signalr.transport"; // system.cpu export const SYSTEM_CPU_LOGICAL_NUMBER = "system.cpu.logical_number"; export const SYSTEM_CPU_STATE = "system.cpu.state"; -// system.device +// system export const SYSTEM_DEVICE = "system.device"; // system.filesystem @@ -1171,8 +1181,10 @@ export const SYSTEM_FILESYSTEM_MOUNTPOINT = "system.filesystem.mountpoint"; export const SYSTEM_FILESYSTEM_STATE = "system.filesystem.state"; export const SYSTEM_FILESYSTEM_TYPE = "system.filesystem.type"; -// system.memory +// system.memory.linux.slab export const SYSTEM_MEMORY_LINUX_SLAB_STATE = "system.memory.linux.slab.state"; + +// system.memory export const SYSTEM_MEMORY_STATE = "system.memory.state"; // system.network @@ -1180,7 +1192,11 @@ export const SYSTEM_NETWORK_STATE = "system.network.state"; // system.paging export const SYSTEM_PAGING_DIRECTION = "system.paging.direction"; + +// system.paging.fault export const SYSTEM_PAGING_FAULT_TYPE = "system.paging.fault.type"; + +// system.paging export const SYSTEM_PAGING_STATE = "system.paging.state"; export const SYSTEM_PAGING_TYPE = "system.paging.type"; @@ -1201,27 +1217,33 @@ export const TELEMETRY_SDK_VERSION = "telemetry.sdk.version"; // test.case export const TEST_CASE_NAME = "test.case.name"; + +// test.case.result export const TEST_CASE_RESULT_STATUS = "test.case.result.status"; // test.suite export const TEST_SUITE_NAME = "test.suite.name"; + +// test.suite.run export const TEST_SUITE_RUN_STATUS = "test.suite.run.status"; -// thread.id +// thread export const THREAD_ID = "thread.id"; - -// thread.name export const THREAD_NAME = "thread.name"; -// tls.cipher +// tls export const TLS_CIPHER = "tls.cipher"; // tls.client export const TLS_CLIENT_CERTIFICATE = "tls.client.certificate"; export const TLS_CLIENT_CERTIFICATE_CHAIN = "tls.client.certificate_chain"; + +// tls.client.hash export const TLS_CLIENT_HASH_MD5 = "tls.client.hash.md5"; export const TLS_CLIENT_HASH_SHA1 = "tls.client.hash.sha1"; export const TLS_CLIENT_HASH_SHA256 = "tls.client.hash.sha256"; + +// tls.client export const TLS_CLIENT_ISSUER = "tls.client.issuer"; export const TLS_CLIENT_JA3 = "tls.client.ja3"; export const TLS_CLIENT_NOT_AFTER = "tls.client.not_after"; @@ -1230,77 +1252,59 @@ export const TLS_CLIENT_SERVER_NAME = "tls.client.server_name"; export const TLS_CLIENT_SUBJECT = "tls.client.subject"; export const TLS_CLIENT_SUPPORTED_CIPHERS = "tls.client.supported_ciphers"; -// tls.curve +// tls export const TLS_CURVE = "tls.curve"; - -// tls.established export const TLS_ESTABLISHED = "tls.established"; - -// tls.next_protocol export const TLS_NEXT_PROTOCOL = "tls.next_protocol"; // tls.protocol export const TLS_PROTOCOL_NAME = "tls.protocol.name"; export const TLS_PROTOCOL_VERSION = "tls.protocol.version"; -// tls.resumed +// tls export const TLS_RESUMED = "tls.resumed"; // tls.server export const TLS_SERVER_CERTIFICATE = "tls.server.certificate"; export const TLS_SERVER_CERTIFICATE_CHAIN = "tls.server.certificate_chain"; + +// tls.server.hash export const TLS_SERVER_HASH_MD5 = "tls.server.hash.md5"; export const TLS_SERVER_HASH_SHA1 = "tls.server.hash.sha1"; export const TLS_SERVER_HASH_SHA256 = "tls.server.hash.sha256"; + +// tls.server export const TLS_SERVER_ISSUER = "tls.server.issuer"; export const TLS_SERVER_JA3S = "tls.server.ja3s"; export const TLS_SERVER_NOT_AFTER = "tls.server.not_after"; export const TLS_SERVER_NOT_BEFORE = "tls.server.not_before"; export const TLS_SERVER_SUBJECT = "tls.server.subject"; -// url.domain +// url export const URL_DOMAIN = "url.domain"; - -// url.extension export const URL_EXTENSION = "url.extension"; - -// url.fragment export const URL_FRAGMENT = "url.fragment"; - -// url.full export const URL_FULL = "url.full"; - -// url.original export const URL_ORIGINAL = "url.original"; - -// url.path export const URL_PATH = "url.path"; - -// url.port export const URL_PORT = "url.port"; - -// url.query export const URL_QUERY = "url.query"; - -// url.registered_domain export const URL_REGISTERED_DOMAIN = "url.registered_domain"; - -// url.scheme export const URL_SCHEME = "url.scheme"; - -// url.subdomain export const URL_SUBDOMAIN = "url.subdomain"; - -// url.template export const URL_TEMPLATE = "url.template"; - -// url.top_level_domain export const URL_TOP_LEVEL_DOMAIN = "url.top_level_domain"; -// user_agent.name -export const USER_AGENT_NAME = "user_agent.name"; +// user +export const USER_EMAIL = "user.email"; +export const USER_FULL_NAME = "user.full_name"; +export const USER_HASH = "user.hash"; +export const USER_ID = "user.id"; +export const USER_NAME = "user.name"; +export const USER_ROLES = "user.roles"; -// user_agent.original +// user_agent +export const USER_AGENT_NAME = "user_agent.name"; export const USER_AGENT_ORIGINAL = "user_agent.original"; // user_agent.os @@ -1310,27 +1314,9 @@ export const USER_AGENT_OS_VERSION = "user_agent.os.version"; // user_agent.synthetic export const USER_AGENT_SYNTHETIC_TYPE = "user_agent.synthetic.type"; -// user_agent.version +// user_agent export const USER_AGENT_VERSION = "user_agent.version"; -// user.email -export const USER_EMAIL = "user.email"; - -// user.full_name -export const USER_FULL_NAME = "user.full_name"; - -// user.hash -export const USER_HASH = "user.hash"; - -// user.id -export const USER_ID = "user.id"; - -// user.name -export const USER_NAME = "user.name"; - -// user.roles -export const USER_ROLES = "user.roles"; - // vcs.change export const VCS_CHANGE_ID = "vcs.change.id"; export const VCS_CHANGE_STATE = "vcs.change.state"; @@ -1345,1140 +1331,38 @@ export const VCS_OWNER_NAME = "vcs.owner.name"; // vcs.provider export const VCS_PROVIDER_NAME = "vcs.provider.name"; -// vcs.ref +// vcs.ref.base export const VCS_REF_BASE_NAME = "vcs.ref.base.name"; export const VCS_REF_BASE_REVISION = "vcs.ref.base.revision"; export const VCS_REF_BASE_TYPE = "vcs.ref.base.type"; + +// vcs.ref.head export const VCS_REF_HEAD_NAME = "vcs.ref.head.name"; export const VCS_REF_HEAD_REVISION = "vcs.ref.head.revision"; export const VCS_REF_HEAD_TYPE = "vcs.ref.head.type"; + +// vcs.ref export const VCS_REF_TYPE = "vcs.ref.type"; -// vcs.repository +// vcs.repository.change export const VCS_REPOSITORY_CHANGE_ID = "vcs.repository.change.id"; export const VCS_REPOSITORY_CHANGE_TITLE = "vcs.repository.change.title"; + +// vcs.repository export const VCS_REPOSITORY_NAME = "vcs.repository.name"; + +// vcs.repository.ref export const VCS_REPOSITORY_REF_NAME = "vcs.repository.ref.name"; export const VCS_REPOSITORY_REF_REVISION = "vcs.repository.ref.revision"; export const VCS_REPOSITORY_REF_TYPE = "vcs.repository.ref.type"; + +// vcs.repository.url export const VCS_REPOSITORY_URL_FULL = "vcs.repository.url.full"; // vcs.revision_delta export const VCS_REVISION_DELTA_DIRECTION = "vcs.revision_delta.direction"; -// webengine.description +// webengine export const WEBENGINE_DESCRIPTION = "webengine.description"; - -// webengine.name export const WEBENGINE_NAME = "webengine.name"; - -// webengine.version export const WEBENGINE_VERSION = "webengine.version"; - -// Enum values -export const AspnetcoreAuthenticationResultValues = { - Failure: "failure", - None: "none", - Success: "success", -} as const; - -export const AspnetcoreAuthorizationResultValues = { - Failure: "failure", - Success: "success", -} as const; - -export const AspnetcoreIdentityPasswordCheckResultValues = { - Failure: "failure", - PasswordMissing: "password_missing", - Success: "success", - SuccessRehashNeeded: "success_rehash_needed", - UserMissing: "user_missing", -} as const; - -export const AspnetcoreIdentityResultValues = { - Failure: "failure", - Success: "success", -} as const; - -export const AspnetcoreIdentitySignInResultValues = { - Failure: "failure", - LockedOut: "locked_out", - NotAllowed: "not_allowed", - RequiresTwoFactor: "requires_two_factor", - Success: "success", -} as const; - -export const AspnetcoreIdentitySignInTypeValues = { - External: "external", - Passkey: "passkey", - Password: "password", - TwoFactor: "two_factor", - TwoFactorAuthenticator: "two_factor_authenticator", - TwoFactorRecoveryCode: "two_factor_recovery_code", -} as const; - -export const AspnetcoreIdentityTokenPurposeValues = { - Other: "_OTHER", - ChangeEmail: "change_email", - ChangePhoneNumber: "change_phone_number", - EmailConfirmation: "email_confirmation", - ResetPassword: "reset_password", - TwoFactor: "two_factor", -} as const; - -export const AspnetcoreIdentityTokenVerifiedValues = { - Failure: "failure", - Success: "success", -} as const; - -export const AspnetcoreIdentityUserUpdateTypeValues = { - Other: "_OTHER", - AccessFailed: "access_failed", - AddClaims: "add_claims", - AddLogin: "add_login", - AddPassword: "add_password", - AddToRoles: "add_to_roles", - ChangeEmail: "change_email", - ChangePassword: "change_password", - ChangePhoneNumber: "change_phone_number", - ConfirmEmail: "confirm_email", - GenerateNewTwoFactorRecoveryCodes: "generate_new_two_factor_recovery_codes", - PasswordRehash: "password_rehash", - RedeemTwoFactorRecoveryCode: "redeem_two_factor_recovery_code", - RemoveAuthenticationToken: "remove_authentication_token", - RemoveClaims: "remove_claims", - RemoveFromRoles: "remove_from_roles", - RemoveLogin: "remove_login", - RemovePasskey: "remove_passkey", - RemovePassword: "remove_password", - ReplaceClaim: "replace_claim", - ResetAccessFailedCount: "reset_access_failed_count", - ResetAuthenticatorKey: "reset_authenticator_key", - ResetPassword: "reset_password", - SecurityStamp: "security_stamp", - SetAuthenticationToken: "set_authentication_token", - SetEmail: "set_email", - SetLockoutEnabled: "set_lockout_enabled", - SetLockoutEndDate: "set_lockout_end_date", - SetPasskey: "set_passkey", - SetPhoneNumber: "set_phone_number", - SetTwoFactorEnabled: "set_two_factor_enabled", - Update: "update", - UserName: "user_name", -} as const; - -export const AzureCosmosdbConnectionModeValues = { - Direct: "direct", - Gateway: "gateway", -} as const; - -export const AzureCosmosdbConsistencyLevelValues = { - BoundedStaleness: "BoundedStaleness", - ConsistentPrefix: "ConsistentPrefix", - Eventual: "Eventual", - Session: "Session", - Strong: "Strong", -} as const; - -export const CicdPipelineActionNameValues = { - Build: "BUILD", - Run: "RUN", - Sync: "SYNC", -} as const; - -export const CicdPipelineResultValues = { - Cancellation: "cancellation", - Error: "error", - Failure: "failure", - Skip: "skip", - Success: "success", - Timeout: "timeout", -} as const; - -export const CicdPipelineRunStateValues = { - Executing: "executing", - Finalizing: "finalizing", - Pending: "pending", -} as const; - -export const CicdPipelineTaskRunResultValues = { - Cancellation: "cancellation", - Error: "error", - Failure: "failure", - Skip: "skip", - Success: "success", - Timeout: "timeout", -} as const; - -export const CicdPipelineTaskTypeValues = { - Build: "build", - Deploy: "deploy", - Test: "test", -} as const; - -export const CicdWorkerStateValues = { - Available: "available", - Busy: "busy", - Offline: "offline", -} as const; - -export const CloudPlatformValues = { - AkamaiCloudCompute: "akamai_cloud.compute", - AlibabaCloudEcs: "alibaba_cloud_ecs", - AlibabaCloudFc: "alibaba_cloud_fc", - AlibabaCloudOpenshift: "alibaba_cloud_openshift", - AwsAppRunner: "aws_app_runner", - AwsEc2: "aws_ec2", - AwsEcs: "aws_ecs", - AwsEks: "aws_eks", - AwsElasticBeanstalk: "aws_elastic_beanstalk", - AwsLambda: "aws_lambda", - AwsOpenshift: "aws_openshift", - AzureAks: "azure.aks", - AzureAppService: "azure.app_service", - AzureContainerApps: "azure.container_apps", - AzureContainerInstances: "azure.container_instances", - AzureFunctions: "azure.functions", - AzureOpenshift: "azure.openshift", - AzureVm: "azure.vm", - GcpAgentEngine: "gcp.agent_engine", - GcpAppEngine: "gcp_app_engine", - GcpBareMetalSolution: "gcp_bare_metal_solution", - GcpCloudFunctions: "gcp_cloud_functions", - GcpCloudRun: "gcp_cloud_run", - GcpComputeEngine: "gcp_compute_engine", - GcpKubernetesEngine: "gcp_kubernetes_engine", - GcpOpenshift: "gcp_openshift", - HetznerCloudServer: "hetzner.cloud_server", - IbmCloudOpenshift: "ibm_cloud_openshift", - OracleCloudCompute: "oracle_cloud_compute", - OracleCloudOke: "oracle_cloud_oke", - TencentCloudCvm: "tencent_cloud_cvm", - TencentCloudEks: "tencent_cloud_eks", - TencentCloudScf: "tencent_cloud_scf", - VultrCloudCompute: "vultr.cloud_compute", -} as const; - -export const CloudProviderValues = { - AkamaiCloud: "akamai_cloud", - AlibabaCloud: "alibaba_cloud", - Aws: "aws", - Azure: "azure", - Gcp: "gcp", - Heroku: "heroku", - Hetzner: "hetzner", - IbmCloud: "ibm_cloud", - OracleCloud: "oracle_cloud", - TencentCloud: "tencent_cloud", - Vultr: "vultr", -} as const; - -export const ContainerCpuStateValues = { - Kernel: "kernel", - System: "system", - User: "user", -} as const; - -export const CpuModeValues = { - System: "system", - User: "user", -} as const; - -export const DbCassandraConsistencyLevelValues = { - All: "all", - Any: "any", - EachQuorum: "each_quorum", - LocalOne: "local_one", - LocalQuorum: "local_quorum", - LocalSerial: "local_serial", - One: "one", - Quorum: "quorum", - Serial: "serial", - Three: "three", - Two: "two", -} as const; - -export const DbClientConnectionStateValues = { - Idle: "idle", - Used: "used", -} as const; - -export const DbClientConnectionsStateValues = { - Idle: "idle", - Used: "used", -} as const; - -export const DbCosmosdbConnectionModeValues = { - Direct: "direct", - Gateway: "gateway", -} as const; - -export const DbCosmosdbConsistencyLevelValues = { - BoundedStaleness: "BoundedStaleness", - ConsistentPrefix: "ConsistentPrefix", - Eventual: "Eventual", - Session: "Session", - Strong: "Strong", -} as const; - -export const DbCosmosdbOperationTypeValues = { - Batch: "batch", - Create: "create", - Delete: "delete", - Execute: "execute", - ExecuteJavascript: "execute_javascript", - Head: "head", - HeadFeed: "head_feed", - Invalid: "invalid", - Patch: "patch", - Query: "query", - QueryPlan: "query_plan", - Read: "read", - ReadFeed: "read_feed", - Replace: "replace", - Upsert: "upsert", -} as const; - -export const DbSystemValues = { - Adabas: "adabas", - Cache: "cache", - Cassandra: "cassandra", - Clickhouse: "clickhouse", - Cloudscape: "cloudscape", - Cockroachdb: "cockroachdb", - Coldfusion: "coldfusion", - Cosmosdb: "cosmosdb", - Couchbase: "couchbase", - Couchdb: "couchdb", - Db2: "db2", - Derby: "derby", - Dynamodb: "dynamodb", - Edb: "edb", - Elasticsearch: "elasticsearch", - Filemaker: "filemaker", - Firebird: "firebird", - Firstsql: "firstsql", - Geode: "geode", - H2: "h2", - Hanadb: "hanadb", - Hbase: "hbase", - Hive: "hive", - Hsqldb: "hsqldb", - Influxdb: "influxdb", - Informix: "informix", - Ingres: "ingres", - Instantdb: "instantdb", - Interbase: "interbase", - IntersystemsCache: "intersystems_cache", - Mariadb: "mariadb", - Maxdb: "maxdb", - Memcached: "memcached", - Mongodb: "mongodb", - Mssql: "mssql", - Mssqlcompact: "mssqlcompact", - Mysql: "mysql", - Neo4j: "neo4j", - Netezza: "netezza", - Opensearch: "opensearch", - Oracle: "oracle", - OtherSql: "other_sql", - Pervasive: "pervasive", - Pointbase: "pointbase", - Postgresql: "postgresql", - Progress: "progress", - Redis: "redis", - Redshift: "redshift", - Spanner: "spanner", - Sqlite: "sqlite", - Sybase: "sybase", - Teradata: "teradata", - Trino: "trino", - Vertica: "vertica", -} as const; - -export const DbSystemNameValues = { - ActianIngres: "actian.ingres", - AwsDynamodb: "aws.dynamodb", - AwsRedshift: "aws.redshift", - AzureCosmosdb: "azure.cosmosdb", - Cassandra: "cassandra", - Clickhouse: "clickhouse", - Cockroachdb: "cockroachdb", - Couchbase: "couchbase", - Couchdb: "couchdb", - Derby: "derby", - Elasticsearch: "elasticsearch", - Firebirdsql: "firebirdsql", - GcpSpanner: "gcp.spanner", - Geode: "geode", - H2database: "h2database", - Hbase: "hbase", - Hive: "hive", - Hsqldb: "hsqldb", - IbmDb2: "ibm.db2", - IbmInformix: "ibm.informix", - IbmNetezza: "ibm.netezza", - Influxdb: "influxdb", - Instantdb: "instantdb", - IntersystemsCache: "intersystems.cache", - Memcached: "memcached", - Mongodb: "mongodb", - Neo4j: "neo4j", - Opensearch: "opensearch", - OracleDb: "oracle.db", - OtherSql: "other_sql", - Redis: "redis", - SapHana: "sap.hana", - SapMaxdb: "sap.maxdb", - SoftwareagAdabas: "softwareag.adabas", - Sqlite: "sqlite", - Teradata: "teradata", - Trino: "trino", - Mariadb: "mariadb", - MicrosoftSqlServer: "microsoft.sql_server", - Mysql: "mysql", - Postgresql: "postgresql", -} as const; - -export const DeploymentStatusValues = { - Failed: "failed", - Succeeded: "succeeded", -} as const; - -export const FaasDocumentOperationValues = { - Delete: "delete", - Edit: "edit", - Insert: "insert", -} as const; - -export const FaasInvokedProviderValues = { - AlibabaCloud: "alibaba_cloud", - Aws: "aws", - Azure: "azure", - Gcp: "gcp", - TencentCloud: "tencent_cloud", -} as const; - -export const FaasTriggerValues = { - Datasource: "datasource", - Http: "http", - Other: "other", - Pubsub: "pubsub", - Timer: "timer", -} as const; - -export const FeatureFlagEvaluationReasonValues = { - Cached: "cached", - Default: "default", - Disabled: "disabled", - Error: "error", - Split: "split", - Stale: "stale", - Static: "static", - TargetingMatch: "targeting_match", - Unknown: "unknown", -} as const; - -export const FeatureFlagResultReasonValues = { - Cached: "cached", - Default: "default", - Disabled: "disabled", - Error: "error", - Split: "split", - Stale: "stale", - Static: "static", - TargetingMatch: "targeting_match", - Unknown: "unknown", -} as const; - -export const GenAiOpenaiRequestResponseFormatValues = { - JsonObject: "json_object", - JsonSchema: "json_schema", - Text: "text", -} as const; - -export const GenAiOpenaiRequestServiceTierValues = { - Auto: "auto", - Default: "default", -} as const; - -export const GenAiOperationNameValues = { - Chat: "chat", - CreateAgent: "create_agent", - Embeddings: "embeddings", - ExecuteTool: "execute_tool", - GenerateContent: "generate_content", - InvokeAgent: "invoke_agent", - Retrieval: "retrieval", - TextCompletion: "text_completion", -} as const; - -export const GenAiOutputTypeValues = { - Image: "image", - Json: "json", - Speech: "speech", - Text: "text", -} as const; - -export const GenAiProviderNameValues = { - Anthropic: "anthropic", - AwsBedrock: "aws.bedrock", - AzureAiInference: "azure.ai.inference", - AzureAiOpenai: "azure.ai.openai", - Cohere: "cohere", - Deepseek: "deepseek", - GcpGemini: "gcp.gemini", - GcpGenAi: "gcp.gen_ai", - GcpVertexAi: "gcp.vertex_ai", - Groq: "groq", - IbmWatsonxAi: "ibm.watsonx.ai", - MistralAi: "mistral_ai", - Openai: "openai", - Perplexity: "perplexity", - XAi: "x_ai", -} as const; - -export const GenAiSystemValues = { - Anthropic: "anthropic", - AwsBedrock: "aws.bedrock", - AzAiInference: "az.ai.inference", - AzAiOpenai: "az.ai.openai", - AzureAiInference: "azure.ai.inference", - AzureAiOpenai: "azure.ai.openai", - Cohere: "cohere", - Deepseek: "deepseek", - GcpGemini: "gcp.gemini", - GcpGenAi: "gcp.gen_ai", - GcpVertexAi: "gcp.vertex_ai", - Gemini: "gemini", - Groq: "groq", - IbmWatsonxAi: "ibm.watsonx.ai", - MistralAi: "mistral_ai", - Openai: "openai", - Perplexity: "perplexity", - VertexAi: "vertex_ai", - Xai: "xai", -} as const; - -export const GenAiTokenTypeValues = { - Input: "input", - Completion: "output", - Output: "output", -} as const; - -export const GeoContinentCodeValues = { - Af: "AF", - An: "AN", - As: "AS", - Eu: "EU", - Na: "NA", - Oc: "OC", - Sa: "SA", -} as const; - -export const HostArchValues = { - Amd64: "amd64", - Arm32: "arm32", - Arm64: "arm64", - Ia64: "ia64", - Ppc32: "ppc32", - Ppc64: "ppc64", - S390x: "s390x", - X86: "x86", -} as const; - -export const HttpConnectionStateValues = { - Active: "active", - Idle: "idle", -} as const; - -export const HttpFlavorValues = { - Http10: "1.0", - Http11: "1.1", - Http20: "2.0", - Http30: "3.0", - Quic: "QUIC", - Spdy: "SPDY", -} as const; - -export const HttpRequestMethodValues = { - Query: "QUERY", - Other: "_OTHER", - Connect: "CONNECT", - Delete: "DELETE", - Get: "GET", - Head: "HEAD", - Options: "OPTIONS", - Patch: "PATCH", - Post: "POST", - Put: "PUT", - Trace: "TRACE", -} as const; - -export const HwTypeValues = { - LogicalDisk: "logical_disk", - Network: "network", -} as const; - -export const K8sContainerStatusReasonValues = { - Completed: "Completed", - ContainerCannotRun: "ContainerCannotRun", - ContainerCreating: "ContainerCreating", - CrashLoopBackOff: "CrashLoopBackOff", - CreateContainerConfigError: "CreateContainerConfigError", - ErrImagePull: "ErrImagePull", - Error: "Error", - ImagePullBackOff: "ImagePullBackOff", - OomKilled: "OOMKilled", -} as const; - -export const K8sContainerStatusStateValues = { - Running: "running", - Terminated: "terminated", - Waiting: "waiting", -} as const; - -export const K8sNamespacePhaseValues = { - Active: "active", - Terminating: "terminating", -} as const; - -export const K8sNodeConditionStatusValues = { - ConditionFalse: "false", - ConditionTrue: "true", - ConditionUnknown: "unknown", -} as const; - -export const K8sNodeConditionTypeValues = { - DiskPressure: "DiskPressure", - MemoryPressure: "MemoryPressure", - NetworkUnavailable: "NetworkUnavailable", - PidPressure: "PIDPressure", - Ready: "Ready", -} as const; - -export const K8sPodStatusPhaseValues = { - Failed: "Failed", - Pending: "Pending", - Running: "Running", - Succeeded: "Succeeded", - Unknown: "Unknown", -} as const; - -export const K8sPodStatusReasonValues = { - Evicted: "Evicted", - NodeAffinity: "NodeAffinity", - NodeLost: "NodeLost", - Shutdown: "Shutdown", - UnexpectedAdmissionError: "UnexpectedAdmissionError", -} as const; - -export const K8sServiceEndpointAddressTypeValues = { - Fqdn: "FQDN", - Ipv4: "IPv4", - Ipv6: "IPv6", -} as const; - -export const K8sServiceEndpointConditionValues = { - Ready: "ready", - Serving: "serving", - Terminating: "terminating", -} as const; - -export const K8sServiceTypeValues = { - ClusterIp: "ClusterIP", - ExternalName: "ExternalName", - LoadBalancer: "LoadBalancer", - NodePort: "NodePort", -} as const; - -export const K8sVolumeTypeValues = { - ConfigMap: "configMap", - DownwardApi: "downwardAPI", - EmptyDir: "emptyDir", - Local: "local", - PersistentVolumeClaim: "persistentVolumeClaim", - Secret: "secret", -} as const; - -export const LogIostreamValues = { - Stderr: "stderr", - Stdout: "stdout", -} as const; - -export const McpMethodNameValues = { - LoggingSetLevel: "logging/setLevel", -} as const; - -export const MessagingOperationTypeValues = { - Create: "create", - Deliver: "deliver", - Process: "process", - Publish: "publish", - Receive: "receive", - Send: "send", - Settle: "settle", -} as const; - -export const MessagingRocketmqConsumptionModelValues = { - Broadcasting: "broadcasting", - Clustering: "clustering", -} as const; - -export const MessagingRocketmqMessageTypeValues = { - Delay: "delay", - Fifo: "fifo", - Normal: "normal", - Transaction: "transaction", -} as const; - -export const MessagingServicebusDispositionStatusValues = { - Abandon: "abandon", - Complete: "complete", - DeadLetter: "dead_letter", - Defer: "defer", -} as const; - -export const MessagingSystemValues = { - Activemq: "activemq", - AwsSns: "aws.sns", - AwsSqs: "aws_sqs", - Eventgrid: "eventgrid", - Eventhubs: "eventhubs", - GcpPubsub: "gcp_pubsub", - Jms: "jms", - Kafka: "kafka", - Pulsar: "pulsar", - Rabbitmq: "rabbitmq", - Rocketmq: "rocketmq", - Servicebus: "servicebus", -} as const; - -export const NetworkConnectionStateValues = { - CloseWait: "close_wait", - Closed: "closed", - Closing: "closing", - Established: "established", - FinWait1: "fin_wait_1", - FinWait2: "fin_wait_2", - LastAck: "last_ack", - Listen: "listen", - SynReceived: "syn_received", - SynSent: "syn_sent", - TimeWait: "time_wait", -} as const; - -export const NetworkConnectionSubtypeValues = { - Cdma: "cdma", - Cdma20001xrtt: "cdma2000_1xrtt", - Edge: "edge", - Ehrpd: "ehrpd", - Evdo0: "evdo_0", - EvdoA: "evdo_a", - EvdoB: "evdo_b", - Gprs: "gprs", - Gsm: "gsm", - Hsdpa: "hsdpa", - Hspa: "hspa", - Hspap: "hspap", - Hsupa: "hsupa", - Iden: "iden", - Iwlan: "iwlan", - Lte: "lte", - LteCa: "lte_ca", - Nr: "nr", - Nrnsa: "nrnsa", - TdScdma: "td_scdma", - Umts: "umts", -} as const; - -export const NetworkConnectionTypeValues = { - Cell: "cell", - Unavailable: "unavailable", - Unknown: "unknown", - Wifi: "wifi", - Wired: "wired", -} as const; - -export const NetworkIoDirectionValues = { - Receive: "receive", - Transmit: "transmit", -} as const; - -export const OpenaiApiTypeValues = { - ChatCompletions: "chat_completions", - Responses: "responses", -} as const; - -export const OpenaiRequestServiceTierValues = { - Auto: "auto", - Default: "default", -} as const; - -export const OsTypeValues = { - Aix: "aix", - Darwin: "darwin", - Dragonflybsd: "dragonflybsd", - Freebsd: "freebsd", - Hpux: "hpux", - Linux: "linux", - Netbsd: "netbsd", - Openbsd: "openbsd", - Solaris: "solaris", - Windows: "windows", - ZOs: "z_os", - Zos: "zos", -} as const; - -export const OtelComponentTypeValues = { - BatchingLogProcessor: "batching_log_processor", - BatchingSpanProcessor: "batching_span_processor", - OtlpGrpcLogExporter: "otlp_grpc_log_exporter", - OtlpGrpcMetricExporter: "otlp_grpc_metric_exporter", - OtlpGrpcSpanExporter: "otlp_grpc_span_exporter", - OtlpHttpJsonLogExporter: "otlp_http_json_log_exporter", - OtlpHttpJsonMetricExporter: "otlp_http_json_metric_exporter", - OtlpHttpJsonSpanExporter: "otlp_http_json_span_exporter", - OtlpHttpLogExporter: "otlp_http_log_exporter", - OtlpHttpMetricExporter: "otlp_http_metric_exporter", - OtlpHttpSpanExporter: "otlp_http_span_exporter", - PeriodicMetricReader: "periodic_metric_reader", - PrometheusHttpTextMetricExporter: "prometheus_http_text_metric_exporter", - SimpleLogProcessor: "simple_log_processor", - SimpleSpanProcessor: "simple_span_processor", - ZipkinHttpSpanExporter: "zipkin_http_span_exporter", -} as const; - -export const OtelSpanParentOriginValues = { - Local: "local", - None: "none", - Remote: "remote", -} as const; - -export const OtelSpanSamplingResultValues = { - Drop: "DROP", - RecordAndSample: "RECORD_AND_SAMPLE", - RecordOnly: "RECORD_ONLY", -} as const; - -export const ProcessContextSwitchTypeValues = { - Involuntary: "involuntary", - Voluntary: "voluntary", -} as const; - -export const ProcessCpuStateValues = { - System: "system", - User: "user", - Wait: "wait", -} as const; - -export const ProcessPagingFaultTypeValues = { - Major: "major", - Minor: "minor", -} as const; - -export const ProcessStateValues = { - Defunct: "defunct", - Running: "running", - Sleeping: "sleeping", - Stopped: "stopped", -} as const; - -export const ProfileFrameTypeValues = { - Beam: "beam", - Cpython: "cpython", - Dotnet: "dotnet", - Go: "go", - Jvm: "jvm", - Kernel: "kernel", - Native: "native", - Perl: "perl", - Php: "php", - Ruby: "ruby", - Rust: "rust", - V8js: "v8js", -} as const; - -export const RpcConnectRpcErrorCodeValues = { - Aborted: "aborted", - AlreadyExists: "already_exists", - Cancelled: "cancelled", - DataLoss: "data_loss", - DeadlineExceeded: "deadline_exceeded", - FailedPrecondition: "failed_precondition", - Internal: "internal", - InvalidArgument: "invalid_argument", - NotFound: "not_found", - OutOfRange: "out_of_range", - PermissionDenied: "permission_denied", - ResourceExhausted: "resource_exhausted", - Unauthenticated: "unauthenticated", - Unavailable: "unavailable", - Unimplemented: "unimplemented", - Unknown: "unknown", -} as const; - -export const RpcMessageTypeValues = { - Received: "RECEIVED", - Sent: "SENT", -} as const; - -export const RpcSystemValues = { - ApacheDubbo: "apache_dubbo", - ConnectRpc: "connect_rpc", - DotnetWcf: "dotnet_wcf", - Grpc: "grpc", - JavaRmi: "java_rmi", - Jsonrpc: "jsonrpc", - OncRpc: "onc_rpc", -} as const; - -export const RpcSystemNameValues = { - Connectrpc: "connectrpc", - Dubbo: "dubbo", - Grpc: "grpc", - Jsonrpc: "jsonrpc", -} as const; - -export const ServiceCriticalityValues = { - Critical: "critical", - High: "high", - Low: "low", - Medium: "medium", -} as const; - -export const SystemCpuStateValues = { - Idle: "idle", - Interrupt: "interrupt", - Iowait: "iowait", - Nice: "nice", - Steal: "steal", - System: "system", - User: "user", -} as const; - -export const SystemFilesystemStateValues = { - Free: "free", - Reserved: "reserved", - Used: "used", -} as const; - -export const SystemFilesystemTypeValues = { - Exfat: "exfat", - Ext4: "ext4", - Fat32: "fat32", - Hfsplus: "hfsplus", - Ntfs: "ntfs", - Refs: "refs", -} as const; - -export const SystemMemoryLinuxSlabStateValues = { - Reclaimable: "reclaimable", - Unreclaimable: "unreclaimable", -} as const; - -export const SystemMemoryStateValues = { - Buffers: "buffers", - Cached: "cached", - Free: "free", - Shared: "shared", - Used: "used", -} as const; - -export const SystemNetworkStateValues = { - Close: "close", - CloseWait: "close_wait", - Closing: "closing", - Delete: "delete", - Established: "established", - FinWait1: "fin_wait_1", - FinWait2: "fin_wait_2", - LastAck: "last_ack", - Listen: "listen", - SynRecv: "syn_recv", - SynSent: "syn_sent", - TimeWait: "time_wait", -} as const; - -export const SystemPagingDirectionValues = { - In: "in", - Out: "out", -} as const; - -export const SystemPagingFaultTypeValues = { - Major: "major", - Minor: "minor", -} as const; - -export const SystemPagingStateValues = { - Free: "free", - Used: "used", -} as const; - -export const SystemPagingTypeValues = { - Major: "major", - Minor: "minor", -} as const; - -export const SystemProcessStatusValues = { - Defunct: "defunct", - Running: "running", - Sleeping: "sleeping", - Stopped: "stopped", -} as const; - -export const SystemProcessesStatusValues = { - Defunct: "defunct", - Running: "running", - Sleeping: "sleeping", - Stopped: "stopped", -} as const; - -export const TestCaseResultStatusValues = { - Fail: "fail", - Pass: "pass", -} as const; - -export const TestSuiteRunStatusValues = { - Aborted: "aborted", - Failure: "failure", - InProgress: "in_progress", - Skipped: "skipped", - Success: "success", - TimedOut: "timed_out", -} as const; - -export const TlsProtocolNameValues = { - Ssl: "ssl", - Tls: "tls", -} as const; - -export const UserAgentSyntheticTypeValues = { - Bot: "bot", - Test: "test", -} as const; - -export const V8jsHeapSpaceNameValues = { - CodeSpace: "code_space", -} as const; - -export const VcsChangeStateValues = { - Closed: "closed", - Merged: "merged", - Open: "open", - Wip: "wip", -} as const; - -export const VcsLineChangeTypeValues = { - Added: "added", - Removed: "removed", -} as const; - -export const VcsProviderNameValues = { - Bitbucket: "bitbucket", - Gitea: "gitea", - Github: "github", - Gitlab: "gitlab", - Gittea: "gittea", -} as const; - -export const VcsRefBaseTypeValues = { - Branch: "branch", - Tag: "tag", -} as const; - -export const VcsRefHeadTypeValues = { - Branch: "branch", - Tag: "tag", -} as const; - -export const VcsRefTypeValues = { - Branch: "branch", - Tag: "tag", -} as const; - -export const VcsRepositoryRefTypeValues = { - Branch: "branch", - Tag: "tag", -} as const; - -export const VcsRevisionDeltaDirectionValues = { - Ahead: "ahead", - Behind: "behind", -} as const; - -export const AspnetcoreDiagnosticsExceptionResultValues = { - Aborted: "aborted", - Handled: "handled", - Skipped: "skipped", - Unhandled: "unhandled", -} as const; - -export const AspnetcoreRateLimitingResultValues = { - Acquired: "acquired", - EndpointLimiter: "endpoint_limiter", - GlobalLimiter: "global_limiter", - RequestCanceled: "request_canceled", -} as const; - -export const AspnetcoreRoutingMatchStatusValues = { - Failure: "failure", - Success: "success", -} as const; - -export const DotnetGcHeapGenerationValues = { - Gen0: "gen0", - Gen1: "gen1", - Gen2: "gen2", - Loh: "loh", - Poh: "poh", -} as const; - -export const ErrorTypeValues = { - Other: "_OTHER", -} as const; - -export const NetworkTransportValues = { - Pipe: "pipe", - Quic: "quic", - Tcp: "tcp", - Udp: "udp", - Unix: "unix", -} as const; - -export const NetworkTypeValues = { - Ipv4: "ipv4", - Ipv6: "ipv6", -} as const; - -export const OtelStatusCodeValues = { - Error: "ERROR", - Ok: "OK", -} as const; - -export const SignalrConnectionStatusValues = { - AppShutdown: "app_shutdown", - NormalClosure: "normal_closure", - Timeout: "timeout", -} as const; - -export const SignalrTransportValues = { - LongPolling: "long_polling", - ServerSentEvents: "server_sent_events", - WebSockets: "web_sockets", -} as const; - -export const TelemetrySdkLanguageValues = { - Cpp: "cpp", - Dotnet: "dotnet", - Erlang: "erlang", - Go: "go", - Java: "java", - Nodejs: "nodejs", - Php: "php", - Python: "python", - Ruby: "ruby", - Rust: "rust", - Swift: "swift", - Webjs: "webjs", -} as const; From 4a4f7c5684cd3f1a033745625293e71ca1b7fa1c Mon Sep 17 00:00:00 2001 From: ancplua Date: Tue, 21 Apr 2026 04:22:31 +0200 Subject: [PATCH 04/13] fix(semconv): cross-platform weaver bootstrap/run for Linux CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Schema Drift failed on d1c49a42 because run-weaver.sh hardcoded the macOS-arm64 weaver binary path. bootstrap already selected the right release asset per arch; the runner now uses the matching path. Darwin:arm64 / Darwin:x86_64 / Linux:x86_64 supported. Windows explicit unsupported — qyl CI is Linux-only. Co-Authored-By: Claude Opus 4.7 (1M context) --- eng/semconv/run-weaver.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/eng/semconv/run-weaver.sh b/eng/semconv/run-weaver.sh index 75f86fdfc..800f88c1b 100755 --- a/eng/semconv/run-weaver.sh +++ b/eng/semconv/run-weaver.sh @@ -15,7 +15,17 @@ set -euo pipefail REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)" -WEAVER_BIN="${REPO_ROOT}/.tools/weaver/weaver-aarch64-apple-darwin/weaver" + +UNAME_S="$(uname -s)" +UNAME_M="$(uname -m)" +case "${UNAME_S}:${UNAME_M}" in + Darwin:arm64|Darwin:aarch64) WEAVER_ARCH="aarch64-apple-darwin" ;; + Darwin:x86_64) WEAVER_ARCH="x86_64-apple-darwin" ;; + Linux:x86_64) WEAVER_ARCH="x86_64-unknown-linux-gnu" ;; + *) echo "Unsupported platform: ${UNAME_S}/${UNAME_M}" >&2; exit 1 ;; +esac + +WEAVER_BIN="${REPO_ROOT}/.tools/weaver/weaver-${WEAVER_ARCH}/weaver" UPSTREAM_REGISTRY="${REPO_ROOT}/.tools/semconv-upstream/model" TEMPLATES_ROOT="${REPO_ROOT}/eng/semconv/templates/registry" STAGING_DIR="${REPO_ROOT}/eng/semconv/out" From 9ff826e658ecb1a315dda8416f3128dfe193a320 Mon Sep 17 00:00:00 2001 From: ancplua Date: Tue, 21 Apr 2026 04:22:48 +0200 Subject: [PATCH 05/13] fix(semconv): bootstrap-weaver.sh cross-platform too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-up to 4a4f7c56 — also fix bootstrap. Co-Authored-By: Claude Opus 4.7 (1M context) --- eng/semconv/bootstrap-weaver.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/eng/semconv/bootstrap-weaver.sh b/eng/semconv/bootstrap-weaver.sh index 5fdf7e357..b5d210fcd 100755 --- a/eng/semconv/bootstrap-weaver.sh +++ b/eng/semconv/bootstrap-weaver.sh @@ -13,11 +13,13 @@ UPSTREAM_DIR="${TOOLS_DIR}/semconv-upstream" WEAVER_VERSION="v0.22.1" SEMCONV_TAG="v1.40.0" +UNAME_S="$(uname -s)" UNAME_M="$(uname -m)" -case "${UNAME_M}" in - arm64|aarch64) WEAVER_ARCH="aarch64-apple-darwin" ;; - x86_64) WEAVER_ARCH="x86_64-apple-darwin" ;; - *) echo "Unsupported arch: ${UNAME_M}" >&2; exit 1 ;; +case "${UNAME_S}:${UNAME_M}" in + Darwin:arm64|Darwin:aarch64) WEAVER_ARCH="aarch64-apple-darwin" ;; + Darwin:x86_64) WEAVER_ARCH="x86_64-apple-darwin" ;; + Linux:x86_64) WEAVER_ARCH="x86_64-unknown-linux-gnu" ;; + *) echo "Unsupported platform: ${UNAME_S}/${UNAME_M}" >&2; exit 1 ;; esac mkdir -p "${WEAVER_DIR}" From e0b44f372a0b5b42277e9f6f9efc4c22da3bb518 Mon Sep 17 00:00:00 2001 From: ancplua Date: Tue, 21 Apr 2026 04:28:53 +0200 Subject: [PATCH 06/13] =?UTF-8?q?feat(semconv):=20TypeSpec=20template=20?= =?UTF-8?q?=E2=80=94=20Weaver=20owns=20all=20three=20semconv=20outputs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ports the 6842-line semconv.g.tsp shape to a 165-line MiniJinja template: - Common scalars (TraceId/SpanId/TokenCount/...) as a fixed prelude - Keys namespace — alias-per-attribute grouped by root namespace - Union types — one per enum-typed attribute (`*Value`) with members + string fallback for unknown values - Per-domain attribute models with @encodedName + type-correct fields TypeSpec reserved identifiers (namespace, enum, union, unknown, ...) are backtick-escaped via a `safe()` macro. 0 compile errors on core/specs npm run compile against the full qyl TypeSpec schema (18 unrelated upstream warnings, pre-existing). run-weaver.sh now installs into three final destinations: - src/qyl.dashboard/src/lib/semconv.ts (1368 lines) - src/qyl.collector/Storage/promoted-columns.g.sql (1369 lines) - core/specs/generated/semconv.g.tsp (6953 lines) `nuke GenerateSemconv` → bootstrap-weaver.sh + run-weaver.sh. The Weaver migration is complete: the TS `generate-semconv.ts` stack (921 LoC + qyl-extensions.json + npm + tsconfig + CHANGELOG + node_modules) is gone and all three pipeline outputs flow through the Jinja templates. Co-Authored-By: Claude Opus 4.7 (1M context) --- core/specs/generated/semconv.g.tsp | 1323 +++++++++-------- eng/semconv/run-weaver.sh | 10 +- .../templates/registry/qyl/semconv.g.tsp.j2 | 159 ++ .../templates/registry/qyl/weaver.yaml | 5 + 4 files changed, 888 insertions(+), 609 deletions(-) create mode 100644 eng/semconv/templates/registry/qyl/semconv.g.tsp.j2 diff --git a/core/specs/generated/semconv.g.tsp b/core/specs/generated/semconv.g.tsp index 4eff35ae3..d3c33a4e4 100644 --- a/core/specs/generated/semconv.g.tsp +++ b/core/specs/generated/semconv.g.tsp @@ -1,6 +1,6 @@ // -// Generated from @opentelemetry/semantic-conventions v1.40.0 -// Do not edit manually - run 'npm run generate:tsp' in SemconvGenerator +// Generated from open-telemetry/semantic-conventions v1.40.0 via Weaver +// Do not edit manually - run 'nuke GenerateSemconv' // // Usage in your TypeSpec files: // import "./semconv.g.tsp"; @@ -101,10 +101,10 @@ namespace Keys { alias identityTokenPurpose = "aspnetcore.identity.token_purpose"; /** "aspnetcore.identity.token_verified" */ alias identityTokenVerified = "aspnetcore.identity.token_verified"; - /** "aspnetcore.identity.user_type" */ - alias identityUserType = "aspnetcore.identity.user_type"; /** "aspnetcore.identity.user.update_type" */ alias identityUserUpdateType = "aspnetcore.identity.user.update_type"; + /** "aspnetcore.identity.user_type" */ + alias identityUserType = "aspnetcore.identity.user_type"; /** "aspnetcore.memory_pool.owner" */ alias memoryPoolOwner = "aspnetcore.memory_pool.owner"; /** "aspnetcore.rate_limiting.policy" */ @@ -217,46 +217,6 @@ namespace Keys { alias resourceId = "cloud.resource_id"; } - /** cloudevents.* attribute keys */ - namespace Cloudevents { - /** "cloudevents.event_id" */ - alias eventId = "cloudevents.event_id"; - /** "cloudevents.event_source" */ - alias eventSource = "cloudevents.event_source"; - /** "cloudevents.event_spec_version" */ - alias eventSpecVersion = "cloudevents.event_spec_version"; - /** "cloudevents.event_subject" */ - alias eventSubject = "cloudevents.event_subject"; - /** "cloudevents.event_type" */ - alias eventType = "cloudevents.event_type"; - } - - /** cloudfoundry.* attribute keys */ - namespace Cloudfoundry { - /** "cloudfoundry.app.id" */ - alias appId = "cloudfoundry.app.id"; - /** "cloudfoundry.app.instance.id" */ - alias appInstanceId = "cloudfoundry.app.instance.id"; - /** "cloudfoundry.app.name" */ - alias appName = "cloudfoundry.app.name"; - /** "cloudfoundry.org.id" */ - alias orgId = "cloudfoundry.org.id"; - /** "cloudfoundry.org.name" */ - alias orgName = "cloudfoundry.org.name"; - /** "cloudfoundry.process.id" */ - alias processId = "cloudfoundry.process.id"; - /** "cloudfoundry.process.type" */ - alias processType = "cloudfoundry.process.type"; - /** "cloudfoundry.space.id" */ - alias spaceId = "cloudfoundry.space.id"; - /** "cloudfoundry.space.name" */ - alias spaceName = "cloudfoundry.space.name"; - /** "cloudfoundry.system.id" */ - alias systemId = "cloudfoundry.system.id"; - /** "cloudfoundry.system.instance.id" */ - alias systemInstanceId = "cloudfoundry.system.instance.id"; - } - /** code.* attribute keys */ namespace Code { /** "code.column" */ @@ -305,6 +265,10 @@ namespace Keys { alias imageRepoDigests = "container.image.repo_digests"; /** "container.image.tags" */ alias imageTags = "container.image.tags"; + /** "container.label" */ + alias label = "container.label"; + /** "container.labels" */ + alias labels = "container.labels"; /** "container.name" */ alias name = "container.name"; /** "container.runtime" */ @@ -369,6 +333,8 @@ namespace Keys { alias elasticsearchClusterName = "db.elasticsearch.cluster.name"; /** "db.elasticsearch.node.name" */ alias elasticsearchNodeName = "db.elasticsearch.node.name"; + /** "db.elasticsearch.path_parts" */ + alias elasticsearchPathParts = "db.elasticsearch.path_parts"; /** "db.instance.id" */ alias instanceId = "db.instance.id"; /** "db.jdbc.driver_classname" */ @@ -387,6 +353,10 @@ namespace Keys { alias operationBatchSize = "db.operation.batch.size"; /** "db.operation.name" */ alias operationName = "db.operation.name"; + /** "db.operation.parameter" */ + alias operationParameter = "db.operation.parameter"; + /** "db.query.parameter" */ + alias queryParameter = "db.query.parameter"; /** "db.query.summary" */ alias querySummary = "db.query.summary"; /** "db.query.text" */ @@ -761,12 +731,10 @@ namespace Keys { alias host = "http.host"; /** "http.method" */ alias method = "http.method"; - /** "http.request_content_length" */ - alias requestContentLength = "http.request_content_length"; - /** "http.request_content_length_uncompressed" */ - alias requestContentLengthUncompressed = "http.request_content_length_uncompressed"; /** "http.request.body.size" */ alias requestBodySize = "http.request.body.size"; + /** "http.request.header" */ + alias requestHeader = "http.request.header"; /** "http.request.method" */ alias requestMethod = "http.request.method"; /** "http.request.method_original" */ @@ -775,16 +743,22 @@ namespace Keys { alias requestResendCount = "http.request.resend_count"; /** "http.request.size" */ alias requestSize = "http.request.size"; - /** "http.response_content_length" */ - alias responseContentLength = "http.response_content_length"; - /** "http.response_content_length_uncompressed" */ - alias responseContentLengthUncompressed = "http.response_content_length_uncompressed"; + /** "http.request_content_length" */ + alias requestContentLength = "http.request_content_length"; + /** "http.request_content_length_uncompressed" */ + alias requestContentLengthUncompressed = "http.request_content_length_uncompressed"; /** "http.response.body.size" */ alias responseBodySize = "http.response.body.size"; + /** "http.response.header" */ + alias responseHeader = "http.response.header"; /** "http.response.size" */ alias responseSize = "http.response.size"; /** "http.response.status_code" */ alias responseStatusCode = "http.response.status_code"; + /** "http.response_content_length" */ + alias responseContentLength = "http.response_content_length"; + /** "http.response_content_length_uncompressed" */ + alias responseContentLengthUncompressed = "http.response_content_length_uncompressed"; /** "http.route" */ alias route = "http.route"; /** "http.scheme" */ @@ -817,14 +791,26 @@ namespace Keys { alias containerStatusReason = "k8s.container.status.reason"; /** "k8s.container.status.state" */ alias containerStatusState = "k8s.container.status.state"; + /** "k8s.cronjob.annotation" */ + alias cronjobAnnotation = "k8s.cronjob.annotation"; + /** "k8s.cronjob.label" */ + alias cronjobLabel = "k8s.cronjob.label"; /** "k8s.cronjob.name" */ alias cronjobName = "k8s.cronjob.name"; /** "k8s.cronjob.uid" */ alias cronjobUid = "k8s.cronjob.uid"; + /** "k8s.daemonset.annotation" */ + alias daemonsetAnnotation = "k8s.daemonset.annotation"; + /** "k8s.daemonset.label" */ + alias daemonsetLabel = "k8s.daemonset.label"; /** "k8s.daemonset.name" */ alias daemonsetName = "k8s.daemonset.name"; /** "k8s.daemonset.uid" */ alias daemonsetUid = "k8s.daemonset.uid"; + /** "k8s.deployment.annotation" */ + alias deploymentAnnotation = "k8s.deployment.annotation"; + /** "k8s.deployment.label" */ + alias deploymentLabel = "k8s.deployment.label"; /** "k8s.deployment.name" */ alias deploymentName = "k8s.deployment.name"; /** "k8s.deployment.uid" */ @@ -843,26 +829,44 @@ namespace Keys { alias hpaUid = "k8s.hpa.uid"; /** "k8s.hugepage.size" */ alias hugepageSize = "k8s.hugepage.size"; + /** "k8s.job.annotation" */ + alias jobAnnotation = "k8s.job.annotation"; + /** "k8s.job.label" */ + alias jobLabel = "k8s.job.label"; /** "k8s.job.name" */ alias jobName = "k8s.job.name"; /** "k8s.job.uid" */ alias jobUid = "k8s.job.uid"; + /** "k8s.namespace.annotation" */ + alias namespaceAnnotation = "k8s.namespace.annotation"; + /** "k8s.namespace.label" */ + alias namespaceLabel = "k8s.namespace.label"; /** "k8s.namespace.name" */ alias namespaceName = "k8s.namespace.name"; /** "k8s.namespace.phase" */ alias namespacePhase = "k8s.namespace.phase"; + /** "k8s.node.annotation" */ + alias nodeAnnotation = "k8s.node.annotation"; /** "k8s.node.condition.status" */ alias nodeConditionStatus = "k8s.node.condition.status"; /** "k8s.node.condition.type" */ alias nodeConditionType = "k8s.node.condition.type"; + /** "k8s.node.label" */ + alias nodeLabel = "k8s.node.label"; /** "k8s.node.name" */ alias nodeName = "k8s.node.name"; /** "k8s.node.uid" */ alias nodeUid = "k8s.node.uid"; + /** "k8s.pod.annotation" */ + alias podAnnotation = "k8s.pod.annotation"; /** "k8s.pod.hostname" */ alias podHostname = "k8s.pod.hostname"; /** "k8s.pod.ip" */ alias podIp = "k8s.pod.ip"; + /** "k8s.pod.label" */ + alias podLabel = "k8s.pod.label"; + /** "k8s.pod.labels" */ + alias podLabels = "k8s.pod.labels"; /** "k8s.pod.name" */ alias podName = "k8s.pod.name"; /** "k8s.pod.start_time" */ @@ -873,6 +877,10 @@ namespace Keys { alias podStatusReason = "k8s.pod.status.reason"; /** "k8s.pod.uid" */ alias podUid = "k8s.pod.uid"; + /** "k8s.replicaset.annotation" */ + alias replicasetAnnotation = "k8s.replicaset.annotation"; + /** "k8s.replicaset.label" */ + alias replicasetLabel = "k8s.replicaset.label"; /** "k8s.replicaset.name" */ alias replicasetName = "k8s.replicaset.name"; /** "k8s.replicaset.uid" */ @@ -887,22 +895,32 @@ namespace Keys { alias resourcequotaResourceName = "k8s.resourcequota.resource_name"; /** "k8s.resourcequota.uid" */ alias resourcequotaUid = "k8s.resourcequota.uid"; + /** "k8s.service.annotation" */ + alias serviceAnnotation = "k8s.service.annotation"; /** "k8s.service.endpoint.address_type" */ alias serviceEndpointAddressType = "k8s.service.endpoint.address_type"; /** "k8s.service.endpoint.condition" */ alias serviceEndpointCondition = "k8s.service.endpoint.condition"; /** "k8s.service.endpoint.zone" */ alias serviceEndpointZone = "k8s.service.endpoint.zone"; + /** "k8s.service.label" */ + alias serviceLabel = "k8s.service.label"; /** "k8s.service.name" */ alias serviceName = "k8s.service.name"; /** "k8s.service.publish_not_ready_addresses" */ alias servicePublishNotReadyAddresses = "k8s.service.publish_not_ready_addresses"; + /** "k8s.service.selector" */ + alias serviceSelector = "k8s.service.selector"; /** "k8s.service.traffic_distribution" */ alias serviceTrafficDistribution = "k8s.service.traffic_distribution"; /** "k8s.service.type" */ alias serviceType = "k8s.service.type"; /** "k8s.service.uid" */ alias serviceUid = "k8s.service.uid"; + /** "k8s.statefulset.annotation" */ + alias statefulsetAnnotation = "k8s.statefulset.annotation"; + /** "k8s.statefulset.label" */ + alias statefulsetLabel = "k8s.statefulset.label"; /** "k8s.statefulset.name" */ alias statefulsetName = "k8s.statefulset.name"; /** "k8s.statefulset.uid" */ @@ -941,10 +959,6 @@ namespace Keys { alias clientId = "messaging.client.id"; /** "messaging.consumer.group.name" */ alias consumerGroupName = "messaging.consumer.group.name"; - /** "messaging.destination_publish.anonymous" */ - alias destinationPublishAnonymous = "messaging.destination_publish.anonymous"; - /** "messaging.destination_publish.name" */ - alias destinationPublishName = "messaging.destination_publish.name"; /** "messaging.destination.anonymous" */ alias destinationAnonymous = "messaging.destination.anonymous"; /** "messaging.destination.name" */ @@ -957,6 +971,10 @@ namespace Keys { alias destinationTemplate = "messaging.destination.template"; /** "messaging.destination.temporary" */ alias destinationTemporary = "messaging.destination.temporary"; + /** "messaging.destination_publish.anonymous" */ + alias destinationPublishAnonymous = "messaging.destination_publish.anonymous"; + /** "messaging.destination_publish.name" */ + alias destinationPublishName = "messaging.destination_publish.name"; /** "messaging.eventhubs.consumer.group" */ alias eventhubsConsumerGroup = "messaging.eventhubs.consumer.group"; /** "messaging.eventhubs.message.enqueued_time" */ @@ -1079,12 +1097,6 @@ namespace Keys { alias responseSystemFingerprint = "openai.response.system_fingerprint"; } - /** oracle_cloud.* attribute keys */ - namespace OracleCloud { - /** "oracle_cloud.realm" */ - alias realm = "oracle_cloud.realm"; - } - /** oracle.* attribute keys */ namespace Oracle { /** "oracle.db.domain" */ @@ -1099,6 +1111,12 @@ namespace Keys { alias dbService = "oracle.db.service"; } + /** oracle_cloud.* attribute keys */ + namespace OracleCloud { + /** "oracle_cloud.realm" */ + alias realm = "oracle_cloud.realm"; + } + /** os.* attribute keys */ namespace Os { /** "os.build_id" */ @@ -1183,6 +1201,8 @@ namespace Keys { alias cpuState = "process.cpu.state"; /** "process.creation.time" */ alias creationTime = "process.creation.time"; + /** "process.environment_variable" */ + alias environmentVariable = "process.environment_variable"; /** "process.executable.build_id.gnu" */ alias executableBuildIdGnu = "process.executable.build_id.gnu"; /** "process.executable.build_id.go" */ @@ -1253,6 +1273,14 @@ namespace Keys { namespace Rpc { /** "rpc.connect_rpc.error_code" */ alias connectRpcErrorCode = "rpc.connect_rpc.error_code"; + /** "rpc.connect_rpc.request.metadata" */ + alias connectRpcRequestMetadata = "rpc.connect_rpc.request.metadata"; + /** "rpc.connect_rpc.response.metadata" */ + alias connectRpcResponseMetadata = "rpc.connect_rpc.response.metadata"; + /** "rpc.grpc.request.metadata" */ + alias grpcRequestMetadata = "rpc.grpc.request.metadata"; + /** "rpc.grpc.response.metadata" */ + alias grpcResponseMetadata = "rpc.grpc.response.metadata"; /** "rpc.grpc.status_code" */ alias grpcStatusCode = "rpc.grpc.status_code"; /** "rpc.jsonrpc.error_code" */ @@ -1275,6 +1303,10 @@ namespace Keys { alias method = "rpc.method"; /** "rpc.method_original" */ alias methodOriginal = "rpc.method_original"; + /** "rpc.request.metadata" */ + alias requestMetadata = "rpc.request.metadata"; + /** "rpc.response.metadata" */ + alias responseMetadata = "rpc.response.metadata"; /** "rpc.response.status_code" */ alias responseStatusCode = "rpc.response.status_code"; /** "rpc.service" */ @@ -1489,22 +1521,6 @@ namespace Keys { alias topLevelDomain = "url.top_level_domain"; } - /** user_agent.* attribute keys */ - namespace UserAgent { - /** "user_agent.name" */ - alias name = "user_agent.name"; - /** "user_agent.original" */ - alias original = "user_agent.original"; - /** "user_agent.os.name" */ - alias osName = "user_agent.os.name"; - /** "user_agent.os.version" */ - alias osVersion = "user_agent.os.version"; - /** "user_agent.synthetic.type" */ - alias syntheticType = "user_agent.synthetic.type"; - /** "user_agent.version" */ - alias version = "user_agent.version"; - } - /** user.* attribute keys */ namespace User { /** "user.email" */ @@ -1521,6 +1537,22 @@ namespace Keys { alias roles = "user.roles"; } + /** user_agent.* attribute keys */ + namespace UserAgent { + /** "user_agent.name" */ + alias name = "user_agent.name"; + /** "user_agent.original" */ + alias original = "user_agent.original"; + /** "user_agent.os.name" */ + alias osName = "user_agent.os.name"; + /** "user_agent.os.version" */ + alias osVersion = "user_agent.os.version"; + /** "user_agent.synthetic.type" */ + alias syntheticType = "user_agent.synthetic.type"; + /** "user_agent.version" */ + alias version = "user_agent.version"; + } + /** vcs.* attribute keys */ namespace Vcs { /** "vcs.change.id" */ @@ -1580,7 +1612,9 @@ namespace Keys { } // ============================================================================ -// Enum Value Types (union types for known values) +// Enum Unions — one per enum-typed attribute +// ============================================================================ +// Each union lists known values and permits arbitrary string for future-proofing. // ============================================================================ /** Known values for aspnetcore.authentication.result */ @@ -1605,7 +1639,21 @@ union AspnetcoreAuthorizationResultValue { string, } -/** Known values for aspnetcore.identity.password.check.result */ +/** Known values for aspnetcore.diagnostics.exception.result */ +union AspnetcoreDiagnosticsExceptionResultValue { + /** "aborted" */ + aborted: "aborted", + /** "handled" */ + handled: "handled", + /** "skipped" */ + skipped: "skipped", + /** "unhandled" */ + unhandled: "unhandled", + /** Allow unknown/custom values */ + string, +} + +/** Known values for aspnetcore.identity.password_check_result */ union AspnetcoreIdentityPasswordCheckResultValue { /** "failure" */ failure: "failure", @@ -1631,7 +1679,7 @@ union AspnetcoreIdentityResultValue { string, } -/** Known values for aspnetcore.identity.sign.in.result */ +/** Known values for aspnetcore.identity.sign_in.result */ union AspnetcoreIdentitySignInResultValue { /** "failure" */ failure: "failure", @@ -1647,7 +1695,7 @@ union AspnetcoreIdentitySignInResultValue { string, } -/** Known values for aspnetcore.identity.sign.in.type */ +/** Known values for aspnetcore.identity.sign_in.type */ union AspnetcoreIdentitySignInTypeValue { /** "external" */ external: "external", @@ -1665,16 +1713,16 @@ union AspnetcoreIdentitySignInTypeValue { string, } -/** Known values for aspnetcore.identity.token.purpose */ +/** Known values for aspnetcore.identity.token_purpose */ union AspnetcoreIdentityTokenPurposeValue { - /** "_OTHER" */ - other: "_OTHER", /** "change_email" */ changeEmail: "change_email", /** "change_phone_number" */ changePhoneNumber: "change_phone_number", /** "email_confirmation" */ emailConfirmation: "email_confirmation", + /** "_OTHER" */ + other: "_OTHER", /** "reset_password" */ resetPassword: "reset_password", /** "two_factor" */ @@ -1683,7 +1731,7 @@ union AspnetcoreIdentityTokenPurposeValue { string, } -/** Known values for aspnetcore.identity.token.verified */ +/** Known values for aspnetcore.identity.token_verified */ union AspnetcoreIdentityTokenVerifiedValue { /** "failure" */ failure: "failure", @@ -1693,10 +1741,8 @@ union AspnetcoreIdentityTokenVerifiedValue { string, } -/** Known values for aspnetcore.identity.user.update.type */ +/** Known values for aspnetcore.identity.user.update_type */ union AspnetcoreIdentityUserUpdateTypeValue { - /** "_OTHER" */ - other: "_OTHER", /** "access_failed" */ accessFailed: "access_failed", /** "add_claims" */ @@ -1717,6 +1763,8 @@ union AspnetcoreIdentityUserUpdateTypeValue { confirmEmail: "confirm_email", /** "generate_new_two_factor_recovery_codes" */ generateNewTwoFactorRecoveryCodes: "generate_new_two_factor_recovery_codes", + /** "_OTHER" */ + other: "_OTHER", /** "password_rehash" */ passwordRehash: "password_rehash", /** "redeem_two_factor_recovery_code" */ @@ -1765,6 +1813,30 @@ union AspnetcoreIdentityUserUpdateTypeValue { string, } +/** Known values for aspnetcore.rate_limiting.result */ +union AspnetcoreRateLimitingResultValue { + /** "acquired" */ + acquired: "acquired", + /** "endpoint_limiter" */ + endpointLimiter: "endpoint_limiter", + /** "global_limiter" */ + globalLimiter: "global_limiter", + /** "request_canceled" */ + requestCanceled: "request_canceled", + /** Allow unknown/custom values */ + string, +} + +/** Known values for aspnetcore.routing.match_status */ +union AspnetcoreRoutingMatchStatusValue { + /** "failure" */ + failure: "failure", + /** "success" */ + success: "success", + /** Allow unknown/custom values */ + string, +} + /** Known values for azure.cosmosdb.connection.mode */ union AzureCosmosdbConnectionModeValue { /** "direct" */ @@ -1989,17 +2061,7 @@ union ContainerCpuStateValue { string, } -/** Known values for cpu.mode */ -union CpuModeValue { - /** "system" */ - system: "system", - /** "user" */ - user: "user", - /** Allow unknown/custom values */ - string, -} - -/** Known values for db.cassandra.consistency.level */ +/** Known values for db.cassandra.consistency_level */ union DbCassandraConsistencyLevelValue { /** "all" */ all: "all", @@ -2047,7 +2109,7 @@ union DbClientConnectionsStateValue { string, } -/** Known values for db.cosmosdb.connection.mode */ +/** Known values for db.cosmosdb.connection_mode */ union DbCosmosdbConnectionModeValue { /** "direct" */ direct: "direct", @@ -2057,7 +2119,7 @@ union DbCosmosdbConnectionModeValue { string, } -/** Known values for db.cosmosdb.consistency.level */ +/** Known values for db.cosmosdb.consistency_level */ union DbCosmosdbConsistencyLevelValue { /** "BoundedStaleness" */ boundedStaleness: "BoundedStaleness", @@ -2073,7 +2135,7 @@ union DbCosmosdbConsistencyLevelValue { string, } -/** Known values for db.cosmosdb.operation.type */ +/** Known values for db.cosmosdb.operation_type */ union DbCosmosdbOperationTypeValue { /** "batch" */ batch: "batch", @@ -2273,10 +2335,16 @@ union DbSystemNameValue { instantdb: "instantdb", /** "intersystems.cache" */ intersystemsCache: "intersystems.cache", + /** "mariadb" */ + mariadb: "mariadb", /** "memcached" */ memcached: "memcached", + /** "microsoft.sql_server" */ + microsoftSqlServer: "microsoft.sql_server", /** "mongodb" */ mongodb: "mongodb", + /** "mysql" */ + mysql: "mysql", /** "neo4j" */ neo4j: "neo4j", /** "opensearch" */ @@ -2285,6 +2353,8 @@ union DbSystemNameValue { oracleDb: "oracle.db", /** "other_sql" */ otherSql: "other_sql", + /** "postgresql" */ + postgresql: "postgresql", /** "redis" */ redis: "redis", /** "sap.hana" */ @@ -2299,14 +2369,6 @@ union DbSystemNameValue { teradata: "teradata", /** "trino" */ trino: "trino", - /** "mariadb" */ - mariadb: "mariadb", - /** "microsoft.sql_server" */ - microsoftSqlServer: "microsoft.sql_server", - /** "mysql" */ - mysql: "mysql", - /** "postgresql" */ - postgresql: "postgresql", /** Allow unknown/custom values */ string, } @@ -2321,6 +2383,30 @@ union DeploymentStatusValue { string, } +/** Known values for dotnet.gc.heap.generation */ +union DotnetGcHeapGenerationValue { + /** "gen0" */ + gen0: "gen0", + /** "gen1" */ + gen1: "gen1", + /** "gen2" */ + gen2: "gen2", + /** "loh" */ + loh: "loh", + /** "poh" */ + poh: "poh", + /** Allow unknown/custom values */ + string, +} + +/** Known values for error.type */ +union ErrorTypeValue { + /** "_OTHER" */ + other: "_OTHER", + /** Allow unknown/custom values */ + string, +} + /** Known values for faas.document.operation */ union FaasDocumentOperationValue { /** "delete" */ @@ -2333,7 +2419,7 @@ union FaasDocumentOperationValue { string, } -/** Known values for faas.invoked.provider */ +/** Known values for faas.invoked_provider */ union FaasInvokedProviderValue { /** "alibaba_cloud" */ alibabaCloud: "alibaba_cloud", @@ -2365,7 +2451,7 @@ union FaasTriggerValue { string, } -/** Known values for feature.flag.evaluation.reason */ +/** Known values for feature_flag.evaluation.reason */ union FeatureFlagEvaluationReasonValue { /** "cached" */ cached: "cached", @@ -2389,7 +2475,7 @@ union FeatureFlagEvaluationReasonValue { string, } -/** Known values for feature.flag.result.reason */ +/** Known values for feature_flag.result.reason */ union FeatureFlagResultReasonValue { /** "cached" */ cached: "cached", @@ -2413,7 +2499,7 @@ union FeatureFlagResultReasonValue { string, } -/** Known values for gen.ai.openai.request.response.format */ +/** Known values for gen_ai.openai.request.response_format */ union GenAiOpenaiRequestResponseFormatValue { /** "json_object" */ jsonObject: "json_object", @@ -2425,7 +2511,7 @@ union GenAiOpenaiRequestResponseFormatValue { string, } -/** Known values for gen.ai.openai.request.service.tier */ +/** Known values for gen_ai.openai.request.service_tier */ union GenAiOpenaiRequestServiceTierValue { /** "auto" */ auto: "auto", @@ -2435,7 +2521,7 @@ union GenAiOpenaiRequestServiceTierValue { string, } -/** Known values for gen.ai.operation.name */ +/** Known values for gen_ai.operation.name */ union GenAiOperationNameValue { /** "chat" */ chat: "chat", @@ -2457,7 +2543,7 @@ union GenAiOperationNameValue { string, } -/** Known values for gen.ai.output.type */ +/** Known values for gen_ai.output.type */ union GenAiOutputTypeValue { /** "image" */ image: "image", @@ -2471,7 +2557,7 @@ union GenAiOutputTypeValue { string, } -/** Known values for gen.ai.provider.name */ +/** Known values for gen_ai.provider.name */ union GenAiProviderNameValue { /** "anthropic" */ anthropic: "anthropic", @@ -2507,7 +2593,7 @@ union GenAiProviderNameValue { string, } -/** Known values for gen.ai.system */ +/** Known values for gen_ai.system */ union GenAiSystemValue { /** "anthropic" */ anthropic: "anthropic", @@ -2551,12 +2637,12 @@ union GenAiSystemValue { string, } -/** Known values for gen.ai.token.type */ +/** Known values for gen_ai.token.type */ union GenAiTokenTypeValue { - /** "input" */ - input: "input", /** "output" */ completion: "output", + /** "input" */ + input: "input", /** "output" */ output: "output", /** Allow unknown/custom values */ @@ -2635,10 +2721,6 @@ union HttpFlavorValue { /** Known values for http.request.method */ union HttpRequestMethodValue { - /** "QUERY" */ - query: "QUERY", - /** "_OTHER" */ - other: "_OTHER", /** "CONNECT" */ connect: "CONNECT", /** "DELETE" */ @@ -2649,28 +2731,22 @@ union HttpRequestMethodValue { head: "HEAD", /** "OPTIONS" */ options: "OPTIONS", + /** "_OTHER" */ + other: "_OTHER", /** "PATCH" */ patch: "PATCH", /** "POST" */ post: "POST", /** "PUT" */ put: "PUT", + /** "QUERY" */ + query: "QUERY", /** "TRACE" */ trace: "TRACE", /** Allow unknown/custom values */ string, } -/** Known values for hw.type */ -union HwTypeValue { - /** "logical_disk" */ - logicalDisk: "logical_disk", - /** "network" */ - network: "network", - /** Allow unknown/custom values */ - string, -} - /** Known values for k8s.container.status.reason */ union K8sContainerStatusReasonValue { /** "Completed" */ @@ -2777,7 +2853,7 @@ union K8sPodStatusReasonValue { string, } -/** Known values for k8s.service.endpoint.address.type */ +/** Known values for k8s.service.endpoint.address_type */ union K8sServiceEndpointAddressTypeValue { /** "FQDN" */ fqdn: "FQDN", @@ -2843,14 +2919,6 @@ union LogIostreamValue { string, } -/** Known values for mcp.method.name */ -union McpMethodNameValue { - /** "logging/setLevel" */ - loggingSetLevel: "logging/setLevel", - /** Allow unknown/custom values */ - string, -} - /** Known values for messaging.operation.type */ union MessagingOperationTypeValue { /** "create" */ @@ -2871,7 +2939,7 @@ union MessagingOperationTypeValue { string, } -/** Known values for messaging.rocketmq.consumption.model */ +/** Known values for messaging.rocketmq.consumption_model */ union MessagingRocketmqConsumptionModelValue { /** "broadcasting" */ broadcasting: "broadcasting", @@ -2895,7 +2963,7 @@ union MessagingRocketmqMessageTypeValue { string, } -/** Known values for messaging.servicebus.disposition.status */ +/** Known values for messaging.servicebus.disposition_status */ union MessagingServicebusDispositionStatusValue { /** "abandon" */ abandon: "abandon", @@ -3041,6 +3109,32 @@ union NetworkIoDirectionValue { string, } +/** Known values for network.transport */ +union NetworkTransportValue { + /** "pipe" */ + pipe: "pipe", + /** "quic" */ + quic: "quic", + /** "tcp" */ + tcp: "tcp", + /** "udp" */ + udp: "udp", + /** "unix" */ + unix: "unix", + /** Allow unknown/custom values */ + string, +} + +/** Known values for network.type */ +union NetworkTypeValue { + /** "ipv4" */ + ipv4: "ipv4", + /** "ipv6" */ + ipv6: "ipv6", + /** Allow unknown/custom values */ + string, +} + /** Known values for openai.api.type */ union OpenaiApiTypeValue { /** "chat_completions" */ @@ -3051,7 +3145,7 @@ union OpenaiApiTypeValue { string, } -/** Known values for openai.request.service.tier */ +/** Known values for openai.request.service_tier */ union OpenaiRequestServiceTierValue { /** "auto" */ auto: "auto", @@ -3141,7 +3235,7 @@ union OtelSpanParentOriginValue { string, } -/** Known values for otel.span.sampling.result */ +/** Known values for otel.span.sampling_result */ union OtelSpanSamplingResultValue { /** "DROP" */ drop: "DROP", @@ -3153,7 +3247,17 @@ union OtelSpanSamplingResultValue { string, } -/** Known values for process.context.switch.type */ +/** Known values for otel.status_code */ +union OtelStatusCodeValue { + /** "ERROR" */ + error: "ERROR", + /** "OK" */ + ok: "OK", + /** Allow unknown/custom values */ + string, +} + +/** Known values for process.context_switch.type */ union ProcessContextSwitchTypeValue { /** "involuntary" */ involuntary: "involuntary", @@ -3175,7 +3279,7 @@ union ProcessCpuStateValue { string, } -/** Known values for process.paging.fault.type */ +/** Known values for process.paging.fault_type */ union ProcessPagingFaultTypeValue { /** "major" */ major: "major", @@ -3229,7 +3333,7 @@ union ProfileFrameTypeValue { string, } -/** Known values for rpc.connect.rpc.error.code */ +/** Known values for rpc.connect_rpc.error_code */ union RpcConnectRpcErrorCodeValue { /** "aborted" */ aborted: "aborted", @@ -3267,6 +3371,46 @@ union RpcConnectRpcErrorCodeValue { string, } +/** Known values for rpc.grpc.status_code */ +union RpcGrpcStatusCodeValue { + /** "10" */ + aborted: "10", + /** "6" */ + alreadyExists: "6", + /** "1" */ + cancelled: "1", + /** "15" */ + dataLoss: "15", + /** "4" */ + deadlineExceeded: "4", + /** "9" */ + failedPrecondition: "9", + /** "13" */ + internal: "13", + /** "3" */ + invalidArgument: "3", + /** "5" */ + notFound: "5", + /** "0" */ + ok: "0", + /** "11" */ + outOfRange: "11", + /** "7" */ + permissionDenied: "7", + /** "8" */ + resourceExhausted: "8", + /** "16" */ + unauthenticated: "16", + /** "14" */ + unavailable: "14", + /** "12" */ + unimplemented: "12", + /** "2" */ + `unknown`: "2", + /** Allow unknown/custom values */ + string, +} + /** Known values for rpc.message.type */ union RpcMessageTypeValue { /** "RECEIVED" */ @@ -3325,6 +3469,30 @@ union ServiceCriticalityValue { string, } +/** Known values for signalr.connection.status */ +union SignalrConnectionStatusValue { + /** "app_shutdown" */ + appShutdown: "app_shutdown", + /** "normal_closure" */ + normalClosure: "normal_closure", + /** "timeout" */ + timeout: "timeout", + /** Allow unknown/custom values */ + string, +} + +/** Known values for signalr.transport */ +union SignalrTransportValue { + /** "long_polling" */ + longPolling: "long_polling", + /** "server_sent_events" */ + serverSentEvents: "server_sent_events", + /** "web_sockets" */ + webSockets: "web_sockets", + /** Allow unknown/custom values */ + string, +} + /** Known values for system.cpu.state */ union SystemCpuStateValue { /** "idle" */ @@ -3499,10 +3667,40 @@ union SystemProcessesStatusValue { string, } -/** Known values for test.case.result.status */ -union TestCaseResultStatusValue { - /** "fail" */ - fail: "fail", +/** Known values for telemetry.sdk.language */ +union TelemetrySdkLanguageValue { + /** "cpp" */ + cpp: "cpp", + /** "dotnet" */ + dotnet: "dotnet", + /** "erlang" */ + erlang: "erlang", + /** "go" */ + go: "go", + /** "java" */ + java: "java", + /** "nodejs" */ + nodejs: "nodejs", + /** "php" */ + php: "php", + /** "python" */ + python: "python", + /** "ruby" */ + ruby: "ruby", + /** "rust" */ + rust: "rust", + /** "swift" */ + swift: "swift", + /** "webjs" */ + webjs: "webjs", + /** Allow unknown/custom values */ + string, +} + +/** Known values for test.case.result.status */ +union TestCaseResultStatusValue { + /** "fail" */ + fail: "fail", /** "pass" */ pass: "pass", /** Allow unknown/custom values */ @@ -3537,7 +3735,7 @@ union TlsProtocolNameValue { string, } -/** Known values for user.agent.synthetic.type */ +/** Known values for user_agent.synthetic.type */ union UserAgentSyntheticTypeValue { /** "bot" */ bot: "bot", @@ -3547,14 +3745,6 @@ union UserAgentSyntheticTypeValue { string, } -/** Known values for v8js.heap.space.name */ -union V8jsHeapSpaceNameValue { - /** "code_space" */ - codeSpace: "code_space", - /** Allow unknown/custom values */ - string, -} - /** Known values for vcs.change.state */ union VcsChangeStateValue { /** "closed" */ @@ -3569,7 +3759,7 @@ union VcsChangeStateValue { string, } -/** Known values for vcs.line.change.type */ +/** Known values for vcs.line_change.type */ union VcsLineChangeTypeValue { /** "added" */ added: "added", @@ -3635,7 +3825,7 @@ union VcsRepositoryRefTypeValue { string, } -/** Known values for vcs.revision.delta.direction */ +/** Known values for vcs.revision_delta.direction */ union VcsRevisionDeltaDirectionValue { /** "ahead" */ ahead: "ahead", @@ -3645,157 +3835,13 @@ union VcsRevisionDeltaDirectionValue { string, } -/** Known values for aspnetcore.diagnostics.exception.result */ -union AspnetcoreDiagnosticsExceptionResultValue { - /** "aborted" */ - aborted: "aborted", - /** "handled" */ - handled: "handled", - /** "skipped" */ - skipped: "skipped", - /** "unhandled" */ - unhandled: "unhandled", - /** Allow unknown/custom values */ - string, -} - -/** Known values for aspnetcore.rate.limiting.result */ -union AspnetcoreRateLimitingResultValue { - /** "acquired" */ - acquired: "acquired", - /** "endpoint_limiter" */ - endpointLimiter: "endpoint_limiter", - /** "global_limiter" */ - globalLimiter: "global_limiter", - /** "request_canceled" */ - requestCanceled: "request_canceled", - /** Allow unknown/custom values */ - string, -} - -/** Known values for aspnetcore.routing.match.status */ -union AspnetcoreRoutingMatchStatusValue { - /** "failure" */ - failure: "failure", - /** "success" */ - success: "success", - /** Allow unknown/custom values */ - string, -} - -/** Known values for dotnet.gc.heap.generation */ -union DotnetGcHeapGenerationValue { - /** "gen0" */ - gen0: "gen0", - /** "gen1" */ - gen1: "gen1", - /** "gen2" */ - gen2: "gen2", - /** "loh" */ - loh: "loh", - /** "poh" */ - poh: "poh", - /** Allow unknown/custom values */ - string, -} - -/** Known values for error.type */ -union ErrorTypeValue { - /** "_OTHER" */ - other: "_OTHER", - /** Allow unknown/custom values */ - string, -} -/** Known values for network.transport */ -union NetworkTransportValue { - /** "pipe" */ - pipe: "pipe", - /** "quic" */ - quic: "quic", - /** "tcp" */ - tcp: "tcp", - /** "udp" */ - udp: "udp", - /** "unix" */ - unix: "unix", - /** Allow unknown/custom values */ - string, -} - -/** Known values for network.type */ -union NetworkTypeValue { - /** "ipv4" */ - ipv4: "ipv4", - /** "ipv6" */ - ipv6: "ipv6", - /** Allow unknown/custom values */ - string, -} - -/** Known values for otel.status.code */ -union OtelStatusCodeValue { - /** "ERROR" */ - error: "ERROR", - /** "OK" */ - ok: "OK", - /** Allow unknown/custom values */ - string, -} - -/** Known values for signalr.connection.status */ -union SignalrConnectionStatusValue { - /** "app_shutdown" */ - appShutdown: "app_shutdown", - /** "normal_closure" */ - normalClosure: "normal_closure", - /** "timeout" */ - timeout: "timeout", - /** Allow unknown/custom values */ - string, -} - -/** Known values for signalr.transport */ -union SignalrTransportValue { - /** "long_polling" */ - longPolling: "long_polling", - /** "server_sent_events" */ - serverSentEvents: "server_sent_events", - /** "web_sockets" */ - webSockets: "web_sockets", - /** Allow unknown/custom values */ - string, -} - -/** Known values for telemetry.sdk.language */ -union TelemetrySdkLanguageValue { - /** "cpp" */ - cpp: "cpp", - /** "dotnet" */ - dotnet: "dotnet", - /** "erlang" */ - erlang: "erlang", - /** "go" */ - go: "go", - /** "java" */ - java: "java", - /** "nodejs" */ - nodejs: "nodejs", - /** "php" */ - php: "php", - /** "python" */ - python: "python", - /** "ruby" */ - ruby: "ruby", - /** "rust" */ - rust: "rust", - /** "swift" */ - swift: "swift", - /** "webjs" */ - webjs: "webjs", - /** Allow unknown/custom values */ - string, -} +// ============================================================================ +// Per-Domain Attribute Models +// ============================================================================ +// One model per root namespace. Fields are optional and carry @encodedName so +// dotted semconv keys survive JSON serialization. +// ============================================================================ // ============================================================================ // artifact.* Attributes Model @@ -3869,7 +3915,7 @@ model AspnetcoreAttributes { /** aspnetcore.identity.password_check_result */ @encodedName("application/json", "aspnetcore.identity.password_check_result") - identityPasswordCheckResult?: string; + identityPasswordCheckResult?: AspnetcoreIdentityPasswordCheckResultValue; /** aspnetcore.identity.result */ @encodedName("application/json", "aspnetcore.identity.result") @@ -3877,28 +3923,28 @@ model AspnetcoreAttributes { /** aspnetcore.identity.sign_in.result */ @encodedName("application/json", "aspnetcore.identity.sign_in.result") - identitySignInResult?: string; + identitySignInResult?: AspnetcoreIdentitySignInResultValue; /** aspnetcore.identity.sign_in.type */ @encodedName("application/json", "aspnetcore.identity.sign_in.type") - identitySignInType?: string; + identitySignInType?: AspnetcoreIdentitySignInTypeValue; /** aspnetcore.identity.token_purpose */ @encodedName("application/json", "aspnetcore.identity.token_purpose") - identityTokenPurpose?: string; + identityTokenPurpose?: AspnetcoreIdentityTokenPurposeValue; /** aspnetcore.identity.token_verified */ @encodedName("application/json", "aspnetcore.identity.token_verified") - identityTokenVerified?: string; + identityTokenVerified?: AspnetcoreIdentityTokenVerifiedValue; + + /** aspnetcore.identity.user.update_type */ + @encodedName("application/json", "aspnetcore.identity.user.update_type") + identityUserUpdateType?: AspnetcoreIdentityUserUpdateTypeValue; /** aspnetcore.identity.user_type */ @encodedName("application/json", "aspnetcore.identity.user_type") identityUserType?: string; - /** aspnetcore.identity.user.update_type */ - @encodedName("application/json", "aspnetcore.identity.user.update_type") - identityUserUpdateType?: string; - /** aspnetcore.memory_pool.owner */ @encodedName("application/json", "aspnetcore.memory_pool.owner") memoryPoolOwner?: string; @@ -3909,27 +3955,27 @@ model AspnetcoreAttributes { /** aspnetcore.rate_limiting.result */ @encodedName("application/json", "aspnetcore.rate_limiting.result") - rateLimitingResult?: string; + rateLimitingResult?: AspnetcoreRateLimitingResultValue; /** aspnetcore.request.is_unhandled */ @encodedName("application/json", "aspnetcore.request.is_unhandled") - requestIsUnhandled?: string; + requestIsUnhandled?: boolean; /** aspnetcore.routing.is_fallback */ @encodedName("application/json", "aspnetcore.routing.is_fallback") - routingIsFallback?: string; + routingIsFallback?: boolean; /** aspnetcore.routing.match_status */ @encodedName("application/json", "aspnetcore.routing.match_status") - routingMatchStatus?: string; + routingMatchStatus?: AspnetcoreRoutingMatchStatusValue; /** aspnetcore.sign_in.is_persistent */ @encodedName("application/json", "aspnetcore.sign_in.is_persistent") - signInIsPersistent?: string; + signInIsPersistent?: boolean; /** aspnetcore.user.is_authenticated */ @encodedName("application/json", "aspnetcore.user.is_authenticated") - userIsAuthenticated?: string; + userIsAuthenticated?: boolean; } @@ -3953,19 +3999,19 @@ model AzureAttributes { /** azure.cosmosdb.operation.contacted_regions */ @encodedName("application/json", "azure.cosmosdb.operation.contacted_regions") - cosmosdbOperationContactedRegions?: string; + cosmosdbOperationContactedRegions?: string[]; /** azure.cosmosdb.operation.request_charge */ @encodedName("application/json", "azure.cosmosdb.operation.request_charge") - cosmosdbOperationRequestCharge?: string; + cosmosdbOperationRequestCharge?: float64; /** azure.cosmosdb.request.body.size */ @encodedName("application/json", "azure.cosmosdb.request.body.size") - cosmosdbRequestBodySize?: string; + cosmosdbRequestBodySize?: int64; /** azure.cosmosdb.response.sub_status_code */ @encodedName("application/json", "azure.cosmosdb.response.sub_status_code") - cosmosdbResponseSubStatusCode?: string; + cosmosdbResponseSubStatusCode?: int64; /** azure.resource_provider.namespace */ @encodedName("application/json", "azure.resource_provider.namespace") @@ -3985,7 +4031,7 @@ model AzureAttributes { model BrowserAttributes { /** browser.brands */ @encodedName("application/json", "browser.brands") - brands?: string; + brands?: string[]; /** browser.language */ @encodedName("application/json", "browser.language") @@ -3993,7 +4039,7 @@ model BrowserAttributes { /** browser.mobile */ @encodedName("application/json", "browser.mobile") - mobile?: string; + mobile?: boolean; /** browser.platform */ @encodedName("application/json", "browser.platform") @@ -4085,7 +4131,7 @@ model ClientAttributes { /** client.port */ @encodedName("application/json", "client.port") - port?: string; + port?: int64; } @@ -4121,86 +4167,6 @@ model CloudAttributes { } -// ============================================================================ -// cloudevents.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for cloudevents.* */ -model CloudeventsAttributes { - /** cloudevents.event_id */ - @encodedName("application/json", "cloudevents.event_id") - eventId?: string; - - /** cloudevents.event_source */ - @encodedName("application/json", "cloudevents.event_source") - eventSource?: string; - - /** cloudevents.event_spec_version */ - @encodedName("application/json", "cloudevents.event_spec_version") - eventSpecVersion?: string; - - /** cloudevents.event_subject */ - @encodedName("application/json", "cloudevents.event_subject") - eventSubject?: string; - - /** cloudevents.event_type */ - @encodedName("application/json", "cloudevents.event_type") - eventType?: string; - -} - -// ============================================================================ -// cloudfoundry.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for cloudfoundry.* */ -model CloudfoundryAttributes { - /** cloudfoundry.app.id */ - @encodedName("application/json", "cloudfoundry.app.id") - appId?: string; - - /** cloudfoundry.app.instance.id */ - @encodedName("application/json", "cloudfoundry.app.instance.id") - appInstanceId?: string; - - /** cloudfoundry.app.name */ - @encodedName("application/json", "cloudfoundry.app.name") - appName?: string; - - /** cloudfoundry.org.id */ - @encodedName("application/json", "cloudfoundry.org.id") - orgId?: string; - - /** cloudfoundry.org.name */ - @encodedName("application/json", "cloudfoundry.org.name") - orgName?: string; - - /** cloudfoundry.process.id */ - @encodedName("application/json", "cloudfoundry.process.id") - processId?: string; - - /** cloudfoundry.process.type */ - @encodedName("application/json", "cloudfoundry.process.type") - processType?: string; - - /** cloudfoundry.space.id */ - @encodedName("application/json", "cloudfoundry.space.id") - spaceId?: string; - - /** cloudfoundry.space.name */ - @encodedName("application/json", "cloudfoundry.space.name") - spaceName?: string; - - /** cloudfoundry.system.id */ - @encodedName("application/json", "cloudfoundry.system.id") - systemId?: string; - - /** cloudfoundry.system.instance.id */ - @encodedName("application/json", "cloudfoundry.system.instance.id") - systemInstanceId?: string; - -} - // ============================================================================ // code.* Attributes Model // ============================================================================ @@ -4209,11 +4175,11 @@ model CloudfoundryAttributes { model CodeAttributes { /** code.column */ @encodedName("application/json", "code.column") - column?: string; + column?: int64; /** code.column.number */ @encodedName("application/json", "code.column.number") - columnNumber?: string; + columnNumber?: int64; /** code.file.path */ @encodedName("application/json", "code.file.path") @@ -4233,11 +4199,11 @@ model CodeAttributes { /** code.line.number */ @encodedName("application/json", "code.line.number") - lineNumber?: string; + lineNumber?: int64; /** code.lineno */ @encodedName("application/json", "code.lineno") - lineno?: string; + lineno?: int64; /** code.namespace */ @encodedName("application/json", "code.namespace") @@ -4261,7 +4227,7 @@ model ContainerAttributes { /** container.command_args */ @encodedName("application/json", "container.command_args") - commandArgs?: string; + commandArgs?: string[]; /** container.command_line */ @encodedName("application/json", "container.command_line") @@ -4293,11 +4259,19 @@ model ContainerAttributes { /** container.image.repo_digests */ @encodedName("application/json", "container.image.repo_digests") - imageRepoDigests?: string; + imageRepoDigests?: string[]; /** container.image.tags */ @encodedName("application/json", "container.image.tags") - imageTags?: string; + imageTags?: string[]; + + /** container.label */ + @encodedName("application/json", "container.label") + label?: string; + + /** container.labels */ + @encodedName("application/json", "container.labels") + labels?: string; /** container.name */ @encodedName("application/json", "container.name") @@ -4329,7 +4303,7 @@ model ContainerAttributes { model DbAttributes { /** db.cassandra.consistency_level */ @encodedName("application/json", "db.cassandra.consistency_level") - cassandraConsistencyLevel?: string; + cassandraConsistencyLevel?: DbCassandraConsistencyLevelValue; /** db.cassandra.coordinator.dc */ @encodedName("application/json", "db.cassandra.coordinator.dc") @@ -4341,7 +4315,7 @@ model DbAttributes { /** db.cassandra.idempotence */ @encodedName("application/json", "db.cassandra.idempotence") - cassandraIdempotence?: string; + cassandraIdempotence?: boolean; /** db.cassandra.page_size */ @encodedName("application/json", "db.cassandra.page_size") @@ -4385,11 +4359,11 @@ model DbAttributes { /** db.cosmosdb.connection_mode */ @encodedName("application/json", "db.cosmosdb.connection_mode") - cosmosdbConnectionMode?: string; + cosmosdbConnectionMode?: DbCosmosdbConnectionModeValue; /** db.cosmosdb.consistency_level */ @encodedName("application/json", "db.cosmosdb.consistency_level") - cosmosdbConsistencyLevel?: string; + cosmosdbConsistencyLevel?: DbCosmosdbConsistencyLevelValue; /** db.cosmosdb.container */ @encodedName("application/json", "db.cosmosdb.container") @@ -4397,15 +4371,15 @@ model DbAttributes { /** db.cosmosdb.operation_type */ @encodedName("application/json", "db.cosmosdb.operation_type") - cosmosdbOperationType?: string; + cosmosdbOperationType?: DbCosmosdbOperationTypeValue; /** db.cosmosdb.regions_contacted */ @encodedName("application/json", "db.cosmosdb.regions_contacted") - cosmosdbRegionsContacted?: string; + cosmosdbRegionsContacted?: string[]; /** db.cosmosdb.request_charge */ @encodedName("application/json", "db.cosmosdb.request_charge") - cosmosdbRequestCharge?: string; + cosmosdbRequestCharge?: float64; /** db.cosmosdb.request_content_length */ @encodedName("application/json", "db.cosmosdb.request_content_length") @@ -4413,11 +4387,11 @@ model DbAttributes { /** db.cosmosdb.status_code */ @encodedName("application/json", "db.cosmosdb.status_code") - cosmosdbStatusCode?: string; + cosmosdbStatusCode?: int64; /** db.cosmosdb.sub_status_code */ @encodedName("application/json", "db.cosmosdb.sub_status_code") - cosmosdbSubStatusCode?: string; + cosmosdbSubStatusCode?: int64; /** db.elasticsearch.cluster.name */ @encodedName("application/json", "db.elasticsearch.cluster.name") @@ -4427,6 +4401,10 @@ model DbAttributes { @encodedName("application/json", "db.elasticsearch.node.name") elasticsearchNodeName?: string; + /** db.elasticsearch.path_parts */ + @encodedName("application/json", "db.elasticsearch.path_parts") + elasticsearchPathParts?: string; + /** db.instance.id */ @encodedName("application/json", "db.instance.id") instanceId?: string; @@ -4457,12 +4435,20 @@ model DbAttributes { /** db.operation.batch.size */ @encodedName("application/json", "db.operation.batch.size") - operationBatchSize?: string; + operationBatchSize?: int64; /** db.operation.name */ @encodedName("application/json", "db.operation.name") operationName?: string; + /** db.operation.parameter */ + @encodedName("application/json", "db.operation.parameter") + operationParameter?: string; + + /** db.query.parameter */ + @encodedName("application/json", "db.query.parameter") + queryParameter?: string; + /** db.query.summary */ @encodedName("application/json", "db.query.summary") querySummary?: string; @@ -4473,11 +4459,11 @@ model DbAttributes { /** db.redis.database_index */ @encodedName("application/json", "db.redis.database_index") - redisDatabaseIndex?: string; + redisDatabaseIndex?: int64; /** db.response.returned_rows */ @encodedName("application/json", "db.response.returned_rows") - responseReturnedRows?: string; + responseReturnedRows?: int64; /** db.response.status_code */ @encodedName("application/json", "db.response.status_code") @@ -4545,7 +4531,7 @@ model DeploymentAttributes { model DnsAttributes { /** dns.answers */ @encodedName("application/json", "dns.answers") - answers?: string; + answers?: string[]; /** dns.question.name */ @encodedName("application/json", "dns.question.name") @@ -4625,7 +4611,7 @@ model ErrorAttributes { model ExceptionAttributes { /** exception.escaped */ @encodedName("application/json", "exception.escaped") - escaped?: string; + escaped?: boolean; /** exception.message */ @encodedName("application/json", "exception.message") @@ -4649,7 +4635,7 @@ model ExceptionAttributes { model FaasAttributes { /** faas.coldstart */ @encodedName("application/json", "faas.coldstart") - coldstart?: string; + coldstart?: boolean; /** faas.cron */ @encodedName("application/json", "faas.cron") @@ -4685,7 +4671,7 @@ model FaasAttributes { /** faas.invoked_provider */ @encodedName("application/json", "faas.invoked_provider") - invokedProvider?: string; + invokedProvider?: FaasInvokedProviderValue; /** faas.invoked_region */ @encodedName("application/json", "faas.invoked_region") @@ -4693,7 +4679,7 @@ model FaasAttributes { /** faas.max_memory */ @encodedName("application/json", "faas.max_memory") - maxMemory?: string; + maxMemory?: int64; /** faas.name */ @encodedName("application/json", "faas.name") @@ -4733,7 +4719,7 @@ model FeatureFlagAttributes { /** feature_flag.evaluation.reason */ @encodedName("application/json", "feature_flag.evaluation.reason") - evaluationReason?: string; + evaluationReason?: FeatureFlagEvaluationReasonValue; /** feature_flag.key */ @encodedName("application/json", "feature_flag.key") @@ -4745,7 +4731,7 @@ model FeatureFlagAttributes { /** feature_flag.result.reason */ @encodedName("application/json", "feature_flag.result.reason") - resultReason?: string; + resultReason?: FeatureFlagResultReasonValue; /** feature_flag.result.value */ @encodedName("application/json", "feature_flag.result.value") @@ -4781,7 +4767,7 @@ model FileAttributes { /** file.attributes */ @encodedName("application/json", "file.attributes") - attributes?: string; + attributes?: string[]; /** file.changed */ @encodedName("application/json", "file.changed") @@ -4841,7 +4827,7 @@ model FileAttributes { /** file.size */ @encodedName("application/json", "file.size") - size?: string; + size?: int64; /** file.symbolic_link.target_path */ @encodedName("application/json", "file.symbolic_link.target_path") @@ -4885,7 +4871,7 @@ model GenAiAttributes { /** gen_ai.embeddings.dimension.count */ @encodedName("application/json", "gen_ai.embeddings.dimension.count") - embeddingsDimensionCount?: string; + embeddingsDimensionCount?: int64; /** gen_ai.evaluation.explanation */ @encodedName("application/json", "gen_ai.evaluation.explanation") @@ -4901,7 +4887,7 @@ model GenAiAttributes { /** gen_ai.evaluation.score.value */ @encodedName("application/json", "gen_ai.evaluation.score.value") - evaluationScoreValue?: string; + evaluationScoreValue?: float64; /** gen_ai.input.messages */ @encodedName("application/json", "gen_ai.input.messages") @@ -4909,15 +4895,15 @@ model GenAiAttributes { /** gen_ai.openai.request.response_format */ @encodedName("application/json", "gen_ai.openai.request.response_format") - openaiRequestResponseFormat?: string; + openaiRequestResponseFormat?: GenAiOpenaiRequestResponseFormatValue; /** gen_ai.openai.request.seed */ @encodedName("application/json", "gen_ai.openai.request.seed") - openaiRequestSeed?: string; + openaiRequestSeed?: int64; /** gen_ai.openai.request.service_tier */ @encodedName("application/json", "gen_ai.openai.request.service_tier") - openaiRequestServiceTier?: string; + openaiRequestServiceTier?: GenAiOpenaiRequestServiceTierValue; /** gen_ai.openai.response.service_tier */ @encodedName("application/json", "gen_ai.openai.response.service_tier") @@ -4929,7 +4915,7 @@ model GenAiAttributes { /** gen_ai.operation.name */ @encodedName("application/json", "gen_ai.operation.name") - operationName?: string; + operationName?: GenAiOperationNameValue; /** gen_ai.output.messages */ @encodedName("application/json", "gen_ai.output.messages") @@ -4937,7 +4923,7 @@ model GenAiAttributes { /** gen_ai.output.type */ @encodedName("application/json", "gen_ai.output.type") - outputType?: string; + outputType?: GenAiOutputTypeValue; /** gen_ai.prompt */ @encodedName("application/json", "gen_ai.prompt") @@ -4949,19 +4935,19 @@ model GenAiAttributes { /** gen_ai.provider.name */ @encodedName("application/json", "gen_ai.provider.name") - providerName?: string; + providerName?: GenAiProviderNameValue; /** gen_ai.request.choice.count */ @encodedName("application/json", "gen_ai.request.choice.count") - requestChoiceCount?: string; + requestChoiceCount?: int64; /** gen_ai.request.encoding_formats */ @encodedName("application/json", "gen_ai.request.encoding_formats") - requestEncodingFormats?: string; + requestEncodingFormats?: string[]; /** gen_ai.request.frequency_penalty */ @encodedName("application/json", "gen_ai.request.frequency_penalty") - requestFrequencyPenalty?: string; + requestFrequencyPenalty?: float64; /** gen_ai.request.max_tokens */ @encodedName("application/json", "gen_ai.request.max_tokens") @@ -4973,31 +4959,31 @@ model GenAiAttributes { /** gen_ai.request.presence_penalty */ @encodedName("application/json", "gen_ai.request.presence_penalty") - requestPresencePenalty?: string; + requestPresencePenalty?: float64; /** gen_ai.request.seed */ @encodedName("application/json", "gen_ai.request.seed") - requestSeed?: string; + requestSeed?: int64; /** gen_ai.request.stop_sequences */ @encodedName("application/json", "gen_ai.request.stop_sequences") - requestStopSequences?: string; + requestStopSequences?: string[]; /** gen_ai.request.temperature */ @encodedName("application/json", "gen_ai.request.temperature") - requestTemperature?: string; + requestTemperature?: float64; /** gen_ai.request.top_k */ @encodedName("application/json", "gen_ai.request.top_k") - requestTopK?: string; + requestTopK?: float64; /** gen_ai.request.top_p */ @encodedName("application/json", "gen_ai.request.top_p") - requestTopP?: string; + requestTopP?: float64; /** gen_ai.response.finish_reasons */ @encodedName("application/json", "gen_ai.response.finish_reasons") - responseFinishReasons?: string; + responseFinishReasons?: string[]; /** gen_ai.response.id */ @encodedName("application/json", "gen_ai.response.id") @@ -5017,7 +5003,7 @@ model GenAiAttributes { /** gen_ai.system */ @encodedName("application/json", "gen_ai.system") - system?: string; + system?: GenAiSystemValue; /** gen_ai.system_instructions */ @encodedName("application/json", "gen_ai.system_instructions") @@ -5025,7 +5011,7 @@ model GenAiAttributes { /** gen_ai.token.type */ @encodedName("application/json", "gen_ai.token.type") - tokenType?: string; + tokenType?: GenAiTokenTypeValue; /** gen_ai.tool.call.arguments */ @encodedName("application/json", "gen_ai.tool.call.arguments") @@ -5101,11 +5087,11 @@ model GeoAttributes { /** geo.location.lat */ @encodedName("application/json", "geo.location.lat") - locationLat?: string; + locationLat?: float64; /** geo.location.lon */ @encodedName("application/json", "geo.location.lon") - locationLon?: string; + locationLon?: float64; /** geo.postal_code */ @encodedName("application/json", "geo.postal_code") @@ -5129,7 +5115,7 @@ model HostAttributes { /** host.cpu.cache.l2.size */ @encodedName("application/json", "host.cpu.cache.l2.size") - cpuCacheL2Size?: string; + cpuCacheL2Size?: int64; /** host.cpu.family */ @encodedName("application/json", "host.cpu.family") @@ -5169,11 +5155,11 @@ model HostAttributes { /** host.ip */ @encodedName("application/json", "host.ip") - ip?: string; + ip?: string[]; /** host.mac */ @encodedName("application/json", "host.mac") - mac?: string; + mac?: string[]; /** host.name */ @encodedName("application/json", "host.name") @@ -5211,17 +5197,13 @@ model HttpAttributes { @encodedName("application/json", "http.method") method?: string; - /** http.request_content_length */ - @encodedName("application/json", "http.request_content_length") - requestContentLength?: int64; - - /** http.request_content_length_uncompressed */ - @encodedName("application/json", "http.request_content_length_uncompressed") - requestContentLengthUncompressed?: string; - /** http.request.body.size */ @encodedName("application/json", "http.request.body.size") - requestBodySize?: string; + requestBodySize?: int64; + + /** http.request.header */ + @encodedName("application/json", "http.request.header") + requestHeader?: string; /** http.request.method */ @encodedName("application/json", "http.request.method") @@ -5237,27 +5219,39 @@ model HttpAttributes { /** http.request.size */ @encodedName("application/json", "http.request.size") - requestSize?: string; + requestSize?: int64; - /** http.response_content_length */ - @encodedName("application/json", "http.response_content_length") - responseContentLength?: int64; + /** http.request_content_length */ + @encodedName("application/json", "http.request_content_length") + requestContentLength?: int64; - /** http.response_content_length_uncompressed */ - @encodedName("application/json", "http.response_content_length_uncompressed") - responseContentLengthUncompressed?: string; + /** http.request_content_length_uncompressed */ + @encodedName("application/json", "http.request_content_length_uncompressed") + requestContentLengthUncompressed?: int64; /** http.response.body.size */ @encodedName("application/json", "http.response.body.size") - responseBodySize?: string; + responseBodySize?: int64; + + /** http.response.header */ + @encodedName("application/json", "http.response.header") + responseHeader?: string; /** http.response.size */ @encodedName("application/json", "http.response.size") - responseSize?: string; + responseSize?: int64; /** http.response.status_code */ @encodedName("application/json", "http.response.status_code") - responseStatusCode?: string; + responseStatusCode?: int64; + + /** http.response_content_length */ + @encodedName("application/json", "http.response_content_length") + responseContentLength?: int64; + + /** http.response_content_length_uncompressed */ + @encodedName("application/json", "http.response_content_length_uncompressed") + responseContentLengthUncompressed?: int64; /** http.route */ @encodedName("application/json", "http.route") @@ -5273,7 +5267,7 @@ model HttpAttributes { /** http.status_code */ @encodedName("application/json", "http.status_code") - statusCode?: string; + statusCode?: int64; /** http.target */ @encodedName("application/json", "http.target") @@ -5323,6 +5317,14 @@ model K8sAttributes { @encodedName("application/json", "k8s.container.status.state") containerStatusState?: K8sContainerStatusStateValue; + /** k8s.cronjob.annotation */ + @encodedName("application/json", "k8s.cronjob.annotation") + cronjobAnnotation?: string; + + /** k8s.cronjob.label */ + @encodedName("application/json", "k8s.cronjob.label") + cronjobLabel?: string; + /** k8s.cronjob.name */ @encodedName("application/json", "k8s.cronjob.name") cronjobName?: string; @@ -5331,6 +5333,14 @@ model K8sAttributes { @encodedName("application/json", "k8s.cronjob.uid") cronjobUid?: string; + /** k8s.daemonset.annotation */ + @encodedName("application/json", "k8s.daemonset.annotation") + daemonsetAnnotation?: string; + + /** k8s.daemonset.label */ + @encodedName("application/json", "k8s.daemonset.label") + daemonsetLabel?: string; + /** k8s.daemonset.name */ @encodedName("application/json", "k8s.daemonset.name") daemonsetName?: string; @@ -5339,6 +5349,14 @@ model K8sAttributes { @encodedName("application/json", "k8s.daemonset.uid") daemonsetUid?: string; + /** k8s.deployment.annotation */ + @encodedName("application/json", "k8s.deployment.annotation") + deploymentAnnotation?: string; + + /** k8s.deployment.label */ + @encodedName("application/json", "k8s.deployment.label") + deploymentLabel?: string; + /** k8s.deployment.name */ @encodedName("application/json", "k8s.deployment.name") deploymentName?: string; @@ -5375,6 +5393,14 @@ model K8sAttributes { @encodedName("application/json", "k8s.hugepage.size") hugepageSize?: string; + /** k8s.job.annotation */ + @encodedName("application/json", "k8s.job.annotation") + jobAnnotation?: string; + + /** k8s.job.label */ + @encodedName("application/json", "k8s.job.label") + jobLabel?: string; + /** k8s.job.name */ @encodedName("application/json", "k8s.job.name") jobName?: string; @@ -5383,6 +5409,14 @@ model K8sAttributes { @encodedName("application/json", "k8s.job.uid") jobUid?: string; + /** k8s.namespace.annotation */ + @encodedName("application/json", "k8s.namespace.annotation") + namespaceAnnotation?: string; + + /** k8s.namespace.label */ + @encodedName("application/json", "k8s.namespace.label") + namespaceLabel?: string; + /** k8s.namespace.name */ @encodedName("application/json", "k8s.namespace.name") namespaceName?: string; @@ -5391,6 +5425,10 @@ model K8sAttributes { @encodedName("application/json", "k8s.namespace.phase") namespacePhase?: K8sNamespacePhaseValue; + /** k8s.node.annotation */ + @encodedName("application/json", "k8s.node.annotation") + nodeAnnotation?: string; + /** k8s.node.condition.status */ @encodedName("application/json", "k8s.node.condition.status") nodeConditionStatus?: K8sNodeConditionStatusValue; @@ -5399,6 +5437,10 @@ model K8sAttributes { @encodedName("application/json", "k8s.node.condition.type") nodeConditionType?: K8sNodeConditionTypeValue; + /** k8s.node.label */ + @encodedName("application/json", "k8s.node.label") + nodeLabel?: string; + /** k8s.node.name */ @encodedName("application/json", "k8s.node.name") nodeName?: string; @@ -5407,6 +5449,10 @@ model K8sAttributes { @encodedName("application/json", "k8s.node.uid") nodeUid?: string; + /** k8s.pod.annotation */ + @encodedName("application/json", "k8s.pod.annotation") + podAnnotation?: string; + /** k8s.pod.hostname */ @encodedName("application/json", "k8s.pod.hostname") podHostname?: string; @@ -5415,6 +5461,14 @@ model K8sAttributes { @encodedName("application/json", "k8s.pod.ip") podIp?: string; + /** k8s.pod.label */ + @encodedName("application/json", "k8s.pod.label") + podLabel?: string; + + /** k8s.pod.labels */ + @encodedName("application/json", "k8s.pod.labels") + podLabels?: string; + /** k8s.pod.name */ @encodedName("application/json", "k8s.pod.name") podName?: string; @@ -5435,6 +5489,14 @@ model K8sAttributes { @encodedName("application/json", "k8s.pod.uid") podUid?: string; + /** k8s.replicaset.annotation */ + @encodedName("application/json", "k8s.replicaset.annotation") + replicasetAnnotation?: string; + + /** k8s.replicaset.label */ + @encodedName("application/json", "k8s.replicaset.label") + replicasetLabel?: string; + /** k8s.replicaset.name */ @encodedName("application/json", "k8s.replicaset.name") replicasetName?: string; @@ -5463,9 +5525,13 @@ model K8sAttributes { @encodedName("application/json", "k8s.resourcequota.uid") resourcequotaUid?: string; + /** k8s.service.annotation */ + @encodedName("application/json", "k8s.service.annotation") + serviceAnnotation?: string; + /** k8s.service.endpoint.address_type */ @encodedName("application/json", "k8s.service.endpoint.address_type") - serviceEndpointAddressType?: string; + serviceEndpointAddressType?: K8sServiceEndpointAddressTypeValue; /** k8s.service.endpoint.condition */ @encodedName("application/json", "k8s.service.endpoint.condition") @@ -5475,13 +5541,21 @@ model K8sAttributes { @encodedName("application/json", "k8s.service.endpoint.zone") serviceEndpointZone?: string; + /** k8s.service.label */ + @encodedName("application/json", "k8s.service.label") + serviceLabel?: string; + /** k8s.service.name */ @encodedName("application/json", "k8s.service.name") serviceName?: string; /** k8s.service.publish_not_ready_addresses */ @encodedName("application/json", "k8s.service.publish_not_ready_addresses") - servicePublishNotReadyAddresses?: string; + servicePublishNotReadyAddresses?: boolean; + + /** k8s.service.selector */ + @encodedName("application/json", "k8s.service.selector") + serviceSelector?: string; /** k8s.service.traffic_distribution */ @encodedName("application/json", "k8s.service.traffic_distribution") @@ -5495,6 +5569,14 @@ model K8sAttributes { @encodedName("application/json", "k8s.service.uid") serviceUid?: string; + /** k8s.statefulset.annotation */ + @encodedName("application/json", "k8s.statefulset.annotation") + statefulsetAnnotation?: string; + + /** k8s.statefulset.label */ + @encodedName("application/json", "k8s.statefulset.label") + statefulsetLabel?: string; + /** k8s.statefulset.name */ @encodedName("application/json", "k8s.statefulset.name") statefulsetName?: string; @@ -5571,17 +5653,9 @@ model MessagingAttributes { @encodedName("application/json", "messaging.consumer.group.name") consumerGroupName?: string; - /** messaging.destination_publish.anonymous */ - @encodedName("application/json", "messaging.destination_publish.anonymous") - destinationPublishAnonymous?: string; - - /** messaging.destination_publish.name */ - @encodedName("application/json", "messaging.destination_publish.name") - destinationPublishName?: string; - /** messaging.destination.anonymous */ @encodedName("application/json", "messaging.destination.anonymous") - destinationAnonymous?: string; + destinationAnonymous?: boolean; /** messaging.destination.name */ @encodedName("application/json", "messaging.destination.name") @@ -5601,7 +5675,15 @@ model MessagingAttributes { /** messaging.destination.temporary */ @encodedName("application/json", "messaging.destination.temporary") - destinationTemporary?: string; + destinationTemporary?: boolean; + + /** messaging.destination_publish.anonymous */ + @encodedName("application/json", "messaging.destination_publish.anonymous") + destinationPublishAnonymous?: boolean; + + /** messaging.destination_publish.name */ + @encodedName("application/json", "messaging.destination_publish.name") + destinationPublishName?: string; /** messaging.eventhubs.consumer.group */ @encodedName("application/json", "messaging.eventhubs.consumer.group") @@ -5609,11 +5691,11 @@ model MessagingAttributes { /** messaging.eventhubs.message.enqueued_time */ @encodedName("application/json", "messaging.eventhubs.message.enqueued_time") - eventhubsMessageEnqueuedTime?: string; + eventhubsMessageEnqueuedTime?: int64; /** messaging.gcp_pubsub.message.ack_deadline */ @encodedName("application/json", "messaging.gcp_pubsub.message.ack_deadline") - gcpPubsubMessageAckDeadline?: string; + gcpPubsubMessageAckDeadline?: int64; /** messaging.gcp_pubsub.message.ack_id */ @encodedName("application/json", "messaging.gcp_pubsub.message.ack_id") @@ -5621,7 +5703,7 @@ model MessagingAttributes { /** messaging.gcp_pubsub.message.delivery_attempt */ @encodedName("application/json", "messaging.gcp_pubsub.message.delivery_attempt") - gcpPubsubMessageDeliveryAttempt?: string; + gcpPubsubMessageDeliveryAttempt?: int64; /** messaging.gcp_pubsub.message.ordering_key */ @encodedName("application/json", "messaging.gcp_pubsub.message.ordering_key") @@ -5633,7 +5715,7 @@ model MessagingAttributes { /** messaging.kafka.destination.partition */ @encodedName("application/json", "messaging.kafka.destination.partition") - kafkaDestinationPartition?: string; + kafkaDestinationPartition?: int64; /** messaging.kafka.message.key */ @encodedName("application/json", "messaging.kafka.message.key") @@ -5641,19 +5723,19 @@ model MessagingAttributes { /** messaging.kafka.message.offset */ @encodedName("application/json", "messaging.kafka.message.offset") - kafkaMessageOffset?: string; + kafkaMessageOffset?: int64; /** messaging.kafka.message.tombstone */ @encodedName("application/json", "messaging.kafka.message.tombstone") - kafkaMessageTombstone?: string; + kafkaMessageTombstone?: boolean; /** messaging.kafka.offset */ @encodedName("application/json", "messaging.kafka.offset") - kafkaOffset?: string; + kafkaOffset?: int64; /** messaging.message.body.size */ @encodedName("application/json", "messaging.message.body.size") - messageBodySize?: string; + messageBodySize?: int64; /** messaging.message.conversation_id */ @encodedName("application/json", "messaging.message.conversation_id") @@ -5661,7 +5743,7 @@ model MessagingAttributes { /** messaging.message.envelope.size */ @encodedName("application/json", "messaging.message.envelope.size") - messageEnvelopeSize?: string; + messageEnvelopeSize?: int64; /** messaging.message.id */ @encodedName("application/json", "messaging.message.id") @@ -5685,7 +5767,7 @@ model MessagingAttributes { /** messaging.rabbitmq.message.delivery_tag */ @encodedName("application/json", "messaging.rabbitmq.message.delivery_tag") - rabbitmqMessageDeliveryTag?: string; + rabbitmqMessageDeliveryTag?: int64; /** messaging.rocketmq.client_group */ @encodedName("application/json", "messaging.rocketmq.client_group") @@ -5693,15 +5775,15 @@ model MessagingAttributes { /** messaging.rocketmq.consumption_model */ @encodedName("application/json", "messaging.rocketmq.consumption_model") - rocketmqConsumptionModel?: string; + rocketmqConsumptionModel?: MessagingRocketmqConsumptionModelValue; /** messaging.rocketmq.message.delay_time_level */ @encodedName("application/json", "messaging.rocketmq.message.delay_time_level") - rocketmqMessageDelayTimeLevel?: string; + rocketmqMessageDelayTimeLevel?: int64; /** messaging.rocketmq.message.delivery_timestamp */ @encodedName("application/json", "messaging.rocketmq.message.delivery_timestamp") - rocketmqMessageDeliveryTimestamp?: string; + rocketmqMessageDeliveryTimestamp?: int64; /** messaging.rocketmq.message.group */ @encodedName("application/json", "messaging.rocketmq.message.group") @@ -5709,7 +5791,7 @@ model MessagingAttributes { /** messaging.rocketmq.message.keys */ @encodedName("application/json", "messaging.rocketmq.message.keys") - rocketmqMessageKeys?: string; + rocketmqMessageKeys?: string[]; /** messaging.rocketmq.message.tag */ @encodedName("application/json", "messaging.rocketmq.message.tag") @@ -5729,7 +5811,7 @@ model MessagingAttributes { /** messaging.servicebus.disposition_status */ @encodedName("application/json", "messaging.servicebus.disposition_status") - servicebusDispositionStatus?: string; + servicebusDispositionStatus?: MessagingServicebusDispositionStatusValue; /** messaging.servicebus.message.delivery_count */ @encodedName("application/json", "messaging.servicebus.message.delivery_count") @@ -5737,7 +5819,7 @@ model MessagingAttributes { /** messaging.servicebus.message.enqueued_time */ @encodedName("application/json", "messaging.servicebus.message.enqueued_time") - servicebusMessageEnqueuedTime?: string; + servicebusMessageEnqueuedTime?: int64; /** messaging.system */ @encodedName("application/json", "messaging.system") @@ -5793,7 +5875,7 @@ model NetworkAttributes { /** network.local.port */ @encodedName("application/json", "network.local.port") - localPort?: string; + localPort?: int64; /** network.peer.address */ @encodedName("application/json", "network.peer.address") @@ -5801,7 +5883,7 @@ model NetworkAttributes { /** network.peer.port */ @encodedName("application/json", "network.peer.port") - peerPort?: string; + peerPort?: int64; /** network.protocol.name */ @encodedName("application/json", "network.protocol.name") @@ -5833,7 +5915,7 @@ model OpenaiAttributes { /** openai.request.service_tier */ @encodedName("application/json", "openai.request.service_tier") - requestServiceTier?: string; + requestServiceTier?: OpenaiRequestServiceTierValue; /** openai.response.service_tier */ @encodedName("application/json", "openai.response.service_tier") @@ -5845,18 +5927,6 @@ model OpenaiAttributes { } -// ============================================================================ -// oracle_cloud.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for oracle_cloud.* */ -model OracleCloudAttributes { - /** oracle_cloud.realm */ - @encodedName("application/json", "oracle_cloud.realm") - realm?: string; - -} - // ============================================================================ // oracle.* Attributes Model // ============================================================================ @@ -5885,6 +5955,18 @@ model OracleAttributes { } +// ============================================================================ +// oracle_cloud.* Attributes Model +// ============================================================================ + +/** Semantic convention attributes for oracle_cloud.* */ +model OracleCloudAttributes { + /** oracle_cloud.realm */ + @encodedName("application/json", "oracle_cloud.realm") + realm?: string; + +} + // ============================================================================ // os.* Attributes Model // ============================================================================ @@ -5957,11 +6039,11 @@ model OtelAttributes { /** otel.span.sampling_result */ @encodedName("application/json", "otel.span.sampling_result") - spanSamplingResult?: string; + spanSamplingResult?: OtelSpanSamplingResultValue; /** otel.status_code */ @encodedName("application/json", "otel.status_code") - statusCode?: string; + statusCode?: OtelStatusCodeValue; /** otel.status_description */ @encodedName("application/json", "otel.status_description") @@ -5977,27 +6059,27 @@ model OtelAttributes { model PprofAttributes { /** pprof.location.is_folded */ @encodedName("application/json", "pprof.location.is_folded") - locationIsFolded?: string; + locationIsFolded?: boolean; /** pprof.mapping.has_filenames */ @encodedName("application/json", "pprof.mapping.has_filenames") - mappingHasFilenames?: string; + mappingHasFilenames?: boolean; /** pprof.mapping.has_functions */ @encodedName("application/json", "pprof.mapping.has_functions") - mappingHasFunctions?: string; + mappingHasFunctions?: boolean; /** pprof.mapping.has_inline_frames */ @encodedName("application/json", "pprof.mapping.has_inline_frames") - mappingHasInlineFrames?: string; + mappingHasInlineFrames?: boolean; /** pprof.mapping.has_line_numbers */ @encodedName("application/json", "pprof.mapping.has_line_numbers") - mappingHasLineNumbers?: string; + mappingHasLineNumbers?: boolean; /** pprof.profile.comment */ @encodedName("application/json", "pprof.profile.comment") - profileComment?: string; + profileComment?: string[]; /** pprof.profile.doc_url */ @encodedName("application/json", "pprof.profile.doc_url") @@ -6017,7 +6099,7 @@ model PprofAttributes { /** pprof.scope.sample_type_order */ @encodedName("application/json", "pprof.scope.sample_type_order") - scopeSampleTypeOrder?: string; + scopeSampleTypeOrder?: int64[]; } @@ -6037,7 +6119,7 @@ model ProcessAttributes { /** process.command_args */ @encodedName("application/json", "process.command_args") - commandArgs?: string; + commandArgs?: string[]; /** process.command_line */ @encodedName("application/json", "process.command_line") @@ -6045,7 +6127,7 @@ model ProcessAttributes { /** process.context_switch.type */ @encodedName("application/json", "process.context_switch.type") - contextSwitchType?: string; + contextSwitchType?: ProcessContextSwitchTypeValue; /** process.cpu.state */ @encodedName("application/json", "process.cpu.state") @@ -6055,6 +6137,10 @@ model ProcessAttributes { @encodedName("application/json", "process.creation.time") creationTime?: string; + /** process.environment_variable */ + @encodedName("application/json", "process.environment_variable") + environmentVariable?: string; + /** process.executable.build_id.gnu */ @encodedName("application/json", "process.executable.build_id.gnu") executableBuildIdGnu?: string; @@ -6081,7 +6167,7 @@ model ProcessAttributes { /** process.exit.code */ @encodedName("application/json", "process.exit.code") - exitCode?: string; + exitCode?: int64; /** process.exit.time */ @encodedName("application/json", "process.exit.time") @@ -6089,11 +6175,11 @@ model ProcessAttributes { /** process.group_leader.pid */ @encodedName("application/json", "process.group_leader.pid") - groupLeaderPid?: string; + groupLeaderPid?: int64; /** process.interactive */ @encodedName("application/json", "process.interactive") - interactive?: string; + interactive?: boolean; /** process.linux.cgroup */ @encodedName("application/json", "process.linux.cgroup") @@ -6105,19 +6191,19 @@ model ProcessAttributes { /** process.paging.fault_type */ @encodedName("application/json", "process.paging.fault_type") - pagingFaultType?: string; + pagingFaultType?: ProcessPagingFaultTypeValue; /** process.parent_pid */ @encodedName("application/json", "process.parent_pid") - parentPid?: int32; + parentPid?: int64; /** process.pid */ @encodedName("application/json", "process.pid") - pid?: string; + pid?: int64; /** process.real_user.id */ @encodedName("application/json", "process.real_user.id") - realUserId?: string; + realUserId?: int64; /** process.real_user.name */ @encodedName("application/json", "process.real_user.name") @@ -6137,7 +6223,7 @@ model ProcessAttributes { /** process.saved_user.id */ @encodedName("application/json", "process.saved_user.id") - savedUserId?: string; + savedUserId?: int64; /** process.saved_user.name */ @encodedName("application/json", "process.saved_user.name") @@ -6145,7 +6231,7 @@ model ProcessAttributes { /** process.session_leader.pid */ @encodedName("application/json", "process.session_leader.pid") - sessionLeaderPid?: string; + sessionLeaderPid?: int64; /** process.state */ @encodedName("application/json", "process.state") @@ -6157,7 +6243,7 @@ model ProcessAttributes { /** process.user.id */ @encodedName("application/json", "process.user.id") - userId?: string; + userId?: int64; /** process.user.name */ @encodedName("application/json", "process.user.name") @@ -6165,7 +6251,7 @@ model ProcessAttributes { /** process.vpid */ @encodedName("application/json", "process.vpid") - vpid?: string; + vpid?: int64; /** process.working_directory */ @encodedName("application/json", "process.working_directory") @@ -6193,15 +6279,31 @@ model ProfileAttributes { model RpcAttributes { /** rpc.connect_rpc.error_code */ @encodedName("application/json", "rpc.connect_rpc.error_code") - connectRpcErrorCode?: string; + connectRpcErrorCode?: RpcConnectRpcErrorCodeValue; + + /** rpc.connect_rpc.request.metadata */ + @encodedName("application/json", "rpc.connect_rpc.request.metadata") + connectRpcRequestMetadata?: string; + + /** rpc.connect_rpc.response.metadata */ + @encodedName("application/json", "rpc.connect_rpc.response.metadata") + connectRpcResponseMetadata?: string; + + /** rpc.grpc.request.metadata */ + @encodedName("application/json", "rpc.grpc.request.metadata") + grpcRequestMetadata?: string; + + /** rpc.grpc.response.metadata */ + @encodedName("application/json", "rpc.grpc.response.metadata") + grpcResponseMetadata?: string; /** rpc.grpc.status_code */ @encodedName("application/json", "rpc.grpc.status_code") - grpcStatusCode?: string; + grpcStatusCode?: RpcGrpcStatusCodeValue; /** rpc.jsonrpc.error_code */ @encodedName("application/json", "rpc.jsonrpc.error_code") - jsonrpcErrorCode?: string; + jsonrpcErrorCode?: int64; /** rpc.jsonrpc.error_message */ @encodedName("application/json", "rpc.jsonrpc.error_message") @@ -6221,7 +6323,7 @@ model RpcAttributes { /** rpc.message.id */ @encodedName("application/json", "rpc.message.id") - messageId?: string; + messageId?: int64; /** rpc.message.type */ @encodedName("application/json", "rpc.message.type") @@ -6239,6 +6341,14 @@ model RpcAttributes { @encodedName("application/json", "rpc.method_original") methodOriginal?: string; + /** rpc.request.metadata */ + @encodedName("application/json", "rpc.request.metadata") + requestMetadata?: string; + + /** rpc.response.metadata */ + @encodedName("application/json", "rpc.response.metadata") + responseMetadata?: string; + /** rpc.response.status_code */ @encodedName("application/json", "rpc.response.status_code") responseStatusCode?: string; @@ -6269,7 +6379,7 @@ model ServerAttributes { /** server.port */ @encodedName("application/json", "server.port") - port?: string; + port?: int64; } @@ -6349,7 +6459,7 @@ model SignalrAttributes { model SystemAttributes { /** system.cpu.logical_number */ @encodedName("application/json", "system.cpu.logical_number") - cpuLogicalNumber?: string; + cpuLogicalNumber?: int64; /** system.cpu.state */ @encodedName("application/json", "system.cpu.state") @@ -6473,7 +6583,7 @@ model TestAttributes { model ThreadAttributes { /** thread.id */ @encodedName("application/json", "thread.id") - id?: string; + id?: int64; /** thread.name */ @encodedName("application/json", "thread.name") @@ -6497,7 +6607,7 @@ model TlsAttributes { /** tls.client.certificate_chain */ @encodedName("application/json", "tls.client.certificate_chain") - clientCertificateChain?: string; + clientCertificateChain?: string[]; /** tls.client.hash.md5 */ @encodedName("application/json", "tls.client.hash.md5") @@ -6537,7 +6647,7 @@ model TlsAttributes { /** tls.client.supported_ciphers */ @encodedName("application/json", "tls.client.supported_ciphers") - clientSupportedCiphers?: string; + clientSupportedCiphers?: string[]; /** tls.curve */ @encodedName("application/json", "tls.curve") @@ -6545,7 +6655,7 @@ model TlsAttributes { /** tls.established */ @encodedName("application/json", "tls.established") - established?: string; + established?: boolean; /** tls.next_protocol */ @encodedName("application/json", "tls.next_protocol") @@ -6561,7 +6671,7 @@ model TlsAttributes { /** tls.resumed */ @encodedName("application/json", "tls.resumed") - resumed?: string; + resumed?: boolean; /** tls.server.certificate */ @encodedName("application/json", "tls.server.certificate") @@ -6569,7 +6679,7 @@ model TlsAttributes { /** tls.server.certificate_chain */ @encodedName("application/json", "tls.server.certificate_chain") - serverCertificateChain?: string; + serverCertificateChain?: string[]; /** tls.server.hash.md5 */ @encodedName("application/json", "tls.server.hash.md5") @@ -6637,7 +6747,7 @@ model UrlAttributes { /** url.port */ @encodedName("application/json", "url.port") - port?: string; + port?: int64; /** url.query */ @encodedName("application/json", "url.query") @@ -6665,38 +6775,6 @@ model UrlAttributes { } -// ============================================================================ -// user_agent.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for user_agent.* */ -model UserAgentAttributes { - /** user_agent.name */ - @encodedName("application/json", "user_agent.name") - name?: string; - - /** user_agent.original */ - @encodedName("application/json", "user_agent.original") - original?: string; - - /** user_agent.os.name */ - @encodedName("application/json", "user_agent.os.name") - osName?: string; - - /** user_agent.os.version */ - @encodedName("application/json", "user_agent.os.version") - osVersion?: string; - - /** user_agent.synthetic.type */ - @encodedName("application/json", "user_agent.synthetic.type") - syntheticType?: string; - - /** user_agent.version */ - @encodedName("application/json", "user_agent.version") - version?: string; - -} - // ============================================================================ // user.* Attributes Model // ============================================================================ @@ -6725,7 +6803,39 @@ model UserAttributes { /** user.roles */ @encodedName("application/json", "user.roles") - roles?: string; + roles?: string[]; + +} + +// ============================================================================ +// user_agent.* Attributes Model +// ============================================================================ + +/** Semantic convention attributes for user_agent.* */ +model UserAgentAttributes { + /** user_agent.name */ + @encodedName("application/json", "user_agent.name") + name?: string; + + /** user_agent.original */ + @encodedName("application/json", "user_agent.original") + original?: string; + + /** user_agent.os.name */ + @encodedName("application/json", "user_agent.os.name") + osName?: string; + + /** user_agent.os.version */ + @encodedName("application/json", "user_agent.os.version") + osVersion?: string; + + /** user_agent.synthetic.type */ + @encodedName("application/json", "user_agent.synthetic.type") + syntheticType?: UserAgentSyntheticTypeValue; + + /** user_agent.version */ + @encodedName("application/json", "user_agent.version") + version?: string; } @@ -6749,7 +6859,7 @@ model VcsAttributes { /** vcs.line_change.type */ @encodedName("application/json", "vcs.line_change.type") - lineChangeType?: string; + lineChangeType?: VcsLineChangeTypeValue; /** vcs.owner.name */ @encodedName("application/json", "vcs.owner.name") @@ -6817,7 +6927,7 @@ model VcsAttributes { /** vcs.revision_delta.direction */ @encodedName("application/json", "vcs.revision_delta.direction") - revisionDeltaDirection?: string; + revisionDeltaDirection?: VcsRevisionDeltaDirectionValue; } @@ -6840,3 +6950,4 @@ model WebengineAttributes { version?: string; } + diff --git a/eng/semconv/run-weaver.sh b/eng/semconv/run-weaver.sh index 800f88c1b..bd88aa55a 100755 --- a/eng/semconv/run-weaver.sh +++ b/eng/semconv/run-weaver.sh @@ -5,10 +5,10 @@ # Output targets: # - src/qyl.dashboard/src/lib/semconv.ts (TypeScript const keys) # - src/qyl.collector/Storage/promoted-columns.g.sql (DuckDB columns) +# - core/specs/generated/semconv.g.tsp (TypeSpec scalars + Keys + unions + domain models) # -# Not emitted by Weaver yet (committed files stay as-is until templated): -# - core/specs/generated/semconv.g.tsp (TypeSpec — huge, future work) -# - src/qyl.contracts/Attributes/*Attributes.cs (hand-maintained facades) +# Still hand-maintained: +# - src/qyl.contracts/Attributes/*Attributes.cs (facades with qyl extensions) # # Bootstrap once per clone: ./eng/semconv/bootstrap-weaver.sh @@ -32,6 +32,7 @@ STAGING_DIR="${REPO_ROOT}/eng/semconv/out" TS_DEST="${REPO_ROOT}/src/qyl.dashboard/src/lib/semconv.ts" SQL_DEST="${REPO_ROOT}/src/qyl.collector/Storage/promoted-columns.g.sql" +TSP_DEST="${REPO_ROOT}/core/specs/generated/semconv.g.tsp" if [ ! -x "${WEAVER_BIN}" ] || [ ! -d "${UPSTREAM_REGISTRY}" ]; then echo "Weaver or upstream registry missing." >&2 @@ -46,10 +47,13 @@ rm -rf "${STAGING_DIR}" qyl \ "${STAGING_DIR}" +mkdir -p "$(dirname "${TSP_DEST}")" install -m 0644 "${STAGING_DIR}/semconv.ts" "${TS_DEST}" install -m 0644 "${STAGING_DIR}/promoted-columns.g.sql" "${SQL_DEST}" +install -m 0644 "${STAGING_DIR}/semconv.g.tsp" "${TSP_DEST}" echo "" echo "Wrote:" echo " ${TS_DEST} ($(wc -l < "${TS_DEST}") lines)" echo " ${SQL_DEST} ($(wc -l < "${SQL_DEST}") lines)" +echo " ${TSP_DEST} ($(wc -l < "${TSP_DEST}") lines)" diff --git a/eng/semconv/templates/registry/qyl/semconv.g.tsp.j2 b/eng/semconv/templates/registry/qyl/semconv.g.tsp.j2 new file mode 100644 index 000000000..497678412 --- /dev/null +++ b/eng/semconv/templates/registry/qyl/semconv.g.tsp.j2 @@ -0,0 +1,159 @@ +{#- + TypeSpec semconv surface for qyl's TypeSpec schema. + Target: core/specs/generated/semconv.g.tsp + + Four sections: + 1. Fixed scalars (TraceId / SpanId / common numeric scalars). + 2. Keys namespace — attribute-name aliases grouped by root namespace. + 3. Union types — one per enum-typed attribute (`*Value`). + 4. Per-domain models — one model per root namespace with all its attributes. + + TypeSpec reserved identifiers are backtick-escaped inline. +-#} +{%- set reserved = ['namespace', 'model', 'interface', 'enum', 'union', 'alias', 'scalar', 'op', 'using', 'import', 'is', 'extends', 'unknown', 'void', 'never', 'null', 'true', 'false', 'if', 'else', 'return'] -%} +{%- macro safe(ident) -%} +{%- if ident in reserved -%}`{{ ident }}`{%- else -%}{{ ident }}{%- endif -%} +{%- endmacro -%} +// +// Generated from open-telemetry/semantic-conventions v1.40.0 via Weaver +// Do not edit manually - run 'nuke GenerateSemconv' +// +// Usage in your TypeSpec files: +// import "./semconv.g.tsp"; +// using OTel.SemConv; +// +// model MySpan { +// @encodedName("application/json", Keys.GenAi.providerName) +// provider: GenAiProviderNameValue; +// } + +import "@typespec/http"; + +using TypeSpec.Http; + +namespace OTel.SemConv; + +// ============================================================================ +// Common OTel Scalars (for type-safe attribute values) +// ============================================================================ + +/** 128-bit trace identifier (32 hex chars) */ +@minLength(32) @maxLength(32) +@pattern("^[a-f0-9]{32}$") +scalar TraceId extends string; + +/** 64-bit span identifier (16 hex chars) */ +@minLength(16) @maxLength(16) +@pattern("^[a-f0-9]{16}$") +scalar SpanId extends string; + +/** Token count (always int64 per semconv) */ +scalar TokenCount extends int64; + +/** Duration in seconds (float64) */ +scalar DurationSeconds extends float64; + +/** Duration in nanoseconds (int64) */ +scalar DurationNanos extends int64; + +/** Port number */ +@minValue(1) @maxValue(65535) +scalar Port extends int32; + +/** Byte count */ +@minValue(0) +scalar ByteCount extends int64; + +// ============================================================================ +// Attribute Key Constants (use with @encodedName) +// ============================================================================ +// Example: @encodedName("application/json", Keys.GenAi.providerName) +// ============================================================================ + +namespace Keys { +{% for group in ctx | sort(attribute="root_namespace") %} +{% if group.root_namespace in params.include_prefixes %} + /** {{ group.root_namespace }}.* attribute keys */ + namespace {{ group.root_namespace | pascal_case }} { +{% for attr in group.attributes | sort(attribute="name") %} +{% set child = attr.name.split('.')[1:] | join('.') | replace('.', '_') | pascal_case %} +{% set camel = child[:1] | lower ~ child[1:] %} + /** "{{ attr.name }}" */ + alias {{ safe(camel) }} = "{{ attr.name }}"; +{% endfor %} + } + +{% endif %} +{% endfor %} +} + +// ============================================================================ +// Enum Unions — one per enum-typed attribute +// ============================================================================ +// Each union lists known values and permits arbitrary string for future-proofing. +// ============================================================================ + +{% for group in ctx | sort(attribute="root_namespace") %} +{% if group.root_namespace in params.include_prefixes %} +{% for attr in group.attributes | sort(attribute="name") %} +{% if attr.type is mapping and attr.type.members is defined %} +/** Known values for {{ attr.name }} */ +union {{ attr.name | replace('.', '_') | pascal_case }}Value { +{% for m in attr.type.members | sort(attribute="id") %} +{% set mid = m.id | replace('.', '_') | pascal_case %} +{% set mcamel = mid[:1] | lower ~ mid[1:] %} + /** "{{ m.value }}" */ + {{ safe(mcamel) }}: "{{ m.value }}", +{% endfor %} + /** Allow unknown/custom values */ + string, +} + +{% endif %} +{% endfor %} +{% endif %} +{% endfor %} + +// ============================================================================ +// Per-Domain Attribute Models +// ============================================================================ +// One model per root namespace. Fields are optional and carry @encodedName so +// dotted semconv keys survive JSON serialization. +// ============================================================================ + +{% for group in ctx | sort(attribute="root_namespace") %} +{% if group.root_namespace in params.include_prefixes %} +// ============================================================================ +// {{ group.root_namespace }}.* Attributes Model +// ============================================================================ + +/** Semantic convention attributes for {{ group.root_namespace }}.* */ +model {{ group.root_namespace | pascal_case }}Attributes { +{% for attr in group.attributes | sort(attribute="name") %} +{% set child = attr.name.split('.')[1:] | join('.') | replace('.', '_') | pascal_case %} +{% set camel = child[:1] | lower ~ child[1:] %} +{% set is_enum = attr.type is mapping and attr.type.members is defined %} +{% if is_enum %} +{% set tsp_type = (attr.name | replace('.', '_') | pascal_case) ~ 'Value' %} +{% elif attr.type == 'int' %} +{% set tsp_type = 'int64' %} +{% elif attr.type == 'double' %} +{% set tsp_type = 'float64' %} +{% elif attr.type == 'boolean' %} +{% set tsp_type = 'boolean' %} +{% elif attr.type == 'string[]' %} +{% set tsp_type = 'string[]' %} +{% elif attr.type == 'int[]' %} +{% set tsp_type = 'int64[]' %} +{% else %} +{% set tsp_type = 'string' %} +{% endif %} + /** {{ attr.name }} */ + @encodedName("application/json", "{{ attr.name }}") + {{ safe(camel) }}?: {{ tsp_type }}; + +{% endfor %} +} + +{% endif %} +{% endfor %} diff --git a/eng/semconv/templates/registry/qyl/weaver.yaml b/eng/semconv/templates/registry/qyl/weaver.yaml index de6fb526b..213375007 100644 --- a/eng/semconv/templates/registry/qyl/weaver.yaml +++ b/eng/semconv/templates/registry/qyl/weaver.yaml @@ -86,3 +86,8 @@ templates: filter: semconv_grouped_attributes application_mode: single file_name: "promoted-columns.g.sql" + + - template: semconv.g.tsp.j2 + filter: semconv_grouped_attributes + application_mode: single + file_name: "semconv.g.tsp" From ab9ef9ff1b25b08528d878648a91a3afc246d18c Mon Sep 17 00:00:00 2001 From: ancplua Date: Tue, 21 Apr 2026 04:37:13 +0200 Subject: [PATCH 07/13] fix(build): inline ContractGenerator attribute lists, drop qyl-extensions.json dep Schema Drift CI failed on e0b44f37 because GenerateContracts still read eng/semconv/qyl-extensions.json, which was deleted in the Weaver cutover (d1c49a42). The JSON's only role for this generator was to supply the per-facade attribute name lists; everything else (Source, Signals, required-attrs, metrics) was already hard-coded in C#. Inlined the 40 gen_ai and 12 db attribute names as `string[]` constants at the top of ContractGenerator.cs. Dropped the LoadDomains + FindFacade + ExtractAttributes JsonDocument path (~80 LoC). GenerateContracts target in BuildPipeline.cs no longer passes an extensionsJsonPath. One less arg on the Generate() signature. Bumping semconv = edit the two attribute arrays. No JSON parsing. Co-Authored-By: Claude Opus 4.7 (1M context) --- eng/build/BuildPipeline.cs | 2 - eng/build/ContractGenerator.cs | 195 ++++++++++++++++----------------- 2 files changed, 96 insertions(+), 101 deletions(-) diff --git a/eng/build/BuildPipeline.cs b/eng/build/BuildPipeline.cs index ae9874fe8..f239bd888 100644 --- a/eng/build/BuildPipeline.cs +++ b/eng/build/BuildPipeline.cs @@ -204,7 +204,6 @@ partial interface IPipeline : IHazSourcePaths .Executes(() => { var paths = CodegenPaths.From(this); - var extensionsJson = SemconvDirectory / "qyl-extensions.json"; var guard = IsServerBuild ? GenerationGuard.ForCi() : DryRunGenerate ?? false @@ -212,7 +211,6 @@ partial interface IPipeline : IHazSourcePaths : GenerationGuard.ForLocal(ForceGenerate ?? false); ContractGenerator.Generate( - extensionsJson, paths.InstrumentationGenerator, paths.CollectorObserve, guard); diff --git a/eng/build/ContractGenerator.cs b/eng/build/ContractGenerator.cs index 111563a3d..7c6b619b9 100644 --- a/eng/build/ContractGenerator.cs +++ b/eng/build/ContractGenerator.cs @@ -1,40 +1,96 @@ // eng/build/ContractGenerator.cs -using System; using System.Collections.Generic; using System.Globalization; -using System.IO; using System.Linq; using System.Text; -using System.Text.Json; using Nuke.Common.IO; using Serilog; /// -/// Generates DomainContracts.g.cs from qyl-extensions.json into compile-time and runtime consumers. -/// Single entry point: . +/// Generates DomainContracts.g.cs for the instrumentation generator + collector from a +/// compile-time domain table inlined below. Previously read eng/semconv/qyl-extensions.json; +/// that JSON was deleted in the Weaver cutover (PR #141). The attribute lists that survived +/// the migration now live here as the single source of truth. /// public static class ContractGenerator { private const string SchemaVersion = "semconv-1.40.0"; + // Attribute lists extracted from the former qyl-extensions.json facades. Each domain's + // `required` set marks attributes that MUST be present on every emitted span/metric of + // that signal; the rest are recommended. Bumping semconv = edit these lists. + private static readonly string[] GenAiAttributes = + [ + "gen_ai.provider.name", + "gen_ai.operation.name", + "gen_ai.request.model", + "gen_ai.request.temperature", + "gen_ai.request.max_tokens", + "gen_ai.request.top_p", + "gen_ai.request.top_k", + "gen_ai.request.stop_sequences", + "gen_ai.request.frequency_penalty", + "gen_ai.request.presence_penalty", + "gen_ai.request.choice.count", + "gen_ai.request.seed", + "gen_ai.request.encoding_formats", + "gen_ai.response.model", + "gen_ai.response.finish_reasons", + "gen_ai.response.id", + "gen_ai.usage.input_tokens", + "gen_ai.usage.output_tokens", + "gen_ai.usage.cache_read.input_tokens", + "gen_ai.usage.cache_creation.input_tokens", + "gen_ai.token.type", + "gen_ai.tool.name", + "gen_ai.tool.call.id", + "gen_ai.tool.description", + "gen_ai.tool.type", + "gen_ai.tool.call.arguments", + "gen_ai.tool.call.result", + "gen_ai.tool.definitions", + "gen_ai.input.messages", + "gen_ai.output.messages", + "gen_ai.output.type", + "gen_ai.system_instructions", + "gen_ai.agent.version", + "gen_ai.conversation.id", + "gen_ai.prompt.name", + "gen_ai.embeddings.dimension.count", + "gen_ai.evaluation.name", + "gen_ai.evaluation.score.value", + "gen_ai.evaluation.score.label", + "gen_ai.evaluation.explanation", + "gen_ai.data_source.id" + ]; + + private static readonly string[] DbAttributes = + [ + "db.system.name", + "db.operation.name", + "db.query.text", + "db.query.summary", + "db.namespace", + "db.collection.name", + "db.response.status_code", + "db.response.returned_rows", + "db.client.connection.pool.name", + "db.client.connection.state", + "db.operation.batch.size", + "db.stored_procedure.name" + ]; + /// - /// Reads qyl-extensions.json, emits DomainContracts.g.cs to the instrumentation generator and collector. + /// Emits DomainContracts.g.cs to the instrumentation generator and collector. /// public static void Generate( - AbsolutePath extensionsJsonPath, AbsolutePath instrumentationGeneratorDir, AbsolutePath collectorObserveDir, GenerationGuard guard) { - if (!extensionsJsonPath.FileExists()) - { - Log.Error("qyl-extensions.json not found at {Path}", extensionsJsonPath); - throw new FileNotFoundException("qyl-extensions.json not found", extensionsJsonPath); - } - - var domains = LoadDomains(extensionsJsonPath); - Log.Information("Loaded {Count} domain(s) from qyl-extensions.json", domains.Count); + var domains = BuildDomains(); + Log.Information("Emitting {Count} domain contract(s)", domains.Count); var content = EmitDomainContracts(domains); @@ -45,109 +101,50 @@ public static void Generate( guard.WriteIfAllowed(collectorDest, content, "DomainContracts.g.cs → qyl.collector/Observe"); } - // ── Domain loading ──────────────────────────────────────────────────────── - - private static List LoadDomains(AbsolutePath extensionsJsonPath) - { - using var stream = File.OpenRead(extensionsJsonPath); - using var doc = JsonDocument.Parse(stream); - var root = doc.RootElement; - - var domains = new List(); - - // gen_ai domain — lookup by upstreamPrefix, not positional index - var genAiFacade = FindFacade(root, "gen_ai"); - domains.Add(new DomainSpec( - "gen_ai", - "qyl.genai", - ["traces", "metrics"], - ExtractAttributes(genAiFacade, ["gen_ai.operation.name", "gen_ai.provider.name", "gen_ai.request.model"]), + private static List BuildDomains() => + [ + new("gen_ai", "qyl.genai", ["traces", "metrics"], + BuildAttributeSpecs(GenAiAttributes, + ["gen_ai.operation.name", "gen_ai.provider.name", "gen_ai.request.model"]), [ new MetricSpec("gen_ai.client.token.usage", "histogram", "token"), new MetricSpec("gen_ai.client.operation.duration", "histogram", "s") - ])); - - // db domain — lookup by upstreamPrefix, not positional index - var dbFacade = FindFacade(root, "db"); - domains.Add(new DomainSpec( - "db", - "qyl.db", - ["traces"], - ExtractAttributes(dbFacade, ["db.system.name", "db.operation.name"]), - [])); - - // traced domain — open schema, no fixed attributes - domains.Add(new DomainSpec( - "traced", - "qyl.traced", - ["traces"], - [], - [])); - - // agent domain — subset of gen_ai attributes - domains.Add(new DomainSpec( - "agent", - "qyl.agent", - ["traces", "metrics"], + ]), + new("db", "qyl.db", ["traces"], + BuildAttributeSpecs(DbAttributes, ["db.system.name", "db.operation.name"]), + []), + new("traced", "qyl.traced", ["traces"], [], []), + new("agent", "qyl.agent", ["traces", "metrics"], [ new AttributeSpec("gen_ai.agent.name", "string", false), new AttributeSpec("gen_ai.operation.name", "string", true) ], - [])); - - return domains; - } - - private static JsonElement FindFacade(JsonElement root, string upstreamPrefix) - { - foreach (var facade in root.GetProperty("facades").EnumerateArray()) - { - if (string.Equals(facade.GetProperty("upstreamPrefix").GetString(), - upstreamPrefix, StringComparison.Ordinal)) - return facade; - } - - throw new InvalidOperationException( - $"Facade with upstreamPrefix '{upstreamPrefix}' not found in qyl-extensions.json"); - } - - private static List ExtractAttributes( - JsonElement facade, - string[] requiredNames) - { - var attrs = new List(); + []) + ]; - foreach (var nameElem in facade.GetProperty("attributes").EnumerateArray()) - { - var name = nameElem.GetString()!; - var type = InferType(name); - var required = requiredNames.Contains(name); - attrs.Add(new AttributeSpec(name, type, required)); - } - - return attrs; - } + private static List BuildAttributeSpecs(string[] names, string[] requiredNames) => + [.. names.Select(n => new AttributeSpec(n, InferType(n), requiredNames.Contains(n)))]; private static string InferType(string attributeName) { var suffix = attributeName.Split('.')[^1]; if (suffix is "tokens" or "count" or "size" or "max_tokens" or "returned_rows" - || suffix.EndsWith("_tokens", StringComparison.Ordinal) - || suffix.EndsWith("_count", StringComparison.Ordinal) - || suffix.EndsWith("_size", StringComparison.Ordinal)) + || suffix.EndsWith("_tokens", System.StringComparison.Ordinal) + || suffix.EndsWith("_count", System.StringComparison.Ordinal) + || suffix.EndsWith("_size", System.StringComparison.Ordinal)) return "int"; if (suffix is "temperature" or "top_p" or "top_k" - || suffix.EndsWith("_penalty", StringComparison.Ordinal) - || attributeName.EndsWith("score.value", StringComparison.Ordinal)) + || suffix.EndsWith("_penalty", System.StringComparison.Ordinal) + || attributeName.EndsWith("score.value", System.StringComparison.Ordinal)) return "double"; - if (suffix.EndsWith("_reasons", StringComparison.Ordinal) - || suffix.EndsWith("_sequences", StringComparison.Ordinal) - || suffix.EndsWith("_formats", StringComparison.Ordinal) - || attributeName.EndsWith("input.messages", StringComparison.Ordinal) - || attributeName.EndsWith("output.messages", StringComparison.Ordinal)) + if (suffix.EndsWith("_reasons", System.StringComparison.Ordinal) + || suffix.EndsWith("_sequences", System.StringComparison.Ordinal) + || suffix.EndsWith("_formats", System.StringComparison.Ordinal) + || attributeName.EndsWith("input.messages", System.StringComparison.Ordinal) + || attributeName.EndsWith("output.messages", System.StringComparison.Ordinal)) return "string[]"; return "string"; From e1083cc6a49ff096bd657823a7810b7ec73813a7 Mon Sep 17 00:00:00 2001 From: ancplua Date: Tue, 21 Apr 2026 04:38:04 +0200 Subject: [PATCH 08/13] fix(semconv): promoted-columns suffix checks use column name, not dotted attr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The suffix checks (_tokens / _count / _size / _duration / ...) ran against the dotted attribute name. That only matches when the last semconv segment has an underscore immediately before the suffix. Names like `azure.cosmosdb.request.body.size` end with a bare `size` — the `_size` check never fired, column fell through to VARCHAR. Fix: compute the column name (`.` → `_`) first, run suffix checks against the underscored form. Every attribute now has the bare suffix preceded by an underscore, so the check works uniformly across all semconv prefixes. Verified: azure_cosmosdb_request_body_size BIGINT (was VARCHAR) gen_ai_usage_input_tokens BIGINT Co-Authored-By: Claude Opus 4.7 (1M context) --- .../registry/qyl/promoted_columns.g.sql.j2 | 9 +++-- .../Storage/promoted-columns.g.sql | 40 +++++++++---------- 2 files changed, 26 insertions(+), 23 deletions(-) diff --git a/eng/semconv/templates/registry/qyl/promoted_columns.g.sql.j2 b/eng/semconv/templates/registry/qyl/promoted_columns.g.sql.j2 index 7e08a0d5a..a00974659 100644 --- a/eng/semconv/templates/registry/qyl/promoted_columns.g.sql.j2 +++ b/eng/semconv/templates/registry/qyl/promoted_columns.g.sql.j2 @@ -15,15 +15,18 @@ {% if group.root_namespace in params.include_prefixes %} {% for attr in group.attributes | sort(attribute="name") %} {% set parent = attr.name.split('.')[:-1] | join('.') %} +{% set col = attr.name | replace('.', '_') %} {% set type_ns = namespace(t='VARCHAR') %} -{% for s in bigint_suffixes %}{% if attr.name.endswith(s) %}{% set type_ns.t = 'BIGINT' %}{% endif %}{% endfor %} -{% for s in double_suffixes %}{% if attr.name.endswith(s) %}{% set type_ns.t = 'DOUBLE' %}{% endif %}{% endfor %} +{# Suffix checks run against the column name (underscored), not the dotted attr — otherwise + `azure.cosmosdb.request.body.size` would fail to match `_size`. #} +{% for s in bigint_suffixes %}{% if col.endswith(s) %}{% set type_ns.t = 'BIGINT' %}{% endif %}{% endfor %} +{% for s in double_suffixes %}{% if col.endswith(s) %}{% set type_ns.t = 'DOUBLE' %}{% endif %}{% endfor %} {% if parent != last_parent.v %} -- {{ parent }} attributes {% set last_parent.v = parent %} {% endif %} -{{ attr.name | replace('.', '_') }} {{ type_ns.t }}, +{{ col }} {{ type_ns.t }}, {% endfor %} {% endif %} {% endfor %} diff --git a/src/qyl.collector/Storage/promoted-columns.g.sql b/src/qyl.collector/Storage/promoted-columns.g.sql index 3195c3c60..7909d53a7 100644 --- a/src/qyl.collector/Storage/promoted-columns.g.sql +++ b/src/qyl.collector/Storage/promoted-columns.g.sql @@ -83,7 +83,7 @@ azure_cosmosdb_operation_contacted_regions VARCHAR, azure_cosmosdb_operation_request_charge VARCHAR, -- azure.cosmosdb.request.body attributes -azure_cosmosdb_request_body_size VARCHAR, +azure_cosmosdb_request_body_size BIGINT, -- azure.cosmosdb.response attributes azure_cosmosdb_response_sub_status_code VARCHAR, @@ -280,7 +280,7 @@ db_namespace VARCHAR, db_operation VARCHAR, -- db.operation.batch attributes -db_operation_batch_size VARCHAR, +db_operation_batch_size BIGINT, -- db.operation attributes db_operation_name VARCHAR, @@ -436,7 +436,7 @@ file_owner_name VARCHAR, -- file attributes file_path VARCHAR, -file_size VARCHAR, +file_size BIGINT, -- file.symbolic_link attributes file_symbolic_link_target_path VARCHAR, @@ -457,7 +457,7 @@ gen_ai_conversation_id VARCHAR, gen_ai_data_source_id VARCHAR, -- gen_ai.embeddings.dimension attributes -gen_ai_embeddings_dimension_count VARCHAR, +gen_ai_embeddings_dimension_count BIGINT, -- gen_ai.evaluation attributes gen_ai_evaluation_explanation VARCHAR, @@ -472,7 +472,7 @@ gen_ai_input_messages VARCHAR, -- gen_ai.openai.request attributes gen_ai_openai_request_response_format VARCHAR, -gen_ai_openai_request_seed VARCHAR, +gen_ai_openai_request_seed BIGINT, gen_ai_openai_request_service_tier VARCHAR, -- gen_ai.openai.response attributes @@ -496,19 +496,19 @@ gen_ai_prompt_name VARCHAR, gen_ai_provider_name VARCHAR, -- gen_ai.request.choice attributes -gen_ai_request_choice_count VARCHAR, +gen_ai_request_choice_count BIGINT, -- gen_ai.request attributes gen_ai_request_encoding_formats VARCHAR, -gen_ai_request_frequency_penalty VARCHAR, +gen_ai_request_frequency_penalty DOUBLE, gen_ai_request_max_tokens BIGINT, gen_ai_request_model VARCHAR, -gen_ai_request_presence_penalty VARCHAR, -gen_ai_request_seed VARCHAR, +gen_ai_request_presence_penalty DOUBLE, +gen_ai_request_seed BIGINT, gen_ai_request_stop_sequences VARCHAR, -gen_ai_request_temperature VARCHAR, -gen_ai_request_top_k VARCHAR, -gen_ai_request_top_p VARCHAR, +gen_ai_request_temperature DOUBLE, +gen_ai_request_top_k BIGINT, +gen_ai_request_top_p DOUBLE, -- gen_ai.response attributes gen_ai_response_finish_reasons VARCHAR, @@ -574,7 +574,7 @@ geo_region_iso_code VARCHAR, host_arch VARCHAR, -- host.cpu.cache.l2 attributes -host_cpu_cache_l2_size VARCHAR, +host_cpu_cache_l2_size BIGINT, -- host.cpu attributes host_cpu_family VARCHAR, @@ -615,25 +615,25 @@ http_host VARCHAR, http_method VARCHAR, -- http.request.body attributes -http_request_body_size VARCHAR, +http_request_body_size BIGINT, -- http.request attributes http_request_header VARCHAR, http_request_method VARCHAR, http_request_method_original VARCHAR, http_request_resend_count BIGINT, -http_request_size VARCHAR, +http_request_size BIGINT, -- http attributes http_request_content_length VARCHAR, http_request_content_length_uncompressed VARCHAR, -- http.response.body attributes -http_response_body_size VARCHAR, +http_response_body_size BIGINT, -- http.response attributes http_response_header VARCHAR, -http_response_size VARCHAR, +http_response_size BIGINT, http_response_status_code VARCHAR, -- http attributes @@ -693,7 +693,7 @@ k8s_hpa_scaletargetref_name VARCHAR, k8s_hpa_uid VARCHAR, -- k8s.hugepage attributes -k8s_hugepage_size VARCHAR, +k8s_hugepage_size BIGINT, -- k8s.job attributes k8s_job_annotation VARCHAR, @@ -847,13 +847,13 @@ messaging_kafka_message_tombstone VARCHAR, messaging_kafka_offset VARCHAR, -- messaging.message.body attributes -messaging_message_body_size VARCHAR, +messaging_message_body_size BIGINT, -- messaging.message attributes messaging_message_conversation_id VARCHAR, -- messaging.message.envelope attributes -messaging_message_envelope_size VARCHAR, +messaging_message_envelope_size BIGINT, -- messaging.message attributes messaging_message_id VARCHAR, From 9aa46a39ee5e3b660ea3f1f9ca314a6a4e8f5ae8 Mon Sep 17 00:00:00 2001 From: ancplua Date: Tue, 21 Apr 2026 04:38:34 +0200 Subject: [PATCH 09/13] =?UTF-8?q?refactor(semconv):=20delete=20registry-qy?= =?UTF-8?q?l/manifest.yaml=20=E2=80=94=20include=5Fprefixes=20single-sourc?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CodeRabbit #4: include_prefixes was duplicated across registry-qyl/ manifest.yaml and templates/registry/qyl/weaver.yaml. The manifest.yaml file isn't read by Weaver (Weaver uses the --registry flag directly against the upstream clone); it was pure documentation that drifted. Weaver's templates/registry/qyl/weaver.yaml is the single authoritative location for params.include_prefixes. Deleted the duplicate manifest. Co-Authored-By: Claude Opus 4.7 (1M context) --- eng/semconv/registry-qyl/manifest.yaml | 76 -------------------------- 1 file changed, 76 deletions(-) delete mode 100644 eng/semconv/registry-qyl/manifest.yaml diff --git a/eng/semconv/registry-qyl/manifest.yaml b/eng/semconv/registry-qyl/manifest.yaml deleted file mode 100644 index d55052c2e..000000000 --- a/eng/semconv/registry-qyl/manifest.yaml +++ /dev/null @@ -1,76 +0,0 @@ -# qyl semconv registry manifest. -# Composes upstream OpenTelemetry v1.40.0 + qyl-specific extensions. -# -# Weaver is invoked with --registry pointing at upstream/model; -# this manifest is consumed by our template layer via --param to select which -# upstream prefixes are surfaced in qyl's generated code. - -name: qyl.semconv -semconv_version: 1.40.0 - -# Upstream prefixes that feed qyl's generated outputs. Everything else in the -# upstream registry is ignored (keeps our generated files lean). -include_prefixes: - # AI - - gen_ai - - code - # Transport - - http - - rpc - - messaging - - url - - user_agent - - signalr - - kestrel - # Data - - db - - file - - vcs - - artifact - - elasticsearch - # Infra - - cloud - - container - - k8s - - host - - os - - faas - - webengine - # Security - - network - - tls - - dns - # Runtime - - process - - thread - - system - - dotnet - - aspnetcore - # Identity - - user - - enduser - - geo - - client - - server - - service - - telemetry - # Observe - - browser - - session - - exception - - error - - log - - feature_flag - - otel - - test - # Profiling - - profile - - pprof - # Ops - - cicd - - deployment - # Vendor - - openai - - azure - - oracle - - oracle_cloud From a4c86b593c9269fff04222efa71a0feab83c2067 Mon Sep 17 00:00:00 2001 From: ancplua Date: Tue, 21 Apr 2026 04:38:53 +0200 Subject: [PATCH 10/13] refactor(semconv): template headers read version from params, not literal CodeRabbit #6: the three template headers hardcoded v1.40.0 directly. Replaced with `{{ params.semconv_version }}` so bumping semconv requires one edit (weaver.yaml) instead of four (three templates + weaver.yaml). Co-Authored-By: Claude Opus 4.7 (1M context) --- eng/semconv/templates/registry/qyl/promoted_columns.g.sql.j2 | 2 +- eng/semconv/templates/registry/qyl/semconv.g.tsp.j2 | 2 +- eng/semconv/templates/registry/qyl/semconv.ts.j2 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/semconv/templates/registry/qyl/promoted_columns.g.sql.j2 b/eng/semconv/templates/registry/qyl/promoted_columns.g.sql.j2 index a00974659..552a20d0b 100644 --- a/eng/semconv/templates/registry/qyl/promoted_columns.g.sql.j2 +++ b/eng/semconv/templates/registry/qyl/promoted_columns.g.sql.j2 @@ -3,7 +3,7 @@ Target: src/qyl.collector/Storage/promoted-columns.g.sql -#} -- --- Generated from open-telemetry/semantic-conventions v1.40.0 via Weaver +-- Generated from open-telemetry/semantic-conventions v{{ params.semconv_version }} via Weaver -- Do not edit manually - run 'nuke GenerateSemconv' -- -- Promoted columns for fast queries (extracted from attributes_json) diff --git a/eng/semconv/templates/registry/qyl/semconv.g.tsp.j2 b/eng/semconv/templates/registry/qyl/semconv.g.tsp.j2 index 497678412..100083d55 100644 --- a/eng/semconv/templates/registry/qyl/semconv.g.tsp.j2 +++ b/eng/semconv/templates/registry/qyl/semconv.g.tsp.j2 @@ -15,7 +15,7 @@ {%- if ident in reserved -%}`{{ ident }}`{%- else -%}{{ ident }}{%- endif -%} {%- endmacro -%} // -// Generated from open-telemetry/semantic-conventions v1.40.0 via Weaver +// Generated from open-telemetry/semantic-conventions v{{ params.semconv_version }} via Weaver // Do not edit manually - run 'nuke GenerateSemconv' // // Usage in your TypeSpec files: diff --git a/eng/semconv/templates/registry/qyl/semconv.ts.j2 b/eng/semconv/templates/registry/qyl/semconv.ts.j2 index d639035c2..c1e49e705 100644 --- a/eng/semconv/templates/registry/qyl/semconv.ts.j2 +++ b/eng/semconv/templates/registry/qyl/semconv.ts.j2 @@ -6,7 +6,7 @@ before artifact.attestation.* attributes). -#} // -// Generated from open-telemetry/semantic-conventions v1.40.0 via Weaver +// Generated from open-telemetry/semantic-conventions v{{ params.semconv_version }} via Weaver // Do not edit manually - run 'nuke GenerateSemconv' // Attribute keys From 5729198f6ca3af420a511c0d2154f54a1c20e832 Mon Sep 17 00:00:00 2001 From: ancplua Date: Tue, 21 Apr 2026 04:39:44 +0200 Subject: [PATCH 11/13] fix(semconv): bootstrap reads SEMCONV_TAG from weaver.yaml + quote weaver path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CodeRabbit #9 + #12 together: - #12: SEMCONV_TAG was duplicated between bootstrap-weaver.sh (as "v1.40.0") and templates/registry/qyl/weaver.yaml (as `semconv_version: "1.40.0"`). Bumping semconv required editing both. Bootstrap now sed-extracts the version from weaver.yaml as the single source. - #9: unquoted $(${WEAVER_DIR}/weaver-${WEAVER_ARCH}/weaver --version) (SC2086) — quoted the command path. Both touch bootstrap-weaver.sh; one commit. Co-Authored-By: Claude Opus 4.7 (1M context) --- eng/semconv/bootstrap-weaver.sh | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/eng/semconv/bootstrap-weaver.sh b/eng/semconv/bootstrap-weaver.sh index b5d210fcd..cb64a65d7 100755 --- a/eng/semconv/bootstrap-weaver.sh +++ b/eng/semconv/bootstrap-weaver.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # One-time setup for the Weaver-based semconv pipeline. -# Downloads the Weaver CLI and clones the upstream semconv v1.40.0 registry. -# Artifacts land under .tools/ (gitignored). +# Downloads the Weaver CLI and clones the upstream semconv registry at the +# version declared in the Weaver template config. Artifacts land under .tools/. set -euo pipefail @@ -9,9 +9,17 @@ REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)" TOOLS_DIR="${REPO_ROOT}/.tools" WEAVER_DIR="${TOOLS_DIR}/weaver" UPSTREAM_DIR="${TOOLS_DIR}/semconv-upstream" +WEAVER_YAML="${REPO_ROOT}/eng/semconv/templates/registry/qyl/weaver.yaml" +# Single-source semconv version from weaver.yaml params so bootstrap + templates +# can't drift apart. `semconv_version: "1.40.0"` → `v1.40.0` as the git tag. WEAVER_VERSION="v0.22.1" -SEMCONV_TAG="v1.40.0" +SEMCONV_TAG="v$(sed -n 's/^[[:space:]]*semconv_version:[[:space:]]*"\(.*\)"/\1/p' "${WEAVER_YAML}")" + +if [ -z "${SEMCONV_TAG}" ] || [ "${SEMCONV_TAG}" = "v" ]; then + echo "Could not read semconv_version from ${WEAVER_YAML}" >&2 + exit 1 +fi UNAME_S="$(uname -s)" UNAME_M="$(uname -m)" @@ -39,7 +47,7 @@ if [ ! -d "${UPSTREAM_DIR}" ]; then fi echo "" -echo "Weaver: ${WEAVER_DIR}/weaver-${WEAVER_ARCH}/weaver ($(${WEAVER_DIR}/weaver-${WEAVER_ARCH}/weaver --version))" +echo "Weaver: ${WEAVER_DIR}/weaver-${WEAVER_ARCH}/weaver ($("${WEAVER_DIR}/weaver-${WEAVER_ARCH}/weaver" --version))" echo "Upstream: ${UPSTREAM_DIR} (semconv ${SEMCONV_TAG})" echo "" echo "Next: ./eng/semconv/run-weaver.sh" From 48e4c2d428782562c4eef2645d852e2d07e3369a Mon Sep 17 00:00:00 2001 From: ancplua Date: Tue, 21 Apr 2026 04:40:26 +0200 Subject: [PATCH 12/13] docs(instrumentation): explain why ActivityExceptionTelemetry inlines semconv keys CodeRabbit #7 suggested the five `private const string` keys should use GenAiAttributes.*. The suggestion doesn't fit: error.type and the four exception.* keys belong to the `error.*` / `exception.*` semconv prefixes, not to the three namespaces qyl facades (gen_ai / db / mcp). Inlining is correct; upgraded the comment so the next reviewer doesn't re-litigate. Promote to ErrorAttributes / ExceptionAttributes facade in src/qyl.contracts/Attributes/ the moment a second caller appears. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../Instrumentation/ActivityExceptionTelemetry.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/qyl.instrumentation/Instrumentation/ActivityExceptionTelemetry.cs b/src/qyl.instrumentation/Instrumentation/ActivityExceptionTelemetry.cs index 212a00f50..ad3ff89db 100644 --- a/src/qyl.instrumentation/Instrumentation/ActivityExceptionTelemetry.cs +++ b/src/qyl.instrumentation/Instrumentation/ActivityExceptionTelemetry.cs @@ -6,7 +6,10 @@ namespace Qyl.Instrumentation.Instrumentation; /// public static class ActivityExceptionTelemetry { - // OTel semconv 1.40 — stable + // OTel semconv 1.40 — stable keys from the `error.*` and `exception.*` prefixes. + // No qyl facade covers these namespaces (qyl.contracts.Attributes only wraps + // gen_ai / db / mcp). Inlined here rather than behind a facade that doesn't exist; + // promote to ErrorAttributes / ExceptionAttributes if a second consumer appears. private const string ErrorType = "error.type"; private const string ExceptionType = "exception.type"; private const string ExceptionMessage = "exception.message"; From 6654edf9ad5d97fb398e96dc80e51af75f658992 Mon Sep 17 00:00:00 2001 From: ancplua Date: Tue, 21 Apr 2026 04:42:13 +0200 Subject: [PATCH 13/13] =?UTF-8?q?refactor(semconv):=20drop=20the=20semconv?= =?UTF-8?q?.g.tsp=20bridge=20=E2=80=94=20imported=20but=20never=20referenc?= =?UTF-8?q?ed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The generated TypeSpec file pulled upstream semconv attribute keys into qyl's TypeSpec namespace as typed `Keys..` aliases + per-attribute union/model declarations. main.tsp imported it, but grep across all hand-written .tsp files found exactly one hit for `Keys.` / `OTel.SemConv.` — in a comment. Zero typed references. 6953 lines of generated TypeSpec + 165 lines of Jinja template + a pipeline stage, all for a feature nobody uses. The remaining Weaver templates (semconv.ts, promoted-columns.g.sql) stay — those have live consumers. Deletes: - core/specs/generated/semconv.g.tsp (6953 LoC) - eng/semconv/templates/registry/qyl/semconv.g.tsp.j2 (165 LoC) - import line + comment block in core/specs/main.tsp - TSP stanza in run-weaver.sh + the TSP_DEST install line - TSP template entry in weaver.yaml TypeSpec compile still clean (0 errors, 18 unrelated upstream warnings). qyl.slnx build still clean (0 errors). If a consumer ever wants typed semconv identifiers in TypeSpec, the template is trivially resurrectable from git history. Co-Authored-By: Claude Opus 4.7 (1M context) --- core/specs/generated/semconv.g.tsp | 6953 ----------------- core/specs/main.tsp | 14 +- eng/semconv/run-weaver.sh | 5 - .../templates/registry/qyl/semconv.g.tsp.j2 | 159 - .../templates/registry/qyl/weaver.yaml | 5 - 5 files changed, 4 insertions(+), 7132 deletions(-) delete mode 100644 core/specs/generated/semconv.g.tsp delete mode 100644 eng/semconv/templates/registry/qyl/semconv.g.tsp.j2 diff --git a/core/specs/generated/semconv.g.tsp b/core/specs/generated/semconv.g.tsp deleted file mode 100644 index d3c33a4e4..000000000 --- a/core/specs/generated/semconv.g.tsp +++ /dev/null @@ -1,6953 +0,0 @@ -// -// Generated from open-telemetry/semantic-conventions v1.40.0 via Weaver -// Do not edit manually - run 'nuke GenerateSemconv' -// -// Usage in your TypeSpec files: -// import "./semconv.g.tsp"; -// using OTel.SemConv; -// -// model MySpan { -// @encodedName("application/json", Keys.GenAi.providerName) -// provider: GenAiProviderNameValue; -// } - -import "@typespec/http"; - -using TypeSpec.Http; - -namespace OTel.SemConv; - -// ============================================================================ -// Common OTel Scalars (for type-safe attribute values) -// ============================================================================ - -/** 128-bit trace identifier (32 hex chars) */ -@minLength(32) @maxLength(32) -@pattern("^[a-f0-9]{32}$") -scalar TraceId extends string; - -/** 64-bit span identifier (16 hex chars) */ -@minLength(16) @maxLength(16) -@pattern("^[a-f0-9]{16}$") -scalar SpanId extends string; - -/** Token count (always int64 per semconv) */ -scalar TokenCount extends int64; - -/** Duration in seconds (float64) */ -scalar DurationSeconds extends float64; - -/** Duration in nanoseconds (int64) */ -scalar DurationNanos extends int64; - -/** Port number */ -@minValue(1) @maxValue(65535) -scalar Port extends int32; - -/** Byte count */ -@minValue(0) -scalar ByteCount extends int64; - -// ============================================================================ -// Attribute Key Constants (use with @encodedName) -// ============================================================================ -// Example: @encodedName("application/json", Keys.GenAi.providerName) -// ============================================================================ - -namespace Keys { - /** artifact.* attribute keys */ - namespace Artifact { - /** "artifact.attestation.filename" */ - alias attestationFilename = "artifact.attestation.filename"; - /** "artifact.attestation.hash" */ - alias attestationHash = "artifact.attestation.hash"; - /** "artifact.attestation.id" */ - alias attestationId = "artifact.attestation.id"; - /** "artifact.filename" */ - alias filename = "artifact.filename"; - /** "artifact.hash" */ - alias hash = "artifact.hash"; - /** "artifact.purl" */ - alias purl = "artifact.purl"; - /** "artifact.version" */ - alias version = "artifact.version"; - } - - /** aspnetcore.* attribute keys */ - namespace Aspnetcore { - /** "aspnetcore.authentication.result" */ - alias authenticationResult = "aspnetcore.authentication.result"; - /** "aspnetcore.authentication.scheme" */ - alias authenticationScheme = "aspnetcore.authentication.scheme"; - /** "aspnetcore.authorization.policy" */ - alias authorizationPolicy = "aspnetcore.authorization.policy"; - /** "aspnetcore.authorization.result" */ - alias authorizationResult = "aspnetcore.authorization.result"; - /** "aspnetcore.diagnostics.exception.result" */ - alias diagnosticsExceptionResult = "aspnetcore.diagnostics.exception.result"; - /** "aspnetcore.diagnostics.handler.type" */ - alias diagnosticsHandlerType = "aspnetcore.diagnostics.handler.type"; - /** "aspnetcore.identity.error_code" */ - alias identityErrorCode = "aspnetcore.identity.error_code"; - /** "aspnetcore.identity.password_check_result" */ - alias identityPasswordCheckResult = "aspnetcore.identity.password_check_result"; - /** "aspnetcore.identity.result" */ - alias identityResult = "aspnetcore.identity.result"; - /** "aspnetcore.identity.sign_in.result" */ - alias identitySignInResult = "aspnetcore.identity.sign_in.result"; - /** "aspnetcore.identity.sign_in.type" */ - alias identitySignInType = "aspnetcore.identity.sign_in.type"; - /** "aspnetcore.identity.token_purpose" */ - alias identityTokenPurpose = "aspnetcore.identity.token_purpose"; - /** "aspnetcore.identity.token_verified" */ - alias identityTokenVerified = "aspnetcore.identity.token_verified"; - /** "aspnetcore.identity.user.update_type" */ - alias identityUserUpdateType = "aspnetcore.identity.user.update_type"; - /** "aspnetcore.identity.user_type" */ - alias identityUserType = "aspnetcore.identity.user_type"; - /** "aspnetcore.memory_pool.owner" */ - alias memoryPoolOwner = "aspnetcore.memory_pool.owner"; - /** "aspnetcore.rate_limiting.policy" */ - alias rateLimitingPolicy = "aspnetcore.rate_limiting.policy"; - /** "aspnetcore.rate_limiting.result" */ - alias rateLimitingResult = "aspnetcore.rate_limiting.result"; - /** "aspnetcore.request.is_unhandled" */ - alias requestIsUnhandled = "aspnetcore.request.is_unhandled"; - /** "aspnetcore.routing.is_fallback" */ - alias routingIsFallback = "aspnetcore.routing.is_fallback"; - /** "aspnetcore.routing.match_status" */ - alias routingMatchStatus = "aspnetcore.routing.match_status"; - /** "aspnetcore.sign_in.is_persistent" */ - alias signInIsPersistent = "aspnetcore.sign_in.is_persistent"; - /** "aspnetcore.user.is_authenticated" */ - alias userIsAuthenticated = "aspnetcore.user.is_authenticated"; - } - - /** azure.* attribute keys */ - namespace Azure { - /** "azure.client.id" */ - alias clientId = "azure.client.id"; - /** "azure.cosmosdb.connection.mode" */ - alias cosmosdbConnectionMode = "azure.cosmosdb.connection.mode"; - /** "azure.cosmosdb.consistency.level" */ - alias cosmosdbConsistencyLevel = "azure.cosmosdb.consistency.level"; - /** "azure.cosmosdb.operation.contacted_regions" */ - alias cosmosdbOperationContactedRegions = "azure.cosmosdb.operation.contacted_regions"; - /** "azure.cosmosdb.operation.request_charge" */ - alias cosmosdbOperationRequestCharge = "azure.cosmosdb.operation.request_charge"; - /** "azure.cosmosdb.request.body.size" */ - alias cosmosdbRequestBodySize = "azure.cosmosdb.request.body.size"; - /** "azure.cosmosdb.response.sub_status_code" */ - alias cosmosdbResponseSubStatusCode = "azure.cosmosdb.response.sub_status_code"; - /** "azure.resource_provider.namespace" */ - alias resourceProviderNamespace = "azure.resource_provider.namespace"; - /** "azure.service.request.id" */ - alias serviceRequestId = "azure.service.request.id"; - } - - /** browser.* attribute keys */ - namespace Browser { - /** "browser.brands" */ - alias brands = "browser.brands"; - /** "browser.language" */ - alias language = "browser.language"; - /** "browser.mobile" */ - alias mobile = "browser.mobile"; - /** "browser.platform" */ - alias platform = "browser.platform"; - } - - /** cicd.* attribute keys */ - namespace Cicd { - /** "cicd.pipeline.action.name" */ - alias pipelineActionName = "cicd.pipeline.action.name"; - /** "cicd.pipeline.name" */ - alias pipelineName = "cicd.pipeline.name"; - /** "cicd.pipeline.result" */ - alias pipelineResult = "cicd.pipeline.result"; - /** "cicd.pipeline.run.id" */ - alias pipelineRunId = "cicd.pipeline.run.id"; - /** "cicd.pipeline.run.state" */ - alias pipelineRunState = "cicd.pipeline.run.state"; - /** "cicd.pipeline.run.url.full" */ - alias pipelineRunUrlFull = "cicd.pipeline.run.url.full"; - /** "cicd.pipeline.task.name" */ - alias pipelineTaskName = "cicd.pipeline.task.name"; - /** "cicd.pipeline.task.run.id" */ - alias pipelineTaskRunId = "cicd.pipeline.task.run.id"; - /** "cicd.pipeline.task.run.result" */ - alias pipelineTaskRunResult = "cicd.pipeline.task.run.result"; - /** "cicd.pipeline.task.run.url.full" */ - alias pipelineTaskRunUrlFull = "cicd.pipeline.task.run.url.full"; - /** "cicd.pipeline.task.type" */ - alias pipelineTaskType = "cicd.pipeline.task.type"; - /** "cicd.system.component" */ - alias systemComponent = "cicd.system.component"; - /** "cicd.worker.id" */ - alias workerId = "cicd.worker.id"; - /** "cicd.worker.name" */ - alias workerName = "cicd.worker.name"; - /** "cicd.worker.state" */ - alias workerState = "cicd.worker.state"; - /** "cicd.worker.url.full" */ - alias workerUrlFull = "cicd.worker.url.full"; - } - - /** client.* attribute keys */ - namespace Client { - /** "client.address" */ - alias address = "client.address"; - /** "client.port" */ - alias port = "client.port"; - } - - /** cloud.* attribute keys */ - namespace Cloud { - /** "cloud.account.id" */ - alias accountId = "cloud.account.id"; - /** "cloud.availability_zone" */ - alias availabilityZone = "cloud.availability_zone"; - /** "cloud.platform" */ - alias platform = "cloud.platform"; - /** "cloud.provider" */ - alias provider = "cloud.provider"; - /** "cloud.region" */ - alias region = "cloud.region"; - /** "cloud.resource_id" */ - alias resourceId = "cloud.resource_id"; - } - - /** code.* attribute keys */ - namespace Code { - /** "code.column" */ - alias column = "code.column"; - /** "code.column.number" */ - alias columnNumber = "code.column.number"; - /** "code.file.path" */ - alias filePath = "code.file.path"; - /** "code.filepath" */ - alias filepath = "code.filepath"; - /** "code.function" */ - alias function = "code.function"; - /** "code.function.name" */ - alias functionName = "code.function.name"; - /** "code.line.number" */ - alias lineNumber = "code.line.number"; - /** "code.lineno" */ - alias lineno = "code.lineno"; - /** "code.namespace" */ - alias `namespace` = "code.namespace"; - /** "code.stacktrace" */ - alias stacktrace = "code.stacktrace"; - } - - /** container.* attribute keys */ - namespace Container { - /** "container.command" */ - alias command = "container.command"; - /** "container.command_args" */ - alias commandArgs = "container.command_args"; - /** "container.command_line" */ - alias commandLine = "container.command_line"; - /** "container.cpu.state" */ - alias cpuState = "container.cpu.state"; - /** "container.csi.plugin.name" */ - alias csiPluginName = "container.csi.plugin.name"; - /** "container.csi.volume.id" */ - alias csiVolumeId = "container.csi.volume.id"; - /** "container.id" */ - alias id = "container.id"; - /** "container.image.id" */ - alias imageId = "container.image.id"; - /** "container.image.name" */ - alias imageName = "container.image.name"; - /** "container.image.repo_digests" */ - alias imageRepoDigests = "container.image.repo_digests"; - /** "container.image.tags" */ - alias imageTags = "container.image.tags"; - /** "container.label" */ - alias label = "container.label"; - /** "container.labels" */ - alias labels = "container.labels"; - /** "container.name" */ - alias name = "container.name"; - /** "container.runtime" */ - alias runtime = "container.runtime"; - /** "container.runtime.description" */ - alias runtimeDescription = "container.runtime.description"; - /** "container.runtime.name" */ - alias runtimeName = "container.runtime.name"; - /** "container.runtime.version" */ - alias runtimeVersion = "container.runtime.version"; - } - - /** db.* attribute keys */ - namespace Db { - /** "db.cassandra.consistency_level" */ - alias cassandraConsistencyLevel = "db.cassandra.consistency_level"; - /** "db.cassandra.coordinator.dc" */ - alias cassandraCoordinatorDc = "db.cassandra.coordinator.dc"; - /** "db.cassandra.coordinator.id" */ - alias cassandraCoordinatorId = "db.cassandra.coordinator.id"; - /** "db.cassandra.idempotence" */ - alias cassandraIdempotence = "db.cassandra.idempotence"; - /** "db.cassandra.page_size" */ - alias cassandraPageSize = "db.cassandra.page_size"; - /** "db.cassandra.speculative_execution_count" */ - alias cassandraSpeculativeExecutionCount = "db.cassandra.speculative_execution_count"; - /** "db.cassandra.table" */ - alias cassandraTable = "db.cassandra.table"; - /** "db.client.connection.pool.name" */ - alias clientConnectionPoolName = "db.client.connection.pool.name"; - /** "db.client.connection.state" */ - alias clientConnectionState = "db.client.connection.state"; - /** "db.client.connections.pool.name" */ - alias clientConnectionsPoolName = "db.client.connections.pool.name"; - /** "db.client.connections.state" */ - alias clientConnectionsState = "db.client.connections.state"; - /** "db.collection.name" */ - alias collectionName = "db.collection.name"; - /** "db.connection_string" */ - alias connectionString = "db.connection_string"; - /** "db.cosmosdb.client_id" */ - alias cosmosdbClientId = "db.cosmosdb.client_id"; - /** "db.cosmosdb.connection_mode" */ - alias cosmosdbConnectionMode = "db.cosmosdb.connection_mode"; - /** "db.cosmosdb.consistency_level" */ - alias cosmosdbConsistencyLevel = "db.cosmosdb.consistency_level"; - /** "db.cosmosdb.container" */ - alias cosmosdbContainer = "db.cosmosdb.container"; - /** "db.cosmosdb.operation_type" */ - alias cosmosdbOperationType = "db.cosmosdb.operation_type"; - /** "db.cosmosdb.regions_contacted" */ - alias cosmosdbRegionsContacted = "db.cosmosdb.regions_contacted"; - /** "db.cosmosdb.request_charge" */ - alias cosmosdbRequestCharge = "db.cosmosdb.request_charge"; - /** "db.cosmosdb.request_content_length" */ - alias cosmosdbRequestContentLength = "db.cosmosdb.request_content_length"; - /** "db.cosmosdb.status_code" */ - alias cosmosdbStatusCode = "db.cosmosdb.status_code"; - /** "db.cosmosdb.sub_status_code" */ - alias cosmosdbSubStatusCode = "db.cosmosdb.sub_status_code"; - /** "db.elasticsearch.cluster.name" */ - alias elasticsearchClusterName = "db.elasticsearch.cluster.name"; - /** "db.elasticsearch.node.name" */ - alias elasticsearchNodeName = "db.elasticsearch.node.name"; - /** "db.elasticsearch.path_parts" */ - alias elasticsearchPathParts = "db.elasticsearch.path_parts"; - /** "db.instance.id" */ - alias instanceId = "db.instance.id"; - /** "db.jdbc.driver_classname" */ - alias jdbcDriverClassname = "db.jdbc.driver_classname"; - /** "db.mongodb.collection" */ - alias mongodbCollection = "db.mongodb.collection"; - /** "db.mssql.instance_name" */ - alias mssqlInstanceName = "db.mssql.instance_name"; - /** "db.name" */ - alias name = "db.name"; - /** "db.namespace" */ - alias `namespace` = "db.namespace"; - /** "db.operation" */ - alias operation = "db.operation"; - /** "db.operation.batch.size" */ - alias operationBatchSize = "db.operation.batch.size"; - /** "db.operation.name" */ - alias operationName = "db.operation.name"; - /** "db.operation.parameter" */ - alias operationParameter = "db.operation.parameter"; - /** "db.query.parameter" */ - alias queryParameter = "db.query.parameter"; - /** "db.query.summary" */ - alias querySummary = "db.query.summary"; - /** "db.query.text" */ - alias queryText = "db.query.text"; - /** "db.redis.database_index" */ - alias redisDatabaseIndex = "db.redis.database_index"; - /** "db.response.returned_rows" */ - alias responseReturnedRows = "db.response.returned_rows"; - /** "db.response.status_code" */ - alias responseStatusCode = "db.response.status_code"; - /** "db.sql.table" */ - alias sqlTable = "db.sql.table"; - /** "db.statement" */ - alias statement = "db.statement"; - /** "db.stored_procedure.name" */ - alias storedProcedureName = "db.stored_procedure.name"; - /** "db.system" */ - alias system = "db.system"; - /** "db.system.name" */ - alias systemName = "db.system.name"; - /** "db.user" */ - alias user = "db.user"; - } - - /** deployment.* attribute keys */ - namespace Deployment { - /** "deployment.environment" */ - alias environment = "deployment.environment"; - /** "deployment.environment.name" */ - alias environmentName = "deployment.environment.name"; - /** "deployment.id" */ - alias id = "deployment.id"; - /** "deployment.name" */ - alias name = "deployment.name"; - /** "deployment.status" */ - alias status = "deployment.status"; - } - - /** dns.* attribute keys */ - namespace Dns { - /** "dns.answers" */ - alias answers = "dns.answers"; - /** "dns.question.name" */ - alias questionName = "dns.question.name"; - } - - /** dotnet.* attribute keys */ - namespace Dotnet { - /** "dotnet.gc.heap.generation" */ - alias gcHeapGeneration = "dotnet.gc.heap.generation"; - } - - /** elasticsearch.* attribute keys */ - namespace Elasticsearch { - /** "elasticsearch.node.name" */ - alias nodeName = "elasticsearch.node.name"; - } - - /** enduser.* attribute keys */ - namespace Enduser { - /** "enduser.id" */ - alias id = "enduser.id"; - /** "enduser.pseudo.id" */ - alias pseudoId = "enduser.pseudo.id"; - /** "enduser.role" */ - alias role = "enduser.role"; - /** "enduser.scope" */ - alias scope = "enduser.scope"; - } - - /** error.* attribute keys */ - namespace Error { - /** "error.message" */ - alias message = "error.message"; - /** "error.type" */ - alias type = "error.type"; - } - - /** exception.* attribute keys */ - namespace Exception { - /** "exception.escaped" */ - alias escaped = "exception.escaped"; - /** "exception.message" */ - alias message = "exception.message"; - /** "exception.stacktrace" */ - alias stacktrace = "exception.stacktrace"; - /** "exception.type" */ - alias type = "exception.type"; - } - - /** faas.* attribute keys */ - namespace Faas { - /** "faas.coldstart" */ - alias coldstart = "faas.coldstart"; - /** "faas.cron" */ - alias cron = "faas.cron"; - /** "faas.document.collection" */ - alias documentCollection = "faas.document.collection"; - /** "faas.document.name" */ - alias documentName = "faas.document.name"; - /** "faas.document.operation" */ - alias documentOperation = "faas.document.operation"; - /** "faas.document.time" */ - alias documentTime = "faas.document.time"; - /** "faas.instance" */ - alias instance = "faas.instance"; - /** "faas.invocation_id" */ - alias invocationId = "faas.invocation_id"; - /** "faas.invoked_name" */ - alias invokedName = "faas.invoked_name"; - /** "faas.invoked_provider" */ - alias invokedProvider = "faas.invoked_provider"; - /** "faas.invoked_region" */ - alias invokedRegion = "faas.invoked_region"; - /** "faas.max_memory" */ - alias maxMemory = "faas.max_memory"; - /** "faas.name" */ - alias name = "faas.name"; - /** "faas.time" */ - alias time = "faas.time"; - /** "faas.trigger" */ - alias trigger = "faas.trigger"; - /** "faas.version" */ - alias version = "faas.version"; - } - - /** feature_flag.* attribute keys */ - namespace FeatureFlag { - /** "feature_flag.context.id" */ - alias contextId = "feature_flag.context.id"; - /** "feature_flag.error.message" */ - alias errorMessage = "feature_flag.error.message"; - /** "feature_flag.evaluation.error.message" */ - alias evaluationErrorMessage = "feature_flag.evaluation.error.message"; - /** "feature_flag.evaluation.reason" */ - alias evaluationReason = "feature_flag.evaluation.reason"; - /** "feature_flag.key" */ - alias key = "feature_flag.key"; - /** "feature_flag.provider.name" */ - alias providerName = "feature_flag.provider.name"; - /** "feature_flag.result.reason" */ - alias resultReason = "feature_flag.result.reason"; - /** "feature_flag.result.value" */ - alias resultValue = "feature_flag.result.value"; - /** "feature_flag.result.variant" */ - alias resultVariant = "feature_flag.result.variant"; - /** "feature_flag.set.id" */ - alias setId = "feature_flag.set.id"; - /** "feature_flag.variant" */ - alias variant = "feature_flag.variant"; - /** "feature_flag.version" */ - alias version = "feature_flag.version"; - } - - /** file.* attribute keys */ - namespace File { - /** "file.accessed" */ - alias accessed = "file.accessed"; - /** "file.attributes" */ - alias attributes = "file.attributes"; - /** "file.changed" */ - alias changed = "file.changed"; - /** "file.created" */ - alias created = "file.created"; - /** "file.directory" */ - alias directory = "file.directory"; - /** "file.extension" */ - alias extension = "file.extension"; - /** "file.fork_name" */ - alias forkName = "file.fork_name"; - /** "file.group.id" */ - alias groupId = "file.group.id"; - /** "file.group.name" */ - alias groupName = "file.group.name"; - /** "file.inode" */ - alias inode = "file.inode"; - /** "file.mode" */ - alias mode = "file.mode"; - /** "file.modified" */ - alias modified = "file.modified"; - /** "file.name" */ - alias name = "file.name"; - /** "file.owner.id" */ - alias ownerId = "file.owner.id"; - /** "file.owner.name" */ - alias ownerName = "file.owner.name"; - /** "file.path" */ - alias path = "file.path"; - /** "file.size" */ - alias size = "file.size"; - /** "file.symbolic_link.target_path" */ - alias symbolicLinkTargetPath = "file.symbolic_link.target_path"; - } - - /** gen_ai.* attribute keys */ - namespace GenAi { - /** "gen_ai.agent.description" */ - alias agentDescription = "gen_ai.agent.description"; - /** "gen_ai.agent.id" */ - alias agentId = "gen_ai.agent.id"; - /** "gen_ai.agent.name" */ - alias agentName = "gen_ai.agent.name"; - /** "gen_ai.agent.version" */ - alias agentVersion = "gen_ai.agent.version"; - /** "gen_ai.completion" */ - alias completion = "gen_ai.completion"; - /** "gen_ai.conversation.id" */ - alias conversationId = "gen_ai.conversation.id"; - /** "gen_ai.data_source.id" */ - alias dataSourceId = "gen_ai.data_source.id"; - /** "gen_ai.embeddings.dimension.count" */ - alias embeddingsDimensionCount = "gen_ai.embeddings.dimension.count"; - /** "gen_ai.evaluation.explanation" */ - alias evaluationExplanation = "gen_ai.evaluation.explanation"; - /** "gen_ai.evaluation.name" */ - alias evaluationName = "gen_ai.evaluation.name"; - /** "gen_ai.evaluation.score.label" */ - alias evaluationScoreLabel = "gen_ai.evaluation.score.label"; - /** "gen_ai.evaluation.score.value" */ - alias evaluationScoreValue = "gen_ai.evaluation.score.value"; - /** "gen_ai.input.messages" */ - alias inputMessages = "gen_ai.input.messages"; - /** "gen_ai.openai.request.response_format" */ - alias openaiRequestResponseFormat = "gen_ai.openai.request.response_format"; - /** "gen_ai.openai.request.seed" */ - alias openaiRequestSeed = "gen_ai.openai.request.seed"; - /** "gen_ai.openai.request.service_tier" */ - alias openaiRequestServiceTier = "gen_ai.openai.request.service_tier"; - /** "gen_ai.openai.response.service_tier" */ - alias openaiResponseServiceTier = "gen_ai.openai.response.service_tier"; - /** "gen_ai.openai.response.system_fingerprint" */ - alias openaiResponseSystemFingerprint = "gen_ai.openai.response.system_fingerprint"; - /** "gen_ai.operation.name" */ - alias operationName = "gen_ai.operation.name"; - /** "gen_ai.output.messages" */ - alias outputMessages = "gen_ai.output.messages"; - /** "gen_ai.output.type" */ - alias outputType = "gen_ai.output.type"; - /** "gen_ai.prompt" */ - alias prompt = "gen_ai.prompt"; - /** "gen_ai.prompt.name" */ - alias promptName = "gen_ai.prompt.name"; - /** "gen_ai.provider.name" */ - alias providerName = "gen_ai.provider.name"; - /** "gen_ai.request.choice.count" */ - alias requestChoiceCount = "gen_ai.request.choice.count"; - /** "gen_ai.request.encoding_formats" */ - alias requestEncodingFormats = "gen_ai.request.encoding_formats"; - /** "gen_ai.request.frequency_penalty" */ - alias requestFrequencyPenalty = "gen_ai.request.frequency_penalty"; - /** "gen_ai.request.max_tokens" */ - alias requestMaxTokens = "gen_ai.request.max_tokens"; - /** "gen_ai.request.model" */ - alias requestModel = "gen_ai.request.model"; - /** "gen_ai.request.presence_penalty" */ - alias requestPresencePenalty = "gen_ai.request.presence_penalty"; - /** "gen_ai.request.seed" */ - alias requestSeed = "gen_ai.request.seed"; - /** "gen_ai.request.stop_sequences" */ - alias requestStopSequences = "gen_ai.request.stop_sequences"; - /** "gen_ai.request.temperature" */ - alias requestTemperature = "gen_ai.request.temperature"; - /** "gen_ai.request.top_k" */ - alias requestTopK = "gen_ai.request.top_k"; - /** "gen_ai.request.top_p" */ - alias requestTopP = "gen_ai.request.top_p"; - /** "gen_ai.response.finish_reasons" */ - alias responseFinishReasons = "gen_ai.response.finish_reasons"; - /** "gen_ai.response.id" */ - alias responseId = "gen_ai.response.id"; - /** "gen_ai.response.model" */ - alias responseModel = "gen_ai.response.model"; - /** "gen_ai.retrieval.documents" */ - alias retrievalDocuments = "gen_ai.retrieval.documents"; - /** "gen_ai.retrieval.query.text" */ - alias retrievalQueryText = "gen_ai.retrieval.query.text"; - /** "gen_ai.system" */ - alias system = "gen_ai.system"; - /** "gen_ai.system_instructions" */ - alias systemInstructions = "gen_ai.system_instructions"; - /** "gen_ai.token.type" */ - alias tokenType = "gen_ai.token.type"; - /** "gen_ai.tool.call.arguments" */ - alias toolCallArguments = "gen_ai.tool.call.arguments"; - /** "gen_ai.tool.call.id" */ - alias toolCallId = "gen_ai.tool.call.id"; - /** "gen_ai.tool.call.result" */ - alias toolCallResult = "gen_ai.tool.call.result"; - /** "gen_ai.tool.definitions" */ - alias toolDefinitions = "gen_ai.tool.definitions"; - /** "gen_ai.tool.description" */ - alias toolDescription = "gen_ai.tool.description"; - /** "gen_ai.tool.name" */ - alias toolName = "gen_ai.tool.name"; - /** "gen_ai.tool.type" */ - alias toolType = "gen_ai.tool.type"; - /** "gen_ai.usage.cache_creation.input_tokens" */ - alias usageCacheCreationInputTokens = "gen_ai.usage.cache_creation.input_tokens"; - /** "gen_ai.usage.cache_read.input_tokens" */ - alias usageCacheReadInputTokens = "gen_ai.usage.cache_read.input_tokens"; - /** "gen_ai.usage.completion_tokens" */ - alias usageCompletionTokens = "gen_ai.usage.completion_tokens"; - /** "gen_ai.usage.input_tokens" */ - alias usageInputTokens = "gen_ai.usage.input_tokens"; - /** "gen_ai.usage.output_tokens" */ - alias usageOutputTokens = "gen_ai.usage.output_tokens"; - /** "gen_ai.usage.prompt_tokens" */ - alias usagePromptTokens = "gen_ai.usage.prompt_tokens"; - } - - /** geo.* attribute keys */ - namespace Geo { - /** "geo.continent.code" */ - alias continentCode = "geo.continent.code"; - /** "geo.country.iso_code" */ - alias countryIsoCode = "geo.country.iso_code"; - /** "geo.locality.name" */ - alias localityName = "geo.locality.name"; - /** "geo.location.lat" */ - alias locationLat = "geo.location.lat"; - /** "geo.location.lon" */ - alias locationLon = "geo.location.lon"; - /** "geo.postal_code" */ - alias postalCode = "geo.postal_code"; - /** "geo.region.iso_code" */ - alias regionIsoCode = "geo.region.iso_code"; - } - - /** host.* attribute keys */ - namespace Host { - /** "host.arch" */ - alias arch = "host.arch"; - /** "host.cpu.cache.l2.size" */ - alias cpuCacheL2Size = "host.cpu.cache.l2.size"; - /** "host.cpu.family" */ - alias cpuFamily = "host.cpu.family"; - /** "host.cpu.model.id" */ - alias cpuModelId = "host.cpu.model.id"; - /** "host.cpu.model.name" */ - alias cpuModelName = "host.cpu.model.name"; - /** "host.cpu.stepping" */ - alias cpuStepping = "host.cpu.stepping"; - /** "host.cpu.vendor.id" */ - alias cpuVendorId = "host.cpu.vendor.id"; - /** "host.id" */ - alias id = "host.id"; - /** "host.image.id" */ - alias imageId = "host.image.id"; - /** "host.image.name" */ - alias imageName = "host.image.name"; - /** "host.image.version" */ - alias imageVersion = "host.image.version"; - /** "host.ip" */ - alias ip = "host.ip"; - /** "host.mac" */ - alias mac = "host.mac"; - /** "host.name" */ - alias name = "host.name"; - /** "host.type" */ - alias type = "host.type"; - } - - /** http.* attribute keys */ - namespace Http { - /** "http.client_ip" */ - alias clientIp = "http.client_ip"; - /** "http.connection.state" */ - alias connectionState = "http.connection.state"; - /** "http.flavor" */ - alias flavor = "http.flavor"; - /** "http.host" */ - alias host = "http.host"; - /** "http.method" */ - alias method = "http.method"; - /** "http.request.body.size" */ - alias requestBodySize = "http.request.body.size"; - /** "http.request.header" */ - alias requestHeader = "http.request.header"; - /** "http.request.method" */ - alias requestMethod = "http.request.method"; - /** "http.request.method_original" */ - alias requestMethodOriginal = "http.request.method_original"; - /** "http.request.resend_count" */ - alias requestResendCount = "http.request.resend_count"; - /** "http.request.size" */ - alias requestSize = "http.request.size"; - /** "http.request_content_length" */ - alias requestContentLength = "http.request_content_length"; - /** "http.request_content_length_uncompressed" */ - alias requestContentLengthUncompressed = "http.request_content_length_uncompressed"; - /** "http.response.body.size" */ - alias responseBodySize = "http.response.body.size"; - /** "http.response.header" */ - alias responseHeader = "http.response.header"; - /** "http.response.size" */ - alias responseSize = "http.response.size"; - /** "http.response.status_code" */ - alias responseStatusCode = "http.response.status_code"; - /** "http.response_content_length" */ - alias responseContentLength = "http.response_content_length"; - /** "http.response_content_length_uncompressed" */ - alias responseContentLengthUncompressed = "http.response_content_length_uncompressed"; - /** "http.route" */ - alias route = "http.route"; - /** "http.scheme" */ - alias scheme = "http.scheme"; - /** "http.server_name" */ - alias serverName = "http.server_name"; - /** "http.status_code" */ - alias statusCode = "http.status_code"; - /** "http.target" */ - alias target = "http.target"; - /** "http.url" */ - alias url = "http.url"; - /** "http.user_agent" */ - alias userAgent = "http.user_agent"; - } - - /** k8s.* attribute keys */ - namespace K8s { - /** "k8s.cluster.name" */ - alias clusterName = "k8s.cluster.name"; - /** "k8s.cluster.uid" */ - alias clusterUid = "k8s.cluster.uid"; - /** "k8s.container.name" */ - alias containerName = "k8s.container.name"; - /** "k8s.container.restart_count" */ - alias containerRestartCount = "k8s.container.restart_count"; - /** "k8s.container.status.last_terminated_reason" */ - alias containerStatusLastTerminatedReason = "k8s.container.status.last_terminated_reason"; - /** "k8s.container.status.reason" */ - alias containerStatusReason = "k8s.container.status.reason"; - /** "k8s.container.status.state" */ - alias containerStatusState = "k8s.container.status.state"; - /** "k8s.cronjob.annotation" */ - alias cronjobAnnotation = "k8s.cronjob.annotation"; - /** "k8s.cronjob.label" */ - alias cronjobLabel = "k8s.cronjob.label"; - /** "k8s.cronjob.name" */ - alias cronjobName = "k8s.cronjob.name"; - /** "k8s.cronjob.uid" */ - alias cronjobUid = "k8s.cronjob.uid"; - /** "k8s.daemonset.annotation" */ - alias daemonsetAnnotation = "k8s.daemonset.annotation"; - /** "k8s.daemonset.label" */ - alias daemonsetLabel = "k8s.daemonset.label"; - /** "k8s.daemonset.name" */ - alias daemonsetName = "k8s.daemonset.name"; - /** "k8s.daemonset.uid" */ - alias daemonsetUid = "k8s.daemonset.uid"; - /** "k8s.deployment.annotation" */ - alias deploymentAnnotation = "k8s.deployment.annotation"; - /** "k8s.deployment.label" */ - alias deploymentLabel = "k8s.deployment.label"; - /** "k8s.deployment.name" */ - alias deploymentName = "k8s.deployment.name"; - /** "k8s.deployment.uid" */ - alias deploymentUid = "k8s.deployment.uid"; - /** "k8s.hpa.metric.type" */ - alias hpaMetricType = "k8s.hpa.metric.type"; - /** "k8s.hpa.name" */ - alias hpaName = "k8s.hpa.name"; - /** "k8s.hpa.scaletargetref.api_version" */ - alias hpaScaletargetrefApiVersion = "k8s.hpa.scaletargetref.api_version"; - /** "k8s.hpa.scaletargetref.kind" */ - alias hpaScaletargetrefKind = "k8s.hpa.scaletargetref.kind"; - /** "k8s.hpa.scaletargetref.name" */ - alias hpaScaletargetrefName = "k8s.hpa.scaletargetref.name"; - /** "k8s.hpa.uid" */ - alias hpaUid = "k8s.hpa.uid"; - /** "k8s.hugepage.size" */ - alias hugepageSize = "k8s.hugepage.size"; - /** "k8s.job.annotation" */ - alias jobAnnotation = "k8s.job.annotation"; - /** "k8s.job.label" */ - alias jobLabel = "k8s.job.label"; - /** "k8s.job.name" */ - alias jobName = "k8s.job.name"; - /** "k8s.job.uid" */ - alias jobUid = "k8s.job.uid"; - /** "k8s.namespace.annotation" */ - alias namespaceAnnotation = "k8s.namespace.annotation"; - /** "k8s.namespace.label" */ - alias namespaceLabel = "k8s.namespace.label"; - /** "k8s.namespace.name" */ - alias namespaceName = "k8s.namespace.name"; - /** "k8s.namespace.phase" */ - alias namespacePhase = "k8s.namespace.phase"; - /** "k8s.node.annotation" */ - alias nodeAnnotation = "k8s.node.annotation"; - /** "k8s.node.condition.status" */ - alias nodeConditionStatus = "k8s.node.condition.status"; - /** "k8s.node.condition.type" */ - alias nodeConditionType = "k8s.node.condition.type"; - /** "k8s.node.label" */ - alias nodeLabel = "k8s.node.label"; - /** "k8s.node.name" */ - alias nodeName = "k8s.node.name"; - /** "k8s.node.uid" */ - alias nodeUid = "k8s.node.uid"; - /** "k8s.pod.annotation" */ - alias podAnnotation = "k8s.pod.annotation"; - /** "k8s.pod.hostname" */ - alias podHostname = "k8s.pod.hostname"; - /** "k8s.pod.ip" */ - alias podIp = "k8s.pod.ip"; - /** "k8s.pod.label" */ - alias podLabel = "k8s.pod.label"; - /** "k8s.pod.labels" */ - alias podLabels = "k8s.pod.labels"; - /** "k8s.pod.name" */ - alias podName = "k8s.pod.name"; - /** "k8s.pod.start_time" */ - alias podStartTime = "k8s.pod.start_time"; - /** "k8s.pod.status.phase" */ - alias podStatusPhase = "k8s.pod.status.phase"; - /** "k8s.pod.status.reason" */ - alias podStatusReason = "k8s.pod.status.reason"; - /** "k8s.pod.uid" */ - alias podUid = "k8s.pod.uid"; - /** "k8s.replicaset.annotation" */ - alias replicasetAnnotation = "k8s.replicaset.annotation"; - /** "k8s.replicaset.label" */ - alias replicasetLabel = "k8s.replicaset.label"; - /** "k8s.replicaset.name" */ - alias replicasetName = "k8s.replicaset.name"; - /** "k8s.replicaset.uid" */ - alias replicasetUid = "k8s.replicaset.uid"; - /** "k8s.replicationcontroller.name" */ - alias replicationcontrollerName = "k8s.replicationcontroller.name"; - /** "k8s.replicationcontroller.uid" */ - alias replicationcontrollerUid = "k8s.replicationcontroller.uid"; - /** "k8s.resourcequota.name" */ - alias resourcequotaName = "k8s.resourcequota.name"; - /** "k8s.resourcequota.resource_name" */ - alias resourcequotaResourceName = "k8s.resourcequota.resource_name"; - /** "k8s.resourcequota.uid" */ - alias resourcequotaUid = "k8s.resourcequota.uid"; - /** "k8s.service.annotation" */ - alias serviceAnnotation = "k8s.service.annotation"; - /** "k8s.service.endpoint.address_type" */ - alias serviceEndpointAddressType = "k8s.service.endpoint.address_type"; - /** "k8s.service.endpoint.condition" */ - alias serviceEndpointCondition = "k8s.service.endpoint.condition"; - /** "k8s.service.endpoint.zone" */ - alias serviceEndpointZone = "k8s.service.endpoint.zone"; - /** "k8s.service.label" */ - alias serviceLabel = "k8s.service.label"; - /** "k8s.service.name" */ - alias serviceName = "k8s.service.name"; - /** "k8s.service.publish_not_ready_addresses" */ - alias servicePublishNotReadyAddresses = "k8s.service.publish_not_ready_addresses"; - /** "k8s.service.selector" */ - alias serviceSelector = "k8s.service.selector"; - /** "k8s.service.traffic_distribution" */ - alias serviceTrafficDistribution = "k8s.service.traffic_distribution"; - /** "k8s.service.type" */ - alias serviceType = "k8s.service.type"; - /** "k8s.service.uid" */ - alias serviceUid = "k8s.service.uid"; - /** "k8s.statefulset.annotation" */ - alias statefulsetAnnotation = "k8s.statefulset.annotation"; - /** "k8s.statefulset.label" */ - alias statefulsetLabel = "k8s.statefulset.label"; - /** "k8s.statefulset.name" */ - alias statefulsetName = "k8s.statefulset.name"; - /** "k8s.statefulset.uid" */ - alias statefulsetUid = "k8s.statefulset.uid"; - /** "k8s.storageclass.name" */ - alias storageclassName = "k8s.storageclass.name"; - /** "k8s.volume.name" */ - alias volumeName = "k8s.volume.name"; - /** "k8s.volume.type" */ - alias volumeType = "k8s.volume.type"; - } - - /** log.* attribute keys */ - namespace Log { - /** "log.file.name" */ - alias fileName = "log.file.name"; - /** "log.file.name_resolved" */ - alias fileNameResolved = "log.file.name_resolved"; - /** "log.file.path" */ - alias filePath = "log.file.path"; - /** "log.file.path_resolved" */ - alias filePathResolved = "log.file.path_resolved"; - /** "log.iostream" */ - alias iostream = "log.iostream"; - /** "log.record.original" */ - alias recordOriginal = "log.record.original"; - /** "log.record.uid" */ - alias recordUid = "log.record.uid"; - } - - /** messaging.* attribute keys */ - namespace Messaging { - /** "messaging.batch.message_count" */ - alias batchMessageCount = "messaging.batch.message_count"; - /** "messaging.client.id" */ - alias clientId = "messaging.client.id"; - /** "messaging.consumer.group.name" */ - alias consumerGroupName = "messaging.consumer.group.name"; - /** "messaging.destination.anonymous" */ - alias destinationAnonymous = "messaging.destination.anonymous"; - /** "messaging.destination.name" */ - alias destinationName = "messaging.destination.name"; - /** "messaging.destination.partition.id" */ - alias destinationPartitionId = "messaging.destination.partition.id"; - /** "messaging.destination.subscription.name" */ - alias destinationSubscriptionName = "messaging.destination.subscription.name"; - /** "messaging.destination.template" */ - alias destinationTemplate = "messaging.destination.template"; - /** "messaging.destination.temporary" */ - alias destinationTemporary = "messaging.destination.temporary"; - /** "messaging.destination_publish.anonymous" */ - alias destinationPublishAnonymous = "messaging.destination_publish.anonymous"; - /** "messaging.destination_publish.name" */ - alias destinationPublishName = "messaging.destination_publish.name"; - /** "messaging.eventhubs.consumer.group" */ - alias eventhubsConsumerGroup = "messaging.eventhubs.consumer.group"; - /** "messaging.eventhubs.message.enqueued_time" */ - alias eventhubsMessageEnqueuedTime = "messaging.eventhubs.message.enqueued_time"; - /** "messaging.gcp_pubsub.message.ack_deadline" */ - alias gcpPubsubMessageAckDeadline = "messaging.gcp_pubsub.message.ack_deadline"; - /** "messaging.gcp_pubsub.message.ack_id" */ - alias gcpPubsubMessageAckId = "messaging.gcp_pubsub.message.ack_id"; - /** "messaging.gcp_pubsub.message.delivery_attempt" */ - alias gcpPubsubMessageDeliveryAttempt = "messaging.gcp_pubsub.message.delivery_attempt"; - /** "messaging.gcp_pubsub.message.ordering_key" */ - alias gcpPubsubMessageOrderingKey = "messaging.gcp_pubsub.message.ordering_key"; - /** "messaging.kafka.consumer.group" */ - alias kafkaConsumerGroup = "messaging.kafka.consumer.group"; - /** "messaging.kafka.destination.partition" */ - alias kafkaDestinationPartition = "messaging.kafka.destination.partition"; - /** "messaging.kafka.message.key" */ - alias kafkaMessageKey = "messaging.kafka.message.key"; - /** "messaging.kafka.message.offset" */ - alias kafkaMessageOffset = "messaging.kafka.message.offset"; - /** "messaging.kafka.message.tombstone" */ - alias kafkaMessageTombstone = "messaging.kafka.message.tombstone"; - /** "messaging.kafka.offset" */ - alias kafkaOffset = "messaging.kafka.offset"; - /** "messaging.message.body.size" */ - alias messageBodySize = "messaging.message.body.size"; - /** "messaging.message.conversation_id" */ - alias messageConversationId = "messaging.message.conversation_id"; - /** "messaging.message.envelope.size" */ - alias messageEnvelopeSize = "messaging.message.envelope.size"; - /** "messaging.message.id" */ - alias messageId = "messaging.message.id"; - /** "messaging.operation" */ - alias operation = "messaging.operation"; - /** "messaging.operation.name" */ - alias operationName = "messaging.operation.name"; - /** "messaging.operation.type" */ - alias operationType = "messaging.operation.type"; - /** "messaging.rabbitmq.destination.routing_key" */ - alias rabbitmqDestinationRoutingKey = "messaging.rabbitmq.destination.routing_key"; - /** "messaging.rabbitmq.message.delivery_tag" */ - alias rabbitmqMessageDeliveryTag = "messaging.rabbitmq.message.delivery_tag"; - /** "messaging.rocketmq.client_group" */ - alias rocketmqClientGroup = "messaging.rocketmq.client_group"; - /** "messaging.rocketmq.consumption_model" */ - alias rocketmqConsumptionModel = "messaging.rocketmq.consumption_model"; - /** "messaging.rocketmq.message.delay_time_level" */ - alias rocketmqMessageDelayTimeLevel = "messaging.rocketmq.message.delay_time_level"; - /** "messaging.rocketmq.message.delivery_timestamp" */ - alias rocketmqMessageDeliveryTimestamp = "messaging.rocketmq.message.delivery_timestamp"; - /** "messaging.rocketmq.message.group" */ - alias rocketmqMessageGroup = "messaging.rocketmq.message.group"; - /** "messaging.rocketmq.message.keys" */ - alias rocketmqMessageKeys = "messaging.rocketmq.message.keys"; - /** "messaging.rocketmq.message.tag" */ - alias rocketmqMessageTag = "messaging.rocketmq.message.tag"; - /** "messaging.rocketmq.message.type" */ - alias rocketmqMessageType = "messaging.rocketmq.message.type"; - /** "messaging.rocketmq.namespace" */ - alias rocketmqNamespace = "messaging.rocketmq.namespace"; - /** "messaging.servicebus.destination.subscription_name" */ - alias servicebusDestinationSubscriptionName = "messaging.servicebus.destination.subscription_name"; - /** "messaging.servicebus.disposition_status" */ - alias servicebusDispositionStatus = "messaging.servicebus.disposition_status"; - /** "messaging.servicebus.message.delivery_count" */ - alias servicebusMessageDeliveryCount = "messaging.servicebus.message.delivery_count"; - /** "messaging.servicebus.message.enqueued_time" */ - alias servicebusMessageEnqueuedTime = "messaging.servicebus.message.enqueued_time"; - /** "messaging.system" */ - alias system = "messaging.system"; - } - - /** network.* attribute keys */ - namespace Network { - /** "network.carrier.icc" */ - alias carrierIcc = "network.carrier.icc"; - /** "network.carrier.mcc" */ - alias carrierMcc = "network.carrier.mcc"; - /** "network.carrier.mnc" */ - alias carrierMnc = "network.carrier.mnc"; - /** "network.carrier.name" */ - alias carrierName = "network.carrier.name"; - /** "network.connection.state" */ - alias connectionState = "network.connection.state"; - /** "network.connection.subtype" */ - alias connectionSubtype = "network.connection.subtype"; - /** "network.connection.type" */ - alias connectionType = "network.connection.type"; - /** "network.interface.name" */ - alias interfaceName = "network.interface.name"; - /** "network.io.direction" */ - alias ioDirection = "network.io.direction"; - /** "network.local.address" */ - alias localAddress = "network.local.address"; - /** "network.local.port" */ - alias localPort = "network.local.port"; - /** "network.peer.address" */ - alias peerAddress = "network.peer.address"; - /** "network.peer.port" */ - alias peerPort = "network.peer.port"; - /** "network.protocol.name" */ - alias protocolName = "network.protocol.name"; - /** "network.protocol.version" */ - alias protocolVersion = "network.protocol.version"; - /** "network.transport" */ - alias transport = "network.transport"; - /** "network.type" */ - alias type = "network.type"; - } - - /** openai.* attribute keys */ - namespace Openai { - /** "openai.api.type" */ - alias apiType = "openai.api.type"; - /** "openai.request.service_tier" */ - alias requestServiceTier = "openai.request.service_tier"; - /** "openai.response.service_tier" */ - alias responseServiceTier = "openai.response.service_tier"; - /** "openai.response.system_fingerprint" */ - alias responseSystemFingerprint = "openai.response.system_fingerprint"; - } - - /** oracle.* attribute keys */ - namespace Oracle { - /** "oracle.db.domain" */ - alias dbDomain = "oracle.db.domain"; - /** "oracle.db.instance.name" */ - alias dbInstanceName = "oracle.db.instance.name"; - /** "oracle.db.name" */ - alias dbName = "oracle.db.name"; - /** "oracle.db.pdb" */ - alias dbPdb = "oracle.db.pdb"; - /** "oracle.db.service" */ - alias dbService = "oracle.db.service"; - } - - /** oracle_cloud.* attribute keys */ - namespace OracleCloud { - /** "oracle_cloud.realm" */ - alias realm = "oracle_cloud.realm"; - } - - /** os.* attribute keys */ - namespace Os { - /** "os.build_id" */ - alias buildId = "os.build_id"; - /** "os.description" */ - alias description = "os.description"; - /** "os.name" */ - alias name = "os.name"; - /** "os.type" */ - alias type = "os.type"; - /** "os.version" */ - alias version = "os.version"; - } - - /** otel.* attribute keys */ - namespace Otel { - /** "otel.component.name" */ - alias componentName = "otel.component.name"; - /** "otel.component.type" */ - alias componentType = "otel.component.type"; - /** "otel.event.name" */ - alias eventName = "otel.event.name"; - /** "otel.library.name" */ - alias libraryName = "otel.library.name"; - /** "otel.library.version" */ - alias libraryVersion = "otel.library.version"; - /** "otel.scope.name" */ - alias scopeName = "otel.scope.name"; - /** "otel.scope.schema_url" */ - alias scopeSchemaUrl = "otel.scope.schema_url"; - /** "otel.scope.version" */ - alias scopeVersion = "otel.scope.version"; - /** "otel.span.parent.origin" */ - alias spanParentOrigin = "otel.span.parent.origin"; - /** "otel.span.sampling_result" */ - alias spanSamplingResult = "otel.span.sampling_result"; - /** "otel.status_code" */ - alias statusCode = "otel.status_code"; - /** "otel.status_description" */ - alias statusDescription = "otel.status_description"; - } - - /** pprof.* attribute keys */ - namespace Pprof { - /** "pprof.location.is_folded" */ - alias locationIsFolded = "pprof.location.is_folded"; - /** "pprof.mapping.has_filenames" */ - alias mappingHasFilenames = "pprof.mapping.has_filenames"; - /** "pprof.mapping.has_functions" */ - alias mappingHasFunctions = "pprof.mapping.has_functions"; - /** "pprof.mapping.has_inline_frames" */ - alias mappingHasInlineFrames = "pprof.mapping.has_inline_frames"; - /** "pprof.mapping.has_line_numbers" */ - alias mappingHasLineNumbers = "pprof.mapping.has_line_numbers"; - /** "pprof.profile.comment" */ - alias profileComment = "pprof.profile.comment"; - /** "pprof.profile.doc_url" */ - alias profileDocUrl = "pprof.profile.doc_url"; - /** "pprof.profile.drop_frames" */ - alias profileDropFrames = "pprof.profile.drop_frames"; - /** "pprof.profile.keep_frames" */ - alias profileKeepFrames = "pprof.profile.keep_frames"; - /** "pprof.scope.default_sample_type" */ - alias scopeDefaultSampleType = "pprof.scope.default_sample_type"; - /** "pprof.scope.sample_type_order" */ - alias scopeSampleTypeOrder = "pprof.scope.sample_type_order"; - } - - /** process.* attribute keys */ - namespace Process { - /** "process.args_count" */ - alias argsCount = "process.args_count"; - /** "process.command" */ - alias command = "process.command"; - /** "process.command_args" */ - alias commandArgs = "process.command_args"; - /** "process.command_line" */ - alias commandLine = "process.command_line"; - /** "process.context_switch.type" */ - alias contextSwitchType = "process.context_switch.type"; - /** "process.cpu.state" */ - alias cpuState = "process.cpu.state"; - /** "process.creation.time" */ - alias creationTime = "process.creation.time"; - /** "process.environment_variable" */ - alias environmentVariable = "process.environment_variable"; - /** "process.executable.build_id.gnu" */ - alias executableBuildIdGnu = "process.executable.build_id.gnu"; - /** "process.executable.build_id.go" */ - alias executableBuildIdGo = "process.executable.build_id.go"; - /** "process.executable.build_id.htlhash" */ - alias executableBuildIdHtlhash = "process.executable.build_id.htlhash"; - /** "process.executable.build_id.profiling" */ - alias executableBuildIdProfiling = "process.executable.build_id.profiling"; - /** "process.executable.name" */ - alias executableName = "process.executable.name"; - /** "process.executable.path" */ - alias executablePath = "process.executable.path"; - /** "process.exit.code" */ - alias exitCode = "process.exit.code"; - /** "process.exit.time" */ - alias exitTime = "process.exit.time"; - /** "process.group_leader.pid" */ - alias groupLeaderPid = "process.group_leader.pid"; - /** "process.interactive" */ - alias interactive = "process.interactive"; - /** "process.linux.cgroup" */ - alias linuxCgroup = "process.linux.cgroup"; - /** "process.owner" */ - alias owner = "process.owner"; - /** "process.paging.fault_type" */ - alias pagingFaultType = "process.paging.fault_type"; - /** "process.parent_pid" */ - alias parentPid = "process.parent_pid"; - /** "process.pid" */ - alias pid = "process.pid"; - /** "process.real_user.id" */ - alias realUserId = "process.real_user.id"; - /** "process.real_user.name" */ - alias realUserName = "process.real_user.name"; - /** "process.runtime.description" */ - alias runtimeDescription = "process.runtime.description"; - /** "process.runtime.name" */ - alias runtimeName = "process.runtime.name"; - /** "process.runtime.version" */ - alias runtimeVersion = "process.runtime.version"; - /** "process.saved_user.id" */ - alias savedUserId = "process.saved_user.id"; - /** "process.saved_user.name" */ - alias savedUserName = "process.saved_user.name"; - /** "process.session_leader.pid" */ - alias sessionLeaderPid = "process.session_leader.pid"; - /** "process.state" */ - alias state = "process.state"; - /** "process.title" */ - alias title = "process.title"; - /** "process.user.id" */ - alias userId = "process.user.id"; - /** "process.user.name" */ - alias userName = "process.user.name"; - /** "process.vpid" */ - alias vpid = "process.vpid"; - /** "process.working_directory" */ - alias workingDirectory = "process.working_directory"; - } - - /** profile.* attribute keys */ - namespace Profile { - /** "profile.frame.type" */ - alias frameType = "profile.frame.type"; - } - - /** rpc.* attribute keys */ - namespace Rpc { - /** "rpc.connect_rpc.error_code" */ - alias connectRpcErrorCode = "rpc.connect_rpc.error_code"; - /** "rpc.connect_rpc.request.metadata" */ - alias connectRpcRequestMetadata = "rpc.connect_rpc.request.metadata"; - /** "rpc.connect_rpc.response.metadata" */ - alias connectRpcResponseMetadata = "rpc.connect_rpc.response.metadata"; - /** "rpc.grpc.request.metadata" */ - alias grpcRequestMetadata = "rpc.grpc.request.metadata"; - /** "rpc.grpc.response.metadata" */ - alias grpcResponseMetadata = "rpc.grpc.response.metadata"; - /** "rpc.grpc.status_code" */ - alias grpcStatusCode = "rpc.grpc.status_code"; - /** "rpc.jsonrpc.error_code" */ - alias jsonrpcErrorCode = "rpc.jsonrpc.error_code"; - /** "rpc.jsonrpc.error_message" */ - alias jsonrpcErrorMessage = "rpc.jsonrpc.error_message"; - /** "rpc.jsonrpc.request_id" */ - alias jsonrpcRequestId = "rpc.jsonrpc.request_id"; - /** "rpc.jsonrpc.version" */ - alias jsonrpcVersion = "rpc.jsonrpc.version"; - /** "rpc.message.compressed_size" */ - alias messageCompressedSize = "rpc.message.compressed_size"; - /** "rpc.message.id" */ - alias messageId = "rpc.message.id"; - /** "rpc.message.type" */ - alias messageType = "rpc.message.type"; - /** "rpc.message.uncompressed_size" */ - alias messageUncompressedSize = "rpc.message.uncompressed_size"; - /** "rpc.method" */ - alias method = "rpc.method"; - /** "rpc.method_original" */ - alias methodOriginal = "rpc.method_original"; - /** "rpc.request.metadata" */ - alias requestMetadata = "rpc.request.metadata"; - /** "rpc.response.metadata" */ - alias responseMetadata = "rpc.response.metadata"; - /** "rpc.response.status_code" */ - alias responseStatusCode = "rpc.response.status_code"; - /** "rpc.service" */ - alias service = "rpc.service"; - /** "rpc.system" */ - alias system = "rpc.system"; - /** "rpc.system.name" */ - alias systemName = "rpc.system.name"; - } - - /** server.* attribute keys */ - namespace Server { - /** "server.address" */ - alias address = "server.address"; - /** "server.port" */ - alias port = "server.port"; - } - - /** service.* attribute keys */ - namespace Service { - /** "service.criticality" */ - alias criticality = "service.criticality"; - /** "service.instance.id" */ - alias instanceId = "service.instance.id"; - /** "service.name" */ - alias name = "service.name"; - /** "service.namespace" */ - alias `namespace` = "service.namespace"; - /** "service.peer.name" */ - alias peerName = "service.peer.name"; - /** "service.peer.namespace" */ - alias peerNamespace = "service.peer.namespace"; - /** "service.version" */ - alias version = "service.version"; - } - - /** session.* attribute keys */ - namespace Session { - /** "session.id" */ - alias id = "session.id"; - /** "session.previous_id" */ - alias previousId = "session.previous_id"; - } - - /** signalr.* attribute keys */ - namespace Signalr { - /** "signalr.connection.status" */ - alias connectionStatus = "signalr.connection.status"; - /** "signalr.transport" */ - alias transport = "signalr.transport"; - } - - /** system.* attribute keys */ - namespace System { - /** "system.cpu.logical_number" */ - alias cpuLogicalNumber = "system.cpu.logical_number"; - /** "system.cpu.state" */ - alias cpuState = "system.cpu.state"; - /** "system.device" */ - alias device = "system.device"; - /** "system.filesystem.mode" */ - alias filesystemMode = "system.filesystem.mode"; - /** "system.filesystem.mountpoint" */ - alias filesystemMountpoint = "system.filesystem.mountpoint"; - /** "system.filesystem.state" */ - alias filesystemState = "system.filesystem.state"; - /** "system.filesystem.type" */ - alias filesystemType = "system.filesystem.type"; - /** "system.memory.linux.slab.state" */ - alias memoryLinuxSlabState = "system.memory.linux.slab.state"; - /** "system.memory.state" */ - alias memoryState = "system.memory.state"; - /** "system.network.state" */ - alias networkState = "system.network.state"; - /** "system.paging.direction" */ - alias pagingDirection = "system.paging.direction"; - /** "system.paging.fault.type" */ - alias pagingFaultType = "system.paging.fault.type"; - /** "system.paging.state" */ - alias pagingState = "system.paging.state"; - /** "system.paging.type" */ - alias pagingType = "system.paging.type"; - /** "system.process.status" */ - alias processStatus = "system.process.status"; - /** "system.processes.status" */ - alias processesStatus = "system.processes.status"; - } - - /** telemetry.* attribute keys */ - namespace Telemetry { - /** "telemetry.distro.name" */ - alias distroName = "telemetry.distro.name"; - /** "telemetry.distro.version" */ - alias distroVersion = "telemetry.distro.version"; - /** "telemetry.sdk.language" */ - alias sdkLanguage = "telemetry.sdk.language"; - /** "telemetry.sdk.name" */ - alias sdkName = "telemetry.sdk.name"; - /** "telemetry.sdk.version" */ - alias sdkVersion = "telemetry.sdk.version"; - } - - /** test.* attribute keys */ - namespace Test { - /** "test.case.name" */ - alias caseName = "test.case.name"; - /** "test.case.result.status" */ - alias caseResultStatus = "test.case.result.status"; - /** "test.suite.name" */ - alias suiteName = "test.suite.name"; - /** "test.suite.run.status" */ - alias suiteRunStatus = "test.suite.run.status"; - } - - /** thread.* attribute keys */ - namespace Thread { - /** "thread.id" */ - alias id = "thread.id"; - /** "thread.name" */ - alias name = "thread.name"; - } - - /** tls.* attribute keys */ - namespace Tls { - /** "tls.cipher" */ - alias cipher = "tls.cipher"; - /** "tls.client.certificate" */ - alias clientCertificate = "tls.client.certificate"; - /** "tls.client.certificate_chain" */ - alias clientCertificateChain = "tls.client.certificate_chain"; - /** "tls.client.hash.md5" */ - alias clientHashMd5 = "tls.client.hash.md5"; - /** "tls.client.hash.sha1" */ - alias clientHashSha1 = "tls.client.hash.sha1"; - /** "tls.client.hash.sha256" */ - alias clientHashSha256 = "tls.client.hash.sha256"; - /** "tls.client.issuer" */ - alias clientIssuer = "tls.client.issuer"; - /** "tls.client.ja3" */ - alias clientJa3 = "tls.client.ja3"; - /** "tls.client.not_after" */ - alias clientNotAfter = "tls.client.not_after"; - /** "tls.client.not_before" */ - alias clientNotBefore = "tls.client.not_before"; - /** "tls.client.server_name" */ - alias clientServerName = "tls.client.server_name"; - /** "tls.client.subject" */ - alias clientSubject = "tls.client.subject"; - /** "tls.client.supported_ciphers" */ - alias clientSupportedCiphers = "tls.client.supported_ciphers"; - /** "tls.curve" */ - alias curve = "tls.curve"; - /** "tls.established" */ - alias established = "tls.established"; - /** "tls.next_protocol" */ - alias nextProtocol = "tls.next_protocol"; - /** "tls.protocol.name" */ - alias protocolName = "tls.protocol.name"; - /** "tls.protocol.version" */ - alias protocolVersion = "tls.protocol.version"; - /** "tls.resumed" */ - alias resumed = "tls.resumed"; - /** "tls.server.certificate" */ - alias serverCertificate = "tls.server.certificate"; - /** "tls.server.certificate_chain" */ - alias serverCertificateChain = "tls.server.certificate_chain"; - /** "tls.server.hash.md5" */ - alias serverHashMd5 = "tls.server.hash.md5"; - /** "tls.server.hash.sha1" */ - alias serverHashSha1 = "tls.server.hash.sha1"; - /** "tls.server.hash.sha256" */ - alias serverHashSha256 = "tls.server.hash.sha256"; - /** "tls.server.issuer" */ - alias serverIssuer = "tls.server.issuer"; - /** "tls.server.ja3s" */ - alias serverJa3s = "tls.server.ja3s"; - /** "tls.server.not_after" */ - alias serverNotAfter = "tls.server.not_after"; - /** "tls.server.not_before" */ - alias serverNotBefore = "tls.server.not_before"; - /** "tls.server.subject" */ - alias serverSubject = "tls.server.subject"; - } - - /** url.* attribute keys */ - namespace Url { - /** "url.domain" */ - alias domain = "url.domain"; - /** "url.extension" */ - alias extension = "url.extension"; - /** "url.fragment" */ - alias fragment = "url.fragment"; - /** "url.full" */ - alias full = "url.full"; - /** "url.original" */ - alias original = "url.original"; - /** "url.path" */ - alias path = "url.path"; - /** "url.port" */ - alias port = "url.port"; - /** "url.query" */ - alias query = "url.query"; - /** "url.registered_domain" */ - alias registeredDomain = "url.registered_domain"; - /** "url.scheme" */ - alias scheme = "url.scheme"; - /** "url.subdomain" */ - alias subdomain = "url.subdomain"; - /** "url.template" */ - alias template = "url.template"; - /** "url.top_level_domain" */ - alias topLevelDomain = "url.top_level_domain"; - } - - /** user.* attribute keys */ - namespace User { - /** "user.email" */ - alias email = "user.email"; - /** "user.full_name" */ - alias fullName = "user.full_name"; - /** "user.hash" */ - alias hash = "user.hash"; - /** "user.id" */ - alias id = "user.id"; - /** "user.name" */ - alias name = "user.name"; - /** "user.roles" */ - alias roles = "user.roles"; - } - - /** user_agent.* attribute keys */ - namespace UserAgent { - /** "user_agent.name" */ - alias name = "user_agent.name"; - /** "user_agent.original" */ - alias original = "user_agent.original"; - /** "user_agent.os.name" */ - alias osName = "user_agent.os.name"; - /** "user_agent.os.version" */ - alias osVersion = "user_agent.os.version"; - /** "user_agent.synthetic.type" */ - alias syntheticType = "user_agent.synthetic.type"; - /** "user_agent.version" */ - alias version = "user_agent.version"; - } - - /** vcs.* attribute keys */ - namespace Vcs { - /** "vcs.change.id" */ - alias changeId = "vcs.change.id"; - /** "vcs.change.state" */ - alias changeState = "vcs.change.state"; - /** "vcs.change.title" */ - alias changeTitle = "vcs.change.title"; - /** "vcs.line_change.type" */ - alias lineChangeType = "vcs.line_change.type"; - /** "vcs.owner.name" */ - alias ownerName = "vcs.owner.name"; - /** "vcs.provider.name" */ - alias providerName = "vcs.provider.name"; - /** "vcs.ref.base.name" */ - alias refBaseName = "vcs.ref.base.name"; - /** "vcs.ref.base.revision" */ - alias refBaseRevision = "vcs.ref.base.revision"; - /** "vcs.ref.base.type" */ - alias refBaseType = "vcs.ref.base.type"; - /** "vcs.ref.head.name" */ - alias refHeadName = "vcs.ref.head.name"; - /** "vcs.ref.head.revision" */ - alias refHeadRevision = "vcs.ref.head.revision"; - /** "vcs.ref.head.type" */ - alias refHeadType = "vcs.ref.head.type"; - /** "vcs.ref.type" */ - alias refType = "vcs.ref.type"; - /** "vcs.repository.change.id" */ - alias repositoryChangeId = "vcs.repository.change.id"; - /** "vcs.repository.change.title" */ - alias repositoryChangeTitle = "vcs.repository.change.title"; - /** "vcs.repository.name" */ - alias repositoryName = "vcs.repository.name"; - /** "vcs.repository.ref.name" */ - alias repositoryRefName = "vcs.repository.ref.name"; - /** "vcs.repository.ref.revision" */ - alias repositoryRefRevision = "vcs.repository.ref.revision"; - /** "vcs.repository.ref.type" */ - alias repositoryRefType = "vcs.repository.ref.type"; - /** "vcs.repository.url.full" */ - alias repositoryUrlFull = "vcs.repository.url.full"; - /** "vcs.revision_delta.direction" */ - alias revisionDeltaDirection = "vcs.revision_delta.direction"; - } - - /** webengine.* attribute keys */ - namespace Webengine { - /** "webengine.description" */ - alias description = "webengine.description"; - /** "webengine.name" */ - alias name = "webengine.name"; - /** "webengine.version" */ - alias version = "webengine.version"; - } - -} - -// ============================================================================ -// Enum Unions — one per enum-typed attribute -// ============================================================================ -// Each union lists known values and permits arbitrary string for future-proofing. -// ============================================================================ - -/** Known values for aspnetcore.authentication.result */ -union AspnetcoreAuthenticationResultValue { - /** "failure" */ - failure: "failure", - /** "none" */ - none: "none", - /** "success" */ - success: "success", - /** Allow unknown/custom values */ - string, -} - -/** Known values for aspnetcore.authorization.result */ -union AspnetcoreAuthorizationResultValue { - /** "failure" */ - failure: "failure", - /** "success" */ - success: "success", - /** Allow unknown/custom values */ - string, -} - -/** Known values for aspnetcore.diagnostics.exception.result */ -union AspnetcoreDiagnosticsExceptionResultValue { - /** "aborted" */ - aborted: "aborted", - /** "handled" */ - handled: "handled", - /** "skipped" */ - skipped: "skipped", - /** "unhandled" */ - unhandled: "unhandled", - /** Allow unknown/custom values */ - string, -} - -/** Known values for aspnetcore.identity.password_check_result */ -union AspnetcoreIdentityPasswordCheckResultValue { - /** "failure" */ - failure: "failure", - /** "password_missing" */ - passwordMissing: "password_missing", - /** "success" */ - success: "success", - /** "success_rehash_needed" */ - successRehashNeeded: "success_rehash_needed", - /** "user_missing" */ - userMissing: "user_missing", - /** Allow unknown/custom values */ - string, -} - -/** Known values for aspnetcore.identity.result */ -union AspnetcoreIdentityResultValue { - /** "failure" */ - failure: "failure", - /** "success" */ - success: "success", - /** Allow unknown/custom values */ - string, -} - -/** Known values for aspnetcore.identity.sign_in.result */ -union AspnetcoreIdentitySignInResultValue { - /** "failure" */ - failure: "failure", - /** "locked_out" */ - lockedOut: "locked_out", - /** "not_allowed" */ - notAllowed: "not_allowed", - /** "requires_two_factor" */ - requiresTwoFactor: "requires_two_factor", - /** "success" */ - success: "success", - /** Allow unknown/custom values */ - string, -} - -/** Known values for aspnetcore.identity.sign_in.type */ -union AspnetcoreIdentitySignInTypeValue { - /** "external" */ - external: "external", - /** "passkey" */ - passkey: "passkey", - /** "password" */ - password: "password", - /** "two_factor" */ - twoFactor: "two_factor", - /** "two_factor_authenticator" */ - twoFactorAuthenticator: "two_factor_authenticator", - /** "two_factor_recovery_code" */ - twoFactorRecoveryCode: "two_factor_recovery_code", - /** Allow unknown/custom values */ - string, -} - -/** Known values for aspnetcore.identity.token_purpose */ -union AspnetcoreIdentityTokenPurposeValue { - /** "change_email" */ - changeEmail: "change_email", - /** "change_phone_number" */ - changePhoneNumber: "change_phone_number", - /** "email_confirmation" */ - emailConfirmation: "email_confirmation", - /** "_OTHER" */ - other: "_OTHER", - /** "reset_password" */ - resetPassword: "reset_password", - /** "two_factor" */ - twoFactor: "two_factor", - /** Allow unknown/custom values */ - string, -} - -/** Known values for aspnetcore.identity.token_verified */ -union AspnetcoreIdentityTokenVerifiedValue { - /** "failure" */ - failure: "failure", - /** "success" */ - success: "success", - /** Allow unknown/custom values */ - string, -} - -/** Known values for aspnetcore.identity.user.update_type */ -union AspnetcoreIdentityUserUpdateTypeValue { - /** "access_failed" */ - accessFailed: "access_failed", - /** "add_claims" */ - addClaims: "add_claims", - /** "add_login" */ - addLogin: "add_login", - /** "add_password" */ - addPassword: "add_password", - /** "add_to_roles" */ - addToRoles: "add_to_roles", - /** "change_email" */ - changeEmail: "change_email", - /** "change_password" */ - changePassword: "change_password", - /** "change_phone_number" */ - changePhoneNumber: "change_phone_number", - /** "confirm_email" */ - confirmEmail: "confirm_email", - /** "generate_new_two_factor_recovery_codes" */ - generateNewTwoFactorRecoveryCodes: "generate_new_two_factor_recovery_codes", - /** "_OTHER" */ - other: "_OTHER", - /** "password_rehash" */ - passwordRehash: "password_rehash", - /** "redeem_two_factor_recovery_code" */ - redeemTwoFactorRecoveryCode: "redeem_two_factor_recovery_code", - /** "remove_authentication_token" */ - removeAuthenticationToken: "remove_authentication_token", - /** "remove_claims" */ - removeClaims: "remove_claims", - /** "remove_from_roles" */ - removeFromRoles: "remove_from_roles", - /** "remove_login" */ - removeLogin: "remove_login", - /** "remove_passkey" */ - removePasskey: "remove_passkey", - /** "remove_password" */ - removePassword: "remove_password", - /** "replace_claim" */ - replaceClaim: "replace_claim", - /** "reset_access_failed_count" */ - resetAccessFailedCount: "reset_access_failed_count", - /** "reset_authenticator_key" */ - resetAuthenticatorKey: "reset_authenticator_key", - /** "reset_password" */ - resetPassword: "reset_password", - /** "security_stamp" */ - securityStamp: "security_stamp", - /** "set_authentication_token" */ - setAuthenticationToken: "set_authentication_token", - /** "set_email" */ - setEmail: "set_email", - /** "set_lockout_enabled" */ - setLockoutEnabled: "set_lockout_enabled", - /** "set_lockout_end_date" */ - setLockoutEndDate: "set_lockout_end_date", - /** "set_passkey" */ - setPasskey: "set_passkey", - /** "set_phone_number" */ - setPhoneNumber: "set_phone_number", - /** "set_two_factor_enabled" */ - setTwoFactorEnabled: "set_two_factor_enabled", - /** "update" */ - update: "update", - /** "user_name" */ - userName: "user_name", - /** Allow unknown/custom values */ - string, -} - -/** Known values for aspnetcore.rate_limiting.result */ -union AspnetcoreRateLimitingResultValue { - /** "acquired" */ - acquired: "acquired", - /** "endpoint_limiter" */ - endpointLimiter: "endpoint_limiter", - /** "global_limiter" */ - globalLimiter: "global_limiter", - /** "request_canceled" */ - requestCanceled: "request_canceled", - /** Allow unknown/custom values */ - string, -} - -/** Known values for aspnetcore.routing.match_status */ -union AspnetcoreRoutingMatchStatusValue { - /** "failure" */ - failure: "failure", - /** "success" */ - success: "success", - /** Allow unknown/custom values */ - string, -} - -/** Known values for azure.cosmosdb.connection.mode */ -union AzureCosmosdbConnectionModeValue { - /** "direct" */ - direct: "direct", - /** "gateway" */ - gateway: "gateway", - /** Allow unknown/custom values */ - string, -} - -/** Known values for azure.cosmosdb.consistency.level */ -union AzureCosmosdbConsistencyLevelValue { - /** "BoundedStaleness" */ - boundedStaleness: "BoundedStaleness", - /** "ConsistentPrefix" */ - consistentPrefix: "ConsistentPrefix", - /** "Eventual" */ - eventual: "Eventual", - /** "Session" */ - session: "Session", - /** "Strong" */ - strong: "Strong", - /** Allow unknown/custom values */ - string, -} - -/** Known values for cicd.pipeline.action.name */ -union CicdPipelineActionNameValue { - /** "BUILD" */ - build: "BUILD", - /** "RUN" */ - run: "RUN", - /** "SYNC" */ - sync: "SYNC", - /** Allow unknown/custom values */ - string, -} - -/** Known values for cicd.pipeline.result */ -union CicdPipelineResultValue { - /** "cancellation" */ - cancellation: "cancellation", - /** "error" */ - error: "error", - /** "failure" */ - failure: "failure", - /** "skip" */ - skip: "skip", - /** "success" */ - success: "success", - /** "timeout" */ - timeout: "timeout", - /** Allow unknown/custom values */ - string, -} - -/** Known values for cicd.pipeline.run.state */ -union CicdPipelineRunStateValue { - /** "executing" */ - executing: "executing", - /** "finalizing" */ - finalizing: "finalizing", - /** "pending" */ - pending: "pending", - /** Allow unknown/custom values */ - string, -} - -/** Known values for cicd.pipeline.task.run.result */ -union CicdPipelineTaskRunResultValue { - /** "cancellation" */ - cancellation: "cancellation", - /** "error" */ - error: "error", - /** "failure" */ - failure: "failure", - /** "skip" */ - skip: "skip", - /** "success" */ - success: "success", - /** "timeout" */ - timeout: "timeout", - /** Allow unknown/custom values */ - string, -} - -/** Known values for cicd.pipeline.task.type */ -union CicdPipelineTaskTypeValue { - /** "build" */ - build: "build", - /** "deploy" */ - deploy: "deploy", - /** "test" */ - test: "test", - /** Allow unknown/custom values */ - string, -} - -/** Known values for cicd.worker.state */ -union CicdWorkerStateValue { - /** "available" */ - available: "available", - /** "busy" */ - busy: "busy", - /** "offline" */ - offline: "offline", - /** Allow unknown/custom values */ - string, -} - -/** Known values for cloud.platform */ -union CloudPlatformValue { - /** "akamai_cloud.compute" */ - akamaiCloudCompute: "akamai_cloud.compute", - /** "alibaba_cloud_ecs" */ - alibabaCloudEcs: "alibaba_cloud_ecs", - /** "alibaba_cloud_fc" */ - alibabaCloudFc: "alibaba_cloud_fc", - /** "alibaba_cloud_openshift" */ - alibabaCloudOpenshift: "alibaba_cloud_openshift", - /** "aws_app_runner" */ - awsAppRunner: "aws_app_runner", - /** "aws_ec2" */ - awsEc2: "aws_ec2", - /** "aws_ecs" */ - awsEcs: "aws_ecs", - /** "aws_eks" */ - awsEks: "aws_eks", - /** "aws_elastic_beanstalk" */ - awsElasticBeanstalk: "aws_elastic_beanstalk", - /** "aws_lambda" */ - awsLambda: "aws_lambda", - /** "aws_openshift" */ - awsOpenshift: "aws_openshift", - /** "azure.aks" */ - azureAks: "azure.aks", - /** "azure.app_service" */ - azureAppService: "azure.app_service", - /** "azure.container_apps" */ - azureContainerApps: "azure.container_apps", - /** "azure.container_instances" */ - azureContainerInstances: "azure.container_instances", - /** "azure.functions" */ - azureFunctions: "azure.functions", - /** "azure.openshift" */ - azureOpenshift: "azure.openshift", - /** "azure.vm" */ - azureVm: "azure.vm", - /** "gcp.agent_engine" */ - gcpAgentEngine: "gcp.agent_engine", - /** "gcp_app_engine" */ - gcpAppEngine: "gcp_app_engine", - /** "gcp_bare_metal_solution" */ - gcpBareMetalSolution: "gcp_bare_metal_solution", - /** "gcp_cloud_functions" */ - gcpCloudFunctions: "gcp_cloud_functions", - /** "gcp_cloud_run" */ - gcpCloudRun: "gcp_cloud_run", - /** "gcp_compute_engine" */ - gcpComputeEngine: "gcp_compute_engine", - /** "gcp_kubernetes_engine" */ - gcpKubernetesEngine: "gcp_kubernetes_engine", - /** "gcp_openshift" */ - gcpOpenshift: "gcp_openshift", - /** "hetzner.cloud_server" */ - hetznerCloudServer: "hetzner.cloud_server", - /** "ibm_cloud_openshift" */ - ibmCloudOpenshift: "ibm_cloud_openshift", - /** "oracle_cloud_compute" */ - oracleCloudCompute: "oracle_cloud_compute", - /** "oracle_cloud_oke" */ - oracleCloudOke: "oracle_cloud_oke", - /** "tencent_cloud_cvm" */ - tencentCloudCvm: "tencent_cloud_cvm", - /** "tencent_cloud_eks" */ - tencentCloudEks: "tencent_cloud_eks", - /** "tencent_cloud_scf" */ - tencentCloudScf: "tencent_cloud_scf", - /** "vultr.cloud_compute" */ - vultrCloudCompute: "vultr.cloud_compute", - /** Allow unknown/custom values */ - string, -} - -/** Known values for cloud.provider */ -union CloudProviderValue { - /** "akamai_cloud" */ - akamaiCloud: "akamai_cloud", - /** "alibaba_cloud" */ - alibabaCloud: "alibaba_cloud", - /** "aws" */ - aws: "aws", - /** "azure" */ - azure: "azure", - /** "gcp" */ - gcp: "gcp", - /** "heroku" */ - heroku: "heroku", - /** "hetzner" */ - hetzner: "hetzner", - /** "ibm_cloud" */ - ibmCloud: "ibm_cloud", - /** "oracle_cloud" */ - oracleCloud: "oracle_cloud", - /** "tencent_cloud" */ - tencentCloud: "tencent_cloud", - /** "vultr" */ - vultr: "vultr", - /** Allow unknown/custom values */ - string, -} - -/** Known values for container.cpu.state */ -union ContainerCpuStateValue { - /** "kernel" */ - kernel: "kernel", - /** "system" */ - system: "system", - /** "user" */ - user: "user", - /** Allow unknown/custom values */ - string, -} - -/** Known values for db.cassandra.consistency_level */ -union DbCassandraConsistencyLevelValue { - /** "all" */ - all: "all", - /** "any" */ - any: "any", - /** "each_quorum" */ - eachQuorum: "each_quorum", - /** "local_one" */ - localOne: "local_one", - /** "local_quorum" */ - localQuorum: "local_quorum", - /** "local_serial" */ - localSerial: "local_serial", - /** "one" */ - one: "one", - /** "quorum" */ - quorum: "quorum", - /** "serial" */ - serial: "serial", - /** "three" */ - three: "three", - /** "two" */ - two: "two", - /** Allow unknown/custom values */ - string, -} - -/** Known values for db.client.connection.state */ -union DbClientConnectionStateValue { - /** "idle" */ - idle: "idle", - /** "used" */ - used: "used", - /** Allow unknown/custom values */ - string, -} - -/** Known values for db.client.connections.state */ -union DbClientConnectionsStateValue { - /** "idle" */ - idle: "idle", - /** "used" */ - used: "used", - /** Allow unknown/custom values */ - string, -} - -/** Known values for db.cosmosdb.connection_mode */ -union DbCosmosdbConnectionModeValue { - /** "direct" */ - direct: "direct", - /** "gateway" */ - gateway: "gateway", - /** Allow unknown/custom values */ - string, -} - -/** Known values for db.cosmosdb.consistency_level */ -union DbCosmosdbConsistencyLevelValue { - /** "BoundedStaleness" */ - boundedStaleness: "BoundedStaleness", - /** "ConsistentPrefix" */ - consistentPrefix: "ConsistentPrefix", - /** "Eventual" */ - eventual: "Eventual", - /** "Session" */ - session: "Session", - /** "Strong" */ - strong: "Strong", - /** Allow unknown/custom values */ - string, -} - -/** Known values for db.cosmosdb.operation_type */ -union DbCosmosdbOperationTypeValue { - /** "batch" */ - batch: "batch", - /** "create" */ - create: "create", - /** "delete" */ - delete: "delete", - /** "execute" */ - execute: "execute", - /** "execute_javascript" */ - executeJavascript: "execute_javascript", - /** "head" */ - head: "head", - /** "head_feed" */ - headFeed: "head_feed", - /** "invalid" */ - invalid: "invalid", - /** "patch" */ - patch: "patch", - /** "query" */ - query: "query", - /** "query_plan" */ - queryPlan: "query_plan", - /** "read" */ - read: "read", - /** "read_feed" */ - readFeed: "read_feed", - /** "replace" */ - replace: "replace", - /** "upsert" */ - upsert: "upsert", - /** Allow unknown/custom values */ - string, -} - -/** Known values for db.system */ -union DbSystemValue { - /** "adabas" */ - adabas: "adabas", - /** "cache" */ - cache: "cache", - /** "cassandra" */ - cassandra: "cassandra", - /** "clickhouse" */ - clickhouse: "clickhouse", - /** "cloudscape" */ - cloudscape: "cloudscape", - /** "cockroachdb" */ - cockroachdb: "cockroachdb", - /** "coldfusion" */ - coldfusion: "coldfusion", - /** "cosmosdb" */ - cosmosdb: "cosmosdb", - /** "couchbase" */ - couchbase: "couchbase", - /** "couchdb" */ - couchdb: "couchdb", - /** "db2" */ - db2: "db2", - /** "derby" */ - derby: "derby", - /** "dynamodb" */ - dynamodb: "dynamodb", - /** "edb" */ - edb: "edb", - /** "elasticsearch" */ - elasticsearch: "elasticsearch", - /** "filemaker" */ - filemaker: "filemaker", - /** "firebird" */ - firebird: "firebird", - /** "firstsql" */ - firstsql: "firstsql", - /** "geode" */ - geode: "geode", - /** "h2" */ - h2: "h2", - /** "hanadb" */ - hanadb: "hanadb", - /** "hbase" */ - hbase: "hbase", - /** "hive" */ - hive: "hive", - /** "hsqldb" */ - hsqldb: "hsqldb", - /** "influxdb" */ - influxdb: "influxdb", - /** "informix" */ - informix: "informix", - /** "ingres" */ - ingres: "ingres", - /** "instantdb" */ - instantdb: "instantdb", - /** "interbase" */ - interbase: "interbase", - /** "intersystems_cache" */ - intersystemsCache: "intersystems_cache", - /** "mariadb" */ - mariadb: "mariadb", - /** "maxdb" */ - maxdb: "maxdb", - /** "memcached" */ - memcached: "memcached", - /** "mongodb" */ - mongodb: "mongodb", - /** "mssql" */ - mssql: "mssql", - /** "mssqlcompact" */ - mssqlcompact: "mssqlcompact", - /** "mysql" */ - mysql: "mysql", - /** "neo4j" */ - neo4j: "neo4j", - /** "netezza" */ - netezza: "netezza", - /** "opensearch" */ - opensearch: "opensearch", - /** "oracle" */ - oracle: "oracle", - /** "other_sql" */ - otherSql: "other_sql", - /** "pervasive" */ - pervasive: "pervasive", - /** "pointbase" */ - pointbase: "pointbase", - /** "postgresql" */ - postgresql: "postgresql", - /** "progress" */ - progress: "progress", - /** "redis" */ - redis: "redis", - /** "redshift" */ - redshift: "redshift", - /** "spanner" */ - spanner: "spanner", - /** "sqlite" */ - sqlite: "sqlite", - /** "sybase" */ - sybase: "sybase", - /** "teradata" */ - teradata: "teradata", - /** "trino" */ - trino: "trino", - /** "vertica" */ - vertica: "vertica", - /** Allow unknown/custom values */ - string, -} - -/** Known values for db.system.name */ -union DbSystemNameValue { - /** "actian.ingres" */ - actianIngres: "actian.ingres", - /** "aws.dynamodb" */ - awsDynamodb: "aws.dynamodb", - /** "aws.redshift" */ - awsRedshift: "aws.redshift", - /** "azure.cosmosdb" */ - azureCosmosdb: "azure.cosmosdb", - /** "cassandra" */ - cassandra: "cassandra", - /** "clickhouse" */ - clickhouse: "clickhouse", - /** "cockroachdb" */ - cockroachdb: "cockroachdb", - /** "couchbase" */ - couchbase: "couchbase", - /** "couchdb" */ - couchdb: "couchdb", - /** "derby" */ - derby: "derby", - /** "elasticsearch" */ - elasticsearch: "elasticsearch", - /** "firebirdsql" */ - firebirdsql: "firebirdsql", - /** "gcp.spanner" */ - gcpSpanner: "gcp.spanner", - /** "geode" */ - geode: "geode", - /** "h2database" */ - h2database: "h2database", - /** "hbase" */ - hbase: "hbase", - /** "hive" */ - hive: "hive", - /** "hsqldb" */ - hsqldb: "hsqldb", - /** "ibm.db2" */ - ibmDb2: "ibm.db2", - /** "ibm.informix" */ - ibmInformix: "ibm.informix", - /** "ibm.netezza" */ - ibmNetezza: "ibm.netezza", - /** "influxdb" */ - influxdb: "influxdb", - /** "instantdb" */ - instantdb: "instantdb", - /** "intersystems.cache" */ - intersystemsCache: "intersystems.cache", - /** "mariadb" */ - mariadb: "mariadb", - /** "memcached" */ - memcached: "memcached", - /** "microsoft.sql_server" */ - microsoftSqlServer: "microsoft.sql_server", - /** "mongodb" */ - mongodb: "mongodb", - /** "mysql" */ - mysql: "mysql", - /** "neo4j" */ - neo4j: "neo4j", - /** "opensearch" */ - opensearch: "opensearch", - /** "oracle.db" */ - oracleDb: "oracle.db", - /** "other_sql" */ - otherSql: "other_sql", - /** "postgresql" */ - postgresql: "postgresql", - /** "redis" */ - redis: "redis", - /** "sap.hana" */ - sapHana: "sap.hana", - /** "sap.maxdb" */ - sapMaxdb: "sap.maxdb", - /** "softwareag.adabas" */ - softwareagAdabas: "softwareag.adabas", - /** "sqlite" */ - sqlite: "sqlite", - /** "teradata" */ - teradata: "teradata", - /** "trino" */ - trino: "trino", - /** Allow unknown/custom values */ - string, -} - -/** Known values for deployment.status */ -union DeploymentStatusValue { - /** "failed" */ - failed: "failed", - /** "succeeded" */ - succeeded: "succeeded", - /** Allow unknown/custom values */ - string, -} - -/** Known values for dotnet.gc.heap.generation */ -union DotnetGcHeapGenerationValue { - /** "gen0" */ - gen0: "gen0", - /** "gen1" */ - gen1: "gen1", - /** "gen2" */ - gen2: "gen2", - /** "loh" */ - loh: "loh", - /** "poh" */ - poh: "poh", - /** Allow unknown/custom values */ - string, -} - -/** Known values for error.type */ -union ErrorTypeValue { - /** "_OTHER" */ - other: "_OTHER", - /** Allow unknown/custom values */ - string, -} - -/** Known values for faas.document.operation */ -union FaasDocumentOperationValue { - /** "delete" */ - delete: "delete", - /** "edit" */ - edit: "edit", - /** "insert" */ - insert: "insert", - /** Allow unknown/custom values */ - string, -} - -/** Known values for faas.invoked_provider */ -union FaasInvokedProviderValue { - /** "alibaba_cloud" */ - alibabaCloud: "alibaba_cloud", - /** "aws" */ - aws: "aws", - /** "azure" */ - azure: "azure", - /** "gcp" */ - gcp: "gcp", - /** "tencent_cloud" */ - tencentCloud: "tencent_cloud", - /** Allow unknown/custom values */ - string, -} - -/** Known values for faas.trigger */ -union FaasTriggerValue { - /** "datasource" */ - datasource: "datasource", - /** "http" */ - http: "http", - /** "other" */ - other: "other", - /** "pubsub" */ - pubsub: "pubsub", - /** "timer" */ - timer: "timer", - /** Allow unknown/custom values */ - string, -} - -/** Known values for feature_flag.evaluation.reason */ -union FeatureFlagEvaluationReasonValue { - /** "cached" */ - cached: "cached", - /** "default" */ - default: "default", - /** "disabled" */ - disabled: "disabled", - /** "error" */ - error: "error", - /** "split" */ - split: "split", - /** "stale" */ - stale: "stale", - /** "static" */ - static: "static", - /** "targeting_match" */ - targetingMatch: "targeting_match", - /** "unknown" */ - `unknown`: "unknown", - /** Allow unknown/custom values */ - string, -} - -/** Known values for feature_flag.result.reason */ -union FeatureFlagResultReasonValue { - /** "cached" */ - cached: "cached", - /** "default" */ - default: "default", - /** "disabled" */ - disabled: "disabled", - /** "error" */ - error: "error", - /** "split" */ - split: "split", - /** "stale" */ - stale: "stale", - /** "static" */ - static: "static", - /** "targeting_match" */ - targetingMatch: "targeting_match", - /** "unknown" */ - `unknown`: "unknown", - /** Allow unknown/custom values */ - string, -} - -/** Known values for gen_ai.openai.request.response_format */ -union GenAiOpenaiRequestResponseFormatValue { - /** "json_object" */ - jsonObject: "json_object", - /** "json_schema" */ - jsonSchema: "json_schema", - /** "text" */ - text: "text", - /** Allow unknown/custom values */ - string, -} - -/** Known values for gen_ai.openai.request.service_tier */ -union GenAiOpenaiRequestServiceTierValue { - /** "auto" */ - auto: "auto", - /** "default" */ - default: "default", - /** Allow unknown/custom values */ - string, -} - -/** Known values for gen_ai.operation.name */ -union GenAiOperationNameValue { - /** "chat" */ - chat: "chat", - /** "create_agent" */ - createAgent: "create_agent", - /** "embeddings" */ - embeddings: "embeddings", - /** "execute_tool" */ - executeTool: "execute_tool", - /** "generate_content" */ - generateContent: "generate_content", - /** "invoke_agent" */ - invokeAgent: "invoke_agent", - /** "retrieval" */ - retrieval: "retrieval", - /** "text_completion" */ - textCompletion: "text_completion", - /** Allow unknown/custom values */ - string, -} - -/** Known values for gen_ai.output.type */ -union GenAiOutputTypeValue { - /** "image" */ - image: "image", - /** "json" */ - json: "json", - /** "speech" */ - speech: "speech", - /** "text" */ - text: "text", - /** Allow unknown/custom values */ - string, -} - -/** Known values for gen_ai.provider.name */ -union GenAiProviderNameValue { - /** "anthropic" */ - anthropic: "anthropic", - /** "aws.bedrock" */ - awsBedrock: "aws.bedrock", - /** "azure.ai.inference" */ - azureAiInference: "azure.ai.inference", - /** "azure.ai.openai" */ - azureAiOpenai: "azure.ai.openai", - /** "cohere" */ - cohere: "cohere", - /** "deepseek" */ - deepseek: "deepseek", - /** "gcp.gemini" */ - gcpGemini: "gcp.gemini", - /** "gcp.gen_ai" */ - gcpGenAi: "gcp.gen_ai", - /** "gcp.vertex_ai" */ - gcpVertexAi: "gcp.vertex_ai", - /** "groq" */ - groq: "groq", - /** "ibm.watsonx.ai" */ - ibmWatsonxAi: "ibm.watsonx.ai", - /** "mistral_ai" */ - mistralAi: "mistral_ai", - /** "openai" */ - openai: "openai", - /** "perplexity" */ - perplexity: "perplexity", - /** "x_ai" */ - xAi: "x_ai", - /** Allow unknown/custom values */ - string, -} - -/** Known values for gen_ai.system */ -union GenAiSystemValue { - /** "anthropic" */ - anthropic: "anthropic", - /** "aws.bedrock" */ - awsBedrock: "aws.bedrock", - /** "az.ai.inference" */ - azAiInference: "az.ai.inference", - /** "az.ai.openai" */ - azAiOpenai: "az.ai.openai", - /** "azure.ai.inference" */ - azureAiInference: "azure.ai.inference", - /** "azure.ai.openai" */ - azureAiOpenai: "azure.ai.openai", - /** "cohere" */ - cohere: "cohere", - /** "deepseek" */ - deepseek: "deepseek", - /** "gcp.gemini" */ - gcpGemini: "gcp.gemini", - /** "gcp.gen_ai" */ - gcpGenAi: "gcp.gen_ai", - /** "gcp.vertex_ai" */ - gcpVertexAi: "gcp.vertex_ai", - /** "gemini" */ - gemini: "gemini", - /** "groq" */ - groq: "groq", - /** "ibm.watsonx.ai" */ - ibmWatsonxAi: "ibm.watsonx.ai", - /** "mistral_ai" */ - mistralAi: "mistral_ai", - /** "openai" */ - openai: "openai", - /** "perplexity" */ - perplexity: "perplexity", - /** "vertex_ai" */ - vertexAi: "vertex_ai", - /** "xai" */ - xai: "xai", - /** Allow unknown/custom values */ - string, -} - -/** Known values for gen_ai.token.type */ -union GenAiTokenTypeValue { - /** "output" */ - completion: "output", - /** "input" */ - input: "input", - /** "output" */ - output: "output", - /** Allow unknown/custom values */ - string, -} - -/** Known values for geo.continent.code */ -union GeoContinentCodeValue { - /** "AF" */ - af: "AF", - /** "AN" */ - an: "AN", - /** "AS" */ - as: "AS", - /** "EU" */ - eu: "EU", - /** "NA" */ - na: "NA", - /** "OC" */ - oc: "OC", - /** "SA" */ - sa: "SA", - /** Allow unknown/custom values */ - string, -} - -/** Known values for host.arch */ -union HostArchValue { - /** "amd64" */ - amd64: "amd64", - /** "arm32" */ - arm32: "arm32", - /** "arm64" */ - arm64: "arm64", - /** "ia64" */ - ia64: "ia64", - /** "ppc32" */ - ppc32: "ppc32", - /** "ppc64" */ - ppc64: "ppc64", - /** "s390x" */ - s390x: "s390x", - /** "x86" */ - x86: "x86", - /** Allow unknown/custom values */ - string, -} - -/** Known values for http.connection.state */ -union HttpConnectionStateValue { - /** "active" */ - active: "active", - /** "idle" */ - idle: "idle", - /** Allow unknown/custom values */ - string, -} - -/** Known values for http.flavor */ -union HttpFlavorValue { - /** "1.0" */ - http10: "1.0", - /** "1.1" */ - http11: "1.1", - /** "2.0" */ - http20: "2.0", - /** "3.0" */ - http30: "3.0", - /** "QUIC" */ - quic: "QUIC", - /** "SPDY" */ - spdy: "SPDY", - /** Allow unknown/custom values */ - string, -} - -/** Known values for http.request.method */ -union HttpRequestMethodValue { - /** "CONNECT" */ - connect: "CONNECT", - /** "DELETE" */ - delete: "DELETE", - /** "GET" */ - get: "GET", - /** "HEAD" */ - head: "HEAD", - /** "OPTIONS" */ - options: "OPTIONS", - /** "_OTHER" */ - other: "_OTHER", - /** "PATCH" */ - patch: "PATCH", - /** "POST" */ - post: "POST", - /** "PUT" */ - put: "PUT", - /** "QUERY" */ - query: "QUERY", - /** "TRACE" */ - trace: "TRACE", - /** Allow unknown/custom values */ - string, -} - -/** Known values for k8s.container.status.reason */ -union K8sContainerStatusReasonValue { - /** "Completed" */ - completed: "Completed", - /** "ContainerCannotRun" */ - containerCannotRun: "ContainerCannotRun", - /** "ContainerCreating" */ - containerCreating: "ContainerCreating", - /** "CrashLoopBackOff" */ - crashLoopBackOff: "CrashLoopBackOff", - /** "CreateContainerConfigError" */ - createContainerConfigError: "CreateContainerConfigError", - /** "ErrImagePull" */ - errImagePull: "ErrImagePull", - /** "Error" */ - error: "Error", - /** "ImagePullBackOff" */ - imagePullBackOff: "ImagePullBackOff", - /** "OOMKilled" */ - oomKilled: "OOMKilled", - /** Allow unknown/custom values */ - string, -} - -/** Known values for k8s.container.status.state */ -union K8sContainerStatusStateValue { - /** "running" */ - running: "running", - /** "terminated" */ - terminated: "terminated", - /** "waiting" */ - waiting: "waiting", - /** Allow unknown/custom values */ - string, -} - -/** Known values for k8s.namespace.phase */ -union K8sNamespacePhaseValue { - /** "active" */ - active: "active", - /** "terminating" */ - terminating: "terminating", - /** Allow unknown/custom values */ - string, -} - -/** Known values for k8s.node.condition.status */ -union K8sNodeConditionStatusValue { - /** "false" */ - conditionFalse: "false", - /** "true" */ - conditionTrue: "true", - /** "unknown" */ - conditionUnknown: "unknown", - /** Allow unknown/custom values */ - string, -} - -/** Known values for k8s.node.condition.type */ -union K8sNodeConditionTypeValue { - /** "DiskPressure" */ - diskPressure: "DiskPressure", - /** "MemoryPressure" */ - memoryPressure: "MemoryPressure", - /** "NetworkUnavailable" */ - networkUnavailable: "NetworkUnavailable", - /** "PIDPressure" */ - pidPressure: "PIDPressure", - /** "Ready" */ - ready: "Ready", - /** Allow unknown/custom values */ - string, -} - -/** Known values for k8s.pod.status.phase */ -union K8sPodStatusPhaseValue { - /** "Failed" */ - failed: "Failed", - /** "Pending" */ - pending: "Pending", - /** "Running" */ - running: "Running", - /** "Succeeded" */ - succeeded: "Succeeded", - /** "Unknown" */ - `unknown`: "Unknown", - /** Allow unknown/custom values */ - string, -} - -/** Known values for k8s.pod.status.reason */ -union K8sPodStatusReasonValue { - /** "Evicted" */ - evicted: "Evicted", - /** "NodeAffinity" */ - nodeAffinity: "NodeAffinity", - /** "NodeLost" */ - nodeLost: "NodeLost", - /** "Shutdown" */ - shutdown: "Shutdown", - /** "UnexpectedAdmissionError" */ - unexpectedAdmissionError: "UnexpectedAdmissionError", - /** Allow unknown/custom values */ - string, -} - -/** Known values for k8s.service.endpoint.address_type */ -union K8sServiceEndpointAddressTypeValue { - /** "FQDN" */ - fqdn: "FQDN", - /** "IPv4" */ - ipv4: "IPv4", - /** "IPv6" */ - ipv6: "IPv6", - /** Allow unknown/custom values */ - string, -} - -/** Known values for k8s.service.endpoint.condition */ -union K8sServiceEndpointConditionValue { - /** "ready" */ - ready: "ready", - /** "serving" */ - serving: "serving", - /** "terminating" */ - terminating: "terminating", - /** Allow unknown/custom values */ - string, -} - -/** Known values for k8s.service.type */ -union K8sServiceTypeValue { - /** "ClusterIP" */ - clusterIp: "ClusterIP", - /** "ExternalName" */ - externalName: "ExternalName", - /** "LoadBalancer" */ - loadBalancer: "LoadBalancer", - /** "NodePort" */ - nodePort: "NodePort", - /** Allow unknown/custom values */ - string, -} - -/** Known values for k8s.volume.type */ -union K8sVolumeTypeValue { - /** "configMap" */ - configMap: "configMap", - /** "downwardAPI" */ - downwardApi: "downwardAPI", - /** "emptyDir" */ - emptyDir: "emptyDir", - /** "local" */ - local: "local", - /** "persistentVolumeClaim" */ - persistentVolumeClaim: "persistentVolumeClaim", - /** "secret" */ - secret: "secret", - /** Allow unknown/custom values */ - string, -} - -/** Known values for log.iostream */ -union LogIostreamValue { - /** "stderr" */ - stderr: "stderr", - /** "stdout" */ - stdout: "stdout", - /** Allow unknown/custom values */ - string, -} - -/** Known values for messaging.operation.type */ -union MessagingOperationTypeValue { - /** "create" */ - create: "create", - /** "deliver" */ - deliver: "deliver", - /** "process" */ - process: "process", - /** "publish" */ - publish: "publish", - /** "receive" */ - receive: "receive", - /** "send" */ - send: "send", - /** "settle" */ - settle: "settle", - /** Allow unknown/custom values */ - string, -} - -/** Known values for messaging.rocketmq.consumption_model */ -union MessagingRocketmqConsumptionModelValue { - /** "broadcasting" */ - broadcasting: "broadcasting", - /** "clustering" */ - clustering: "clustering", - /** Allow unknown/custom values */ - string, -} - -/** Known values for messaging.rocketmq.message.type */ -union MessagingRocketmqMessageTypeValue { - /** "delay" */ - delay: "delay", - /** "fifo" */ - fifo: "fifo", - /** "normal" */ - normal: "normal", - /** "transaction" */ - transaction: "transaction", - /** Allow unknown/custom values */ - string, -} - -/** Known values for messaging.servicebus.disposition_status */ -union MessagingServicebusDispositionStatusValue { - /** "abandon" */ - abandon: "abandon", - /** "complete" */ - complete: "complete", - /** "dead_letter" */ - deadLetter: "dead_letter", - /** "defer" */ - defer: "defer", - /** Allow unknown/custom values */ - string, -} - -/** Known values for messaging.system */ -union MessagingSystemValue { - /** "activemq" */ - activemq: "activemq", - /** "aws.sns" */ - awsSns: "aws.sns", - /** "aws_sqs" */ - awsSqs: "aws_sqs", - /** "eventgrid" */ - eventgrid: "eventgrid", - /** "eventhubs" */ - eventhubs: "eventhubs", - /** "gcp_pubsub" */ - gcpPubsub: "gcp_pubsub", - /** "jms" */ - jms: "jms", - /** "kafka" */ - kafka: "kafka", - /** "pulsar" */ - pulsar: "pulsar", - /** "rabbitmq" */ - rabbitmq: "rabbitmq", - /** "rocketmq" */ - rocketmq: "rocketmq", - /** "servicebus" */ - servicebus: "servicebus", - /** Allow unknown/custom values */ - string, -} - -/** Known values for network.connection.state */ -union NetworkConnectionStateValue { - /** "close_wait" */ - closeWait: "close_wait", - /** "closed" */ - closed: "closed", - /** "closing" */ - closing: "closing", - /** "established" */ - established: "established", - /** "fin_wait_1" */ - finWait1: "fin_wait_1", - /** "fin_wait_2" */ - finWait2: "fin_wait_2", - /** "last_ack" */ - lastAck: "last_ack", - /** "listen" */ - listen: "listen", - /** "syn_received" */ - synReceived: "syn_received", - /** "syn_sent" */ - synSent: "syn_sent", - /** "time_wait" */ - timeWait: "time_wait", - /** Allow unknown/custom values */ - string, -} - -/** Known values for network.connection.subtype */ -union NetworkConnectionSubtypeValue { - /** "cdma" */ - cdma: "cdma", - /** "cdma2000_1xrtt" */ - cdma20001xrtt: "cdma2000_1xrtt", - /** "edge" */ - edge: "edge", - /** "ehrpd" */ - ehrpd: "ehrpd", - /** "evdo_0" */ - evdo0: "evdo_0", - /** "evdo_a" */ - evdoA: "evdo_a", - /** "evdo_b" */ - evdoB: "evdo_b", - /** "gprs" */ - gprs: "gprs", - /** "gsm" */ - gsm: "gsm", - /** "hsdpa" */ - hsdpa: "hsdpa", - /** "hspa" */ - hspa: "hspa", - /** "hspap" */ - hspap: "hspap", - /** "hsupa" */ - hsupa: "hsupa", - /** "iden" */ - iden: "iden", - /** "iwlan" */ - iwlan: "iwlan", - /** "lte" */ - lte: "lte", - /** "lte_ca" */ - lteCa: "lte_ca", - /** "nr" */ - nr: "nr", - /** "nrnsa" */ - nrnsa: "nrnsa", - /** "td_scdma" */ - tdScdma: "td_scdma", - /** "umts" */ - umts: "umts", - /** Allow unknown/custom values */ - string, -} - -/** Known values for network.connection.type */ -union NetworkConnectionTypeValue { - /** "cell" */ - cell: "cell", - /** "unavailable" */ - unavailable: "unavailable", - /** "unknown" */ - `unknown`: "unknown", - /** "wifi" */ - wifi: "wifi", - /** "wired" */ - wired: "wired", - /** Allow unknown/custom values */ - string, -} - -/** Known values for network.io.direction */ -union NetworkIoDirectionValue { - /** "receive" */ - receive: "receive", - /** "transmit" */ - transmit: "transmit", - /** Allow unknown/custom values */ - string, -} - -/** Known values for network.transport */ -union NetworkTransportValue { - /** "pipe" */ - pipe: "pipe", - /** "quic" */ - quic: "quic", - /** "tcp" */ - tcp: "tcp", - /** "udp" */ - udp: "udp", - /** "unix" */ - unix: "unix", - /** Allow unknown/custom values */ - string, -} - -/** Known values for network.type */ -union NetworkTypeValue { - /** "ipv4" */ - ipv4: "ipv4", - /** "ipv6" */ - ipv6: "ipv6", - /** Allow unknown/custom values */ - string, -} - -/** Known values for openai.api.type */ -union OpenaiApiTypeValue { - /** "chat_completions" */ - chatCompletions: "chat_completions", - /** "responses" */ - responses: "responses", - /** Allow unknown/custom values */ - string, -} - -/** Known values for openai.request.service_tier */ -union OpenaiRequestServiceTierValue { - /** "auto" */ - auto: "auto", - /** "default" */ - default: "default", - /** Allow unknown/custom values */ - string, -} - -/** Known values for os.type */ -union OsTypeValue { - /** "aix" */ - aix: "aix", - /** "darwin" */ - darwin: "darwin", - /** "dragonflybsd" */ - dragonflybsd: "dragonflybsd", - /** "freebsd" */ - freebsd: "freebsd", - /** "hpux" */ - hpux: "hpux", - /** "linux" */ - linux: "linux", - /** "netbsd" */ - netbsd: "netbsd", - /** "openbsd" */ - openbsd: "openbsd", - /** "solaris" */ - solaris: "solaris", - /** "windows" */ - windows: "windows", - /** "z_os" */ - zOs: "z_os", - /** "zos" */ - zos: "zos", - /** Allow unknown/custom values */ - string, -} - -/** Known values for otel.component.type */ -union OtelComponentTypeValue { - /** "batching_log_processor" */ - batchingLogProcessor: "batching_log_processor", - /** "batching_span_processor" */ - batchingSpanProcessor: "batching_span_processor", - /** "otlp_grpc_log_exporter" */ - otlpGrpcLogExporter: "otlp_grpc_log_exporter", - /** "otlp_grpc_metric_exporter" */ - otlpGrpcMetricExporter: "otlp_grpc_metric_exporter", - /** "otlp_grpc_span_exporter" */ - otlpGrpcSpanExporter: "otlp_grpc_span_exporter", - /** "otlp_http_json_log_exporter" */ - otlpHttpJsonLogExporter: "otlp_http_json_log_exporter", - /** "otlp_http_json_metric_exporter" */ - otlpHttpJsonMetricExporter: "otlp_http_json_metric_exporter", - /** "otlp_http_json_span_exporter" */ - otlpHttpJsonSpanExporter: "otlp_http_json_span_exporter", - /** "otlp_http_log_exporter" */ - otlpHttpLogExporter: "otlp_http_log_exporter", - /** "otlp_http_metric_exporter" */ - otlpHttpMetricExporter: "otlp_http_metric_exporter", - /** "otlp_http_span_exporter" */ - otlpHttpSpanExporter: "otlp_http_span_exporter", - /** "periodic_metric_reader" */ - periodicMetricReader: "periodic_metric_reader", - /** "prometheus_http_text_metric_exporter" */ - prometheusHttpTextMetricExporter: "prometheus_http_text_metric_exporter", - /** "simple_log_processor" */ - simpleLogProcessor: "simple_log_processor", - /** "simple_span_processor" */ - simpleSpanProcessor: "simple_span_processor", - /** "zipkin_http_span_exporter" */ - zipkinHttpSpanExporter: "zipkin_http_span_exporter", - /** Allow unknown/custom values */ - string, -} - -/** Known values for otel.span.parent.origin */ -union OtelSpanParentOriginValue { - /** "local" */ - local: "local", - /** "none" */ - none: "none", - /** "remote" */ - remote: "remote", - /** Allow unknown/custom values */ - string, -} - -/** Known values for otel.span.sampling_result */ -union OtelSpanSamplingResultValue { - /** "DROP" */ - drop: "DROP", - /** "RECORD_AND_SAMPLE" */ - recordAndSample: "RECORD_AND_SAMPLE", - /** "RECORD_ONLY" */ - recordOnly: "RECORD_ONLY", - /** Allow unknown/custom values */ - string, -} - -/** Known values for otel.status_code */ -union OtelStatusCodeValue { - /** "ERROR" */ - error: "ERROR", - /** "OK" */ - ok: "OK", - /** Allow unknown/custom values */ - string, -} - -/** Known values for process.context_switch.type */ -union ProcessContextSwitchTypeValue { - /** "involuntary" */ - involuntary: "involuntary", - /** "voluntary" */ - voluntary: "voluntary", - /** Allow unknown/custom values */ - string, -} - -/** Known values for process.cpu.state */ -union ProcessCpuStateValue { - /** "system" */ - system: "system", - /** "user" */ - user: "user", - /** "wait" */ - wait: "wait", - /** Allow unknown/custom values */ - string, -} - -/** Known values for process.paging.fault_type */ -union ProcessPagingFaultTypeValue { - /** "major" */ - major: "major", - /** "minor" */ - minor: "minor", - /** Allow unknown/custom values */ - string, -} - -/** Known values for process.state */ -union ProcessStateValue { - /** "defunct" */ - defunct: "defunct", - /** "running" */ - running: "running", - /** "sleeping" */ - sleeping: "sleeping", - /** "stopped" */ - stopped: "stopped", - /** Allow unknown/custom values */ - string, -} - -/** Known values for profile.frame.type */ -union ProfileFrameTypeValue { - /** "beam" */ - beam: "beam", - /** "cpython" */ - cpython: "cpython", - /** "dotnet" */ - dotnet: "dotnet", - /** "go" */ - go: "go", - /** "jvm" */ - jvm: "jvm", - /** "kernel" */ - kernel: "kernel", - /** "native" */ - native: "native", - /** "perl" */ - perl: "perl", - /** "php" */ - php: "php", - /** "ruby" */ - ruby: "ruby", - /** "rust" */ - rust: "rust", - /** "v8js" */ - v8js: "v8js", - /** Allow unknown/custom values */ - string, -} - -/** Known values for rpc.connect_rpc.error_code */ -union RpcConnectRpcErrorCodeValue { - /** "aborted" */ - aborted: "aborted", - /** "already_exists" */ - alreadyExists: "already_exists", - /** "cancelled" */ - cancelled: "cancelled", - /** "data_loss" */ - dataLoss: "data_loss", - /** "deadline_exceeded" */ - deadlineExceeded: "deadline_exceeded", - /** "failed_precondition" */ - failedPrecondition: "failed_precondition", - /** "internal" */ - internal: "internal", - /** "invalid_argument" */ - invalidArgument: "invalid_argument", - /** "not_found" */ - notFound: "not_found", - /** "out_of_range" */ - outOfRange: "out_of_range", - /** "permission_denied" */ - permissionDenied: "permission_denied", - /** "resource_exhausted" */ - resourceExhausted: "resource_exhausted", - /** "unauthenticated" */ - unauthenticated: "unauthenticated", - /** "unavailable" */ - unavailable: "unavailable", - /** "unimplemented" */ - unimplemented: "unimplemented", - /** "unknown" */ - `unknown`: "unknown", - /** Allow unknown/custom values */ - string, -} - -/** Known values for rpc.grpc.status_code */ -union RpcGrpcStatusCodeValue { - /** "10" */ - aborted: "10", - /** "6" */ - alreadyExists: "6", - /** "1" */ - cancelled: "1", - /** "15" */ - dataLoss: "15", - /** "4" */ - deadlineExceeded: "4", - /** "9" */ - failedPrecondition: "9", - /** "13" */ - internal: "13", - /** "3" */ - invalidArgument: "3", - /** "5" */ - notFound: "5", - /** "0" */ - ok: "0", - /** "11" */ - outOfRange: "11", - /** "7" */ - permissionDenied: "7", - /** "8" */ - resourceExhausted: "8", - /** "16" */ - unauthenticated: "16", - /** "14" */ - unavailable: "14", - /** "12" */ - unimplemented: "12", - /** "2" */ - `unknown`: "2", - /** Allow unknown/custom values */ - string, -} - -/** Known values for rpc.message.type */ -union RpcMessageTypeValue { - /** "RECEIVED" */ - received: "RECEIVED", - /** "SENT" */ - sent: "SENT", - /** Allow unknown/custom values */ - string, -} - -/** Known values for rpc.system */ -union RpcSystemValue { - /** "apache_dubbo" */ - apacheDubbo: "apache_dubbo", - /** "connect_rpc" */ - connectRpc: "connect_rpc", - /** "dotnet_wcf" */ - dotnetWcf: "dotnet_wcf", - /** "grpc" */ - grpc: "grpc", - /** "java_rmi" */ - javaRmi: "java_rmi", - /** "jsonrpc" */ - jsonrpc: "jsonrpc", - /** "onc_rpc" */ - oncRpc: "onc_rpc", - /** Allow unknown/custom values */ - string, -} - -/** Known values for rpc.system.name */ -union RpcSystemNameValue { - /** "connectrpc" */ - connectrpc: "connectrpc", - /** "dubbo" */ - dubbo: "dubbo", - /** "grpc" */ - grpc: "grpc", - /** "jsonrpc" */ - jsonrpc: "jsonrpc", - /** Allow unknown/custom values */ - string, -} - -/** Known values for service.criticality */ -union ServiceCriticalityValue { - /** "critical" */ - critical: "critical", - /** "high" */ - high: "high", - /** "low" */ - low: "low", - /** "medium" */ - medium: "medium", - /** Allow unknown/custom values */ - string, -} - -/** Known values for signalr.connection.status */ -union SignalrConnectionStatusValue { - /** "app_shutdown" */ - appShutdown: "app_shutdown", - /** "normal_closure" */ - normalClosure: "normal_closure", - /** "timeout" */ - timeout: "timeout", - /** Allow unknown/custom values */ - string, -} - -/** Known values for signalr.transport */ -union SignalrTransportValue { - /** "long_polling" */ - longPolling: "long_polling", - /** "server_sent_events" */ - serverSentEvents: "server_sent_events", - /** "web_sockets" */ - webSockets: "web_sockets", - /** Allow unknown/custom values */ - string, -} - -/** Known values for system.cpu.state */ -union SystemCpuStateValue { - /** "idle" */ - idle: "idle", - /** "interrupt" */ - interrupt: "interrupt", - /** "iowait" */ - iowait: "iowait", - /** "nice" */ - nice: "nice", - /** "steal" */ - steal: "steal", - /** "system" */ - system: "system", - /** "user" */ - user: "user", - /** Allow unknown/custom values */ - string, -} - -/** Known values for system.filesystem.state */ -union SystemFilesystemStateValue { - /** "free" */ - free: "free", - /** "reserved" */ - reserved: "reserved", - /** "used" */ - used: "used", - /** Allow unknown/custom values */ - string, -} - -/** Known values for system.filesystem.type */ -union SystemFilesystemTypeValue { - /** "exfat" */ - exfat: "exfat", - /** "ext4" */ - ext4: "ext4", - /** "fat32" */ - fat32: "fat32", - /** "hfsplus" */ - hfsplus: "hfsplus", - /** "ntfs" */ - ntfs: "ntfs", - /** "refs" */ - refs: "refs", - /** Allow unknown/custom values */ - string, -} - -/** Known values for system.memory.linux.slab.state */ -union SystemMemoryLinuxSlabStateValue { - /** "reclaimable" */ - reclaimable: "reclaimable", - /** "unreclaimable" */ - unreclaimable: "unreclaimable", - /** Allow unknown/custom values */ - string, -} - -/** Known values for system.memory.state */ -union SystemMemoryStateValue { - /** "buffers" */ - buffers: "buffers", - /** "cached" */ - cached: "cached", - /** "free" */ - free: "free", - /** "shared" */ - shared: "shared", - /** "used" */ - used: "used", - /** Allow unknown/custom values */ - string, -} - -/** Known values for system.network.state */ -union SystemNetworkStateValue { - /** "close" */ - close: "close", - /** "close_wait" */ - closeWait: "close_wait", - /** "closing" */ - closing: "closing", - /** "delete" */ - delete: "delete", - /** "established" */ - established: "established", - /** "fin_wait_1" */ - finWait1: "fin_wait_1", - /** "fin_wait_2" */ - finWait2: "fin_wait_2", - /** "last_ack" */ - lastAck: "last_ack", - /** "listen" */ - listen: "listen", - /** "syn_recv" */ - synRecv: "syn_recv", - /** "syn_sent" */ - synSent: "syn_sent", - /** "time_wait" */ - timeWait: "time_wait", - /** Allow unknown/custom values */ - string, -} - -/** Known values for system.paging.direction */ -union SystemPagingDirectionValue { - /** "in" */ - in: "in", - /** "out" */ - out: "out", - /** Allow unknown/custom values */ - string, -} - -/** Known values for system.paging.fault.type */ -union SystemPagingFaultTypeValue { - /** "major" */ - major: "major", - /** "minor" */ - minor: "minor", - /** Allow unknown/custom values */ - string, -} - -/** Known values for system.paging.state */ -union SystemPagingStateValue { - /** "free" */ - free: "free", - /** "used" */ - used: "used", - /** Allow unknown/custom values */ - string, -} - -/** Known values for system.paging.type */ -union SystemPagingTypeValue { - /** "major" */ - major: "major", - /** "minor" */ - minor: "minor", - /** Allow unknown/custom values */ - string, -} - -/** Known values for system.process.status */ -union SystemProcessStatusValue { - /** "defunct" */ - defunct: "defunct", - /** "running" */ - running: "running", - /** "sleeping" */ - sleeping: "sleeping", - /** "stopped" */ - stopped: "stopped", - /** Allow unknown/custom values */ - string, -} - -/** Known values for system.processes.status */ -union SystemProcessesStatusValue { - /** "defunct" */ - defunct: "defunct", - /** "running" */ - running: "running", - /** "sleeping" */ - sleeping: "sleeping", - /** "stopped" */ - stopped: "stopped", - /** Allow unknown/custom values */ - string, -} - -/** Known values for telemetry.sdk.language */ -union TelemetrySdkLanguageValue { - /** "cpp" */ - cpp: "cpp", - /** "dotnet" */ - dotnet: "dotnet", - /** "erlang" */ - erlang: "erlang", - /** "go" */ - go: "go", - /** "java" */ - java: "java", - /** "nodejs" */ - nodejs: "nodejs", - /** "php" */ - php: "php", - /** "python" */ - python: "python", - /** "ruby" */ - ruby: "ruby", - /** "rust" */ - rust: "rust", - /** "swift" */ - swift: "swift", - /** "webjs" */ - webjs: "webjs", - /** Allow unknown/custom values */ - string, -} - -/** Known values for test.case.result.status */ -union TestCaseResultStatusValue { - /** "fail" */ - fail: "fail", - /** "pass" */ - pass: "pass", - /** Allow unknown/custom values */ - string, -} - -/** Known values for test.suite.run.status */ -union TestSuiteRunStatusValue { - /** "aborted" */ - aborted: "aborted", - /** "failure" */ - failure: "failure", - /** "in_progress" */ - inProgress: "in_progress", - /** "skipped" */ - skipped: "skipped", - /** "success" */ - success: "success", - /** "timed_out" */ - timedOut: "timed_out", - /** Allow unknown/custom values */ - string, -} - -/** Known values for tls.protocol.name */ -union TlsProtocolNameValue { - /** "ssl" */ - ssl: "ssl", - /** "tls" */ - tls: "tls", - /** Allow unknown/custom values */ - string, -} - -/** Known values for user_agent.synthetic.type */ -union UserAgentSyntheticTypeValue { - /** "bot" */ - bot: "bot", - /** "test" */ - test: "test", - /** Allow unknown/custom values */ - string, -} - -/** Known values for vcs.change.state */ -union VcsChangeStateValue { - /** "closed" */ - closed: "closed", - /** "merged" */ - merged: "merged", - /** "open" */ - open: "open", - /** "wip" */ - wip: "wip", - /** Allow unknown/custom values */ - string, -} - -/** Known values for vcs.line_change.type */ -union VcsLineChangeTypeValue { - /** "added" */ - added: "added", - /** "removed" */ - removed: "removed", - /** Allow unknown/custom values */ - string, -} - -/** Known values for vcs.provider.name */ -union VcsProviderNameValue { - /** "bitbucket" */ - bitbucket: "bitbucket", - /** "gitea" */ - gitea: "gitea", - /** "github" */ - github: "github", - /** "gitlab" */ - gitlab: "gitlab", - /** "gittea" */ - gittea: "gittea", - /** Allow unknown/custom values */ - string, -} - -/** Known values for vcs.ref.base.type */ -union VcsRefBaseTypeValue { - /** "branch" */ - branch: "branch", - /** "tag" */ - tag: "tag", - /** Allow unknown/custom values */ - string, -} - -/** Known values for vcs.ref.head.type */ -union VcsRefHeadTypeValue { - /** "branch" */ - branch: "branch", - /** "tag" */ - tag: "tag", - /** Allow unknown/custom values */ - string, -} - -/** Known values for vcs.ref.type */ -union VcsRefTypeValue { - /** "branch" */ - branch: "branch", - /** "tag" */ - tag: "tag", - /** Allow unknown/custom values */ - string, -} - -/** Known values for vcs.repository.ref.type */ -union VcsRepositoryRefTypeValue { - /** "branch" */ - branch: "branch", - /** "tag" */ - tag: "tag", - /** Allow unknown/custom values */ - string, -} - -/** Known values for vcs.revision_delta.direction */ -union VcsRevisionDeltaDirectionValue { - /** "ahead" */ - ahead: "ahead", - /** "behind" */ - behind: "behind", - /** Allow unknown/custom values */ - string, -} - - -// ============================================================================ -// Per-Domain Attribute Models -// ============================================================================ -// One model per root namespace. Fields are optional and carry @encodedName so -// dotted semconv keys survive JSON serialization. -// ============================================================================ - -// ============================================================================ -// artifact.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for artifact.* */ -model ArtifactAttributes { - /** artifact.attestation.filename */ - @encodedName("application/json", "artifact.attestation.filename") - attestationFilename?: string; - - /** artifact.attestation.hash */ - @encodedName("application/json", "artifact.attestation.hash") - attestationHash?: string; - - /** artifact.attestation.id */ - @encodedName("application/json", "artifact.attestation.id") - attestationId?: string; - - /** artifact.filename */ - @encodedName("application/json", "artifact.filename") - filename?: string; - - /** artifact.hash */ - @encodedName("application/json", "artifact.hash") - hash?: string; - - /** artifact.purl */ - @encodedName("application/json", "artifact.purl") - purl?: string; - - /** artifact.version */ - @encodedName("application/json", "artifact.version") - version?: string; - -} - -// ============================================================================ -// aspnetcore.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for aspnetcore.* */ -model AspnetcoreAttributes { - /** aspnetcore.authentication.result */ - @encodedName("application/json", "aspnetcore.authentication.result") - authenticationResult?: AspnetcoreAuthenticationResultValue; - - /** aspnetcore.authentication.scheme */ - @encodedName("application/json", "aspnetcore.authentication.scheme") - authenticationScheme?: string; - - /** aspnetcore.authorization.policy */ - @encodedName("application/json", "aspnetcore.authorization.policy") - authorizationPolicy?: string; - - /** aspnetcore.authorization.result */ - @encodedName("application/json", "aspnetcore.authorization.result") - authorizationResult?: AspnetcoreAuthorizationResultValue; - - /** aspnetcore.diagnostics.exception.result */ - @encodedName("application/json", "aspnetcore.diagnostics.exception.result") - diagnosticsExceptionResult?: AspnetcoreDiagnosticsExceptionResultValue; - - /** aspnetcore.diagnostics.handler.type */ - @encodedName("application/json", "aspnetcore.diagnostics.handler.type") - diagnosticsHandlerType?: string; - - /** aspnetcore.identity.error_code */ - @encodedName("application/json", "aspnetcore.identity.error_code") - identityErrorCode?: string; - - /** aspnetcore.identity.password_check_result */ - @encodedName("application/json", "aspnetcore.identity.password_check_result") - identityPasswordCheckResult?: AspnetcoreIdentityPasswordCheckResultValue; - - /** aspnetcore.identity.result */ - @encodedName("application/json", "aspnetcore.identity.result") - identityResult?: AspnetcoreIdentityResultValue; - - /** aspnetcore.identity.sign_in.result */ - @encodedName("application/json", "aspnetcore.identity.sign_in.result") - identitySignInResult?: AspnetcoreIdentitySignInResultValue; - - /** aspnetcore.identity.sign_in.type */ - @encodedName("application/json", "aspnetcore.identity.sign_in.type") - identitySignInType?: AspnetcoreIdentitySignInTypeValue; - - /** aspnetcore.identity.token_purpose */ - @encodedName("application/json", "aspnetcore.identity.token_purpose") - identityTokenPurpose?: AspnetcoreIdentityTokenPurposeValue; - - /** aspnetcore.identity.token_verified */ - @encodedName("application/json", "aspnetcore.identity.token_verified") - identityTokenVerified?: AspnetcoreIdentityTokenVerifiedValue; - - /** aspnetcore.identity.user.update_type */ - @encodedName("application/json", "aspnetcore.identity.user.update_type") - identityUserUpdateType?: AspnetcoreIdentityUserUpdateTypeValue; - - /** aspnetcore.identity.user_type */ - @encodedName("application/json", "aspnetcore.identity.user_type") - identityUserType?: string; - - /** aspnetcore.memory_pool.owner */ - @encodedName("application/json", "aspnetcore.memory_pool.owner") - memoryPoolOwner?: string; - - /** aspnetcore.rate_limiting.policy */ - @encodedName("application/json", "aspnetcore.rate_limiting.policy") - rateLimitingPolicy?: string; - - /** aspnetcore.rate_limiting.result */ - @encodedName("application/json", "aspnetcore.rate_limiting.result") - rateLimitingResult?: AspnetcoreRateLimitingResultValue; - - /** aspnetcore.request.is_unhandled */ - @encodedName("application/json", "aspnetcore.request.is_unhandled") - requestIsUnhandled?: boolean; - - /** aspnetcore.routing.is_fallback */ - @encodedName("application/json", "aspnetcore.routing.is_fallback") - routingIsFallback?: boolean; - - /** aspnetcore.routing.match_status */ - @encodedName("application/json", "aspnetcore.routing.match_status") - routingMatchStatus?: AspnetcoreRoutingMatchStatusValue; - - /** aspnetcore.sign_in.is_persistent */ - @encodedName("application/json", "aspnetcore.sign_in.is_persistent") - signInIsPersistent?: boolean; - - /** aspnetcore.user.is_authenticated */ - @encodedName("application/json", "aspnetcore.user.is_authenticated") - userIsAuthenticated?: boolean; - -} - -// ============================================================================ -// azure.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for azure.* */ -model AzureAttributes { - /** azure.client.id */ - @encodedName("application/json", "azure.client.id") - clientId?: string; - - /** azure.cosmosdb.connection.mode */ - @encodedName("application/json", "azure.cosmosdb.connection.mode") - cosmosdbConnectionMode?: AzureCosmosdbConnectionModeValue; - - /** azure.cosmosdb.consistency.level */ - @encodedName("application/json", "azure.cosmosdb.consistency.level") - cosmosdbConsistencyLevel?: AzureCosmosdbConsistencyLevelValue; - - /** azure.cosmosdb.operation.contacted_regions */ - @encodedName("application/json", "azure.cosmosdb.operation.contacted_regions") - cosmosdbOperationContactedRegions?: string[]; - - /** azure.cosmosdb.operation.request_charge */ - @encodedName("application/json", "azure.cosmosdb.operation.request_charge") - cosmosdbOperationRequestCharge?: float64; - - /** azure.cosmosdb.request.body.size */ - @encodedName("application/json", "azure.cosmosdb.request.body.size") - cosmosdbRequestBodySize?: int64; - - /** azure.cosmosdb.response.sub_status_code */ - @encodedName("application/json", "azure.cosmosdb.response.sub_status_code") - cosmosdbResponseSubStatusCode?: int64; - - /** azure.resource_provider.namespace */ - @encodedName("application/json", "azure.resource_provider.namespace") - resourceProviderNamespace?: string; - - /** azure.service.request.id */ - @encodedName("application/json", "azure.service.request.id") - serviceRequestId?: string; - -} - -// ============================================================================ -// browser.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for browser.* */ -model BrowserAttributes { - /** browser.brands */ - @encodedName("application/json", "browser.brands") - brands?: string[]; - - /** browser.language */ - @encodedName("application/json", "browser.language") - language?: string; - - /** browser.mobile */ - @encodedName("application/json", "browser.mobile") - mobile?: boolean; - - /** browser.platform */ - @encodedName("application/json", "browser.platform") - platform?: string; - -} - -// ============================================================================ -// cicd.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for cicd.* */ -model CicdAttributes { - /** cicd.pipeline.action.name */ - @encodedName("application/json", "cicd.pipeline.action.name") - pipelineActionName?: CicdPipelineActionNameValue; - - /** cicd.pipeline.name */ - @encodedName("application/json", "cicd.pipeline.name") - pipelineName?: string; - - /** cicd.pipeline.result */ - @encodedName("application/json", "cicd.pipeline.result") - pipelineResult?: CicdPipelineResultValue; - - /** cicd.pipeline.run.id */ - @encodedName("application/json", "cicd.pipeline.run.id") - pipelineRunId?: string; - - /** cicd.pipeline.run.state */ - @encodedName("application/json", "cicd.pipeline.run.state") - pipelineRunState?: CicdPipelineRunStateValue; - - /** cicd.pipeline.run.url.full */ - @encodedName("application/json", "cicd.pipeline.run.url.full") - pipelineRunUrlFull?: string; - - /** cicd.pipeline.task.name */ - @encodedName("application/json", "cicd.pipeline.task.name") - pipelineTaskName?: string; - - /** cicd.pipeline.task.run.id */ - @encodedName("application/json", "cicd.pipeline.task.run.id") - pipelineTaskRunId?: string; - - /** cicd.pipeline.task.run.result */ - @encodedName("application/json", "cicd.pipeline.task.run.result") - pipelineTaskRunResult?: CicdPipelineTaskRunResultValue; - - /** cicd.pipeline.task.run.url.full */ - @encodedName("application/json", "cicd.pipeline.task.run.url.full") - pipelineTaskRunUrlFull?: string; - - /** cicd.pipeline.task.type */ - @encodedName("application/json", "cicd.pipeline.task.type") - pipelineTaskType?: CicdPipelineTaskTypeValue; - - /** cicd.system.component */ - @encodedName("application/json", "cicd.system.component") - systemComponent?: string; - - /** cicd.worker.id */ - @encodedName("application/json", "cicd.worker.id") - workerId?: string; - - /** cicd.worker.name */ - @encodedName("application/json", "cicd.worker.name") - workerName?: string; - - /** cicd.worker.state */ - @encodedName("application/json", "cicd.worker.state") - workerState?: CicdWorkerStateValue; - - /** cicd.worker.url.full */ - @encodedName("application/json", "cicd.worker.url.full") - workerUrlFull?: string; - -} - -// ============================================================================ -// client.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for client.* */ -model ClientAttributes { - /** client.address */ - @encodedName("application/json", "client.address") - address?: string; - - /** client.port */ - @encodedName("application/json", "client.port") - port?: int64; - -} - -// ============================================================================ -// cloud.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for cloud.* */ -model CloudAttributes { - /** cloud.account.id */ - @encodedName("application/json", "cloud.account.id") - accountId?: string; - - /** cloud.availability_zone */ - @encodedName("application/json", "cloud.availability_zone") - availabilityZone?: string; - - /** cloud.platform */ - @encodedName("application/json", "cloud.platform") - platform?: CloudPlatformValue; - - /** cloud.provider */ - @encodedName("application/json", "cloud.provider") - provider?: CloudProviderValue; - - /** cloud.region */ - @encodedName("application/json", "cloud.region") - region?: string; - - /** cloud.resource_id */ - @encodedName("application/json", "cloud.resource_id") - resourceId?: string; - -} - -// ============================================================================ -// code.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for code.* */ -model CodeAttributes { - /** code.column */ - @encodedName("application/json", "code.column") - column?: int64; - - /** code.column.number */ - @encodedName("application/json", "code.column.number") - columnNumber?: int64; - - /** code.file.path */ - @encodedName("application/json", "code.file.path") - filePath?: string; - - /** code.filepath */ - @encodedName("application/json", "code.filepath") - filepath?: string; - - /** code.function */ - @encodedName("application/json", "code.function") - function?: string; - - /** code.function.name */ - @encodedName("application/json", "code.function.name") - functionName?: string; - - /** code.line.number */ - @encodedName("application/json", "code.line.number") - lineNumber?: int64; - - /** code.lineno */ - @encodedName("application/json", "code.lineno") - lineno?: int64; - - /** code.namespace */ - @encodedName("application/json", "code.namespace") - `namespace`?: string; - - /** code.stacktrace */ - @encodedName("application/json", "code.stacktrace") - stacktrace?: string; - -} - -// ============================================================================ -// container.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for container.* */ -model ContainerAttributes { - /** container.command */ - @encodedName("application/json", "container.command") - command?: string; - - /** container.command_args */ - @encodedName("application/json", "container.command_args") - commandArgs?: string[]; - - /** container.command_line */ - @encodedName("application/json", "container.command_line") - commandLine?: string; - - /** container.cpu.state */ - @encodedName("application/json", "container.cpu.state") - cpuState?: ContainerCpuStateValue; - - /** container.csi.plugin.name */ - @encodedName("application/json", "container.csi.plugin.name") - csiPluginName?: string; - - /** container.csi.volume.id */ - @encodedName("application/json", "container.csi.volume.id") - csiVolumeId?: string; - - /** container.id */ - @encodedName("application/json", "container.id") - id?: string; - - /** container.image.id */ - @encodedName("application/json", "container.image.id") - imageId?: string; - - /** container.image.name */ - @encodedName("application/json", "container.image.name") - imageName?: string; - - /** container.image.repo_digests */ - @encodedName("application/json", "container.image.repo_digests") - imageRepoDigests?: string[]; - - /** container.image.tags */ - @encodedName("application/json", "container.image.tags") - imageTags?: string[]; - - /** container.label */ - @encodedName("application/json", "container.label") - label?: string; - - /** container.labels */ - @encodedName("application/json", "container.labels") - labels?: string; - - /** container.name */ - @encodedName("application/json", "container.name") - name?: string; - - /** container.runtime */ - @encodedName("application/json", "container.runtime") - runtime?: string; - - /** container.runtime.description */ - @encodedName("application/json", "container.runtime.description") - runtimeDescription?: string; - - /** container.runtime.name */ - @encodedName("application/json", "container.runtime.name") - runtimeName?: string; - - /** container.runtime.version */ - @encodedName("application/json", "container.runtime.version") - runtimeVersion?: string; - -} - -// ============================================================================ -// db.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for db.* */ -model DbAttributes { - /** db.cassandra.consistency_level */ - @encodedName("application/json", "db.cassandra.consistency_level") - cassandraConsistencyLevel?: DbCassandraConsistencyLevelValue; - - /** db.cassandra.coordinator.dc */ - @encodedName("application/json", "db.cassandra.coordinator.dc") - cassandraCoordinatorDc?: string; - - /** db.cassandra.coordinator.id */ - @encodedName("application/json", "db.cassandra.coordinator.id") - cassandraCoordinatorId?: string; - - /** db.cassandra.idempotence */ - @encodedName("application/json", "db.cassandra.idempotence") - cassandraIdempotence?: boolean; - - /** db.cassandra.page_size */ - @encodedName("application/json", "db.cassandra.page_size") - cassandraPageSize?: int64; - - /** db.cassandra.speculative_execution_count */ - @encodedName("application/json", "db.cassandra.speculative_execution_count") - cassandraSpeculativeExecutionCount?: int64; - - /** db.cassandra.table */ - @encodedName("application/json", "db.cassandra.table") - cassandraTable?: string; - - /** db.client.connection.pool.name */ - @encodedName("application/json", "db.client.connection.pool.name") - clientConnectionPoolName?: string; - - /** db.client.connection.state */ - @encodedName("application/json", "db.client.connection.state") - clientConnectionState?: DbClientConnectionStateValue; - - /** db.client.connections.pool.name */ - @encodedName("application/json", "db.client.connections.pool.name") - clientConnectionsPoolName?: string; - - /** db.client.connections.state */ - @encodedName("application/json", "db.client.connections.state") - clientConnectionsState?: DbClientConnectionsStateValue; - - /** db.collection.name */ - @encodedName("application/json", "db.collection.name") - collectionName?: string; - - /** db.connection_string */ - @encodedName("application/json", "db.connection_string") - connectionString?: string; - - /** db.cosmosdb.client_id */ - @encodedName("application/json", "db.cosmosdb.client_id") - cosmosdbClientId?: string; - - /** db.cosmosdb.connection_mode */ - @encodedName("application/json", "db.cosmosdb.connection_mode") - cosmosdbConnectionMode?: DbCosmosdbConnectionModeValue; - - /** db.cosmosdb.consistency_level */ - @encodedName("application/json", "db.cosmosdb.consistency_level") - cosmosdbConsistencyLevel?: DbCosmosdbConsistencyLevelValue; - - /** db.cosmosdb.container */ - @encodedName("application/json", "db.cosmosdb.container") - cosmosdbContainer?: string; - - /** db.cosmosdb.operation_type */ - @encodedName("application/json", "db.cosmosdb.operation_type") - cosmosdbOperationType?: DbCosmosdbOperationTypeValue; - - /** db.cosmosdb.regions_contacted */ - @encodedName("application/json", "db.cosmosdb.regions_contacted") - cosmosdbRegionsContacted?: string[]; - - /** db.cosmosdb.request_charge */ - @encodedName("application/json", "db.cosmosdb.request_charge") - cosmosdbRequestCharge?: float64; - - /** db.cosmosdb.request_content_length */ - @encodedName("application/json", "db.cosmosdb.request_content_length") - cosmosdbRequestContentLength?: int64; - - /** db.cosmosdb.status_code */ - @encodedName("application/json", "db.cosmosdb.status_code") - cosmosdbStatusCode?: int64; - - /** db.cosmosdb.sub_status_code */ - @encodedName("application/json", "db.cosmosdb.sub_status_code") - cosmosdbSubStatusCode?: int64; - - /** db.elasticsearch.cluster.name */ - @encodedName("application/json", "db.elasticsearch.cluster.name") - elasticsearchClusterName?: string; - - /** db.elasticsearch.node.name */ - @encodedName("application/json", "db.elasticsearch.node.name") - elasticsearchNodeName?: string; - - /** db.elasticsearch.path_parts */ - @encodedName("application/json", "db.elasticsearch.path_parts") - elasticsearchPathParts?: string; - - /** db.instance.id */ - @encodedName("application/json", "db.instance.id") - instanceId?: string; - - /** db.jdbc.driver_classname */ - @encodedName("application/json", "db.jdbc.driver_classname") - jdbcDriverClassname?: string; - - /** db.mongodb.collection */ - @encodedName("application/json", "db.mongodb.collection") - mongodbCollection?: string; - - /** db.mssql.instance_name */ - @encodedName("application/json", "db.mssql.instance_name") - mssqlInstanceName?: string; - - /** db.name */ - @encodedName("application/json", "db.name") - name?: string; - - /** db.namespace */ - @encodedName("application/json", "db.namespace") - `namespace`?: string; - - /** db.operation */ - @encodedName("application/json", "db.operation") - operation?: string; - - /** db.operation.batch.size */ - @encodedName("application/json", "db.operation.batch.size") - operationBatchSize?: int64; - - /** db.operation.name */ - @encodedName("application/json", "db.operation.name") - operationName?: string; - - /** db.operation.parameter */ - @encodedName("application/json", "db.operation.parameter") - operationParameter?: string; - - /** db.query.parameter */ - @encodedName("application/json", "db.query.parameter") - queryParameter?: string; - - /** db.query.summary */ - @encodedName("application/json", "db.query.summary") - querySummary?: string; - - /** db.query.text */ - @encodedName("application/json", "db.query.text") - queryText?: string; - - /** db.redis.database_index */ - @encodedName("application/json", "db.redis.database_index") - redisDatabaseIndex?: int64; - - /** db.response.returned_rows */ - @encodedName("application/json", "db.response.returned_rows") - responseReturnedRows?: int64; - - /** db.response.status_code */ - @encodedName("application/json", "db.response.status_code") - responseStatusCode?: string; - - /** db.sql.table */ - @encodedName("application/json", "db.sql.table") - sqlTable?: string; - - /** db.statement */ - @encodedName("application/json", "db.statement") - statement?: string; - - /** db.stored_procedure.name */ - @encodedName("application/json", "db.stored_procedure.name") - storedProcedureName?: string; - - /** db.system */ - @encodedName("application/json", "db.system") - system?: DbSystemValue; - - /** db.system.name */ - @encodedName("application/json", "db.system.name") - systemName?: DbSystemNameValue; - - /** db.user */ - @encodedName("application/json", "db.user") - user?: string; - -} - -// ============================================================================ -// deployment.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for deployment.* */ -model DeploymentAttributes { - /** deployment.environment */ - @encodedName("application/json", "deployment.environment") - environment?: string; - - /** deployment.environment.name */ - @encodedName("application/json", "deployment.environment.name") - environmentName?: string; - - /** deployment.id */ - @encodedName("application/json", "deployment.id") - id?: string; - - /** deployment.name */ - @encodedName("application/json", "deployment.name") - name?: string; - - /** deployment.status */ - @encodedName("application/json", "deployment.status") - status?: DeploymentStatusValue; - -} - -// ============================================================================ -// dns.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for dns.* */ -model DnsAttributes { - /** dns.answers */ - @encodedName("application/json", "dns.answers") - answers?: string[]; - - /** dns.question.name */ - @encodedName("application/json", "dns.question.name") - questionName?: string; - -} - -// ============================================================================ -// dotnet.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for dotnet.* */ -model DotnetAttributes { - /** dotnet.gc.heap.generation */ - @encodedName("application/json", "dotnet.gc.heap.generation") - gcHeapGeneration?: DotnetGcHeapGenerationValue; - -} - -// ============================================================================ -// elasticsearch.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for elasticsearch.* */ -model ElasticsearchAttributes { - /** elasticsearch.node.name */ - @encodedName("application/json", "elasticsearch.node.name") - nodeName?: string; - -} - -// ============================================================================ -// enduser.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for enduser.* */ -model EnduserAttributes { - /** enduser.id */ - @encodedName("application/json", "enduser.id") - id?: string; - - /** enduser.pseudo.id */ - @encodedName("application/json", "enduser.pseudo.id") - pseudoId?: string; - - /** enduser.role */ - @encodedName("application/json", "enduser.role") - role?: string; - - /** enduser.scope */ - @encodedName("application/json", "enduser.scope") - scope?: string; - -} - -// ============================================================================ -// error.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for error.* */ -model ErrorAttributes { - /** error.message */ - @encodedName("application/json", "error.message") - message?: string; - - /** error.type */ - @encodedName("application/json", "error.type") - type?: ErrorTypeValue; - -} - -// ============================================================================ -// exception.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for exception.* */ -model ExceptionAttributes { - /** exception.escaped */ - @encodedName("application/json", "exception.escaped") - escaped?: boolean; - - /** exception.message */ - @encodedName("application/json", "exception.message") - message?: string; - - /** exception.stacktrace */ - @encodedName("application/json", "exception.stacktrace") - stacktrace?: string; - - /** exception.type */ - @encodedName("application/json", "exception.type") - type?: string; - -} - -// ============================================================================ -// faas.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for faas.* */ -model FaasAttributes { - /** faas.coldstart */ - @encodedName("application/json", "faas.coldstart") - coldstart?: boolean; - - /** faas.cron */ - @encodedName("application/json", "faas.cron") - cron?: string; - - /** faas.document.collection */ - @encodedName("application/json", "faas.document.collection") - documentCollection?: string; - - /** faas.document.name */ - @encodedName("application/json", "faas.document.name") - documentName?: string; - - /** faas.document.operation */ - @encodedName("application/json", "faas.document.operation") - documentOperation?: FaasDocumentOperationValue; - - /** faas.document.time */ - @encodedName("application/json", "faas.document.time") - documentTime?: string; - - /** faas.instance */ - @encodedName("application/json", "faas.instance") - instance?: string; - - /** faas.invocation_id */ - @encodedName("application/json", "faas.invocation_id") - invocationId?: string; - - /** faas.invoked_name */ - @encodedName("application/json", "faas.invoked_name") - invokedName?: string; - - /** faas.invoked_provider */ - @encodedName("application/json", "faas.invoked_provider") - invokedProvider?: FaasInvokedProviderValue; - - /** faas.invoked_region */ - @encodedName("application/json", "faas.invoked_region") - invokedRegion?: string; - - /** faas.max_memory */ - @encodedName("application/json", "faas.max_memory") - maxMemory?: int64; - - /** faas.name */ - @encodedName("application/json", "faas.name") - name?: string; - - /** faas.time */ - @encodedName("application/json", "faas.time") - time?: string; - - /** faas.trigger */ - @encodedName("application/json", "faas.trigger") - trigger?: FaasTriggerValue; - - /** faas.version */ - @encodedName("application/json", "faas.version") - version?: string; - -} - -// ============================================================================ -// feature_flag.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for feature_flag.* */ -model FeatureFlagAttributes { - /** feature_flag.context.id */ - @encodedName("application/json", "feature_flag.context.id") - contextId?: string; - - /** feature_flag.error.message */ - @encodedName("application/json", "feature_flag.error.message") - errorMessage?: string; - - /** feature_flag.evaluation.error.message */ - @encodedName("application/json", "feature_flag.evaluation.error.message") - evaluationErrorMessage?: string; - - /** feature_flag.evaluation.reason */ - @encodedName("application/json", "feature_flag.evaluation.reason") - evaluationReason?: FeatureFlagEvaluationReasonValue; - - /** feature_flag.key */ - @encodedName("application/json", "feature_flag.key") - key?: string; - - /** feature_flag.provider.name */ - @encodedName("application/json", "feature_flag.provider.name") - providerName?: string; - - /** feature_flag.result.reason */ - @encodedName("application/json", "feature_flag.result.reason") - resultReason?: FeatureFlagResultReasonValue; - - /** feature_flag.result.value */ - @encodedName("application/json", "feature_flag.result.value") - resultValue?: string; - - /** feature_flag.result.variant */ - @encodedName("application/json", "feature_flag.result.variant") - resultVariant?: string; - - /** feature_flag.set.id */ - @encodedName("application/json", "feature_flag.set.id") - setId?: string; - - /** feature_flag.variant */ - @encodedName("application/json", "feature_flag.variant") - variant?: string; - - /** feature_flag.version */ - @encodedName("application/json", "feature_flag.version") - version?: string; - -} - -// ============================================================================ -// file.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for file.* */ -model FileAttributes { - /** file.accessed */ - @encodedName("application/json", "file.accessed") - accessed?: string; - - /** file.attributes */ - @encodedName("application/json", "file.attributes") - attributes?: string[]; - - /** file.changed */ - @encodedName("application/json", "file.changed") - changed?: string; - - /** file.created */ - @encodedName("application/json", "file.created") - created?: string; - - /** file.directory */ - @encodedName("application/json", "file.directory") - directory?: string; - - /** file.extension */ - @encodedName("application/json", "file.extension") - extension?: string; - - /** file.fork_name */ - @encodedName("application/json", "file.fork_name") - forkName?: string; - - /** file.group.id */ - @encodedName("application/json", "file.group.id") - groupId?: string; - - /** file.group.name */ - @encodedName("application/json", "file.group.name") - groupName?: string; - - /** file.inode */ - @encodedName("application/json", "file.inode") - inode?: string; - - /** file.mode */ - @encodedName("application/json", "file.mode") - mode?: string; - - /** file.modified */ - @encodedName("application/json", "file.modified") - modified?: string; - - /** file.name */ - @encodedName("application/json", "file.name") - name?: string; - - /** file.owner.id */ - @encodedName("application/json", "file.owner.id") - ownerId?: string; - - /** file.owner.name */ - @encodedName("application/json", "file.owner.name") - ownerName?: string; - - /** file.path */ - @encodedName("application/json", "file.path") - path?: string; - - /** file.size */ - @encodedName("application/json", "file.size") - size?: int64; - - /** file.symbolic_link.target_path */ - @encodedName("application/json", "file.symbolic_link.target_path") - symbolicLinkTargetPath?: string; - -} - -// ============================================================================ -// gen_ai.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for gen_ai.* */ -model GenAiAttributes { - /** gen_ai.agent.description */ - @encodedName("application/json", "gen_ai.agent.description") - agentDescription?: string; - - /** gen_ai.agent.id */ - @encodedName("application/json", "gen_ai.agent.id") - agentId?: string; - - /** gen_ai.agent.name */ - @encodedName("application/json", "gen_ai.agent.name") - agentName?: string; - - /** gen_ai.agent.version */ - @encodedName("application/json", "gen_ai.agent.version") - agentVersion?: string; - - /** gen_ai.completion */ - @encodedName("application/json", "gen_ai.completion") - completion?: string; - - /** gen_ai.conversation.id */ - @encodedName("application/json", "gen_ai.conversation.id") - conversationId?: string; - - /** gen_ai.data_source.id */ - @encodedName("application/json", "gen_ai.data_source.id") - dataSourceId?: string; - - /** gen_ai.embeddings.dimension.count */ - @encodedName("application/json", "gen_ai.embeddings.dimension.count") - embeddingsDimensionCount?: int64; - - /** gen_ai.evaluation.explanation */ - @encodedName("application/json", "gen_ai.evaluation.explanation") - evaluationExplanation?: string; - - /** gen_ai.evaluation.name */ - @encodedName("application/json", "gen_ai.evaluation.name") - evaluationName?: string; - - /** gen_ai.evaluation.score.label */ - @encodedName("application/json", "gen_ai.evaluation.score.label") - evaluationScoreLabel?: string; - - /** gen_ai.evaluation.score.value */ - @encodedName("application/json", "gen_ai.evaluation.score.value") - evaluationScoreValue?: float64; - - /** gen_ai.input.messages */ - @encodedName("application/json", "gen_ai.input.messages") - inputMessages?: string; - - /** gen_ai.openai.request.response_format */ - @encodedName("application/json", "gen_ai.openai.request.response_format") - openaiRequestResponseFormat?: GenAiOpenaiRequestResponseFormatValue; - - /** gen_ai.openai.request.seed */ - @encodedName("application/json", "gen_ai.openai.request.seed") - openaiRequestSeed?: int64; - - /** gen_ai.openai.request.service_tier */ - @encodedName("application/json", "gen_ai.openai.request.service_tier") - openaiRequestServiceTier?: GenAiOpenaiRequestServiceTierValue; - - /** gen_ai.openai.response.service_tier */ - @encodedName("application/json", "gen_ai.openai.response.service_tier") - openaiResponseServiceTier?: string; - - /** gen_ai.openai.response.system_fingerprint */ - @encodedName("application/json", "gen_ai.openai.response.system_fingerprint") - openaiResponseSystemFingerprint?: string; - - /** gen_ai.operation.name */ - @encodedName("application/json", "gen_ai.operation.name") - operationName?: GenAiOperationNameValue; - - /** gen_ai.output.messages */ - @encodedName("application/json", "gen_ai.output.messages") - outputMessages?: string; - - /** gen_ai.output.type */ - @encodedName("application/json", "gen_ai.output.type") - outputType?: GenAiOutputTypeValue; - - /** gen_ai.prompt */ - @encodedName("application/json", "gen_ai.prompt") - prompt?: string; - - /** gen_ai.prompt.name */ - @encodedName("application/json", "gen_ai.prompt.name") - promptName?: string; - - /** gen_ai.provider.name */ - @encodedName("application/json", "gen_ai.provider.name") - providerName?: GenAiProviderNameValue; - - /** gen_ai.request.choice.count */ - @encodedName("application/json", "gen_ai.request.choice.count") - requestChoiceCount?: int64; - - /** gen_ai.request.encoding_formats */ - @encodedName("application/json", "gen_ai.request.encoding_formats") - requestEncodingFormats?: string[]; - - /** gen_ai.request.frequency_penalty */ - @encodedName("application/json", "gen_ai.request.frequency_penalty") - requestFrequencyPenalty?: float64; - - /** gen_ai.request.max_tokens */ - @encodedName("application/json", "gen_ai.request.max_tokens") - requestMaxTokens?: int64; - - /** gen_ai.request.model */ - @encodedName("application/json", "gen_ai.request.model") - requestModel?: string; - - /** gen_ai.request.presence_penalty */ - @encodedName("application/json", "gen_ai.request.presence_penalty") - requestPresencePenalty?: float64; - - /** gen_ai.request.seed */ - @encodedName("application/json", "gen_ai.request.seed") - requestSeed?: int64; - - /** gen_ai.request.stop_sequences */ - @encodedName("application/json", "gen_ai.request.stop_sequences") - requestStopSequences?: string[]; - - /** gen_ai.request.temperature */ - @encodedName("application/json", "gen_ai.request.temperature") - requestTemperature?: float64; - - /** gen_ai.request.top_k */ - @encodedName("application/json", "gen_ai.request.top_k") - requestTopK?: float64; - - /** gen_ai.request.top_p */ - @encodedName("application/json", "gen_ai.request.top_p") - requestTopP?: float64; - - /** gen_ai.response.finish_reasons */ - @encodedName("application/json", "gen_ai.response.finish_reasons") - responseFinishReasons?: string[]; - - /** gen_ai.response.id */ - @encodedName("application/json", "gen_ai.response.id") - responseId?: string; - - /** gen_ai.response.model */ - @encodedName("application/json", "gen_ai.response.model") - responseModel?: string; - - /** gen_ai.retrieval.documents */ - @encodedName("application/json", "gen_ai.retrieval.documents") - retrievalDocuments?: string; - - /** gen_ai.retrieval.query.text */ - @encodedName("application/json", "gen_ai.retrieval.query.text") - retrievalQueryText?: string; - - /** gen_ai.system */ - @encodedName("application/json", "gen_ai.system") - system?: GenAiSystemValue; - - /** gen_ai.system_instructions */ - @encodedName("application/json", "gen_ai.system_instructions") - systemInstructions?: string; - - /** gen_ai.token.type */ - @encodedName("application/json", "gen_ai.token.type") - tokenType?: GenAiTokenTypeValue; - - /** gen_ai.tool.call.arguments */ - @encodedName("application/json", "gen_ai.tool.call.arguments") - toolCallArguments?: string; - - /** gen_ai.tool.call.id */ - @encodedName("application/json", "gen_ai.tool.call.id") - toolCallId?: string; - - /** gen_ai.tool.call.result */ - @encodedName("application/json", "gen_ai.tool.call.result") - toolCallResult?: string; - - /** gen_ai.tool.definitions */ - @encodedName("application/json", "gen_ai.tool.definitions") - toolDefinitions?: string; - - /** gen_ai.tool.description */ - @encodedName("application/json", "gen_ai.tool.description") - toolDescription?: string; - - /** gen_ai.tool.name */ - @encodedName("application/json", "gen_ai.tool.name") - toolName?: string; - - /** gen_ai.tool.type */ - @encodedName("application/json", "gen_ai.tool.type") - toolType?: string; - - /** gen_ai.usage.cache_creation.input_tokens */ - @encodedName("application/json", "gen_ai.usage.cache_creation.input_tokens") - usageCacheCreationInputTokens?: int64; - - /** gen_ai.usage.cache_read.input_tokens */ - @encodedName("application/json", "gen_ai.usage.cache_read.input_tokens") - usageCacheReadInputTokens?: int64; - - /** gen_ai.usage.completion_tokens */ - @encodedName("application/json", "gen_ai.usage.completion_tokens") - usageCompletionTokens?: int64; - - /** gen_ai.usage.input_tokens */ - @encodedName("application/json", "gen_ai.usage.input_tokens") - usageInputTokens?: int64; - - /** gen_ai.usage.output_tokens */ - @encodedName("application/json", "gen_ai.usage.output_tokens") - usageOutputTokens?: int64; - - /** gen_ai.usage.prompt_tokens */ - @encodedName("application/json", "gen_ai.usage.prompt_tokens") - usagePromptTokens?: int64; - -} - -// ============================================================================ -// geo.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for geo.* */ -model GeoAttributes { - /** geo.continent.code */ - @encodedName("application/json", "geo.continent.code") - continentCode?: GeoContinentCodeValue; - - /** geo.country.iso_code */ - @encodedName("application/json", "geo.country.iso_code") - countryIsoCode?: string; - - /** geo.locality.name */ - @encodedName("application/json", "geo.locality.name") - localityName?: string; - - /** geo.location.lat */ - @encodedName("application/json", "geo.location.lat") - locationLat?: float64; - - /** geo.location.lon */ - @encodedName("application/json", "geo.location.lon") - locationLon?: float64; - - /** geo.postal_code */ - @encodedName("application/json", "geo.postal_code") - postalCode?: string; - - /** geo.region.iso_code */ - @encodedName("application/json", "geo.region.iso_code") - regionIsoCode?: string; - -} - -// ============================================================================ -// host.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for host.* */ -model HostAttributes { - /** host.arch */ - @encodedName("application/json", "host.arch") - arch?: HostArchValue; - - /** host.cpu.cache.l2.size */ - @encodedName("application/json", "host.cpu.cache.l2.size") - cpuCacheL2Size?: int64; - - /** host.cpu.family */ - @encodedName("application/json", "host.cpu.family") - cpuFamily?: string; - - /** host.cpu.model.id */ - @encodedName("application/json", "host.cpu.model.id") - cpuModelId?: string; - - /** host.cpu.model.name */ - @encodedName("application/json", "host.cpu.model.name") - cpuModelName?: string; - - /** host.cpu.stepping */ - @encodedName("application/json", "host.cpu.stepping") - cpuStepping?: string; - - /** host.cpu.vendor.id */ - @encodedName("application/json", "host.cpu.vendor.id") - cpuVendorId?: string; - - /** host.id */ - @encodedName("application/json", "host.id") - id?: string; - - /** host.image.id */ - @encodedName("application/json", "host.image.id") - imageId?: string; - - /** host.image.name */ - @encodedName("application/json", "host.image.name") - imageName?: string; - - /** host.image.version */ - @encodedName("application/json", "host.image.version") - imageVersion?: string; - - /** host.ip */ - @encodedName("application/json", "host.ip") - ip?: string[]; - - /** host.mac */ - @encodedName("application/json", "host.mac") - mac?: string[]; - - /** host.name */ - @encodedName("application/json", "host.name") - name?: string; - - /** host.type */ - @encodedName("application/json", "host.type") - type?: string; - -} - -// ============================================================================ -// http.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for http.* */ -model HttpAttributes { - /** http.client_ip */ - @encodedName("application/json", "http.client_ip") - clientIp?: string; - - /** http.connection.state */ - @encodedName("application/json", "http.connection.state") - connectionState?: HttpConnectionStateValue; - - /** http.flavor */ - @encodedName("application/json", "http.flavor") - flavor?: HttpFlavorValue; - - /** http.host */ - @encodedName("application/json", "http.host") - host?: string; - - /** http.method */ - @encodedName("application/json", "http.method") - method?: string; - - /** http.request.body.size */ - @encodedName("application/json", "http.request.body.size") - requestBodySize?: int64; - - /** http.request.header */ - @encodedName("application/json", "http.request.header") - requestHeader?: string; - - /** http.request.method */ - @encodedName("application/json", "http.request.method") - requestMethod?: HttpRequestMethodValue; - - /** http.request.method_original */ - @encodedName("application/json", "http.request.method_original") - requestMethodOriginal?: string; - - /** http.request.resend_count */ - @encodedName("application/json", "http.request.resend_count") - requestResendCount?: int64; - - /** http.request.size */ - @encodedName("application/json", "http.request.size") - requestSize?: int64; - - /** http.request_content_length */ - @encodedName("application/json", "http.request_content_length") - requestContentLength?: int64; - - /** http.request_content_length_uncompressed */ - @encodedName("application/json", "http.request_content_length_uncompressed") - requestContentLengthUncompressed?: int64; - - /** http.response.body.size */ - @encodedName("application/json", "http.response.body.size") - responseBodySize?: int64; - - /** http.response.header */ - @encodedName("application/json", "http.response.header") - responseHeader?: string; - - /** http.response.size */ - @encodedName("application/json", "http.response.size") - responseSize?: int64; - - /** http.response.status_code */ - @encodedName("application/json", "http.response.status_code") - responseStatusCode?: int64; - - /** http.response_content_length */ - @encodedName("application/json", "http.response_content_length") - responseContentLength?: int64; - - /** http.response_content_length_uncompressed */ - @encodedName("application/json", "http.response_content_length_uncompressed") - responseContentLengthUncompressed?: int64; - - /** http.route */ - @encodedName("application/json", "http.route") - route?: string; - - /** http.scheme */ - @encodedName("application/json", "http.scheme") - scheme?: string; - - /** http.server_name */ - @encodedName("application/json", "http.server_name") - serverName?: string; - - /** http.status_code */ - @encodedName("application/json", "http.status_code") - statusCode?: int64; - - /** http.target */ - @encodedName("application/json", "http.target") - target?: string; - - /** http.url */ - @encodedName("application/json", "http.url") - url?: string; - - /** http.user_agent */ - @encodedName("application/json", "http.user_agent") - userAgent?: string; - -} - -// ============================================================================ -// k8s.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for k8s.* */ -model K8sAttributes { - /** k8s.cluster.name */ - @encodedName("application/json", "k8s.cluster.name") - clusterName?: string; - - /** k8s.cluster.uid */ - @encodedName("application/json", "k8s.cluster.uid") - clusterUid?: string; - - /** k8s.container.name */ - @encodedName("application/json", "k8s.container.name") - containerName?: string; - - /** k8s.container.restart_count */ - @encodedName("application/json", "k8s.container.restart_count") - containerRestartCount?: int64; - - /** k8s.container.status.last_terminated_reason */ - @encodedName("application/json", "k8s.container.status.last_terminated_reason") - containerStatusLastTerminatedReason?: string; - - /** k8s.container.status.reason */ - @encodedName("application/json", "k8s.container.status.reason") - containerStatusReason?: K8sContainerStatusReasonValue; - - /** k8s.container.status.state */ - @encodedName("application/json", "k8s.container.status.state") - containerStatusState?: K8sContainerStatusStateValue; - - /** k8s.cronjob.annotation */ - @encodedName("application/json", "k8s.cronjob.annotation") - cronjobAnnotation?: string; - - /** k8s.cronjob.label */ - @encodedName("application/json", "k8s.cronjob.label") - cronjobLabel?: string; - - /** k8s.cronjob.name */ - @encodedName("application/json", "k8s.cronjob.name") - cronjobName?: string; - - /** k8s.cronjob.uid */ - @encodedName("application/json", "k8s.cronjob.uid") - cronjobUid?: string; - - /** k8s.daemonset.annotation */ - @encodedName("application/json", "k8s.daemonset.annotation") - daemonsetAnnotation?: string; - - /** k8s.daemonset.label */ - @encodedName("application/json", "k8s.daemonset.label") - daemonsetLabel?: string; - - /** k8s.daemonset.name */ - @encodedName("application/json", "k8s.daemonset.name") - daemonsetName?: string; - - /** k8s.daemonset.uid */ - @encodedName("application/json", "k8s.daemonset.uid") - daemonsetUid?: string; - - /** k8s.deployment.annotation */ - @encodedName("application/json", "k8s.deployment.annotation") - deploymentAnnotation?: string; - - /** k8s.deployment.label */ - @encodedName("application/json", "k8s.deployment.label") - deploymentLabel?: string; - - /** k8s.deployment.name */ - @encodedName("application/json", "k8s.deployment.name") - deploymentName?: string; - - /** k8s.deployment.uid */ - @encodedName("application/json", "k8s.deployment.uid") - deploymentUid?: string; - - /** k8s.hpa.metric.type */ - @encodedName("application/json", "k8s.hpa.metric.type") - hpaMetricType?: string; - - /** k8s.hpa.name */ - @encodedName("application/json", "k8s.hpa.name") - hpaName?: string; - - /** k8s.hpa.scaletargetref.api_version */ - @encodedName("application/json", "k8s.hpa.scaletargetref.api_version") - hpaScaletargetrefApiVersion?: string; - - /** k8s.hpa.scaletargetref.kind */ - @encodedName("application/json", "k8s.hpa.scaletargetref.kind") - hpaScaletargetrefKind?: string; - - /** k8s.hpa.scaletargetref.name */ - @encodedName("application/json", "k8s.hpa.scaletargetref.name") - hpaScaletargetrefName?: string; - - /** k8s.hpa.uid */ - @encodedName("application/json", "k8s.hpa.uid") - hpaUid?: string; - - /** k8s.hugepage.size */ - @encodedName("application/json", "k8s.hugepage.size") - hugepageSize?: string; - - /** k8s.job.annotation */ - @encodedName("application/json", "k8s.job.annotation") - jobAnnotation?: string; - - /** k8s.job.label */ - @encodedName("application/json", "k8s.job.label") - jobLabel?: string; - - /** k8s.job.name */ - @encodedName("application/json", "k8s.job.name") - jobName?: string; - - /** k8s.job.uid */ - @encodedName("application/json", "k8s.job.uid") - jobUid?: string; - - /** k8s.namespace.annotation */ - @encodedName("application/json", "k8s.namespace.annotation") - namespaceAnnotation?: string; - - /** k8s.namespace.label */ - @encodedName("application/json", "k8s.namespace.label") - namespaceLabel?: string; - - /** k8s.namespace.name */ - @encodedName("application/json", "k8s.namespace.name") - namespaceName?: string; - - /** k8s.namespace.phase */ - @encodedName("application/json", "k8s.namespace.phase") - namespacePhase?: K8sNamespacePhaseValue; - - /** k8s.node.annotation */ - @encodedName("application/json", "k8s.node.annotation") - nodeAnnotation?: string; - - /** k8s.node.condition.status */ - @encodedName("application/json", "k8s.node.condition.status") - nodeConditionStatus?: K8sNodeConditionStatusValue; - - /** k8s.node.condition.type */ - @encodedName("application/json", "k8s.node.condition.type") - nodeConditionType?: K8sNodeConditionTypeValue; - - /** k8s.node.label */ - @encodedName("application/json", "k8s.node.label") - nodeLabel?: string; - - /** k8s.node.name */ - @encodedName("application/json", "k8s.node.name") - nodeName?: string; - - /** k8s.node.uid */ - @encodedName("application/json", "k8s.node.uid") - nodeUid?: string; - - /** k8s.pod.annotation */ - @encodedName("application/json", "k8s.pod.annotation") - podAnnotation?: string; - - /** k8s.pod.hostname */ - @encodedName("application/json", "k8s.pod.hostname") - podHostname?: string; - - /** k8s.pod.ip */ - @encodedName("application/json", "k8s.pod.ip") - podIp?: string; - - /** k8s.pod.label */ - @encodedName("application/json", "k8s.pod.label") - podLabel?: string; - - /** k8s.pod.labels */ - @encodedName("application/json", "k8s.pod.labels") - podLabels?: string; - - /** k8s.pod.name */ - @encodedName("application/json", "k8s.pod.name") - podName?: string; - - /** k8s.pod.start_time */ - @encodedName("application/json", "k8s.pod.start_time") - podStartTime?: string; - - /** k8s.pod.status.phase */ - @encodedName("application/json", "k8s.pod.status.phase") - podStatusPhase?: K8sPodStatusPhaseValue; - - /** k8s.pod.status.reason */ - @encodedName("application/json", "k8s.pod.status.reason") - podStatusReason?: K8sPodStatusReasonValue; - - /** k8s.pod.uid */ - @encodedName("application/json", "k8s.pod.uid") - podUid?: string; - - /** k8s.replicaset.annotation */ - @encodedName("application/json", "k8s.replicaset.annotation") - replicasetAnnotation?: string; - - /** k8s.replicaset.label */ - @encodedName("application/json", "k8s.replicaset.label") - replicasetLabel?: string; - - /** k8s.replicaset.name */ - @encodedName("application/json", "k8s.replicaset.name") - replicasetName?: string; - - /** k8s.replicaset.uid */ - @encodedName("application/json", "k8s.replicaset.uid") - replicasetUid?: string; - - /** k8s.replicationcontroller.name */ - @encodedName("application/json", "k8s.replicationcontroller.name") - replicationcontrollerName?: string; - - /** k8s.replicationcontroller.uid */ - @encodedName("application/json", "k8s.replicationcontroller.uid") - replicationcontrollerUid?: string; - - /** k8s.resourcequota.name */ - @encodedName("application/json", "k8s.resourcequota.name") - resourcequotaName?: string; - - /** k8s.resourcequota.resource_name */ - @encodedName("application/json", "k8s.resourcequota.resource_name") - resourcequotaResourceName?: string; - - /** k8s.resourcequota.uid */ - @encodedName("application/json", "k8s.resourcequota.uid") - resourcequotaUid?: string; - - /** k8s.service.annotation */ - @encodedName("application/json", "k8s.service.annotation") - serviceAnnotation?: string; - - /** k8s.service.endpoint.address_type */ - @encodedName("application/json", "k8s.service.endpoint.address_type") - serviceEndpointAddressType?: K8sServiceEndpointAddressTypeValue; - - /** k8s.service.endpoint.condition */ - @encodedName("application/json", "k8s.service.endpoint.condition") - serviceEndpointCondition?: K8sServiceEndpointConditionValue; - - /** k8s.service.endpoint.zone */ - @encodedName("application/json", "k8s.service.endpoint.zone") - serviceEndpointZone?: string; - - /** k8s.service.label */ - @encodedName("application/json", "k8s.service.label") - serviceLabel?: string; - - /** k8s.service.name */ - @encodedName("application/json", "k8s.service.name") - serviceName?: string; - - /** k8s.service.publish_not_ready_addresses */ - @encodedName("application/json", "k8s.service.publish_not_ready_addresses") - servicePublishNotReadyAddresses?: boolean; - - /** k8s.service.selector */ - @encodedName("application/json", "k8s.service.selector") - serviceSelector?: string; - - /** k8s.service.traffic_distribution */ - @encodedName("application/json", "k8s.service.traffic_distribution") - serviceTrafficDistribution?: string; - - /** k8s.service.type */ - @encodedName("application/json", "k8s.service.type") - serviceType?: K8sServiceTypeValue; - - /** k8s.service.uid */ - @encodedName("application/json", "k8s.service.uid") - serviceUid?: string; - - /** k8s.statefulset.annotation */ - @encodedName("application/json", "k8s.statefulset.annotation") - statefulsetAnnotation?: string; - - /** k8s.statefulset.label */ - @encodedName("application/json", "k8s.statefulset.label") - statefulsetLabel?: string; - - /** k8s.statefulset.name */ - @encodedName("application/json", "k8s.statefulset.name") - statefulsetName?: string; - - /** k8s.statefulset.uid */ - @encodedName("application/json", "k8s.statefulset.uid") - statefulsetUid?: string; - - /** k8s.storageclass.name */ - @encodedName("application/json", "k8s.storageclass.name") - storageclassName?: string; - - /** k8s.volume.name */ - @encodedName("application/json", "k8s.volume.name") - volumeName?: string; - - /** k8s.volume.type */ - @encodedName("application/json", "k8s.volume.type") - volumeType?: K8sVolumeTypeValue; - -} - -// ============================================================================ -// log.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for log.* */ -model LogAttributes { - /** log.file.name */ - @encodedName("application/json", "log.file.name") - fileName?: string; - - /** log.file.name_resolved */ - @encodedName("application/json", "log.file.name_resolved") - fileNameResolved?: string; - - /** log.file.path */ - @encodedName("application/json", "log.file.path") - filePath?: string; - - /** log.file.path_resolved */ - @encodedName("application/json", "log.file.path_resolved") - filePathResolved?: string; - - /** log.iostream */ - @encodedName("application/json", "log.iostream") - iostream?: LogIostreamValue; - - /** log.record.original */ - @encodedName("application/json", "log.record.original") - recordOriginal?: string; - - /** log.record.uid */ - @encodedName("application/json", "log.record.uid") - recordUid?: string; - -} - -// ============================================================================ -// messaging.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for messaging.* */ -model MessagingAttributes { - /** messaging.batch.message_count */ - @encodedName("application/json", "messaging.batch.message_count") - batchMessageCount?: int64; - - /** messaging.client.id */ - @encodedName("application/json", "messaging.client.id") - clientId?: string; - - /** messaging.consumer.group.name */ - @encodedName("application/json", "messaging.consumer.group.name") - consumerGroupName?: string; - - /** messaging.destination.anonymous */ - @encodedName("application/json", "messaging.destination.anonymous") - destinationAnonymous?: boolean; - - /** messaging.destination.name */ - @encodedName("application/json", "messaging.destination.name") - destinationName?: string; - - /** messaging.destination.partition.id */ - @encodedName("application/json", "messaging.destination.partition.id") - destinationPartitionId?: string; - - /** messaging.destination.subscription.name */ - @encodedName("application/json", "messaging.destination.subscription.name") - destinationSubscriptionName?: string; - - /** messaging.destination.template */ - @encodedName("application/json", "messaging.destination.template") - destinationTemplate?: string; - - /** messaging.destination.temporary */ - @encodedName("application/json", "messaging.destination.temporary") - destinationTemporary?: boolean; - - /** messaging.destination_publish.anonymous */ - @encodedName("application/json", "messaging.destination_publish.anonymous") - destinationPublishAnonymous?: boolean; - - /** messaging.destination_publish.name */ - @encodedName("application/json", "messaging.destination_publish.name") - destinationPublishName?: string; - - /** messaging.eventhubs.consumer.group */ - @encodedName("application/json", "messaging.eventhubs.consumer.group") - eventhubsConsumerGroup?: string; - - /** messaging.eventhubs.message.enqueued_time */ - @encodedName("application/json", "messaging.eventhubs.message.enqueued_time") - eventhubsMessageEnqueuedTime?: int64; - - /** messaging.gcp_pubsub.message.ack_deadline */ - @encodedName("application/json", "messaging.gcp_pubsub.message.ack_deadline") - gcpPubsubMessageAckDeadline?: int64; - - /** messaging.gcp_pubsub.message.ack_id */ - @encodedName("application/json", "messaging.gcp_pubsub.message.ack_id") - gcpPubsubMessageAckId?: string; - - /** messaging.gcp_pubsub.message.delivery_attempt */ - @encodedName("application/json", "messaging.gcp_pubsub.message.delivery_attempt") - gcpPubsubMessageDeliveryAttempt?: int64; - - /** messaging.gcp_pubsub.message.ordering_key */ - @encodedName("application/json", "messaging.gcp_pubsub.message.ordering_key") - gcpPubsubMessageOrderingKey?: string; - - /** messaging.kafka.consumer.group */ - @encodedName("application/json", "messaging.kafka.consumer.group") - kafkaConsumerGroup?: string; - - /** messaging.kafka.destination.partition */ - @encodedName("application/json", "messaging.kafka.destination.partition") - kafkaDestinationPartition?: int64; - - /** messaging.kafka.message.key */ - @encodedName("application/json", "messaging.kafka.message.key") - kafkaMessageKey?: string; - - /** messaging.kafka.message.offset */ - @encodedName("application/json", "messaging.kafka.message.offset") - kafkaMessageOffset?: int64; - - /** messaging.kafka.message.tombstone */ - @encodedName("application/json", "messaging.kafka.message.tombstone") - kafkaMessageTombstone?: boolean; - - /** messaging.kafka.offset */ - @encodedName("application/json", "messaging.kafka.offset") - kafkaOffset?: int64; - - /** messaging.message.body.size */ - @encodedName("application/json", "messaging.message.body.size") - messageBodySize?: int64; - - /** messaging.message.conversation_id */ - @encodedName("application/json", "messaging.message.conversation_id") - messageConversationId?: string; - - /** messaging.message.envelope.size */ - @encodedName("application/json", "messaging.message.envelope.size") - messageEnvelopeSize?: int64; - - /** messaging.message.id */ - @encodedName("application/json", "messaging.message.id") - messageId?: string; - - /** messaging.operation */ - @encodedName("application/json", "messaging.operation") - operation?: string; - - /** messaging.operation.name */ - @encodedName("application/json", "messaging.operation.name") - operationName?: string; - - /** messaging.operation.type */ - @encodedName("application/json", "messaging.operation.type") - operationType?: MessagingOperationTypeValue; - - /** messaging.rabbitmq.destination.routing_key */ - @encodedName("application/json", "messaging.rabbitmq.destination.routing_key") - rabbitmqDestinationRoutingKey?: string; - - /** messaging.rabbitmq.message.delivery_tag */ - @encodedName("application/json", "messaging.rabbitmq.message.delivery_tag") - rabbitmqMessageDeliveryTag?: int64; - - /** messaging.rocketmq.client_group */ - @encodedName("application/json", "messaging.rocketmq.client_group") - rocketmqClientGroup?: string; - - /** messaging.rocketmq.consumption_model */ - @encodedName("application/json", "messaging.rocketmq.consumption_model") - rocketmqConsumptionModel?: MessagingRocketmqConsumptionModelValue; - - /** messaging.rocketmq.message.delay_time_level */ - @encodedName("application/json", "messaging.rocketmq.message.delay_time_level") - rocketmqMessageDelayTimeLevel?: int64; - - /** messaging.rocketmq.message.delivery_timestamp */ - @encodedName("application/json", "messaging.rocketmq.message.delivery_timestamp") - rocketmqMessageDeliveryTimestamp?: int64; - - /** messaging.rocketmq.message.group */ - @encodedName("application/json", "messaging.rocketmq.message.group") - rocketmqMessageGroup?: string; - - /** messaging.rocketmq.message.keys */ - @encodedName("application/json", "messaging.rocketmq.message.keys") - rocketmqMessageKeys?: string[]; - - /** messaging.rocketmq.message.tag */ - @encodedName("application/json", "messaging.rocketmq.message.tag") - rocketmqMessageTag?: string; - - /** messaging.rocketmq.message.type */ - @encodedName("application/json", "messaging.rocketmq.message.type") - rocketmqMessageType?: MessagingRocketmqMessageTypeValue; - - /** messaging.rocketmq.namespace */ - @encodedName("application/json", "messaging.rocketmq.namespace") - rocketmqNamespace?: string; - - /** messaging.servicebus.destination.subscription_name */ - @encodedName("application/json", "messaging.servicebus.destination.subscription_name") - servicebusDestinationSubscriptionName?: string; - - /** messaging.servicebus.disposition_status */ - @encodedName("application/json", "messaging.servicebus.disposition_status") - servicebusDispositionStatus?: MessagingServicebusDispositionStatusValue; - - /** messaging.servicebus.message.delivery_count */ - @encodedName("application/json", "messaging.servicebus.message.delivery_count") - servicebusMessageDeliveryCount?: int64; - - /** messaging.servicebus.message.enqueued_time */ - @encodedName("application/json", "messaging.servicebus.message.enqueued_time") - servicebusMessageEnqueuedTime?: int64; - - /** messaging.system */ - @encodedName("application/json", "messaging.system") - system?: MessagingSystemValue; - -} - -// ============================================================================ -// network.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for network.* */ -model NetworkAttributes { - /** network.carrier.icc */ - @encodedName("application/json", "network.carrier.icc") - carrierIcc?: string; - - /** network.carrier.mcc */ - @encodedName("application/json", "network.carrier.mcc") - carrierMcc?: string; - - /** network.carrier.mnc */ - @encodedName("application/json", "network.carrier.mnc") - carrierMnc?: string; - - /** network.carrier.name */ - @encodedName("application/json", "network.carrier.name") - carrierName?: string; - - /** network.connection.state */ - @encodedName("application/json", "network.connection.state") - connectionState?: NetworkConnectionStateValue; - - /** network.connection.subtype */ - @encodedName("application/json", "network.connection.subtype") - connectionSubtype?: NetworkConnectionSubtypeValue; - - /** network.connection.type */ - @encodedName("application/json", "network.connection.type") - connectionType?: NetworkConnectionTypeValue; - - /** network.interface.name */ - @encodedName("application/json", "network.interface.name") - interfaceName?: string; - - /** network.io.direction */ - @encodedName("application/json", "network.io.direction") - ioDirection?: NetworkIoDirectionValue; - - /** network.local.address */ - @encodedName("application/json", "network.local.address") - localAddress?: string; - - /** network.local.port */ - @encodedName("application/json", "network.local.port") - localPort?: int64; - - /** network.peer.address */ - @encodedName("application/json", "network.peer.address") - peerAddress?: string; - - /** network.peer.port */ - @encodedName("application/json", "network.peer.port") - peerPort?: int64; - - /** network.protocol.name */ - @encodedName("application/json", "network.protocol.name") - protocolName?: string; - - /** network.protocol.version */ - @encodedName("application/json", "network.protocol.version") - protocolVersion?: string; - - /** network.transport */ - @encodedName("application/json", "network.transport") - transport?: NetworkTransportValue; - - /** network.type */ - @encodedName("application/json", "network.type") - type?: NetworkTypeValue; - -} - -// ============================================================================ -// openai.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for openai.* */ -model OpenaiAttributes { - /** openai.api.type */ - @encodedName("application/json", "openai.api.type") - apiType?: OpenaiApiTypeValue; - - /** openai.request.service_tier */ - @encodedName("application/json", "openai.request.service_tier") - requestServiceTier?: OpenaiRequestServiceTierValue; - - /** openai.response.service_tier */ - @encodedName("application/json", "openai.response.service_tier") - responseServiceTier?: string; - - /** openai.response.system_fingerprint */ - @encodedName("application/json", "openai.response.system_fingerprint") - responseSystemFingerprint?: string; - -} - -// ============================================================================ -// oracle.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for oracle.* */ -model OracleAttributes { - /** oracle.db.domain */ - @encodedName("application/json", "oracle.db.domain") - dbDomain?: string; - - /** oracle.db.instance.name */ - @encodedName("application/json", "oracle.db.instance.name") - dbInstanceName?: string; - - /** oracle.db.name */ - @encodedName("application/json", "oracle.db.name") - dbName?: string; - - /** oracle.db.pdb */ - @encodedName("application/json", "oracle.db.pdb") - dbPdb?: string; - - /** oracle.db.service */ - @encodedName("application/json", "oracle.db.service") - dbService?: string; - -} - -// ============================================================================ -// oracle_cloud.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for oracle_cloud.* */ -model OracleCloudAttributes { - /** oracle_cloud.realm */ - @encodedName("application/json", "oracle_cloud.realm") - realm?: string; - -} - -// ============================================================================ -// os.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for os.* */ -model OsAttributes { - /** os.build_id */ - @encodedName("application/json", "os.build_id") - buildId?: string; - - /** os.description */ - @encodedName("application/json", "os.description") - description?: string; - - /** os.name */ - @encodedName("application/json", "os.name") - name?: string; - - /** os.type */ - @encodedName("application/json", "os.type") - type?: OsTypeValue; - - /** os.version */ - @encodedName("application/json", "os.version") - version?: string; - -} - -// ============================================================================ -// otel.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for otel.* */ -model OtelAttributes { - /** otel.component.name */ - @encodedName("application/json", "otel.component.name") - componentName?: string; - - /** otel.component.type */ - @encodedName("application/json", "otel.component.type") - componentType?: OtelComponentTypeValue; - - /** otel.event.name */ - @encodedName("application/json", "otel.event.name") - eventName?: string; - - /** otel.library.name */ - @encodedName("application/json", "otel.library.name") - libraryName?: string; - - /** otel.library.version */ - @encodedName("application/json", "otel.library.version") - libraryVersion?: string; - - /** otel.scope.name */ - @encodedName("application/json", "otel.scope.name") - scopeName?: string; - - /** otel.scope.schema_url */ - @encodedName("application/json", "otel.scope.schema_url") - scopeSchemaUrl?: string; - - /** otel.scope.version */ - @encodedName("application/json", "otel.scope.version") - scopeVersion?: string; - - /** otel.span.parent.origin */ - @encodedName("application/json", "otel.span.parent.origin") - spanParentOrigin?: OtelSpanParentOriginValue; - - /** otel.span.sampling_result */ - @encodedName("application/json", "otel.span.sampling_result") - spanSamplingResult?: OtelSpanSamplingResultValue; - - /** otel.status_code */ - @encodedName("application/json", "otel.status_code") - statusCode?: OtelStatusCodeValue; - - /** otel.status_description */ - @encodedName("application/json", "otel.status_description") - statusDescription?: string; - -} - -// ============================================================================ -// pprof.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for pprof.* */ -model PprofAttributes { - /** pprof.location.is_folded */ - @encodedName("application/json", "pprof.location.is_folded") - locationIsFolded?: boolean; - - /** pprof.mapping.has_filenames */ - @encodedName("application/json", "pprof.mapping.has_filenames") - mappingHasFilenames?: boolean; - - /** pprof.mapping.has_functions */ - @encodedName("application/json", "pprof.mapping.has_functions") - mappingHasFunctions?: boolean; - - /** pprof.mapping.has_inline_frames */ - @encodedName("application/json", "pprof.mapping.has_inline_frames") - mappingHasInlineFrames?: boolean; - - /** pprof.mapping.has_line_numbers */ - @encodedName("application/json", "pprof.mapping.has_line_numbers") - mappingHasLineNumbers?: boolean; - - /** pprof.profile.comment */ - @encodedName("application/json", "pprof.profile.comment") - profileComment?: string[]; - - /** pprof.profile.doc_url */ - @encodedName("application/json", "pprof.profile.doc_url") - profileDocUrl?: string; - - /** pprof.profile.drop_frames */ - @encodedName("application/json", "pprof.profile.drop_frames") - profileDropFrames?: string; - - /** pprof.profile.keep_frames */ - @encodedName("application/json", "pprof.profile.keep_frames") - profileKeepFrames?: string; - - /** pprof.scope.default_sample_type */ - @encodedName("application/json", "pprof.scope.default_sample_type") - scopeDefaultSampleType?: string; - - /** pprof.scope.sample_type_order */ - @encodedName("application/json", "pprof.scope.sample_type_order") - scopeSampleTypeOrder?: int64[]; - -} - -// ============================================================================ -// process.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for process.* */ -model ProcessAttributes { - /** process.args_count */ - @encodedName("application/json", "process.args_count") - argsCount?: int64; - - /** process.command */ - @encodedName("application/json", "process.command") - command?: string; - - /** process.command_args */ - @encodedName("application/json", "process.command_args") - commandArgs?: string[]; - - /** process.command_line */ - @encodedName("application/json", "process.command_line") - commandLine?: string; - - /** process.context_switch.type */ - @encodedName("application/json", "process.context_switch.type") - contextSwitchType?: ProcessContextSwitchTypeValue; - - /** process.cpu.state */ - @encodedName("application/json", "process.cpu.state") - cpuState?: ProcessCpuStateValue; - - /** process.creation.time */ - @encodedName("application/json", "process.creation.time") - creationTime?: string; - - /** process.environment_variable */ - @encodedName("application/json", "process.environment_variable") - environmentVariable?: string; - - /** process.executable.build_id.gnu */ - @encodedName("application/json", "process.executable.build_id.gnu") - executableBuildIdGnu?: string; - - /** process.executable.build_id.go */ - @encodedName("application/json", "process.executable.build_id.go") - executableBuildIdGo?: string; - - /** process.executable.build_id.htlhash */ - @encodedName("application/json", "process.executable.build_id.htlhash") - executableBuildIdHtlhash?: string; - - /** process.executable.build_id.profiling */ - @encodedName("application/json", "process.executable.build_id.profiling") - executableBuildIdProfiling?: string; - - /** process.executable.name */ - @encodedName("application/json", "process.executable.name") - executableName?: string; - - /** process.executable.path */ - @encodedName("application/json", "process.executable.path") - executablePath?: string; - - /** process.exit.code */ - @encodedName("application/json", "process.exit.code") - exitCode?: int64; - - /** process.exit.time */ - @encodedName("application/json", "process.exit.time") - exitTime?: string; - - /** process.group_leader.pid */ - @encodedName("application/json", "process.group_leader.pid") - groupLeaderPid?: int64; - - /** process.interactive */ - @encodedName("application/json", "process.interactive") - interactive?: boolean; - - /** process.linux.cgroup */ - @encodedName("application/json", "process.linux.cgroup") - linuxCgroup?: string; - - /** process.owner */ - @encodedName("application/json", "process.owner") - owner?: string; - - /** process.paging.fault_type */ - @encodedName("application/json", "process.paging.fault_type") - pagingFaultType?: ProcessPagingFaultTypeValue; - - /** process.parent_pid */ - @encodedName("application/json", "process.parent_pid") - parentPid?: int64; - - /** process.pid */ - @encodedName("application/json", "process.pid") - pid?: int64; - - /** process.real_user.id */ - @encodedName("application/json", "process.real_user.id") - realUserId?: int64; - - /** process.real_user.name */ - @encodedName("application/json", "process.real_user.name") - realUserName?: string; - - /** process.runtime.description */ - @encodedName("application/json", "process.runtime.description") - runtimeDescription?: string; - - /** process.runtime.name */ - @encodedName("application/json", "process.runtime.name") - runtimeName?: string; - - /** process.runtime.version */ - @encodedName("application/json", "process.runtime.version") - runtimeVersion?: string; - - /** process.saved_user.id */ - @encodedName("application/json", "process.saved_user.id") - savedUserId?: int64; - - /** process.saved_user.name */ - @encodedName("application/json", "process.saved_user.name") - savedUserName?: string; - - /** process.session_leader.pid */ - @encodedName("application/json", "process.session_leader.pid") - sessionLeaderPid?: int64; - - /** process.state */ - @encodedName("application/json", "process.state") - state?: ProcessStateValue; - - /** process.title */ - @encodedName("application/json", "process.title") - title?: string; - - /** process.user.id */ - @encodedName("application/json", "process.user.id") - userId?: int64; - - /** process.user.name */ - @encodedName("application/json", "process.user.name") - userName?: string; - - /** process.vpid */ - @encodedName("application/json", "process.vpid") - vpid?: int64; - - /** process.working_directory */ - @encodedName("application/json", "process.working_directory") - workingDirectory?: string; - -} - -// ============================================================================ -// profile.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for profile.* */ -model ProfileAttributes { - /** profile.frame.type */ - @encodedName("application/json", "profile.frame.type") - frameType?: ProfileFrameTypeValue; - -} - -// ============================================================================ -// rpc.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for rpc.* */ -model RpcAttributes { - /** rpc.connect_rpc.error_code */ - @encodedName("application/json", "rpc.connect_rpc.error_code") - connectRpcErrorCode?: RpcConnectRpcErrorCodeValue; - - /** rpc.connect_rpc.request.metadata */ - @encodedName("application/json", "rpc.connect_rpc.request.metadata") - connectRpcRequestMetadata?: string; - - /** rpc.connect_rpc.response.metadata */ - @encodedName("application/json", "rpc.connect_rpc.response.metadata") - connectRpcResponseMetadata?: string; - - /** rpc.grpc.request.metadata */ - @encodedName("application/json", "rpc.grpc.request.metadata") - grpcRequestMetadata?: string; - - /** rpc.grpc.response.metadata */ - @encodedName("application/json", "rpc.grpc.response.metadata") - grpcResponseMetadata?: string; - - /** rpc.grpc.status_code */ - @encodedName("application/json", "rpc.grpc.status_code") - grpcStatusCode?: RpcGrpcStatusCodeValue; - - /** rpc.jsonrpc.error_code */ - @encodedName("application/json", "rpc.jsonrpc.error_code") - jsonrpcErrorCode?: int64; - - /** rpc.jsonrpc.error_message */ - @encodedName("application/json", "rpc.jsonrpc.error_message") - jsonrpcErrorMessage?: string; - - /** rpc.jsonrpc.request_id */ - @encodedName("application/json", "rpc.jsonrpc.request_id") - jsonrpcRequestId?: string; - - /** rpc.jsonrpc.version */ - @encodedName("application/json", "rpc.jsonrpc.version") - jsonrpcVersion?: string; - - /** rpc.message.compressed_size */ - @encodedName("application/json", "rpc.message.compressed_size") - messageCompressedSize?: int64; - - /** rpc.message.id */ - @encodedName("application/json", "rpc.message.id") - messageId?: int64; - - /** rpc.message.type */ - @encodedName("application/json", "rpc.message.type") - messageType?: RpcMessageTypeValue; - - /** rpc.message.uncompressed_size */ - @encodedName("application/json", "rpc.message.uncompressed_size") - messageUncompressedSize?: int64; - - /** rpc.method */ - @encodedName("application/json", "rpc.method") - method?: string; - - /** rpc.method_original */ - @encodedName("application/json", "rpc.method_original") - methodOriginal?: string; - - /** rpc.request.metadata */ - @encodedName("application/json", "rpc.request.metadata") - requestMetadata?: string; - - /** rpc.response.metadata */ - @encodedName("application/json", "rpc.response.metadata") - responseMetadata?: string; - - /** rpc.response.status_code */ - @encodedName("application/json", "rpc.response.status_code") - responseStatusCode?: string; - - /** rpc.service */ - @encodedName("application/json", "rpc.service") - service?: string; - - /** rpc.system */ - @encodedName("application/json", "rpc.system") - system?: RpcSystemValue; - - /** rpc.system.name */ - @encodedName("application/json", "rpc.system.name") - systemName?: RpcSystemNameValue; - -} - -// ============================================================================ -// server.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for server.* */ -model ServerAttributes { - /** server.address */ - @encodedName("application/json", "server.address") - address?: string; - - /** server.port */ - @encodedName("application/json", "server.port") - port?: int64; - -} - -// ============================================================================ -// service.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for service.* */ -model ServiceAttributes { - /** service.criticality */ - @encodedName("application/json", "service.criticality") - criticality?: ServiceCriticalityValue; - - /** service.instance.id */ - @encodedName("application/json", "service.instance.id") - instanceId?: string; - - /** service.name */ - @encodedName("application/json", "service.name") - name?: string; - - /** service.namespace */ - @encodedName("application/json", "service.namespace") - `namespace`?: string; - - /** service.peer.name */ - @encodedName("application/json", "service.peer.name") - peerName?: string; - - /** service.peer.namespace */ - @encodedName("application/json", "service.peer.namespace") - peerNamespace?: string; - - /** service.version */ - @encodedName("application/json", "service.version") - version?: string; - -} - -// ============================================================================ -// session.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for session.* */ -model SessionAttributes { - /** session.id */ - @encodedName("application/json", "session.id") - id?: string; - - /** session.previous_id */ - @encodedName("application/json", "session.previous_id") - previousId?: string; - -} - -// ============================================================================ -// signalr.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for signalr.* */ -model SignalrAttributes { - /** signalr.connection.status */ - @encodedName("application/json", "signalr.connection.status") - connectionStatus?: SignalrConnectionStatusValue; - - /** signalr.transport */ - @encodedName("application/json", "signalr.transport") - transport?: SignalrTransportValue; - -} - -// ============================================================================ -// system.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for system.* */ -model SystemAttributes { - /** system.cpu.logical_number */ - @encodedName("application/json", "system.cpu.logical_number") - cpuLogicalNumber?: int64; - - /** system.cpu.state */ - @encodedName("application/json", "system.cpu.state") - cpuState?: SystemCpuStateValue; - - /** system.device */ - @encodedName("application/json", "system.device") - device?: string; - - /** system.filesystem.mode */ - @encodedName("application/json", "system.filesystem.mode") - filesystemMode?: string; - - /** system.filesystem.mountpoint */ - @encodedName("application/json", "system.filesystem.mountpoint") - filesystemMountpoint?: string; - - /** system.filesystem.state */ - @encodedName("application/json", "system.filesystem.state") - filesystemState?: SystemFilesystemStateValue; - - /** system.filesystem.type */ - @encodedName("application/json", "system.filesystem.type") - filesystemType?: SystemFilesystemTypeValue; - - /** system.memory.linux.slab.state */ - @encodedName("application/json", "system.memory.linux.slab.state") - memoryLinuxSlabState?: SystemMemoryLinuxSlabStateValue; - - /** system.memory.state */ - @encodedName("application/json", "system.memory.state") - memoryState?: SystemMemoryStateValue; - - /** system.network.state */ - @encodedName("application/json", "system.network.state") - networkState?: SystemNetworkStateValue; - - /** system.paging.direction */ - @encodedName("application/json", "system.paging.direction") - pagingDirection?: SystemPagingDirectionValue; - - /** system.paging.fault.type */ - @encodedName("application/json", "system.paging.fault.type") - pagingFaultType?: SystemPagingFaultTypeValue; - - /** system.paging.state */ - @encodedName("application/json", "system.paging.state") - pagingState?: SystemPagingStateValue; - - /** system.paging.type */ - @encodedName("application/json", "system.paging.type") - pagingType?: SystemPagingTypeValue; - - /** system.process.status */ - @encodedName("application/json", "system.process.status") - processStatus?: SystemProcessStatusValue; - - /** system.processes.status */ - @encodedName("application/json", "system.processes.status") - processesStatus?: SystemProcessesStatusValue; - -} - -// ============================================================================ -// telemetry.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for telemetry.* */ -model TelemetryAttributes { - /** telemetry.distro.name */ - @encodedName("application/json", "telemetry.distro.name") - distroName?: string; - - /** telemetry.distro.version */ - @encodedName("application/json", "telemetry.distro.version") - distroVersion?: string; - - /** telemetry.sdk.language */ - @encodedName("application/json", "telemetry.sdk.language") - sdkLanguage?: TelemetrySdkLanguageValue; - - /** telemetry.sdk.name */ - @encodedName("application/json", "telemetry.sdk.name") - sdkName?: string; - - /** telemetry.sdk.version */ - @encodedName("application/json", "telemetry.sdk.version") - sdkVersion?: string; - -} - -// ============================================================================ -// test.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for test.* */ -model TestAttributes { - /** test.case.name */ - @encodedName("application/json", "test.case.name") - caseName?: string; - - /** test.case.result.status */ - @encodedName("application/json", "test.case.result.status") - caseResultStatus?: TestCaseResultStatusValue; - - /** test.suite.name */ - @encodedName("application/json", "test.suite.name") - suiteName?: string; - - /** test.suite.run.status */ - @encodedName("application/json", "test.suite.run.status") - suiteRunStatus?: TestSuiteRunStatusValue; - -} - -// ============================================================================ -// thread.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for thread.* */ -model ThreadAttributes { - /** thread.id */ - @encodedName("application/json", "thread.id") - id?: int64; - - /** thread.name */ - @encodedName("application/json", "thread.name") - name?: string; - -} - -// ============================================================================ -// tls.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for tls.* */ -model TlsAttributes { - /** tls.cipher */ - @encodedName("application/json", "tls.cipher") - cipher?: string; - - /** tls.client.certificate */ - @encodedName("application/json", "tls.client.certificate") - clientCertificate?: string; - - /** tls.client.certificate_chain */ - @encodedName("application/json", "tls.client.certificate_chain") - clientCertificateChain?: string[]; - - /** tls.client.hash.md5 */ - @encodedName("application/json", "tls.client.hash.md5") - clientHashMd5?: string; - - /** tls.client.hash.sha1 */ - @encodedName("application/json", "tls.client.hash.sha1") - clientHashSha1?: string; - - /** tls.client.hash.sha256 */ - @encodedName("application/json", "tls.client.hash.sha256") - clientHashSha256?: string; - - /** tls.client.issuer */ - @encodedName("application/json", "tls.client.issuer") - clientIssuer?: string; - - /** tls.client.ja3 */ - @encodedName("application/json", "tls.client.ja3") - clientJa3?: string; - - /** tls.client.not_after */ - @encodedName("application/json", "tls.client.not_after") - clientNotAfter?: string; - - /** tls.client.not_before */ - @encodedName("application/json", "tls.client.not_before") - clientNotBefore?: string; - - /** tls.client.server_name */ - @encodedName("application/json", "tls.client.server_name") - clientServerName?: string; - - /** tls.client.subject */ - @encodedName("application/json", "tls.client.subject") - clientSubject?: string; - - /** tls.client.supported_ciphers */ - @encodedName("application/json", "tls.client.supported_ciphers") - clientSupportedCiphers?: string[]; - - /** tls.curve */ - @encodedName("application/json", "tls.curve") - curve?: string; - - /** tls.established */ - @encodedName("application/json", "tls.established") - established?: boolean; - - /** tls.next_protocol */ - @encodedName("application/json", "tls.next_protocol") - nextProtocol?: string; - - /** tls.protocol.name */ - @encodedName("application/json", "tls.protocol.name") - protocolName?: TlsProtocolNameValue; - - /** tls.protocol.version */ - @encodedName("application/json", "tls.protocol.version") - protocolVersion?: string; - - /** tls.resumed */ - @encodedName("application/json", "tls.resumed") - resumed?: boolean; - - /** tls.server.certificate */ - @encodedName("application/json", "tls.server.certificate") - serverCertificate?: string; - - /** tls.server.certificate_chain */ - @encodedName("application/json", "tls.server.certificate_chain") - serverCertificateChain?: string[]; - - /** tls.server.hash.md5 */ - @encodedName("application/json", "tls.server.hash.md5") - serverHashMd5?: string; - - /** tls.server.hash.sha1 */ - @encodedName("application/json", "tls.server.hash.sha1") - serverHashSha1?: string; - - /** tls.server.hash.sha256 */ - @encodedName("application/json", "tls.server.hash.sha256") - serverHashSha256?: string; - - /** tls.server.issuer */ - @encodedName("application/json", "tls.server.issuer") - serverIssuer?: string; - - /** tls.server.ja3s */ - @encodedName("application/json", "tls.server.ja3s") - serverJa3s?: string; - - /** tls.server.not_after */ - @encodedName("application/json", "tls.server.not_after") - serverNotAfter?: string; - - /** tls.server.not_before */ - @encodedName("application/json", "tls.server.not_before") - serverNotBefore?: string; - - /** tls.server.subject */ - @encodedName("application/json", "tls.server.subject") - serverSubject?: string; - -} - -// ============================================================================ -// url.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for url.* */ -model UrlAttributes { - /** url.domain */ - @encodedName("application/json", "url.domain") - domain?: string; - - /** url.extension */ - @encodedName("application/json", "url.extension") - extension?: string; - - /** url.fragment */ - @encodedName("application/json", "url.fragment") - fragment?: string; - - /** url.full */ - @encodedName("application/json", "url.full") - full?: string; - - /** url.original */ - @encodedName("application/json", "url.original") - original?: string; - - /** url.path */ - @encodedName("application/json", "url.path") - path?: string; - - /** url.port */ - @encodedName("application/json", "url.port") - port?: int64; - - /** url.query */ - @encodedName("application/json", "url.query") - query?: string; - - /** url.registered_domain */ - @encodedName("application/json", "url.registered_domain") - registeredDomain?: string; - - /** url.scheme */ - @encodedName("application/json", "url.scheme") - scheme?: string; - - /** url.subdomain */ - @encodedName("application/json", "url.subdomain") - subdomain?: string; - - /** url.template */ - @encodedName("application/json", "url.template") - template?: string; - - /** url.top_level_domain */ - @encodedName("application/json", "url.top_level_domain") - topLevelDomain?: string; - -} - -// ============================================================================ -// user.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for user.* */ -model UserAttributes { - /** user.email */ - @encodedName("application/json", "user.email") - email?: string; - - /** user.full_name */ - @encodedName("application/json", "user.full_name") - fullName?: string; - - /** user.hash */ - @encodedName("application/json", "user.hash") - hash?: string; - - /** user.id */ - @encodedName("application/json", "user.id") - id?: string; - - /** user.name */ - @encodedName("application/json", "user.name") - name?: string; - - /** user.roles */ - @encodedName("application/json", "user.roles") - roles?: string[]; - -} - -// ============================================================================ -// user_agent.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for user_agent.* */ -model UserAgentAttributes { - /** user_agent.name */ - @encodedName("application/json", "user_agent.name") - name?: string; - - /** user_agent.original */ - @encodedName("application/json", "user_agent.original") - original?: string; - - /** user_agent.os.name */ - @encodedName("application/json", "user_agent.os.name") - osName?: string; - - /** user_agent.os.version */ - @encodedName("application/json", "user_agent.os.version") - osVersion?: string; - - /** user_agent.synthetic.type */ - @encodedName("application/json", "user_agent.synthetic.type") - syntheticType?: UserAgentSyntheticTypeValue; - - /** user_agent.version */ - @encodedName("application/json", "user_agent.version") - version?: string; - -} - -// ============================================================================ -// vcs.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for vcs.* */ -model VcsAttributes { - /** vcs.change.id */ - @encodedName("application/json", "vcs.change.id") - changeId?: string; - - /** vcs.change.state */ - @encodedName("application/json", "vcs.change.state") - changeState?: VcsChangeStateValue; - - /** vcs.change.title */ - @encodedName("application/json", "vcs.change.title") - changeTitle?: string; - - /** vcs.line_change.type */ - @encodedName("application/json", "vcs.line_change.type") - lineChangeType?: VcsLineChangeTypeValue; - - /** vcs.owner.name */ - @encodedName("application/json", "vcs.owner.name") - ownerName?: string; - - /** vcs.provider.name */ - @encodedName("application/json", "vcs.provider.name") - providerName?: VcsProviderNameValue; - - /** vcs.ref.base.name */ - @encodedName("application/json", "vcs.ref.base.name") - refBaseName?: string; - - /** vcs.ref.base.revision */ - @encodedName("application/json", "vcs.ref.base.revision") - refBaseRevision?: string; - - /** vcs.ref.base.type */ - @encodedName("application/json", "vcs.ref.base.type") - refBaseType?: VcsRefBaseTypeValue; - - /** vcs.ref.head.name */ - @encodedName("application/json", "vcs.ref.head.name") - refHeadName?: string; - - /** vcs.ref.head.revision */ - @encodedName("application/json", "vcs.ref.head.revision") - refHeadRevision?: string; - - /** vcs.ref.head.type */ - @encodedName("application/json", "vcs.ref.head.type") - refHeadType?: VcsRefHeadTypeValue; - - /** vcs.ref.type */ - @encodedName("application/json", "vcs.ref.type") - refType?: VcsRefTypeValue; - - /** vcs.repository.change.id */ - @encodedName("application/json", "vcs.repository.change.id") - repositoryChangeId?: string; - - /** vcs.repository.change.title */ - @encodedName("application/json", "vcs.repository.change.title") - repositoryChangeTitle?: string; - - /** vcs.repository.name */ - @encodedName("application/json", "vcs.repository.name") - repositoryName?: string; - - /** vcs.repository.ref.name */ - @encodedName("application/json", "vcs.repository.ref.name") - repositoryRefName?: string; - - /** vcs.repository.ref.revision */ - @encodedName("application/json", "vcs.repository.ref.revision") - repositoryRefRevision?: string; - - /** vcs.repository.ref.type */ - @encodedName("application/json", "vcs.repository.ref.type") - repositoryRefType?: VcsRepositoryRefTypeValue; - - /** vcs.repository.url.full */ - @encodedName("application/json", "vcs.repository.url.full") - repositoryUrlFull?: string; - - /** vcs.revision_delta.direction */ - @encodedName("application/json", "vcs.revision_delta.direction") - revisionDeltaDirection?: VcsRevisionDeltaDirectionValue; - -} - -// ============================================================================ -// webengine.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for webengine.* */ -model WebengineAttributes { - /** webengine.description */ - @encodedName("application/json", "webengine.description") - description?: string; - - /** webengine.name */ - @encodedName("application/json", "webengine.name") - name?: string; - - /** webengine.version */ - @encodedName("application/json", "webengine.version") - version?: string; - -} - diff --git a/core/specs/main.tsp b/core/specs/main.tsp index dc852ca39..b285e9ace 100644 --- a/core/specs/main.tsp +++ b/core/specs/main.tsp @@ -48,19 +48,13 @@ import "./otel/metrics.tsp"; import "./otel/profiles.tsp"; import "./otel/storage.tsp"; -// ============================================================================= -// Generated Semantic Conventions (OTel 1.40) -// ============================================================================= -// Type-safe attribute keys from @opentelemetry/semantic-conventions NPM package. -// Contains Keys.GenAi, Keys.Db, Keys.Http, etc. for all OTel semconv attributes (v1.40). -import "./generated/semconv.g.tsp"; -// ============================================================================= - // ============================================================================= // QYL Domain Models // ============================================================================= -// These files contain qyl-specific models (stats, entities, aggregations). -// OTel attribute definitions now come from generated/semconv.g.tsp. +// qyl-specific models (stats, entities, aggregations). Semconv attribute keys +// are used directly as string literals on @encodedName — the earlier typed +// Keys.* TSP bridge was imported but never referenced, so dropped with its +// 6953-line generated semconv.g.tsp. // ============================================================================= // AI Domain - GenAI stats and cost models diff --git a/eng/semconv/run-weaver.sh b/eng/semconv/run-weaver.sh index bd88aa55a..153b12ecd 100755 --- a/eng/semconv/run-weaver.sh +++ b/eng/semconv/run-weaver.sh @@ -5,7 +5,6 @@ # Output targets: # - src/qyl.dashboard/src/lib/semconv.ts (TypeScript const keys) # - src/qyl.collector/Storage/promoted-columns.g.sql (DuckDB columns) -# - core/specs/generated/semconv.g.tsp (TypeSpec scalars + Keys + unions + domain models) # # Still hand-maintained: # - src/qyl.contracts/Attributes/*Attributes.cs (facades with qyl extensions) @@ -32,7 +31,6 @@ STAGING_DIR="${REPO_ROOT}/eng/semconv/out" TS_DEST="${REPO_ROOT}/src/qyl.dashboard/src/lib/semconv.ts" SQL_DEST="${REPO_ROOT}/src/qyl.collector/Storage/promoted-columns.g.sql" -TSP_DEST="${REPO_ROOT}/core/specs/generated/semconv.g.tsp" if [ ! -x "${WEAVER_BIN}" ] || [ ! -d "${UPSTREAM_REGISTRY}" ]; then echo "Weaver or upstream registry missing." >&2 @@ -47,13 +45,10 @@ rm -rf "${STAGING_DIR}" qyl \ "${STAGING_DIR}" -mkdir -p "$(dirname "${TSP_DEST}")" install -m 0644 "${STAGING_DIR}/semconv.ts" "${TS_DEST}" install -m 0644 "${STAGING_DIR}/promoted-columns.g.sql" "${SQL_DEST}" -install -m 0644 "${STAGING_DIR}/semconv.g.tsp" "${TSP_DEST}" echo "" echo "Wrote:" echo " ${TS_DEST} ($(wc -l < "${TS_DEST}") lines)" echo " ${SQL_DEST} ($(wc -l < "${SQL_DEST}") lines)" -echo " ${TSP_DEST} ($(wc -l < "${TSP_DEST}") lines)" diff --git a/eng/semconv/templates/registry/qyl/semconv.g.tsp.j2 b/eng/semconv/templates/registry/qyl/semconv.g.tsp.j2 deleted file mode 100644 index 100083d55..000000000 --- a/eng/semconv/templates/registry/qyl/semconv.g.tsp.j2 +++ /dev/null @@ -1,159 +0,0 @@ -{#- - TypeSpec semconv surface for qyl's TypeSpec schema. - Target: core/specs/generated/semconv.g.tsp - - Four sections: - 1. Fixed scalars (TraceId / SpanId / common numeric scalars). - 2. Keys namespace — attribute-name aliases grouped by root namespace. - 3. Union types — one per enum-typed attribute (`*Value`). - 4. Per-domain models — one model per root namespace with all its attributes. - - TypeSpec reserved identifiers are backtick-escaped inline. --#} -{%- set reserved = ['namespace', 'model', 'interface', 'enum', 'union', 'alias', 'scalar', 'op', 'using', 'import', 'is', 'extends', 'unknown', 'void', 'never', 'null', 'true', 'false', 'if', 'else', 'return'] -%} -{%- macro safe(ident) -%} -{%- if ident in reserved -%}`{{ ident }}`{%- else -%}{{ ident }}{%- endif -%} -{%- endmacro -%} -// -// Generated from open-telemetry/semantic-conventions v{{ params.semconv_version }} via Weaver -// Do not edit manually - run 'nuke GenerateSemconv' -// -// Usage in your TypeSpec files: -// import "./semconv.g.tsp"; -// using OTel.SemConv; -// -// model MySpan { -// @encodedName("application/json", Keys.GenAi.providerName) -// provider: GenAiProviderNameValue; -// } - -import "@typespec/http"; - -using TypeSpec.Http; - -namespace OTel.SemConv; - -// ============================================================================ -// Common OTel Scalars (for type-safe attribute values) -// ============================================================================ - -/** 128-bit trace identifier (32 hex chars) */ -@minLength(32) @maxLength(32) -@pattern("^[a-f0-9]{32}$") -scalar TraceId extends string; - -/** 64-bit span identifier (16 hex chars) */ -@minLength(16) @maxLength(16) -@pattern("^[a-f0-9]{16}$") -scalar SpanId extends string; - -/** Token count (always int64 per semconv) */ -scalar TokenCount extends int64; - -/** Duration in seconds (float64) */ -scalar DurationSeconds extends float64; - -/** Duration in nanoseconds (int64) */ -scalar DurationNanos extends int64; - -/** Port number */ -@minValue(1) @maxValue(65535) -scalar Port extends int32; - -/** Byte count */ -@minValue(0) -scalar ByteCount extends int64; - -// ============================================================================ -// Attribute Key Constants (use with @encodedName) -// ============================================================================ -// Example: @encodedName("application/json", Keys.GenAi.providerName) -// ============================================================================ - -namespace Keys { -{% for group in ctx | sort(attribute="root_namespace") %} -{% if group.root_namespace in params.include_prefixes %} - /** {{ group.root_namespace }}.* attribute keys */ - namespace {{ group.root_namespace | pascal_case }} { -{% for attr in group.attributes | sort(attribute="name") %} -{% set child = attr.name.split('.')[1:] | join('.') | replace('.', '_') | pascal_case %} -{% set camel = child[:1] | lower ~ child[1:] %} - /** "{{ attr.name }}" */ - alias {{ safe(camel) }} = "{{ attr.name }}"; -{% endfor %} - } - -{% endif %} -{% endfor %} -} - -// ============================================================================ -// Enum Unions — one per enum-typed attribute -// ============================================================================ -// Each union lists known values and permits arbitrary string for future-proofing. -// ============================================================================ - -{% for group in ctx | sort(attribute="root_namespace") %} -{% if group.root_namespace in params.include_prefixes %} -{% for attr in group.attributes | sort(attribute="name") %} -{% if attr.type is mapping and attr.type.members is defined %} -/** Known values for {{ attr.name }} */ -union {{ attr.name | replace('.', '_') | pascal_case }}Value { -{% for m in attr.type.members | sort(attribute="id") %} -{% set mid = m.id | replace('.', '_') | pascal_case %} -{% set mcamel = mid[:1] | lower ~ mid[1:] %} - /** "{{ m.value }}" */ - {{ safe(mcamel) }}: "{{ m.value }}", -{% endfor %} - /** Allow unknown/custom values */ - string, -} - -{% endif %} -{% endfor %} -{% endif %} -{% endfor %} - -// ============================================================================ -// Per-Domain Attribute Models -// ============================================================================ -// One model per root namespace. Fields are optional and carry @encodedName so -// dotted semconv keys survive JSON serialization. -// ============================================================================ - -{% for group in ctx | sort(attribute="root_namespace") %} -{% if group.root_namespace in params.include_prefixes %} -// ============================================================================ -// {{ group.root_namespace }}.* Attributes Model -// ============================================================================ - -/** Semantic convention attributes for {{ group.root_namespace }}.* */ -model {{ group.root_namespace | pascal_case }}Attributes { -{% for attr in group.attributes | sort(attribute="name") %} -{% set child = attr.name.split('.')[1:] | join('.') | replace('.', '_') | pascal_case %} -{% set camel = child[:1] | lower ~ child[1:] %} -{% set is_enum = attr.type is mapping and attr.type.members is defined %} -{% if is_enum %} -{% set tsp_type = (attr.name | replace('.', '_') | pascal_case) ~ 'Value' %} -{% elif attr.type == 'int' %} -{% set tsp_type = 'int64' %} -{% elif attr.type == 'double' %} -{% set tsp_type = 'float64' %} -{% elif attr.type == 'boolean' %} -{% set tsp_type = 'boolean' %} -{% elif attr.type == 'string[]' %} -{% set tsp_type = 'string[]' %} -{% elif attr.type == 'int[]' %} -{% set tsp_type = 'int64[]' %} -{% else %} -{% set tsp_type = 'string' %} -{% endif %} - /** {{ attr.name }} */ - @encodedName("application/json", "{{ attr.name }}") - {{ safe(camel) }}?: {{ tsp_type }}; - -{% endfor %} -} - -{% endif %} -{% endfor %} diff --git a/eng/semconv/templates/registry/qyl/weaver.yaml b/eng/semconv/templates/registry/qyl/weaver.yaml index 213375007..de6fb526b 100644 --- a/eng/semconv/templates/registry/qyl/weaver.yaml +++ b/eng/semconv/templates/registry/qyl/weaver.yaml @@ -86,8 +86,3 @@ templates: filter: semconv_grouped_attributes application_mode: single file_name: "promoted-columns.g.sql" - - - template: semconv.g.tsp.j2 - filter: semconv_grouped_attributes - application_mode: single - file_name: "semconv.g.tsp"