@ancplua/qyl-api-schema 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +89 -0
- package/VERSIONING.md +74 -0
- package/api/routes.tsp +1052 -0
- package/api/streaming.tsp +335 -0
- package/common/errors.tsp +206 -0
- package/common/pagination.tsp +254 -0
- package/common/types.tsp +345 -0
- package/generated/README.md +26 -0
- package/generated/otel-keys.gen.tsp +1648 -0
- package/index.tsp +55 -0
- package/intelligence/causal-rules.tsp +34 -0
- package/intelligence/diagnostic-patterns.tsp +54 -0
- package/intelligence/investigation-strategies.tsp +37 -0
- package/intelligence/main.tsp +19 -0
- package/intelligence/seed/patterns.tsp +172 -0
- package/intelligence/seed/rules.tsp +44 -0
- package/intelligence/seed/strategies.tsp +56 -0
- package/intelligence/signals.tsp +60 -0
- package/models/agent/agent-run.tsp +154 -0
- package/models/agent/tool-call.tsp +122 -0
- package/models/agent/workflow-checkpoint.tsp +50 -0
- package/models/agent/workflow-execution.tsp +136 -0
- package/models/alerting.tsp +436 -0
- package/models/configurator.tsp +433 -0
- package/models/control-graph.tsp +197 -0
- package/models/db.tsp +810 -0
- package/models/deployment.tsp +365 -0
- package/models/error.tsp +433 -0
- package/models/genai.tsp +1368 -0
- package/models/http.tsp +600 -0
- package/models/identity.tsp +213 -0
- package/models/issues.tsp +484 -0
- package/models/log.tsp +140 -0
- package/models/messaging.tsp +304 -0
- package/models/otel-config.tsp +455 -0
- package/models/retention.tsp +240 -0
- package/models/rpc.tsp +309 -0
- package/models/search.tsp +243 -0
- package/models/session.tsp +274 -0
- package/models/system.tsp +400 -0
- package/models/test.tsp +346 -0
- package/models/triage.tsp +113 -0
- package/models/workflow.tsp +396 -0
- package/models/workspace.tsp +435 -0
- package/otel/enums.tsp +392 -0
- package/otel/logs.tsp +135 -0
- package/otel/metrics.tsp +358 -0
- package/otel/otel-conventions.tsp +14 -0
- package/otel/profiles.tsp +335 -0
- package/otel/resource.tsp +257 -0
- package/otel/span.tsp +307 -0
- package/package.json +88 -0
- package/tspconfig.yaml +49 -0
|
@@ -0,0 +1,1648 @@
|
|
|
1
|
+
// <auto-generated/>
|
|
2
|
+
// Generated by ANcpLua's Weaver pipeline from open-telemetry/semantic-conventions v1.41.0
|
|
3
|
+
// Schema: https://opentelemetry.io/schemas/1.41.0
|
|
4
|
+
// Licensed under Apache-2.0 (inherited from OpenTelemetry upstream)
|
|
5
|
+
// </auto-generated>
|
|
6
|
+
//
|
|
7
|
+
// DO NOT EDIT THIS FILE.
|
|
8
|
+
// Regenerate from the upstream v1.41.0 semantic-conventions YAML model with Weaver.
|
|
9
|
+
|
|
10
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.App {
|
|
11
|
+
/** Unique identifier for a particular build or compilation of the application. */
|
|
12
|
+
const BuildId: string = "app.build_id";
|
|
13
|
+
/** A unique identifier representing the installation of an application on a specific device */
|
|
14
|
+
const InstallationId: string = "app.installation.id";
|
|
15
|
+
/** A number of frame renders that experienced jank. */
|
|
16
|
+
const JankFrameCount: string = "app.jank.frame_count";
|
|
17
|
+
/** The time period, in seconds, for which this jank is being reported. */
|
|
18
|
+
const JankPeriod: string = "app.jank.period";
|
|
19
|
+
/** The minimum rendering threshold for this jank, in seconds. */
|
|
20
|
+
const JankThreshold: string = "app.jank.threshold";
|
|
21
|
+
/** The x (horizontal) coordinate of a screen coordinate, in screen pixels. */
|
|
22
|
+
const ScreenCoordinateX: string = "app.screen.coordinate.x";
|
|
23
|
+
/** The y (vertical) component of a screen coordinate, in screen pixels. */
|
|
24
|
+
const ScreenCoordinateY: string = "app.screen.coordinate.y";
|
|
25
|
+
/** An identifier that uniquely differentiates this screen from other screens in the same application. */
|
|
26
|
+
const ScreenId: string = "app.screen.id";
|
|
27
|
+
/** The name of an application screen. */
|
|
28
|
+
const ScreenName: string = "app.screen.name";
|
|
29
|
+
/** An identifier that uniquely differentiates this widget from other widgets in the same application. */
|
|
30
|
+
const WidgetId: string = "app.widget.id";
|
|
31
|
+
/** The name of an application widget. */
|
|
32
|
+
const WidgetName: string = "app.widget.name";
|
|
33
|
+
}
|
|
34
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Artifact {
|
|
35
|
+
/** The provenance filename of the built attestation which directly relates to the build artifact filename. This filename SHOULD accompany the artifact at publish time. See the [SLSA Relationship](https://slsa.dev/spec/v1.0/distributing-provenance#relationship-between-artifacts-and-attestations) specification for more information. */
|
|
36
|
+
const AttestationFilename: string = "artifact.attestation.filename";
|
|
37
|
+
/** The full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf), of the built attestation. Some envelopes in the [software attestation space](https://github.com/in-toto/attestation/tree/main/spec) also refer to this as the **digest**. */
|
|
38
|
+
const AttestationHash: string = "artifact.attestation.hash";
|
|
39
|
+
/** The id of the build [software attestation](https://slsa.dev/attestation-model). */
|
|
40
|
+
const AttestationId: string = "artifact.attestation.id";
|
|
41
|
+
/** The human readable file name of the artifact, typically generated during build and release processes. Often includes the package name and version in the file name. */
|
|
42
|
+
const Filename: string = "artifact.filename";
|
|
43
|
+
/** The full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf), often found in checksum.txt on a release of the artifact and used to verify package integrity. */
|
|
44
|
+
const Hash: string = "artifact.hash";
|
|
45
|
+
/** The [Package URL](https://github.com/package-url/purl-spec) of the [package artifact](https://slsa.dev/spec/v1.0/terminology#package-model) provides a standard way to identify and locate the packaged artifact. */
|
|
46
|
+
const Purl: string = "artifact.purl";
|
|
47
|
+
/** The version of the artifact. */
|
|
48
|
+
const Version: string = "artifact.version";
|
|
49
|
+
}
|
|
50
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Aspnetcore {
|
|
51
|
+
/** The result of the authentication operation. */
|
|
52
|
+
const AuthenticationResult: string = "aspnetcore.authentication.result";
|
|
53
|
+
/** The identifier that names a particular authentication handler. */
|
|
54
|
+
const AuthenticationScheme: string = "aspnetcore.authentication.scheme";
|
|
55
|
+
/** The name of the authorization policy. */
|
|
56
|
+
const AuthorizationPolicy: string = "aspnetcore.authorization.policy";
|
|
57
|
+
/** The result of calling the authorization service. */
|
|
58
|
+
const AuthorizationResult: string = "aspnetcore.authorization.result";
|
|
59
|
+
/** ASP.NET Core exception middleware handling result. */
|
|
60
|
+
const DiagnosticsExceptionResult: string = "aspnetcore.diagnostics.exception.result";
|
|
61
|
+
/** Full type name of the [`IExceptionHandler`](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler) implementation that handled the exception. */
|
|
62
|
+
const DiagnosticsHandlerType: string = "aspnetcore.diagnostics.handler.type";
|
|
63
|
+
/** The error code for a failed identity operation. */
|
|
64
|
+
const IdentityErrorCode: string = "aspnetcore.identity.error_code";
|
|
65
|
+
/** The result from checking the password. */
|
|
66
|
+
const IdentityPasswordCheckResult: string = "aspnetcore.identity.password_check_result";
|
|
67
|
+
/** The result of the identity operation. */
|
|
68
|
+
const IdentityResult: string = "aspnetcore.identity.result";
|
|
69
|
+
/** Whether the sign in result was success or failure. */
|
|
70
|
+
const IdentitySignInResult: string = "aspnetcore.identity.sign_in.result";
|
|
71
|
+
/** The authentication type. */
|
|
72
|
+
const IdentitySignInType: string = "aspnetcore.identity.sign_in.type";
|
|
73
|
+
/** What the token will be used for. */
|
|
74
|
+
const IdentityTokenPurpose: string = "aspnetcore.identity.token_purpose";
|
|
75
|
+
/** The result of token verification. */
|
|
76
|
+
const IdentityTokenVerified: string = "aspnetcore.identity.token_verified";
|
|
77
|
+
/** The user update type. */
|
|
78
|
+
const IdentityUserUpdateType: string = "aspnetcore.identity.user.update_type";
|
|
79
|
+
/** The full name of the identity user type. */
|
|
80
|
+
const IdentityUserType: string = "aspnetcore.identity.user_type";
|
|
81
|
+
/** The name of the library or subsystem using the memory pool instance. */
|
|
82
|
+
const MemoryPoolOwner: string = "aspnetcore.memory_pool.owner";
|
|
83
|
+
/** Rate limiting policy name. */
|
|
84
|
+
const RateLimitingPolicy: string = "aspnetcore.rate_limiting.policy";
|
|
85
|
+
/** Rate-limiting result, shows whether the lease was acquired or contains a rejection reason */
|
|
86
|
+
const RateLimitingResult: string = "aspnetcore.rate_limiting.result";
|
|
87
|
+
/** Flag indicating if request was handled by the application pipeline. */
|
|
88
|
+
const RequestIsUnhandled: string = "aspnetcore.request.is_unhandled";
|
|
89
|
+
/** A value that indicates whether the matched route is a fallback route. */
|
|
90
|
+
const RoutingIsFallback: string = "aspnetcore.routing.is_fallback";
|
|
91
|
+
/** Match result - success or failure */
|
|
92
|
+
const RoutingMatchStatus: string = "aspnetcore.routing.match_status";
|
|
93
|
+
/** A flag indicating whether the sign in is persistent. */
|
|
94
|
+
const SignInIsPersistent: string = "aspnetcore.sign_in.is_persistent";
|
|
95
|
+
/** A value that indicates whether the user is authenticated. */
|
|
96
|
+
const UserIsAuthenticated: string = "aspnetcore.user.is_authenticated";
|
|
97
|
+
}
|
|
98
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Azure {
|
|
99
|
+
/** The unique identifier of the client instance. */
|
|
100
|
+
const ClientId: string = "azure.client.id";
|
|
101
|
+
/** Cosmos client connection mode. */
|
|
102
|
+
const CosmosdbConnectionMode: string = "azure.cosmosdb.connection.mode";
|
|
103
|
+
/** Account or request [consistency level](https://learn.microsoft.com/azure/cosmos-db/consistency-levels). */
|
|
104
|
+
const CosmosdbConsistencyLevel: string = "azure.cosmosdb.consistency.level";
|
|
105
|
+
/** List of regions contacted during operation in the order that they were contacted. If there is more than one region listed, it indicates that the operation was performed on multiple regions i.e. cross-regional call. */
|
|
106
|
+
const CosmosdbOperationContactedRegions: string = "azure.cosmosdb.operation.contacted_regions";
|
|
107
|
+
/** The number of request units consumed by the operation. */
|
|
108
|
+
const CosmosdbOperationRequestCharge: string = "azure.cosmosdb.operation.request_charge";
|
|
109
|
+
/** Request payload size in bytes. */
|
|
110
|
+
const CosmosdbRequestBodySize: string = "azure.cosmosdb.request.body.size";
|
|
111
|
+
/** Cosmos DB sub status code. */
|
|
112
|
+
const CosmosdbResponseSubStatusCode: string = "azure.cosmosdb.response.sub_status_code";
|
|
113
|
+
/** [Azure Resource Provider Namespace](https://learn.microsoft.com/azure/azure-resource-manager/management/azure-services-resource-providers) as recognized by the client. */
|
|
114
|
+
const ResourceProviderNamespace: string = "azure.resource_provider.namespace";
|
|
115
|
+
/** The unique identifier of the service request. It's generated by the Azure service and returned with the response. */
|
|
116
|
+
const ServiceRequestId: string = "azure.service.request.id";
|
|
117
|
+
}
|
|
118
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Browser {
|
|
119
|
+
/** Array of brand name and version separated by a space */
|
|
120
|
+
const Brands: string = "browser.brands";
|
|
121
|
+
/** Preferred language of the user using the browser */
|
|
122
|
+
const Language: string = "browser.language";
|
|
123
|
+
/** A boolean that is true if the browser is running on a mobile device */
|
|
124
|
+
const Mobile: string = "browser.mobile";
|
|
125
|
+
/** The platform on which the browser is running */
|
|
126
|
+
const Platform: string = "browser.platform";
|
|
127
|
+
}
|
|
128
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Cicd {
|
|
129
|
+
/** The kind of action a pipeline run is performing. */
|
|
130
|
+
const PipelineActionName: string = "cicd.pipeline.action.name";
|
|
131
|
+
/** The human readable name of the pipeline within a CI/CD system. */
|
|
132
|
+
const PipelineName: string = "cicd.pipeline.name";
|
|
133
|
+
/** The result of a pipeline run. */
|
|
134
|
+
const PipelineResult: string = "cicd.pipeline.result";
|
|
135
|
+
/** The unique identifier of a pipeline run within a CI/CD system. */
|
|
136
|
+
const PipelineRunId: string = "cicd.pipeline.run.id";
|
|
137
|
+
/** The pipeline run goes through these states during its lifecycle. */
|
|
138
|
+
const PipelineRunState: string = "cicd.pipeline.run.state";
|
|
139
|
+
/** The [URL](https://wikipedia.org/wiki/URL) of the pipeline run, providing the complete address in order to locate and identify the pipeline run. */
|
|
140
|
+
const PipelineRunUrlFull: string = "cicd.pipeline.run.url.full";
|
|
141
|
+
/** The human readable name of a task within a pipeline. Task here most closely aligns with a [computing process](https://wikipedia.org/wiki/Pipeline_(computing)) in a pipeline. Other terms for tasks include commands, steps, and procedures. */
|
|
142
|
+
const PipelineTaskName: string = "cicd.pipeline.task.name";
|
|
143
|
+
/** The unique identifier of a task run within a pipeline. */
|
|
144
|
+
const PipelineTaskRunId: string = "cicd.pipeline.task.run.id";
|
|
145
|
+
/** The result of a task run. */
|
|
146
|
+
const PipelineTaskRunResult: string = "cicd.pipeline.task.run.result";
|
|
147
|
+
/** The [URL](https://wikipedia.org/wiki/URL) of the pipeline task run, providing the complete address in order to locate and identify the pipeline task run. */
|
|
148
|
+
const PipelineTaskRunUrlFull: string = "cicd.pipeline.task.run.url.full";
|
|
149
|
+
/** The type of the task within a pipeline. */
|
|
150
|
+
const PipelineTaskType: string = "cicd.pipeline.task.type";
|
|
151
|
+
/** The name of a component of the CICD system. */
|
|
152
|
+
const SystemComponent: string = "cicd.system.component";
|
|
153
|
+
/** The unique identifier of a worker within a CICD system. */
|
|
154
|
+
const WorkerId: string = "cicd.worker.id";
|
|
155
|
+
/** The name of a worker within a CICD system. */
|
|
156
|
+
const WorkerName: string = "cicd.worker.name";
|
|
157
|
+
/** The state of a CICD worker / agent. */
|
|
158
|
+
const WorkerState: string = "cicd.worker.state";
|
|
159
|
+
/** The [URL](https://wikipedia.org/wiki/URL) of the worker, providing the complete address in order to locate and identify the worker. */
|
|
160
|
+
const WorkerUrlFull: string = "cicd.worker.url.full";
|
|
161
|
+
}
|
|
162
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Client {
|
|
163
|
+
/** Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. */
|
|
164
|
+
const Address: string = "client.address";
|
|
165
|
+
/** Client port number. */
|
|
166
|
+
const Port: string = "client.port";
|
|
167
|
+
}
|
|
168
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Cloud {
|
|
169
|
+
/** The cloud account ID the resource is assigned to. */
|
|
170
|
+
const AccountId: string = "cloud.account.id";
|
|
171
|
+
/** Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running. */
|
|
172
|
+
const AvailabilityZone: string = "cloud.availability_zone";
|
|
173
|
+
/** The cloud platform in use. */
|
|
174
|
+
const Platform: string = "cloud.platform";
|
|
175
|
+
/** Name of the cloud provider. */
|
|
176
|
+
const Provider: string = "cloud.provider";
|
|
177
|
+
/** The geographical region within a cloud provider. When associated with a resource, this attribute specifies the region where the resource operates. When calling services or APIs deployed on a cloud, this attribute identifies the region where the called destination is deployed. */
|
|
178
|
+
const Region: string = "cloud.region";
|
|
179
|
+
/** Cloud provider-specific native identifier of the monitored cloud resource (e.g. an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) on AWS, a [fully qualified resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) on Azure, a [full resource name](https://google.aip.dev/122#full-resource-names) on GCP) */
|
|
180
|
+
const ResourceId: string = "cloud.resource_id";
|
|
181
|
+
}
|
|
182
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Code {
|
|
183
|
+
/** Deprecated, use `code.column.number` */
|
|
184
|
+
#deprecated "Replaced by code.column.number."
|
|
185
|
+
const Column: string = "code.column";
|
|
186
|
+
/** The column number in `code.file.path` best representing the operation. It SHOULD point within the code unit named in `code.function.name`. This attribute MUST NOT be used on the Profile signal since the data is already captured in 'message Line'. This constraint is imposed to prevent redundancy and maintain data integrity. */
|
|
187
|
+
const ColumnNumber: string = "code.column.number";
|
|
188
|
+
/** The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). This attribute MUST NOT be used on the Profile signal since the data is already captured in 'message Function'. This constraint is imposed to prevent redundancy and maintain data integrity. */
|
|
189
|
+
const FilePath: string = "code.file.path";
|
|
190
|
+
/** Deprecated, use `code.file.path` instead */
|
|
191
|
+
#deprecated "Replaced by code.file.path."
|
|
192
|
+
const Filepath: string = "code.filepath";
|
|
193
|
+
/** Deprecated, use `code.function.name` instead */
|
|
194
|
+
#deprecated "Value should be included in `code.function.name` which is expected to be a fully-qualified name."
|
|
195
|
+
const Function: string = "code.function";
|
|
196
|
+
/** The method or function fully-qualified name without arguments. The value should fit the natural representation of the language runtime, which is also likely the same used within `code.stacktrace` attribute value. This attribute MUST NOT be used on the Profile signal since the data is already captured in 'message Function'. This constraint is imposed to prevent redundancy and maintain data integrity. */
|
|
197
|
+
const FunctionName: string = "code.function.name";
|
|
198
|
+
/** The line number in `code.file.path` best representing the operation. It SHOULD point within the code unit named in `code.function.name`. This attribute MUST NOT be used on the Profile signal since the data is already captured in 'message Line'. This constraint is imposed to prevent redundancy and maintain data integrity. */
|
|
199
|
+
const LineNumber: string = "code.line.number";
|
|
200
|
+
/** Deprecated, use `code.line.number` instead */
|
|
201
|
+
#deprecated "Replaced by code.line.number."
|
|
202
|
+
const Lineno: string = "code.lineno";
|
|
203
|
+
/** Deprecated, namespace is now included into `code.function.name` */
|
|
204
|
+
#deprecated "Value should be included in `code.function.name` which is expected to be a fully-qualified name."
|
|
205
|
+
const Namespace: string = "code.namespace";
|
|
206
|
+
/** A stacktrace as a string in the natural representation for the language runtime. The representation is identical to [`exception.stacktrace`](/docs/exceptions/exceptions-spans.md#stacktrace-representation). This attribute MUST NOT be used on the Profile signal since the data is already captured in 'message Location'. This constraint is imposed to prevent redundancy and maintain data integrity. */
|
|
207
|
+
const Stacktrace: string = "code.stacktrace";
|
|
208
|
+
}
|
|
209
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Container {
|
|
210
|
+
/** The command used to run the container (i.e. the command name). */
|
|
211
|
+
const Command: string = "container.command";
|
|
212
|
+
/** All the command arguments (including the command/executable itself) run by the container. */
|
|
213
|
+
const CommandArgs: string = "container.command_args";
|
|
214
|
+
/** The full command run by the container as a single string representing the full command. */
|
|
215
|
+
const CommandLine: string = "container.command_line";
|
|
216
|
+
/** Deprecated, use `cpu.mode` instead. */
|
|
217
|
+
#deprecated "Replaced by cpu.mode."
|
|
218
|
+
const CpuState: string = "container.cpu.state";
|
|
219
|
+
/** The name of the CSI ([Container Storage Interface](https://github.com/container-storage-interface/spec)) plugin used by the volume. */
|
|
220
|
+
const CsiPluginName: string = "container.csi.plugin.name";
|
|
221
|
+
/** The unique volume ID returned by the CSI ([Container Storage Interface](https://github.com/container-storage-interface/spec)) plugin. */
|
|
222
|
+
const CsiVolumeId: string = "container.csi.volume.id";
|
|
223
|
+
/** Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/containers/run/#container-identification). The UUID might be abbreviated. */
|
|
224
|
+
const Id: string = "container.id";
|
|
225
|
+
/** Runtime specific image identifier. Usually a hash algorithm followed by a UUID. */
|
|
226
|
+
const ImageId: string = "container.image.id";
|
|
227
|
+
/** Name of the image the container was built on. */
|
|
228
|
+
const ImageName: string = "container.image.name";
|
|
229
|
+
/** Repo digests of the container image as provided by the container runtime. */
|
|
230
|
+
const ImageRepoDigests: string = "container.image.repo_digests";
|
|
231
|
+
/** Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/reference/api/engine/version/v1.52/#tag/Image/operation/ImageInspect). Should be only the `<tag>` section of the full name for example from `registry.example.com/my-org/my-image:<tag>`. */
|
|
232
|
+
const ImageTags: string = "container.image.tags";
|
|
233
|
+
/** Container labels, `<key>` being the label name, the value being the label value. */
|
|
234
|
+
const Label: string = "container.label";
|
|
235
|
+
/** Deprecated, use `container.label` instead. */
|
|
236
|
+
#deprecated "Replaced by container.label."
|
|
237
|
+
const Labels: string = "container.labels";
|
|
238
|
+
/** Container name used by container runtime. */
|
|
239
|
+
const Name: string = "container.name";
|
|
240
|
+
/** The container runtime managing this container. */
|
|
241
|
+
#deprecated "Replaced by container.runtime.name."
|
|
242
|
+
const Runtime: string = "container.runtime";
|
|
243
|
+
/** A description about the runtime which could include, for example details about the CRI/API version being used or other customizations. */
|
|
244
|
+
const RuntimeDescription: string = "container.runtime.description";
|
|
245
|
+
/** The container runtime managing this container. */
|
|
246
|
+
const RuntimeName: string = "container.runtime.name";
|
|
247
|
+
/** The version of the runtime of this process, as returned by the runtime without modification. */
|
|
248
|
+
const RuntimeVersion: string = "container.runtime.version";
|
|
249
|
+
}
|
|
250
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Db {
|
|
251
|
+
/** Deprecated, use `cassandra.consistency.level` instead. */
|
|
252
|
+
#deprecated "Replaced by cassandra.consistency.level."
|
|
253
|
+
const CassandraConsistencyLevel: string = "db.cassandra.consistency_level";
|
|
254
|
+
/** Deprecated, use `cassandra.coordinator.dc` instead. */
|
|
255
|
+
#deprecated "Replaced by cassandra.coordinator.dc."
|
|
256
|
+
const CassandraCoordinatorDc: string = "db.cassandra.coordinator.dc";
|
|
257
|
+
/** Deprecated, use `cassandra.coordinator.id` instead. */
|
|
258
|
+
#deprecated "Replaced by cassandra.coordinator.id."
|
|
259
|
+
const CassandraCoordinatorId: string = "db.cassandra.coordinator.id";
|
|
260
|
+
/** Deprecated, use `cassandra.query.idempotent` instead. */
|
|
261
|
+
#deprecated "Replaced by cassandra.query.idempotent."
|
|
262
|
+
const CassandraIdempotence: string = "db.cassandra.idempotence";
|
|
263
|
+
/** Deprecated, use `cassandra.page.size` instead. */
|
|
264
|
+
#deprecated "Replaced by cassandra.page.size."
|
|
265
|
+
const CassandraPageSize: string = "db.cassandra.page_size";
|
|
266
|
+
/** Deprecated, use `cassandra.speculative_execution.count` instead. */
|
|
267
|
+
#deprecated "Replaced by cassandra.speculative_execution.count."
|
|
268
|
+
const CassandraSpeculativeExecutionCount: string = "db.cassandra.speculative_execution_count";
|
|
269
|
+
/** Deprecated, use `db.collection.name` instead. */
|
|
270
|
+
#deprecated "Replaced by db.collection.name."
|
|
271
|
+
const CassandraTable: string = "db.cassandra.table";
|
|
272
|
+
/** The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation SHOULD use a combination of parameters that would make the name unique, for example, combining attributes `server.address`, `server.port`, and `db.namespace`, formatted as `server.address:server.port/db.namespace`. Instrumentations that generate connection pool name following different patterns SHOULD document it. */
|
|
273
|
+
const ClientConnectionPoolName: string = "db.client.connection.pool.name";
|
|
274
|
+
/** The state of a connection in the pool */
|
|
275
|
+
const ClientConnectionState: string = "db.client.connection.state";
|
|
276
|
+
/** Deprecated, use `db.client.connection.pool.name` instead. */
|
|
277
|
+
#deprecated "Replaced by db.client.connection.pool.name."
|
|
278
|
+
const ClientConnectionsPoolName: string = "db.client.connections.pool.name";
|
|
279
|
+
/** Deprecated, use `db.client.connection.state` instead. */
|
|
280
|
+
#deprecated "Replaced by db.client.connection.state."
|
|
281
|
+
const ClientConnectionsState: string = "db.client.connections.state";
|
|
282
|
+
/** The name of a collection (table, container) within the database. */
|
|
283
|
+
const CollectionName: string = "db.collection.name";
|
|
284
|
+
/** Deprecated, use `server.address`, `server.port` attributes instead. */
|
|
285
|
+
#deprecated "Replaced by `server.address` and `server.port`."
|
|
286
|
+
const ConnectionString: string = "db.connection_string";
|
|
287
|
+
/** Deprecated, use `azure.client.id` instead. */
|
|
288
|
+
#deprecated "Replaced by azure.client.id."
|
|
289
|
+
const CosmosdbClientId: string = "db.cosmosdb.client_id";
|
|
290
|
+
/** Deprecated, use `azure.cosmosdb.connection.mode` instead. */
|
|
291
|
+
#deprecated "Replaced by azure.cosmosdb.connection.mode."
|
|
292
|
+
const CosmosdbConnectionMode: string = "db.cosmosdb.connection_mode";
|
|
293
|
+
/** Deprecated, use `cosmosdb.consistency.level` instead. */
|
|
294
|
+
#deprecated "Replaced by azure.cosmosdb.consistency.level."
|
|
295
|
+
const CosmosdbConsistencyLevel: string = "db.cosmosdb.consistency_level";
|
|
296
|
+
/** Deprecated, use `db.collection.name` instead. */
|
|
297
|
+
#deprecated "Replaced by db.collection.name."
|
|
298
|
+
const CosmosdbContainer: string = "db.cosmosdb.container";
|
|
299
|
+
/** Deprecated, no replacement at this time. */
|
|
300
|
+
#deprecated "Removed, no replacement."
|
|
301
|
+
const CosmosdbOperationType: string = "db.cosmosdb.operation_type";
|
|
302
|
+
/** Deprecated, use `azure.cosmosdb.operation.contacted_regions` instead. */
|
|
303
|
+
#deprecated "Replaced by azure.cosmosdb.operation.contacted_regions."
|
|
304
|
+
const CosmosdbRegionsContacted: string = "db.cosmosdb.regions_contacted";
|
|
305
|
+
/** Deprecated, use `azure.cosmosdb.operation.request_charge` instead. */
|
|
306
|
+
#deprecated "Replaced by azure.cosmosdb.operation.request_charge."
|
|
307
|
+
const CosmosdbRequestCharge: string = "db.cosmosdb.request_charge";
|
|
308
|
+
/** Deprecated, use `azure.cosmosdb.request.body.size` instead. */
|
|
309
|
+
#deprecated "Replaced by azure.cosmosdb.request.body.size."
|
|
310
|
+
const CosmosdbRequestContentLength: string = "db.cosmosdb.request_content_length";
|
|
311
|
+
/** Deprecated, use `db.response.status_code` instead. */
|
|
312
|
+
#deprecated "Use `db.response.status_code` instead."
|
|
313
|
+
const CosmosdbStatusCode: string = "db.cosmosdb.status_code";
|
|
314
|
+
/** Deprecated, use `azure.cosmosdb.response.sub_status_code` instead. */
|
|
315
|
+
#deprecated "Replaced by azure.cosmosdb.response.sub_status_code."
|
|
316
|
+
const CosmosdbSubStatusCode: string = "db.cosmosdb.sub_status_code";
|
|
317
|
+
/** Deprecated, use `db.namespace` instead. */
|
|
318
|
+
#deprecated "Replaced by db.namespace."
|
|
319
|
+
const ElasticsearchClusterName: string = "db.elasticsearch.cluster.name";
|
|
320
|
+
/** Deprecated, use `elasticsearch.node.name` instead. */
|
|
321
|
+
#deprecated "Replaced by elasticsearch.node.name."
|
|
322
|
+
const ElasticsearchNodeName: string = "db.elasticsearch.node.name";
|
|
323
|
+
/** Deprecated, use `db.operation.parameter` instead. */
|
|
324
|
+
#deprecated "Replaced by db.operation.parameter."
|
|
325
|
+
const ElasticsearchPathParts: string = "db.elasticsearch.path_parts";
|
|
326
|
+
/** Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead. */
|
|
327
|
+
#deprecated "Removed, no replacement."
|
|
328
|
+
const InstanceId: string = "db.instance.id";
|
|
329
|
+
/** Removed, no replacement at this time. */
|
|
330
|
+
#deprecated "Removed, no replacement."
|
|
331
|
+
const JdbcDriverClassname: string = "db.jdbc.driver_classname";
|
|
332
|
+
/** Deprecated, use `db.collection.name` instead. */
|
|
333
|
+
#deprecated "Replaced by db.collection.name."
|
|
334
|
+
const MongodbCollection: string = "db.mongodb.collection";
|
|
335
|
+
/** Deprecated, SQL Server instance is now populated as a part of `db.namespace` attribute. */
|
|
336
|
+
#deprecated "Removed, no replacement."
|
|
337
|
+
const MssqlInstanceName: string = "db.mssql.instance_name";
|
|
338
|
+
/** Deprecated, use `db.namespace` instead. */
|
|
339
|
+
#deprecated "Replaced by db.namespace."
|
|
340
|
+
const Name: string = "db.name";
|
|
341
|
+
/** The name of the database, fully qualified within the server address and port. */
|
|
342
|
+
const Namespace: string = "db.namespace";
|
|
343
|
+
/** Deprecated, use `db.operation.name` instead. */
|
|
344
|
+
#deprecated "Replaced by db.operation.name."
|
|
345
|
+
const Operation: string = "db.operation";
|
|
346
|
+
/** The number of queries included in a batch operation. */
|
|
347
|
+
const OperationBatchSize: string = "db.operation.batch.size";
|
|
348
|
+
/** The name of the operation or command being executed. */
|
|
349
|
+
const OperationName: string = "db.operation.name";
|
|
350
|
+
/** A database operation parameter, with `<key>` being the parameter name, and the attribute value being a string representation of the parameter value. */
|
|
351
|
+
const OperationParameter: string = "db.operation.parameter";
|
|
352
|
+
/** A database query parameter, with `<key>` being the parameter name, and the attribute value being a string representation of the parameter value. */
|
|
353
|
+
const QueryParameter: string = "db.query.parameter";
|
|
354
|
+
/** Low cardinality summary of a database query. */
|
|
355
|
+
const QuerySummary: string = "db.query.summary";
|
|
356
|
+
/** The database query being executed. */
|
|
357
|
+
const QueryText: string = "db.query.text";
|
|
358
|
+
/** Deprecated, use `db.namespace` instead. */
|
|
359
|
+
#deprecated "Uncategorized."
|
|
360
|
+
const RedisDatabaseIndex: string = "db.redis.database_index";
|
|
361
|
+
/** Number of rows returned by the operation. */
|
|
362
|
+
const ResponseReturnedRows: string = "db.response.returned_rows";
|
|
363
|
+
/** Database response status code. */
|
|
364
|
+
const ResponseStatusCode: string = "db.response.status_code";
|
|
365
|
+
/** Deprecated, use `db.collection.name` instead. */
|
|
366
|
+
#deprecated "Replaced by `db.collection.name`, but only if not extracting the value from `db.query.text`."
|
|
367
|
+
const SqlTable: string = "db.sql.table";
|
|
368
|
+
/** The database statement being executed. */
|
|
369
|
+
#deprecated "Replaced by db.query.text."
|
|
370
|
+
const Statement: string = "db.statement";
|
|
371
|
+
/** The name of a stored procedure within the database. */
|
|
372
|
+
const StoredProcedureName: string = "db.stored_procedure.name";
|
|
373
|
+
/** Deprecated, use `db.system.name` instead. */
|
|
374
|
+
#deprecated "Replaced by db.system.name."
|
|
375
|
+
const System: string = "db.system";
|
|
376
|
+
/** The database management system (DBMS) product as identified by the client instrumentation. */
|
|
377
|
+
const SystemName: string = "db.system.name";
|
|
378
|
+
/** Deprecated, no replacement at this time. */
|
|
379
|
+
#deprecated "Removed, no replacement."
|
|
380
|
+
const User: string = "db.user";
|
|
381
|
+
}
|
|
382
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Deployment {
|
|
383
|
+
/** Deprecated, use `deployment.environment.name` instead. */
|
|
384
|
+
#deprecated "Replaced by deployment.environment.name."
|
|
385
|
+
const Environment: string = "deployment.environment";
|
|
386
|
+
/** Name of the [deployment environment](https://wikipedia.org/wiki/Deployment_environment) (aka deployment tier). */
|
|
387
|
+
const EnvironmentName: string = "deployment.environment.name";
|
|
388
|
+
/** The id of the deployment. */
|
|
389
|
+
const Id: string = "deployment.id";
|
|
390
|
+
/** The name of the deployment. */
|
|
391
|
+
const Name: string = "deployment.name";
|
|
392
|
+
/** The status of the deployment. */
|
|
393
|
+
const Status: string = "deployment.status";
|
|
394
|
+
}
|
|
395
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Destination {
|
|
396
|
+
/** Destination address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. */
|
|
397
|
+
const Address: string = "destination.address";
|
|
398
|
+
/** Destination port number */
|
|
399
|
+
const Port: string = "destination.port";
|
|
400
|
+
}
|
|
401
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Dns {
|
|
402
|
+
/** The list of IPv4 or IPv6 addresses resolved during DNS lookup. */
|
|
403
|
+
const Answers: string = "dns.answers";
|
|
404
|
+
/** The name being queried. */
|
|
405
|
+
const QuestionName: string = "dns.question.name";
|
|
406
|
+
}
|
|
407
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Dotnet {
|
|
408
|
+
/** Name of the garbage collector managed heap generation. */
|
|
409
|
+
const GcHeapGeneration: string = "dotnet.gc.heap.generation";
|
|
410
|
+
}
|
|
411
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Elasticsearch {
|
|
412
|
+
/** Represents the human-readable identifier of the node/instance to which a request was routed. */
|
|
413
|
+
const NodeName: string = "elasticsearch.node.name";
|
|
414
|
+
}
|
|
415
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Enduser {
|
|
416
|
+
/** Unique identifier of an end user in the system. It maybe a username, email address, or other identifier. */
|
|
417
|
+
const Id: string = "enduser.id";
|
|
418
|
+
/** Pseudonymous identifier of an end user. This identifier should be a random value that is not directly linked or associated with the end user's actual identity. */
|
|
419
|
+
const PseudoId: string = "enduser.pseudo.id";
|
|
420
|
+
/** Deprecated, use `user.roles` instead. */
|
|
421
|
+
#deprecated "Use `user.roles` instead."
|
|
422
|
+
const Role: string = "enduser.role";
|
|
423
|
+
/** Deprecated, no replacement at this time. */
|
|
424
|
+
#deprecated "Removed, no replacement."
|
|
425
|
+
const Scope: string = "enduser.scope";
|
|
426
|
+
}
|
|
427
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Error {
|
|
428
|
+
/** A message providing more detail about an error in human-readable form. */
|
|
429
|
+
#deprecated "Removed, no replacement."
|
|
430
|
+
const Message: string = "error.message";
|
|
431
|
+
/** Describes a class of error the operation ended with. */
|
|
432
|
+
const Type: string = "error.type";
|
|
433
|
+
}
|
|
434
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Exception {
|
|
435
|
+
/** Indicates that the exception is escaping the scope of the span. */
|
|
436
|
+
#deprecated "Removed, no replacement."
|
|
437
|
+
const Escaped: string = "exception.escaped";
|
|
438
|
+
/** The exception message. */
|
|
439
|
+
const Message: string = "exception.message";
|
|
440
|
+
/** A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. */
|
|
441
|
+
const Stacktrace: string = "exception.stacktrace";
|
|
442
|
+
/** The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it. */
|
|
443
|
+
const Type: string = "exception.type";
|
|
444
|
+
}
|
|
445
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Faas {
|
|
446
|
+
/** A boolean that is true if the serverless function is executed for the first time (aka cold-start). */
|
|
447
|
+
const Coldstart: string = "faas.coldstart";
|
|
448
|
+
/** A string containing the schedule period as [Cron Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm). */
|
|
449
|
+
const Cron: string = "faas.cron";
|
|
450
|
+
/** The name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database name. */
|
|
451
|
+
const DocumentCollection: string = "faas.document.collection";
|
|
452
|
+
/** The document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name. */
|
|
453
|
+
const DocumentName: string = "faas.document.name";
|
|
454
|
+
/** Describes the type of the operation that was performed on the data. */
|
|
455
|
+
const DocumentOperation: string = "faas.document.operation";
|
|
456
|
+
/** A string containing the time when the data was accessed in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). */
|
|
457
|
+
const DocumentTime: string = "faas.document.time";
|
|
458
|
+
/** The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version. */
|
|
459
|
+
const Instance: string = "faas.instance";
|
|
460
|
+
/** The invocation ID of the current function invocation. */
|
|
461
|
+
const InvocationId: string = "faas.invocation_id";
|
|
462
|
+
/** The name of the invoked function. */
|
|
463
|
+
const InvokedName: string = "faas.invoked_name";
|
|
464
|
+
/** The cloud provider of the invoked function. */
|
|
465
|
+
const InvokedProvider: string = "faas.invoked_provider";
|
|
466
|
+
/** The cloud region of the invoked function. */
|
|
467
|
+
const InvokedRegion: string = "faas.invoked_region";
|
|
468
|
+
/** The amount of memory available to the serverless function converted to Bytes. */
|
|
469
|
+
const MaxMemory: string = "faas.max_memory";
|
|
470
|
+
/** The name of the single function that this runtime instance executes. */
|
|
471
|
+
const Name: string = "faas.name";
|
|
472
|
+
/** A string containing the function invocation time in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). */
|
|
473
|
+
const Time: string = "faas.time";
|
|
474
|
+
/** Type of the trigger which caused this function invocation. */
|
|
475
|
+
const Trigger: string = "faas.trigger";
|
|
476
|
+
/** The immutable version of the function being executed. */
|
|
477
|
+
const Version: string = "faas.version";
|
|
478
|
+
}
|
|
479
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.FeatureFlag {
|
|
480
|
+
/** The unique identifier for the flag evaluation context. For example, the targeting key. */
|
|
481
|
+
const ContextId: string = "feature_flag.context.id";
|
|
482
|
+
/** A message providing more detail about an error that occurred during feature flag evaluation in human-readable form. */
|
|
483
|
+
const ErrorMessage: string = "feature_flag.error.message";
|
|
484
|
+
/** Deprecated, use `feature_flag.error.message` instead. */
|
|
485
|
+
#deprecated "Replaced by feature_flag.error.message."
|
|
486
|
+
const EvaluationErrorMessage: string = "feature_flag.evaluation.error.message";
|
|
487
|
+
/** Deprecated, use `feature_flag.result.reason` instead. */
|
|
488
|
+
#deprecated "Replaced by feature_flag.result.reason."
|
|
489
|
+
const EvaluationReason: string = "feature_flag.evaluation.reason";
|
|
490
|
+
/** The lookup key of the feature flag. */
|
|
491
|
+
const Key: string = "feature_flag.key";
|
|
492
|
+
/** Identifies the feature flag provider. */
|
|
493
|
+
const ProviderName: string = "feature_flag.provider.name";
|
|
494
|
+
/** The reason code which shows how a feature flag value was determined. */
|
|
495
|
+
const ResultReason: string = "feature_flag.result.reason";
|
|
496
|
+
/** The evaluated value of the feature flag. */
|
|
497
|
+
const ResultValue: string = "feature_flag.result.value";
|
|
498
|
+
/** A semantic identifier for an evaluated flag value. */
|
|
499
|
+
const ResultVariant: string = "feature_flag.result.variant";
|
|
500
|
+
/** The identifier of the [flag set](https://openfeature.dev/specification/glossary/#flag-set) to which the feature flag belongs. */
|
|
501
|
+
const SetId: string = "feature_flag.set.id";
|
|
502
|
+
/** Deprecated, use `feature_flag.result.variant` instead. */
|
|
503
|
+
#deprecated "Replaced by feature_flag.result.variant."
|
|
504
|
+
const Variant: string = "feature_flag.variant";
|
|
505
|
+
/** The version of the ruleset used during the evaluation. This may be any stable value which uniquely identifies the ruleset. */
|
|
506
|
+
const Version: string = "feature_flag.version";
|
|
507
|
+
}
|
|
508
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.File {
|
|
509
|
+
/** Time when the file was last accessed, in ISO 8601 format. */
|
|
510
|
+
const Accessed: string = "file.accessed";
|
|
511
|
+
/** Array of file attributes. */
|
|
512
|
+
const Attributes: string = "file.attributes";
|
|
513
|
+
/** Time when the file attributes or metadata was last changed, in ISO 8601 format. */
|
|
514
|
+
const Changed: string = "file.changed";
|
|
515
|
+
/** Time when the file was created, in ISO 8601 format. */
|
|
516
|
+
const Created: string = "file.created";
|
|
517
|
+
/** Directory where the file is located. It should include the drive letter, when appropriate. */
|
|
518
|
+
const Directory: string = "file.directory";
|
|
519
|
+
/** File extension, excluding the leading dot. */
|
|
520
|
+
const Extension: string = "file.extension";
|
|
521
|
+
/** Name of the fork. A fork is additional data associated with a filesystem object. */
|
|
522
|
+
const ForkName: string = "file.fork_name";
|
|
523
|
+
/** Primary Group ID (GID) of the file. */
|
|
524
|
+
const GroupId: string = "file.group.id";
|
|
525
|
+
/** Primary group name of the file. */
|
|
526
|
+
const GroupName: string = "file.group.name";
|
|
527
|
+
/** Inode representing the file in the filesystem. */
|
|
528
|
+
const Inode: string = "file.inode";
|
|
529
|
+
/** Mode of the file in octal representation. */
|
|
530
|
+
const Mode: string = "file.mode";
|
|
531
|
+
/** Time when the file content was last modified, in ISO 8601 format. */
|
|
532
|
+
const Modified: string = "file.modified";
|
|
533
|
+
/** Name of the file including the extension, without the directory. */
|
|
534
|
+
const Name: string = "file.name";
|
|
535
|
+
/** The user ID (UID) or security identifier (SID) of the file owner. */
|
|
536
|
+
const OwnerId: string = "file.owner.id";
|
|
537
|
+
/** Username of the file owner. */
|
|
538
|
+
const OwnerName: string = "file.owner.name";
|
|
539
|
+
/** Full path to the file, including the file name. It should include the drive letter, when appropriate. */
|
|
540
|
+
const Path: string = "file.path";
|
|
541
|
+
/** File size in bytes. */
|
|
542
|
+
const Size: string = "file.size";
|
|
543
|
+
/** Path to the target of a symbolic link. */
|
|
544
|
+
const SymbolicLinkTargetPath: string = "file.symbolic_link.target_path";
|
|
545
|
+
}
|
|
546
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.GenAi {
|
|
547
|
+
/** Free-form description of the GenAI agent provided by the application. */
|
|
548
|
+
const AgentDescription: string = "gen_ai.agent.description";
|
|
549
|
+
/** The unique identifier of the GenAI agent. */
|
|
550
|
+
const AgentId: string = "gen_ai.agent.id";
|
|
551
|
+
/** Human-readable name of the GenAI agent provided by the application. */
|
|
552
|
+
const AgentName: string = "gen_ai.agent.name";
|
|
553
|
+
/** The version of the GenAI agent. */
|
|
554
|
+
const AgentVersion: string = "gen_ai.agent.version";
|
|
555
|
+
/** Deprecated, use Event API to report completions contents. */
|
|
556
|
+
#deprecated "Removed, no replacement."
|
|
557
|
+
const Completion: string = "gen_ai.completion";
|
|
558
|
+
/** The unique identifier for a conversation (session, thread), used to store and correlate messages within this conversation. */
|
|
559
|
+
const ConversationId: string = "gen_ai.conversation.id";
|
|
560
|
+
/** The data source identifier. */
|
|
561
|
+
const DataSourceId: string = "gen_ai.data_source.id";
|
|
562
|
+
/** The number of dimensions the resulting output embeddings should have. */
|
|
563
|
+
const EmbeddingsDimensionCount: string = "gen_ai.embeddings.dimension.count";
|
|
564
|
+
/** A free-form explanation for the assigned score provided by the evaluator. */
|
|
565
|
+
const EvaluationExplanation: string = "gen_ai.evaluation.explanation";
|
|
566
|
+
/** The name of the evaluation metric used for the GenAI response. */
|
|
567
|
+
const EvaluationName: string = "gen_ai.evaluation.name";
|
|
568
|
+
/** Human readable label for evaluation. */
|
|
569
|
+
const EvaluationScoreLabel: string = "gen_ai.evaluation.score.label";
|
|
570
|
+
/** The evaluation score returned by the evaluator. */
|
|
571
|
+
const EvaluationScoreValue: string = "gen_ai.evaluation.score.value";
|
|
572
|
+
/** The chat history provided to the model as an input. */
|
|
573
|
+
const InputMessages: string = "gen_ai.input.messages";
|
|
574
|
+
/** Deprecated, use `gen_ai.output.type`. */
|
|
575
|
+
#deprecated "Replaced by gen_ai.output.type."
|
|
576
|
+
const OpenaiRequestResponseFormat: string = "gen_ai.openai.request.response_format";
|
|
577
|
+
/** Deprecated, use `gen_ai.request.seed`. */
|
|
578
|
+
#deprecated "Replaced by gen_ai.request.seed."
|
|
579
|
+
const OpenaiRequestSeed: string = "gen_ai.openai.request.seed";
|
|
580
|
+
/** Deprecated, use `openai.request.service_tier`. */
|
|
581
|
+
#deprecated "Replaced by openai.request.service_tier."
|
|
582
|
+
const OpenaiRequestServiceTier: string = "gen_ai.openai.request.service_tier";
|
|
583
|
+
/** Deprecated, use `openai.response.service_tier`. */
|
|
584
|
+
#deprecated "Replaced by openai.response.service_tier."
|
|
585
|
+
const OpenaiResponseServiceTier: string = "gen_ai.openai.response.service_tier";
|
|
586
|
+
/** Deprecated, use `openai.response.system_fingerprint`. */
|
|
587
|
+
#deprecated "Replaced by openai.response.system_fingerprint."
|
|
588
|
+
const OpenaiResponseSystemFingerprint: string = "gen_ai.openai.response.system_fingerprint";
|
|
589
|
+
/** The name of the operation being performed. */
|
|
590
|
+
const OperationName: string = "gen_ai.operation.name";
|
|
591
|
+
/** Messages returned by the model where each message represents a specific model response (choice, candidate). */
|
|
592
|
+
const OutputMessages: string = "gen_ai.output.messages";
|
|
593
|
+
/** Represents the content type requested by the client. */
|
|
594
|
+
const OutputType: string = "gen_ai.output.type";
|
|
595
|
+
/** Deprecated, use Event API to report prompt contents. */
|
|
596
|
+
#deprecated "Removed, no replacement."
|
|
597
|
+
const Prompt: string = "gen_ai.prompt";
|
|
598
|
+
/** The name of the prompt that uniquely identifies it. */
|
|
599
|
+
const PromptName: string = "gen_ai.prompt.name";
|
|
600
|
+
/** The Generative AI provider as identified by the client or server instrumentation. */
|
|
601
|
+
const ProviderName: string = "gen_ai.provider.name";
|
|
602
|
+
/** The target number of candidate completions to return. */
|
|
603
|
+
const RequestChoiceCount: string = "gen_ai.request.choice.count";
|
|
604
|
+
/** The encoding formats requested in an embeddings operation, if specified. */
|
|
605
|
+
const RequestEncodingFormats: string = "gen_ai.request.encoding_formats";
|
|
606
|
+
/** The frequency penalty setting for the GenAI request. */
|
|
607
|
+
const RequestFrequencyPenalty: string = "gen_ai.request.frequency_penalty";
|
|
608
|
+
/** The maximum number of tokens the model generates for a request. */
|
|
609
|
+
const RequestMaxTokens: string = "gen_ai.request.max_tokens";
|
|
610
|
+
/** The name of the GenAI model a request is being made to. */
|
|
611
|
+
const RequestModel: string = "gen_ai.request.model";
|
|
612
|
+
/** The presence penalty setting for the GenAI request. */
|
|
613
|
+
const RequestPresencePenalty: string = "gen_ai.request.presence_penalty";
|
|
614
|
+
/** Requests with same seed value more likely to return same result. */
|
|
615
|
+
const RequestSeed: string = "gen_ai.request.seed";
|
|
616
|
+
/** List of sequences that the model will use to stop generating further tokens. */
|
|
617
|
+
const RequestStopSequences: string = "gen_ai.request.stop_sequences";
|
|
618
|
+
/** Indicates whether the GenAI request was made in streaming mode. */
|
|
619
|
+
const RequestStream: string = "gen_ai.request.stream";
|
|
620
|
+
/** The temperature setting for the GenAI request. */
|
|
621
|
+
const RequestTemperature: string = "gen_ai.request.temperature";
|
|
622
|
+
/** The top_k sampling setting for the GenAI request. */
|
|
623
|
+
const RequestTopK: string = "gen_ai.request.top_k";
|
|
624
|
+
/** The top_p sampling setting for the GenAI request. */
|
|
625
|
+
const RequestTopP: string = "gen_ai.request.top_p";
|
|
626
|
+
/** Array of reasons the model stopped generating tokens, corresponding to each generation received. */
|
|
627
|
+
const ResponseFinishReasons: string = "gen_ai.response.finish_reasons";
|
|
628
|
+
/** The unique identifier for the completion. */
|
|
629
|
+
const ResponseId: string = "gen_ai.response.id";
|
|
630
|
+
/** The name of the model that generated the response. */
|
|
631
|
+
const ResponseModel: string = "gen_ai.response.model";
|
|
632
|
+
/** Time to first chunk in a streaming response, measured from request issuance, in seconds. The value is measured from when the client issues the generation request to when the first chunk is received in the response stream. */
|
|
633
|
+
const ResponseTimeToFirstChunk: string = "gen_ai.response.time_to_first_chunk";
|
|
634
|
+
/** The documents retrieved. */
|
|
635
|
+
const RetrievalDocuments: string = "gen_ai.retrieval.documents";
|
|
636
|
+
/** The query text used for retrieval. */
|
|
637
|
+
const RetrievalQueryText: string = "gen_ai.retrieval.query.text";
|
|
638
|
+
/** Deprecated, use `gen_ai.provider.name` instead. */
|
|
639
|
+
#deprecated "Replaced by gen_ai.provider.name."
|
|
640
|
+
const System: string = "gen_ai.system";
|
|
641
|
+
/** The system message or instructions provided to the GenAI model separately from the chat history. */
|
|
642
|
+
const SystemInstructions: string = "gen_ai.system_instructions";
|
|
643
|
+
/** The type of token being counted. */
|
|
644
|
+
const TokenType: string = "gen_ai.token.type";
|
|
645
|
+
/** Parameters passed to the tool call. */
|
|
646
|
+
const ToolCallArguments: string = "gen_ai.tool.call.arguments";
|
|
647
|
+
/** The tool call identifier. */
|
|
648
|
+
const ToolCallId: string = "gen_ai.tool.call.id";
|
|
649
|
+
/** The result returned by the tool call (if any and if execution was successful). */
|
|
650
|
+
const ToolCallResult: string = "gen_ai.tool.call.result";
|
|
651
|
+
/** The list of tool definitions available to the GenAI agent or model. */
|
|
652
|
+
const ToolDefinitions: string = "gen_ai.tool.definitions";
|
|
653
|
+
/** The tool description. */
|
|
654
|
+
const ToolDescription: string = "gen_ai.tool.description";
|
|
655
|
+
/** Name of the tool utilized by the agent. */
|
|
656
|
+
const ToolName: string = "gen_ai.tool.name";
|
|
657
|
+
/** Type of the tool utilized by the agent */
|
|
658
|
+
const ToolType: string = "gen_ai.tool.type";
|
|
659
|
+
/** The number of input tokens written to a provider-managed cache. */
|
|
660
|
+
const UsageCacheCreationInputTokens: string = "gen_ai.usage.cache_creation.input_tokens";
|
|
661
|
+
/** The number of input tokens served from a provider-managed cache. */
|
|
662
|
+
const UsageCacheReadInputTokens: string = "gen_ai.usage.cache_read.input_tokens";
|
|
663
|
+
/** Deprecated, use `gen_ai.usage.output_tokens` instead. */
|
|
664
|
+
#deprecated "Replaced by gen_ai.usage.output_tokens."
|
|
665
|
+
const UsageCompletionTokens: string = "gen_ai.usage.completion_tokens";
|
|
666
|
+
/** The number of tokens used in the GenAI input (prompt). */
|
|
667
|
+
const UsageInputTokens: string = "gen_ai.usage.input_tokens";
|
|
668
|
+
/** The number of tokens used in the GenAI response (completion). */
|
|
669
|
+
const UsageOutputTokens: string = "gen_ai.usage.output_tokens";
|
|
670
|
+
/** Deprecated, use `gen_ai.usage.input_tokens` instead. */
|
|
671
|
+
#deprecated "Replaced by gen_ai.usage.input_tokens."
|
|
672
|
+
const UsagePromptTokens: string = "gen_ai.usage.prompt_tokens";
|
|
673
|
+
/** The number of output tokens used for reasoning (e.g. chain-of-thought, extended thinking). */
|
|
674
|
+
const UsageReasoningOutputTokens: string = "gen_ai.usage.reasoning.output_tokens";
|
|
675
|
+
/** Human-readable name of the GenAI workflow provided by the application. */
|
|
676
|
+
const WorkflowName: string = "gen_ai.workflow.name";
|
|
677
|
+
}
|
|
678
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Geo {
|
|
679
|
+
/** Two-letter code representing continent’s name. */
|
|
680
|
+
const ContinentCode: string = "geo.continent.code";
|
|
681
|
+
/** Two-letter ISO Country Code ([ISO 3166-1 alpha2](https://wikipedia.org/wiki/ISO_3166-1#Codes)). */
|
|
682
|
+
const CountryIsoCode: string = "geo.country.iso_code";
|
|
683
|
+
/** Locality name. Represents the name of a city, town, village, or similar populated place. */
|
|
684
|
+
const LocalityName: string = "geo.locality.name";
|
|
685
|
+
/** Latitude of the geo location in [WGS84](https://wikipedia.org/wiki/World_Geodetic_System#WGS84). */
|
|
686
|
+
const LocationLat: string = "geo.location.lat";
|
|
687
|
+
/** Longitude of the geo location in [WGS84](https://wikipedia.org/wiki/World_Geodetic_System#WGS84). */
|
|
688
|
+
const LocationLon: string = "geo.location.lon";
|
|
689
|
+
/** Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country. */
|
|
690
|
+
const PostalCode: string = "geo.postal_code";
|
|
691
|
+
/** Region ISO code ([ISO 3166-2](https://wikipedia.org/wiki/ISO_3166-2)). */
|
|
692
|
+
const RegionIsoCode: string = "geo.region.iso_code";
|
|
693
|
+
}
|
|
694
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Host {
|
|
695
|
+
/** The CPU architecture the host system is running on. */
|
|
696
|
+
const Arch: string = "host.arch";
|
|
697
|
+
/** The amount of level 2 memory cache available to the processor (in Bytes). */
|
|
698
|
+
const CpuCacheL2Size: string = "host.cpu.cache.l2.size";
|
|
699
|
+
/** Family or generation of the CPU. */
|
|
700
|
+
const CpuFamily: string = "host.cpu.family";
|
|
701
|
+
/** Model identifier. It provides more granular information about the CPU, distinguishing it from other CPUs within the same family. */
|
|
702
|
+
const CpuModelId: string = "host.cpu.model.id";
|
|
703
|
+
/** Model designation of the processor. */
|
|
704
|
+
const CpuModelName: string = "host.cpu.model.name";
|
|
705
|
+
/** Stepping or core revisions. */
|
|
706
|
+
const CpuStepping: string = "host.cpu.stepping";
|
|
707
|
+
/** Processor manufacturer identifier. A maximum 12-character string. */
|
|
708
|
+
const CpuVendorId: string = "host.cpu.vendor.id";
|
|
709
|
+
/** Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized systems, this should be the `machine-id`. See the table below for the sources to use to determine the `machine-id` based on operating system. */
|
|
710
|
+
const Id: string = "host.id";
|
|
711
|
+
/** VM image ID or host OS image ID. For Cloud, this value is from the provider. */
|
|
712
|
+
const ImageId: string = "host.image.id";
|
|
713
|
+
/** Name of the VM image or OS install the host was instantiated from. */
|
|
714
|
+
const ImageName: string = "host.image.name";
|
|
715
|
+
/** The version string of the VM image or host OS as defined in [Version Attributes](/docs/resource/README.md#version-attributes). */
|
|
716
|
+
const ImageVersion: string = "host.image.version";
|
|
717
|
+
/** Available IP addresses of the host, excluding loopback interfaces. */
|
|
718
|
+
const Ip: string = "host.ip";
|
|
719
|
+
/** Available MAC addresses of the host, excluding loopback interfaces. */
|
|
720
|
+
const Mac: string = "host.mac";
|
|
721
|
+
/** Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user. */
|
|
722
|
+
const Name: string = "host.name";
|
|
723
|
+
/** Type of host. For Cloud, this must be the machine type. */
|
|
724
|
+
const Type: string = "host.type";
|
|
725
|
+
}
|
|
726
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Http {
|
|
727
|
+
/** Deprecated, use `client.address` instead. */
|
|
728
|
+
#deprecated "Replaced by client.address."
|
|
729
|
+
const ClientIp: string = "http.client_ip";
|
|
730
|
+
/** State of the HTTP connection in the HTTP connection pool. */
|
|
731
|
+
const ConnectionState: string = "http.connection.state";
|
|
732
|
+
/** Deprecated, use `network.protocol.name` and `network.protocol.version` instead. */
|
|
733
|
+
#deprecated "Split into `network.protocol.name` and `network.protocol.version`"
|
|
734
|
+
const Flavor: string = "http.flavor";
|
|
735
|
+
/** Deprecated, use one of `server.address`, `client.address` or `http.request.header.host` instead, depending on the usage. */
|
|
736
|
+
#deprecated "Replaced by one of `server.address`, `client.address` or `http.request.header.host`, depending on the usage."
|
|
737
|
+
const Host: string = "http.host";
|
|
738
|
+
/** Deprecated, use `http.request.method` instead. */
|
|
739
|
+
#deprecated "Replaced by http.request.method."
|
|
740
|
+
const Method: string = "http.method";
|
|
741
|
+
/** The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. */
|
|
742
|
+
const RequestBodySize: string = "http.request.body.size";
|
|
743
|
+
/** HTTP request headers, `<key>` being the normalized HTTP Header name (lowercase), the value being the header values. */
|
|
744
|
+
const RequestHeader: string = "http.request.header";
|
|
745
|
+
/** HTTP request method. */
|
|
746
|
+
const RequestMethod: string = "http.request.method";
|
|
747
|
+
/** Original HTTP method sent by the client in the request line. */
|
|
748
|
+
const RequestMethodOriginal: string = "http.request.method_original";
|
|
749
|
+
/** The ordinal number of request resending attempt (for any reason, including redirects). */
|
|
750
|
+
const RequestResendCount: string = "http.request.resend_count";
|
|
751
|
+
/** The total size of the request in bytes. This should be the total number of bytes sent over the wire, including the request line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and request body if any. */
|
|
752
|
+
const RequestSize: string = "http.request.size";
|
|
753
|
+
/** Deprecated, use `http.request.header.content-length` instead. */
|
|
754
|
+
#deprecated "Replaced by `http.request.header.content-length`."
|
|
755
|
+
const RequestContentLength: string = "http.request_content_length";
|
|
756
|
+
/** Deprecated, use `http.request.body.size` instead. */
|
|
757
|
+
#deprecated "Replaced by http.request.body.size."
|
|
758
|
+
const RequestContentLengthUncompressed: string = "http.request_content_length_uncompressed";
|
|
759
|
+
/** The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. */
|
|
760
|
+
const ResponseBodySize: string = "http.response.body.size";
|
|
761
|
+
/** HTTP response headers, `<key>` being the normalized HTTP Header name (lowercase), the value being the header values. */
|
|
762
|
+
const ResponseHeader: string = "http.response.header";
|
|
763
|
+
/** The total size of the response in bytes. This should be the total number of bytes sent over the wire, including the status line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and response body and trailers if any. */
|
|
764
|
+
const ResponseSize: string = "http.response.size";
|
|
765
|
+
/** [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6). */
|
|
766
|
+
const ResponseStatusCode: string = "http.response.status_code";
|
|
767
|
+
/** Deprecated, use `http.response.header.content-length` instead. */
|
|
768
|
+
#deprecated "Replaced by `http.response.header.content-length`."
|
|
769
|
+
const ResponseContentLength: string = "http.response_content_length";
|
|
770
|
+
/** Deprecated, use `http.response.body.size` instead. */
|
|
771
|
+
#deprecated "Replaced by http.response.body.size."
|
|
772
|
+
const ResponseContentLengthUncompressed: string = "http.response_content_length_uncompressed";
|
|
773
|
+
/** The matched route template for the request. This MUST be low-cardinality and include all static path segments, with dynamic path segments represented with placeholders. */
|
|
774
|
+
const Route: string = "http.route";
|
|
775
|
+
/** Deprecated, use `url.scheme` instead. */
|
|
776
|
+
#deprecated "Replaced by url.scheme."
|
|
777
|
+
const Scheme: string = "http.scheme";
|
|
778
|
+
/** Deprecated, use `server.address` instead. */
|
|
779
|
+
#deprecated "Replaced by server.address."
|
|
780
|
+
const ServerName: string = "http.server_name";
|
|
781
|
+
/** Deprecated, use `http.response.status_code` instead. */
|
|
782
|
+
#deprecated "Replaced by http.response.status_code."
|
|
783
|
+
const StatusCode: string = "http.status_code";
|
|
784
|
+
/** Deprecated, use `url.path` and `url.query` instead. */
|
|
785
|
+
#deprecated "Removed, no replacement."
|
|
786
|
+
const Target: string = "http.target";
|
|
787
|
+
/** Deprecated, use `url.full` instead. */
|
|
788
|
+
#deprecated "Replaced by url.full."
|
|
789
|
+
const Url: string = "http.url";
|
|
790
|
+
/** Deprecated, use `user_agent.original` instead. */
|
|
791
|
+
#deprecated "Replaced by user_agent.original."
|
|
792
|
+
const UserAgent: string = "http.user_agent";
|
|
793
|
+
}
|
|
794
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.K8s {
|
|
795
|
+
/** The name of the cluster. */
|
|
796
|
+
const ClusterName: string = "k8s.cluster.name";
|
|
797
|
+
/** A pseudo-ID for the cluster, set to the UID of the `kube-system` namespace. */
|
|
798
|
+
const ClusterUid: string = "k8s.cluster.uid";
|
|
799
|
+
/** The name of the Container from Pod specification, must be unique within a Pod. Container runtime usually uses different globally unique name (`container.name`). */
|
|
800
|
+
const ContainerName: string = "k8s.container.name";
|
|
801
|
+
/** Number of times the container was restarted. This attribute can be used to identify a particular container (running or stopped) within a container spec. */
|
|
802
|
+
const ContainerRestartCount: string = "k8s.container.restart_count";
|
|
803
|
+
/** Last terminated reason of the Container. */
|
|
804
|
+
const ContainerStatusLastTerminatedReason: string = "k8s.container.status.last_terminated_reason";
|
|
805
|
+
/** The reason for the container state. Corresponds to the `reason` field of the: [K8s ContainerStateWaiting](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#containerstatewaiting-v1-core) or [K8s ContainerStateTerminated](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#containerstateterminated-v1-core) */
|
|
806
|
+
const ContainerStatusReason: string = "k8s.container.status.reason";
|
|
807
|
+
/** The state of the container. [K8s ContainerState](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#containerstate-v1-core) */
|
|
808
|
+
const ContainerStatusState: string = "k8s.container.status.state";
|
|
809
|
+
/** The cronjob annotation placed on the CronJob, the `<key>` being the annotation name, the value being the annotation value. */
|
|
810
|
+
const CronjobAnnotation: string = "k8s.cronjob.annotation";
|
|
811
|
+
/** The label placed on the CronJob, the `<key>` being the label name, the value being the label value. */
|
|
812
|
+
const CronjobLabel: string = "k8s.cronjob.label";
|
|
813
|
+
/** The name of the CronJob. */
|
|
814
|
+
const CronjobName: string = "k8s.cronjob.name";
|
|
815
|
+
/** The UID of the CronJob. */
|
|
816
|
+
const CronjobUid: string = "k8s.cronjob.uid";
|
|
817
|
+
/** The annotation placed on the DaemonSet, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty. */
|
|
818
|
+
const DaemonsetAnnotation: string = "k8s.daemonset.annotation";
|
|
819
|
+
/** The label placed on the DaemonSet, the `<key>` being the label name, the value being the label value, even if the value is empty. */
|
|
820
|
+
const DaemonsetLabel: string = "k8s.daemonset.label";
|
|
821
|
+
/** The name of the DaemonSet. */
|
|
822
|
+
const DaemonsetName: string = "k8s.daemonset.name";
|
|
823
|
+
/** The UID of the DaemonSet. */
|
|
824
|
+
const DaemonsetUid: string = "k8s.daemonset.uid";
|
|
825
|
+
/** The annotation placed on the Deployment, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty. */
|
|
826
|
+
const DeploymentAnnotation: string = "k8s.deployment.annotation";
|
|
827
|
+
/** The label placed on the Deployment, the `<key>` being the label name, the value being the label value, even if the value is empty. */
|
|
828
|
+
const DeploymentLabel: string = "k8s.deployment.label";
|
|
829
|
+
/** The name of the Deployment. */
|
|
830
|
+
const DeploymentName: string = "k8s.deployment.name";
|
|
831
|
+
/** The UID of the Deployment. */
|
|
832
|
+
const DeploymentUid: string = "k8s.deployment.uid";
|
|
833
|
+
/** The type of metric source for the horizontal pod autoscaler. */
|
|
834
|
+
const HpaMetricType: string = "k8s.hpa.metric.type";
|
|
835
|
+
/** The name of the horizontal pod autoscaler. */
|
|
836
|
+
const HpaName: string = "k8s.hpa.name";
|
|
837
|
+
/** The API version of the target resource to scale for the HorizontalPodAutoscaler. */
|
|
838
|
+
const HpaScaletargetrefApiVersion: string = "k8s.hpa.scaletargetref.api_version";
|
|
839
|
+
/** The kind of the target resource to scale for the HorizontalPodAutoscaler. */
|
|
840
|
+
const HpaScaletargetrefKind: string = "k8s.hpa.scaletargetref.kind";
|
|
841
|
+
/** The name of the target resource to scale for the HorizontalPodAutoscaler. */
|
|
842
|
+
const HpaScaletargetrefName: string = "k8s.hpa.scaletargetref.name";
|
|
843
|
+
/** The UID of the horizontal pod autoscaler. */
|
|
844
|
+
const HpaUid: string = "k8s.hpa.uid";
|
|
845
|
+
/** The size (identifier) of the K8s huge page. */
|
|
846
|
+
const HugepageSize: string = "k8s.hugepage.size";
|
|
847
|
+
/** The annotation placed on the Job, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty. */
|
|
848
|
+
const JobAnnotation: string = "k8s.job.annotation";
|
|
849
|
+
/** The label placed on the Job, the `<key>` being the label name, the value being the label value, even if the value is empty. */
|
|
850
|
+
const JobLabel: string = "k8s.job.label";
|
|
851
|
+
/** The name of the Job. */
|
|
852
|
+
const JobName: string = "k8s.job.name";
|
|
853
|
+
/** The UID of the Job. */
|
|
854
|
+
const JobUid: string = "k8s.job.uid";
|
|
855
|
+
/** The annotation placed on the Namespace, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty. */
|
|
856
|
+
const NamespaceAnnotation: string = "k8s.namespace.annotation";
|
|
857
|
+
/** The label placed on the Namespace, the `<key>` being the label name, the value being the label value, even if the value is empty. */
|
|
858
|
+
const NamespaceLabel: string = "k8s.namespace.label";
|
|
859
|
+
/** The name of the namespace that the pod is running in. */
|
|
860
|
+
const NamespaceName: string = "k8s.namespace.name";
|
|
861
|
+
/** The phase of the K8s namespace. */
|
|
862
|
+
const NamespacePhase: string = "k8s.namespace.phase";
|
|
863
|
+
/** The annotation placed on the Node, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty. */
|
|
864
|
+
const NodeAnnotation: string = "k8s.node.annotation";
|
|
865
|
+
/** The status of the condition, one of True, False, Unknown. */
|
|
866
|
+
const NodeConditionStatus: string = "k8s.node.condition.status";
|
|
867
|
+
/** The condition type of a K8s Node. */
|
|
868
|
+
const NodeConditionType: string = "k8s.node.condition.type";
|
|
869
|
+
/** The label placed on the Node, the `<key>` being the label name, the value being the label value, even if the value is empty. */
|
|
870
|
+
const NodeLabel: string = "k8s.node.label";
|
|
871
|
+
/** The name of the Node. */
|
|
872
|
+
const NodeName: string = "k8s.node.name";
|
|
873
|
+
/** The name of the system container running on the K8s Node. */
|
|
874
|
+
const NodeSystemContainerName: string = "k8s.node.system_container.name";
|
|
875
|
+
/** The UID of the Node. */
|
|
876
|
+
const NodeUid: string = "k8s.node.uid";
|
|
877
|
+
/** The annotation placed on the PersistentVolume, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty. */
|
|
878
|
+
const PersistentvolumeAnnotation: string = "k8s.persistentvolume.annotation";
|
|
879
|
+
/** The label placed on the PersistentVolume, the `<key>` being the label name, the value being the label value, even if the value is empty. */
|
|
880
|
+
const PersistentvolumeLabel: string = "k8s.persistentvolume.label";
|
|
881
|
+
/** The name of the PersistentVolume. */
|
|
882
|
+
const PersistentvolumeName: string = "k8s.persistentvolume.name";
|
|
883
|
+
/** The reclaim policy of the PersistentVolume. */
|
|
884
|
+
const PersistentvolumeReclaimPolicy: string = "k8s.persistentvolume.reclaim_policy";
|
|
885
|
+
/** The phase of the PersistentVolume. */
|
|
886
|
+
const PersistentvolumeStatusPhase: string = "k8s.persistentvolume.status.phase";
|
|
887
|
+
/** The UID of the PersistentVolume. */
|
|
888
|
+
const PersistentvolumeUid: string = "k8s.persistentvolume.uid";
|
|
889
|
+
/** The annotation placed on the PersistentVolumeClaim, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty. */
|
|
890
|
+
const PersistentvolumeclaimAnnotation: string = "k8s.persistentvolumeclaim.annotation";
|
|
891
|
+
/** The label placed on the PersistentVolumeClaim, the `<key>` being the label name, the value being the label value, even if the value is empty. */
|
|
892
|
+
const PersistentvolumeclaimLabel: string = "k8s.persistentvolumeclaim.label";
|
|
893
|
+
/** The name of the PersistentVolumeClaim. */
|
|
894
|
+
const PersistentvolumeclaimName: string = "k8s.persistentvolumeclaim.name";
|
|
895
|
+
/** The phase of the PersistentVolumeClaim. */
|
|
896
|
+
const PersistentvolumeclaimStatusPhase: string = "k8s.persistentvolumeclaim.status.phase";
|
|
897
|
+
/** The UID of the PersistentVolumeClaim. */
|
|
898
|
+
const PersistentvolumeclaimUid: string = "k8s.persistentvolumeclaim.uid";
|
|
899
|
+
/** The annotation placed on the Pod, the `<key>` being the annotation name, the value being the annotation value. */
|
|
900
|
+
const PodAnnotation: string = "k8s.pod.annotation";
|
|
901
|
+
/** Specifies the hostname of the Pod. */
|
|
902
|
+
const PodHostname: string = "k8s.pod.hostname";
|
|
903
|
+
/** IP address allocated to the Pod. */
|
|
904
|
+
const PodIp: string = "k8s.pod.ip";
|
|
905
|
+
/** The label placed on the Pod, the `<key>` being the label name, the value being the label value. */
|
|
906
|
+
const PodLabel: string = "k8s.pod.label";
|
|
907
|
+
/** Deprecated, use `k8s.pod.label` instead. */
|
|
908
|
+
#deprecated "Replaced by k8s.pod.label."
|
|
909
|
+
const PodLabels: string = "k8s.pod.labels";
|
|
910
|
+
/** The name of the Pod. */
|
|
911
|
+
const PodName: string = "k8s.pod.name";
|
|
912
|
+
/** The start timestamp of the Pod. */
|
|
913
|
+
const PodStartTime: string = "k8s.pod.start_time";
|
|
914
|
+
/** The phase for the pod. Corresponds to the `phase` field of the: [K8s PodStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#podstatus-v1-core) */
|
|
915
|
+
const PodStatusPhase: string = "k8s.pod.status.phase";
|
|
916
|
+
/** The reason for the pod state. Corresponds to the `reason` field of the: [K8s PodStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#podstatus-v1-core) */
|
|
917
|
+
const PodStatusReason: string = "k8s.pod.status.reason";
|
|
918
|
+
/** The UID of the Pod. */
|
|
919
|
+
const PodUid: string = "k8s.pod.uid";
|
|
920
|
+
/** The annotation placed on the ReplicaSet, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty. */
|
|
921
|
+
const ReplicasetAnnotation: string = "k8s.replicaset.annotation";
|
|
922
|
+
/** The label placed on the ReplicaSet, the `<key>` being the label name, the value being the label value, even if the value is empty. */
|
|
923
|
+
const ReplicasetLabel: string = "k8s.replicaset.label";
|
|
924
|
+
/** The name of the ReplicaSet. */
|
|
925
|
+
const ReplicasetName: string = "k8s.replicaset.name";
|
|
926
|
+
/** The UID of the ReplicaSet. */
|
|
927
|
+
const ReplicasetUid: string = "k8s.replicaset.uid";
|
|
928
|
+
/** The name of the replication controller. */
|
|
929
|
+
const ReplicationcontrollerName: string = "k8s.replicationcontroller.name";
|
|
930
|
+
/** The UID of the replication controller. */
|
|
931
|
+
const ReplicationcontrollerUid: string = "k8s.replicationcontroller.uid";
|
|
932
|
+
/** The name of the resource quota. */
|
|
933
|
+
const ResourcequotaName: string = "k8s.resourcequota.name";
|
|
934
|
+
/** The name of the K8s resource a resource quota defines. */
|
|
935
|
+
const ResourcequotaResourceName: string = "k8s.resourcequota.resource_name";
|
|
936
|
+
/** The UID of the resource quota. */
|
|
937
|
+
const ResourcequotaUid: string = "k8s.resourcequota.uid";
|
|
938
|
+
/** The annotation placed on the Service, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty. */
|
|
939
|
+
const ServiceAnnotation: string = "k8s.service.annotation";
|
|
940
|
+
/** The address type of the service endpoint. */
|
|
941
|
+
const ServiceEndpointAddressType: string = "k8s.service.endpoint.address_type";
|
|
942
|
+
/** The condition of the service endpoint. */
|
|
943
|
+
const ServiceEndpointCondition: string = "k8s.service.endpoint.condition";
|
|
944
|
+
/** The zone of the service endpoint. */
|
|
945
|
+
const ServiceEndpointZone: string = "k8s.service.endpoint.zone";
|
|
946
|
+
/** The label placed on the Service, the `<key>` being the label name, the value being the label value, even if the value is empty. */
|
|
947
|
+
const ServiceLabel: string = "k8s.service.label";
|
|
948
|
+
/** The name of the Service. */
|
|
949
|
+
const ServiceName: string = "k8s.service.name";
|
|
950
|
+
/** Whether the Service publishes not-ready endpoints. */
|
|
951
|
+
const ServicePublishNotReadyAddresses: string = "k8s.service.publish_not_ready_addresses";
|
|
952
|
+
/** The selector key-value pair placed on the Service, the `<key>` being the selector key, the value being the selector value. */
|
|
953
|
+
const ServiceSelector: string = "k8s.service.selector";
|
|
954
|
+
/** The traffic distribution policy for the Service. */
|
|
955
|
+
const ServiceTrafficDistribution: string = "k8s.service.traffic_distribution";
|
|
956
|
+
/** The type of the Kubernetes Service. */
|
|
957
|
+
const ServiceType: string = "k8s.service.type";
|
|
958
|
+
/** The UID of the Service. */
|
|
959
|
+
const ServiceUid: string = "k8s.service.uid";
|
|
960
|
+
/** The annotation placed on the StatefulSet, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty. */
|
|
961
|
+
const StatefulsetAnnotation: string = "k8s.statefulset.annotation";
|
|
962
|
+
/** The label placed on the StatefulSet, the `<key>` being the label name, the value being the label value, even if the value is empty. */
|
|
963
|
+
const StatefulsetLabel: string = "k8s.statefulset.label";
|
|
964
|
+
/** The name of the StatefulSet. */
|
|
965
|
+
const StatefulsetName: string = "k8s.statefulset.name";
|
|
966
|
+
/** The UID of the StatefulSet. */
|
|
967
|
+
const StatefulsetUid: string = "k8s.statefulset.uid";
|
|
968
|
+
/** The name of K8s [StorageClass](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#storageclass-v1-storage-k8s-io) object. */
|
|
969
|
+
const StorageclassName: string = "k8s.storageclass.name";
|
|
970
|
+
/** The name of the K8s volume. */
|
|
971
|
+
const VolumeName: string = "k8s.volume.name";
|
|
972
|
+
/** The type of the K8s volume. */
|
|
973
|
+
const VolumeType: string = "k8s.volume.type";
|
|
974
|
+
}
|
|
975
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Log {
|
|
976
|
+
/** The basename of the file. */
|
|
977
|
+
const FileName: string = "log.file.name";
|
|
978
|
+
/** The basename of the file, with symlinks resolved. */
|
|
979
|
+
const FileNameResolved: string = "log.file.name_resolved";
|
|
980
|
+
/** The full path to the file. */
|
|
981
|
+
const FilePath: string = "log.file.path";
|
|
982
|
+
/** The full path to the file, with symlinks resolved. */
|
|
983
|
+
const FilePathResolved: string = "log.file.path_resolved";
|
|
984
|
+
/** The stream associated with the log. See below for a list of well-known values. */
|
|
985
|
+
const Iostream: string = "log.iostream";
|
|
986
|
+
/** The complete original Log Record. */
|
|
987
|
+
const RecordOriginal: string = "log.record.original";
|
|
988
|
+
/** A unique identifier for the Log Record. */
|
|
989
|
+
const RecordUid: string = "log.record.uid";
|
|
990
|
+
}
|
|
991
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Messaging {
|
|
992
|
+
/** The number of messages sent, received, or processed in the scope of the batching operation. */
|
|
993
|
+
const BatchMessageCount: string = "messaging.batch.message_count";
|
|
994
|
+
/** A unique identifier for the client that consumes or produces a message. */
|
|
995
|
+
const ClientId: string = "messaging.client.id";
|
|
996
|
+
/** The name of the consumer group with which a consumer is associated. */
|
|
997
|
+
const ConsumerGroupName: string = "messaging.consumer.group.name";
|
|
998
|
+
/** A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name). */
|
|
999
|
+
const DestinationAnonymous: string = "messaging.destination.anonymous";
|
|
1000
|
+
/** The message destination name */
|
|
1001
|
+
const DestinationName: string = "messaging.destination.name";
|
|
1002
|
+
/** The identifier of the partition messages are sent to or received from, unique within the `messaging.destination.name`. */
|
|
1003
|
+
const DestinationPartitionId: string = "messaging.destination.partition.id";
|
|
1004
|
+
/** The name of the destination subscription from which a message is consumed. */
|
|
1005
|
+
const DestinationSubscriptionName: string = "messaging.destination.subscription.name";
|
|
1006
|
+
/** Low cardinality representation of the messaging destination name */
|
|
1007
|
+
const DestinationTemplate: string = "messaging.destination.template";
|
|
1008
|
+
/** A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed. */
|
|
1009
|
+
const DestinationTemporary: string = "messaging.destination.temporary";
|
|
1010
|
+
/** Deprecated, no replacement at this time. */
|
|
1011
|
+
#deprecated "Removed, no replacement."
|
|
1012
|
+
const DestinationPublishAnonymous: string = "messaging.destination_publish.anonymous";
|
|
1013
|
+
/** Deprecated, no replacement at this time. */
|
|
1014
|
+
#deprecated "Removed, no replacement."
|
|
1015
|
+
const DestinationPublishName: string = "messaging.destination_publish.name";
|
|
1016
|
+
/** Deprecated, use `messaging.consumer.group.name` instead. */
|
|
1017
|
+
#deprecated "Replaced by messaging.consumer.group.name."
|
|
1018
|
+
const EventhubsConsumerGroup: string = "messaging.eventhubs.consumer.group";
|
|
1019
|
+
/** The UTC epoch seconds at which the message has been accepted and stored in the entity. */
|
|
1020
|
+
const EventhubsMessageEnqueuedTime: string = "messaging.eventhubs.message.enqueued_time";
|
|
1021
|
+
/** The ack deadline in seconds set for the modify ack deadline request. */
|
|
1022
|
+
const GcpPubsubMessageAckDeadline: string = "messaging.gcp_pubsub.message.ack_deadline";
|
|
1023
|
+
/** The ack id for a given message. */
|
|
1024
|
+
const GcpPubsubMessageAckId: string = "messaging.gcp_pubsub.message.ack_id";
|
|
1025
|
+
/** The delivery attempt for a given message. */
|
|
1026
|
+
const GcpPubsubMessageDeliveryAttempt: string = "messaging.gcp_pubsub.message.delivery_attempt";
|
|
1027
|
+
/** The ordering key for a given message. If the attribute is not present, the message does not have an ordering key. */
|
|
1028
|
+
const GcpPubsubMessageOrderingKey: string = "messaging.gcp_pubsub.message.ordering_key";
|
|
1029
|
+
/** Deprecated, use `messaging.consumer.group.name` instead. */
|
|
1030
|
+
#deprecated "Replaced by messaging.consumer.group.name."
|
|
1031
|
+
const KafkaConsumerGroup: string = "messaging.kafka.consumer.group";
|
|
1032
|
+
/** Deprecated, use `messaging.destination.partition.id` instead. */
|
|
1033
|
+
#deprecated "Record string representation of the partition id in `messaging.destination.partition.id` attribute."
|
|
1034
|
+
const KafkaDestinationPartition: string = "messaging.kafka.destination.partition";
|
|
1035
|
+
/** Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message.id` in that they're not unique. If the key is `null`, the attribute MUST NOT be set. */
|
|
1036
|
+
const KafkaMessageKey: string = "messaging.kafka.message.key";
|
|
1037
|
+
/** Deprecated, use `messaging.kafka.offset` instead. */
|
|
1038
|
+
#deprecated "Replaced by messaging.kafka.offset."
|
|
1039
|
+
const KafkaMessageOffset: string = "messaging.kafka.message.offset";
|
|
1040
|
+
/** A boolean that is true if the message is a tombstone. */
|
|
1041
|
+
const KafkaMessageTombstone: string = "messaging.kafka.message.tombstone";
|
|
1042
|
+
/** The offset of a record in the corresponding Kafka partition. */
|
|
1043
|
+
const KafkaOffset: string = "messaging.kafka.offset";
|
|
1044
|
+
/** The size of the message body in bytes. */
|
|
1045
|
+
const MessageBodySize: string = "messaging.message.body.size";
|
|
1046
|
+
/** The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". */
|
|
1047
|
+
const MessageConversationId: string = "messaging.message.conversation_id";
|
|
1048
|
+
/** The size of the message body and metadata in bytes. */
|
|
1049
|
+
const MessageEnvelopeSize: string = "messaging.message.envelope.size";
|
|
1050
|
+
/** A value used by the messaging system as an identifier for the message, represented as a string. */
|
|
1051
|
+
const MessageId: string = "messaging.message.id";
|
|
1052
|
+
/** Deprecated, use `messaging.operation.type` instead. */
|
|
1053
|
+
#deprecated "Replaced by messaging.operation.type."
|
|
1054
|
+
const Operation: string = "messaging.operation";
|
|
1055
|
+
/** The system-specific name of the messaging operation. */
|
|
1056
|
+
const OperationName: string = "messaging.operation.name";
|
|
1057
|
+
/** A string identifying the type of the messaging operation. */
|
|
1058
|
+
const OperationType: string = "messaging.operation.type";
|
|
1059
|
+
/** RabbitMQ message routing key. */
|
|
1060
|
+
const RabbitmqDestinationRoutingKey: string = "messaging.rabbitmq.destination.routing_key";
|
|
1061
|
+
/** RabbitMQ message delivery tag */
|
|
1062
|
+
const RabbitmqMessageDeliveryTag: string = "messaging.rabbitmq.message.delivery_tag";
|
|
1063
|
+
/** Deprecated, use `messaging.consumer.group.name` instead. */
|
|
1064
|
+
#deprecated "Replaced by `messaging.consumer.group.name` on the consumer spans. No replacement for producer spans."
|
|
1065
|
+
const RocketmqClientGroup: string = "messaging.rocketmq.client_group";
|
|
1066
|
+
/** Model of message consumption. This only applies to consumer spans. */
|
|
1067
|
+
const RocketmqConsumptionModel: string = "messaging.rocketmq.consumption_model";
|
|
1068
|
+
/** The delay time level for delay message, which determines the message delay time. */
|
|
1069
|
+
const RocketmqMessageDelayTimeLevel: string = "messaging.rocketmq.message.delay_time_level";
|
|
1070
|
+
/** The timestamp in milliseconds that the delay message is expected to be delivered to consumer. */
|
|
1071
|
+
const RocketmqMessageDeliveryTimestamp: string = "messaging.rocketmq.message.delivery_timestamp";
|
|
1072
|
+
/** It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group. */
|
|
1073
|
+
const RocketmqMessageGroup: string = "messaging.rocketmq.message.group";
|
|
1074
|
+
/** Key(s) of message, another way to mark message besides message id. */
|
|
1075
|
+
const RocketmqMessageKeys: string = "messaging.rocketmq.message.keys";
|
|
1076
|
+
/** The secondary classifier of message besides topic. */
|
|
1077
|
+
const RocketmqMessageTag: string = "messaging.rocketmq.message.tag";
|
|
1078
|
+
/** Type of message. */
|
|
1079
|
+
const RocketmqMessageType: string = "messaging.rocketmq.message.type";
|
|
1080
|
+
/** Namespace of RocketMQ resources, resources in different namespaces are individual. */
|
|
1081
|
+
const RocketmqNamespace: string = "messaging.rocketmq.namespace";
|
|
1082
|
+
/** Deprecated, use `messaging.destination.subscription.name` instead. */
|
|
1083
|
+
#deprecated "Replaced by messaging.destination.subscription.name."
|
|
1084
|
+
const ServicebusDestinationSubscriptionName: string = "messaging.servicebus.destination.subscription_name";
|
|
1085
|
+
/** Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). */
|
|
1086
|
+
const ServicebusDispositionStatus: string = "messaging.servicebus.disposition_status";
|
|
1087
|
+
/** Number of deliveries that have been attempted for this message. */
|
|
1088
|
+
const ServicebusMessageDeliveryCount: string = "messaging.servicebus.message.delivery_count";
|
|
1089
|
+
/** The UTC epoch seconds at which the message has been accepted and stored in the entity. */
|
|
1090
|
+
const ServicebusMessageEnqueuedTime: string = "messaging.servicebus.message.enqueued_time";
|
|
1091
|
+
/** The messaging system as identified by the client instrumentation. */
|
|
1092
|
+
const System: string = "messaging.system";
|
|
1093
|
+
}
|
|
1094
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Network {
|
|
1095
|
+
/** The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. */
|
|
1096
|
+
const CarrierIcc: string = "network.carrier.icc";
|
|
1097
|
+
/** The mobile carrier country code. */
|
|
1098
|
+
const CarrierMcc: string = "network.carrier.mcc";
|
|
1099
|
+
/** The mobile carrier network code. */
|
|
1100
|
+
const CarrierMnc: string = "network.carrier.mnc";
|
|
1101
|
+
/** The name of the mobile carrier. */
|
|
1102
|
+
const CarrierName: string = "network.carrier.name";
|
|
1103
|
+
/** The state of network connection */
|
|
1104
|
+
const ConnectionState: string = "network.connection.state";
|
|
1105
|
+
/** This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. */
|
|
1106
|
+
const ConnectionSubtype: string = "network.connection.subtype";
|
|
1107
|
+
/** The internet connection type. */
|
|
1108
|
+
const ConnectionType: string = "network.connection.type";
|
|
1109
|
+
/** The network interface name. */
|
|
1110
|
+
const InterfaceName: string = "network.interface.name";
|
|
1111
|
+
/** The network IO operation direction. */
|
|
1112
|
+
const IoDirection: string = "network.io.direction";
|
|
1113
|
+
/** Local address of the network connection - IP address or Unix domain socket name. */
|
|
1114
|
+
const LocalAddress: string = "network.local.address";
|
|
1115
|
+
/** Local port number of the network connection. */
|
|
1116
|
+
const LocalPort: string = "network.local.port";
|
|
1117
|
+
/** Peer address of the network connection - IP address or Unix domain socket name. */
|
|
1118
|
+
const PeerAddress: string = "network.peer.address";
|
|
1119
|
+
/** Peer port number of the network connection. */
|
|
1120
|
+
const PeerPort: string = "network.peer.port";
|
|
1121
|
+
/** [OSI application layer](https://wikipedia.org/wiki/Application_layer) or non-OSI equivalent. */
|
|
1122
|
+
const ProtocolName: string = "network.protocol.name";
|
|
1123
|
+
/** The actual version of the protocol used for network communication. */
|
|
1124
|
+
const ProtocolVersion: string = "network.protocol.version";
|
|
1125
|
+
/** [OSI transport layer](https://wikipedia.org/wiki/Transport_layer) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). */
|
|
1126
|
+
const Transport: string = "network.transport";
|
|
1127
|
+
/** [OSI network layer](https://wikipedia.org/wiki/Network_layer) or non-OSI equivalent. */
|
|
1128
|
+
const Type: string = "network.type";
|
|
1129
|
+
}
|
|
1130
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Openai {
|
|
1131
|
+
/** The type of OpenAI API being used. */
|
|
1132
|
+
const ApiType: string = "openai.api.type";
|
|
1133
|
+
/** The service tier requested. May be a specific tier, default, or auto. */
|
|
1134
|
+
const RequestServiceTier: string = "openai.request.service_tier";
|
|
1135
|
+
/** The service tier used for the response. */
|
|
1136
|
+
const ResponseServiceTier: string = "openai.response.service_tier";
|
|
1137
|
+
/** A fingerprint to track any eventual change in the Generative AI environment. */
|
|
1138
|
+
const ResponseSystemFingerprint: string = "openai.response.system_fingerprint";
|
|
1139
|
+
}
|
|
1140
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Oracle {
|
|
1141
|
+
/** The database domain associated with the connection. */
|
|
1142
|
+
const DbDomain: string = "oracle.db.domain";
|
|
1143
|
+
/** The instance name associated with the connection in an Oracle Real Application Clusters environment. */
|
|
1144
|
+
const DbInstanceName: string = "oracle.db.instance.name";
|
|
1145
|
+
/** The database name associated with the connection. */
|
|
1146
|
+
const DbName: string = "oracle.db.name";
|
|
1147
|
+
/** The pluggable database (PDB) name associated with the connection. */
|
|
1148
|
+
const DbPdb: string = "oracle.db.pdb";
|
|
1149
|
+
/** The service name currently associated with the database connection. */
|
|
1150
|
+
const DbService: string = "oracle.db.service";
|
|
1151
|
+
}
|
|
1152
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.OracleCloud {
|
|
1153
|
+
/** The OCI realm identifier that indicates the isolated partition in which the tenancy and its resources reside. */
|
|
1154
|
+
const Realm: string = "oracle_cloud.realm";
|
|
1155
|
+
}
|
|
1156
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Os {
|
|
1157
|
+
/** Unique identifier for a particular build or compilation of the operating system. */
|
|
1158
|
+
const BuildId: string = "os.build_id";
|
|
1159
|
+
/** Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands. */
|
|
1160
|
+
const Description: string = "os.description";
|
|
1161
|
+
/** Human readable operating system name. */
|
|
1162
|
+
const Name: string = "os.name";
|
|
1163
|
+
/** The operating system type. */
|
|
1164
|
+
const Type: string = "os.type";
|
|
1165
|
+
/** The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes). */
|
|
1166
|
+
const Version: string = "os.version";
|
|
1167
|
+
}
|
|
1168
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Otel {
|
|
1169
|
+
/** A name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance. */
|
|
1170
|
+
const ComponentName: string = "otel.component.name";
|
|
1171
|
+
/** A name identifying the type of the OpenTelemetry component. */
|
|
1172
|
+
const ComponentType: string = "otel.component.type";
|
|
1173
|
+
/** Identifies the class / type of event. */
|
|
1174
|
+
const EventName: string = "otel.event.name";
|
|
1175
|
+
/** Deprecated. Use the `otel.scope.name` attribute */
|
|
1176
|
+
#deprecated "Replaced by otel.scope.name."
|
|
1177
|
+
const LibraryName: string = "otel.library.name";
|
|
1178
|
+
/** Deprecated. Use the `otel.scope.version` attribute. */
|
|
1179
|
+
#deprecated "Replaced by otel.scope.version."
|
|
1180
|
+
const LibraryVersion: string = "otel.library.version";
|
|
1181
|
+
/** The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP). */
|
|
1182
|
+
const ScopeName: string = "otel.scope.name";
|
|
1183
|
+
/** The schema URL of the instrumentation scope. */
|
|
1184
|
+
const ScopeSchemaUrl: string = "otel.scope.schema_url";
|
|
1185
|
+
/** The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP). */
|
|
1186
|
+
const ScopeVersion: string = "otel.scope.version";
|
|
1187
|
+
/** Determines whether the span has a parent span, and if so, [whether it is a remote parent](https://opentelemetry.io/docs/specs/otel/trace/api/#isremote) */
|
|
1188
|
+
const SpanParentOrigin: string = "otel.span.parent.origin";
|
|
1189
|
+
/** The result value of the sampler for this span */
|
|
1190
|
+
const SpanSamplingResult: string = "otel.span.sampling_result";
|
|
1191
|
+
/** Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET. */
|
|
1192
|
+
const StatusCode: string = "otel.status_code";
|
|
1193
|
+
/** Description of the Status if it has a value, otherwise not set. */
|
|
1194
|
+
const StatusDescription: string = "otel.status_description";
|
|
1195
|
+
}
|
|
1196
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Pprof {
|
|
1197
|
+
/** Provides an indication that multiple symbols map to this location's address, for example due to identical code folding by the linker. In that case the line information represents one of the multiple symbols. This field must be recomputed when the symbolization state of the profile changes. */
|
|
1198
|
+
const LocationIsFolded: string = "pprof.location.is_folded";
|
|
1199
|
+
/** Indicates that there are filenames related to this mapping. */
|
|
1200
|
+
const MappingHasFilenames: string = "pprof.mapping.has_filenames";
|
|
1201
|
+
/** Indicates that there are functions related to this mapping. */
|
|
1202
|
+
const MappingHasFunctions: string = "pprof.mapping.has_functions";
|
|
1203
|
+
/** Indicates that there are inline frames related to this mapping. */
|
|
1204
|
+
const MappingHasInlineFrames: string = "pprof.mapping.has_inline_frames";
|
|
1205
|
+
/** Indicates that there are line numbers related to this mapping. */
|
|
1206
|
+
const MappingHasLineNumbers: string = "pprof.mapping.has_line_numbers";
|
|
1207
|
+
/** Free-form text associated with the profile. This field should not be used to store any machine-readable information, it is only for human-friendly content. */
|
|
1208
|
+
const ProfileComment: string = "pprof.profile.comment";
|
|
1209
|
+
/** Documentation link for this profile type. */
|
|
1210
|
+
const ProfileDocUrl: string = "pprof.profile.doc_url";
|
|
1211
|
+
/** Frames with Function.function_name fully matching the regexp will be dropped from the samples, along with their successors. */
|
|
1212
|
+
const ProfileDropFrames: string = "pprof.profile.drop_frames";
|
|
1213
|
+
/** Frames with Function.function_name fully matching the regexp will be kept, even if it matches drop_frames. */
|
|
1214
|
+
const ProfileKeepFrames: string = "pprof.profile.keep_frames";
|
|
1215
|
+
/** Records the pprof's default_sample_type in the original profile. Not set if the default sample type was missing. */
|
|
1216
|
+
const ScopeDefaultSampleType: string = "pprof.scope.default_sample_type";
|
|
1217
|
+
/** Records the indexes of the sample types in the original profile. */
|
|
1218
|
+
const ScopeSampleTypeOrder: string = "pprof.scope.sample_type_order";
|
|
1219
|
+
}
|
|
1220
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Process {
|
|
1221
|
+
/** Length of the process.command_args array */
|
|
1222
|
+
const ArgsCount: string = "process.args_count";
|
|
1223
|
+
/** The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`. */
|
|
1224
|
+
const Command: string = "process.command";
|
|
1225
|
+
/** All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`. SHOULD NOT be collected by default unless there is sanitization that excludes sensitive data. */
|
|
1226
|
+
const CommandArgs: string = "process.command_args";
|
|
1227
|
+
/** The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead. SHOULD NOT be collected by default unless there is sanitization that excludes sensitive data. */
|
|
1228
|
+
const CommandLine: string = "process.command_line";
|
|
1229
|
+
/** Specifies whether the context switches for this data point were voluntary or involuntary. */
|
|
1230
|
+
const ContextSwitchType: string = "process.context_switch.type";
|
|
1231
|
+
/** Deprecated, use `cpu.mode` instead. */
|
|
1232
|
+
#deprecated "Replaced by cpu.mode."
|
|
1233
|
+
const CpuState: string = "process.cpu.state";
|
|
1234
|
+
/** The date and time the process was created, in ISO 8601 format. */
|
|
1235
|
+
const CreationTime: string = "process.creation.time";
|
|
1236
|
+
/** Process environment variables, `<key>` being the environment variable name, the value being the environment variable value. */
|
|
1237
|
+
const EnvironmentVariable: string = "process.environment_variable";
|
|
1238
|
+
/** The GNU build ID as found in the `.note.gnu.build-id` ELF section (hex string). */
|
|
1239
|
+
const ExecutableBuildIdGnu: string = "process.executable.build_id.gnu";
|
|
1240
|
+
/** The Go build ID as retrieved by `go tool buildid <go executable>`. */
|
|
1241
|
+
const ExecutableBuildIdGo: string = "process.executable.build_id.go";
|
|
1242
|
+
/** Deterministic build ID for executables. */
|
|
1243
|
+
const ExecutableBuildIdHtlhash: string = "process.executable.build_id.htlhash";
|
|
1244
|
+
/** "Deprecated, use `process.executable.build_id.htlhash` instead." */
|
|
1245
|
+
#deprecated "Replaced by process.executable.build_id.htlhash."
|
|
1246
|
+
const ExecutableBuildIdProfiling: string = "process.executable.build_id.profiling";
|
|
1247
|
+
/** The name of the process executable. On Linux based systems, this SHOULD be set to the base name of the target of `/proc/[pid]/exe`. On Windows, this SHOULD be set to the base name of `GetProcessImageFileNameW`. */
|
|
1248
|
+
const ExecutableName: string = "process.executable.name";
|
|
1249
|
+
/** The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`. */
|
|
1250
|
+
const ExecutablePath: string = "process.executable.path";
|
|
1251
|
+
/** The exit code of the process. */
|
|
1252
|
+
const ExitCode: string = "process.exit.code";
|
|
1253
|
+
/** The date and time the process exited, in ISO 8601 format. */
|
|
1254
|
+
const ExitTime: string = "process.exit.time";
|
|
1255
|
+
/** The PID of the process's group leader. This is also the process group ID (PGID) of the process. */
|
|
1256
|
+
const GroupLeaderPid: string = "process.group_leader.pid";
|
|
1257
|
+
/** Whether the process is connected to an interactive shell. */
|
|
1258
|
+
const Interactive: string = "process.interactive";
|
|
1259
|
+
/** The control group associated with the process. */
|
|
1260
|
+
const LinuxCgroup: string = "process.linux.cgroup";
|
|
1261
|
+
/** The username of the user that owns the process. */
|
|
1262
|
+
const Owner: string = "process.owner";
|
|
1263
|
+
/** Deprecated, use `system.paging.fault.type` instead. */
|
|
1264
|
+
#deprecated "Replaced by system.paging.fault.type."
|
|
1265
|
+
const PagingFaultType: string = "process.paging.fault_type";
|
|
1266
|
+
/** Parent Process identifier (PPID). */
|
|
1267
|
+
const ParentPid: string = "process.parent_pid";
|
|
1268
|
+
/** Process identifier (PID). */
|
|
1269
|
+
const Pid: string = "process.pid";
|
|
1270
|
+
/** The real user ID (RUID) of the process. */
|
|
1271
|
+
const RealUserId: string = "process.real_user.id";
|
|
1272
|
+
/** The username of the real user of the process. */
|
|
1273
|
+
const RealUserName: string = "process.real_user.name";
|
|
1274
|
+
/** An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment. */
|
|
1275
|
+
const RuntimeDescription: string = "process.runtime.description";
|
|
1276
|
+
/** The name of the runtime of this process. */
|
|
1277
|
+
const RuntimeName: string = "process.runtime.name";
|
|
1278
|
+
/** The version of the runtime of this process, as returned by the runtime without modification. */
|
|
1279
|
+
const RuntimeVersion: string = "process.runtime.version";
|
|
1280
|
+
/** The saved user ID (SUID) of the process. */
|
|
1281
|
+
const SavedUserId: string = "process.saved_user.id";
|
|
1282
|
+
/** The username of the saved user. */
|
|
1283
|
+
const SavedUserName: string = "process.saved_user.name";
|
|
1284
|
+
/** The PID of the process's session leader. This is also the session ID (SID) of the process. */
|
|
1285
|
+
const SessionLeaderPid: string = "process.session_leader.pid";
|
|
1286
|
+
/** The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES) */
|
|
1287
|
+
const State: string = "process.state";
|
|
1288
|
+
/** Process title (proctitle) */
|
|
1289
|
+
const Title: string = "process.title";
|
|
1290
|
+
/** The effective user ID (EUID) of the process. */
|
|
1291
|
+
const UserId: string = "process.user.id";
|
|
1292
|
+
/** The username of the effective user of the process. */
|
|
1293
|
+
const UserName: string = "process.user.name";
|
|
1294
|
+
/** Virtual process identifier. */
|
|
1295
|
+
const Vpid: string = "process.vpid";
|
|
1296
|
+
/** The working directory of the process. */
|
|
1297
|
+
const WorkingDirectory: string = "process.working_directory";
|
|
1298
|
+
}
|
|
1299
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Profile {
|
|
1300
|
+
/** Describes the interpreter or compiler of a single frame. */
|
|
1301
|
+
const FrameType: string = "profile.frame.type";
|
|
1302
|
+
}
|
|
1303
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Rpc {
|
|
1304
|
+
/** Deprecated, use `rpc.response.status_code` attribute instead. */
|
|
1305
|
+
#deprecated "Replaced by rpc.response.status_code."
|
|
1306
|
+
const ConnectRpcErrorCode: string = "rpc.connect_rpc.error_code";
|
|
1307
|
+
/** Deprecated, use `rpc.request.metadata` instead. */
|
|
1308
|
+
#deprecated "Replaced by rpc.request.metadata."
|
|
1309
|
+
const ConnectRpcRequestMetadata: string = "rpc.connect_rpc.request.metadata";
|
|
1310
|
+
/** Deprecated, use `rpc.response.metadata` instead. */
|
|
1311
|
+
#deprecated "Replaced by rpc.response.metadata."
|
|
1312
|
+
const ConnectRpcResponseMetadata: string = "rpc.connect_rpc.response.metadata";
|
|
1313
|
+
/** Deprecated, use `rpc.request.metadata` instead. */
|
|
1314
|
+
#deprecated "Replaced by rpc.request.metadata."
|
|
1315
|
+
const GrpcRequestMetadata: string = "rpc.grpc.request.metadata";
|
|
1316
|
+
/** Deprecated, use `rpc.response.metadata` instead. */
|
|
1317
|
+
#deprecated "Replaced by rpc.response.metadata."
|
|
1318
|
+
const GrpcResponseMetadata: string = "rpc.grpc.response.metadata";
|
|
1319
|
+
/** Deprecated, use string representation on the `rpc.response.status_code` attribute instead. */
|
|
1320
|
+
#deprecated "Use string representation of the gRPC status code on the `rpc.response.status_code` attribute."
|
|
1321
|
+
const GrpcStatusCode: string = "rpc.grpc.status_code";
|
|
1322
|
+
/** Deprecated, use string representation on the `rpc.response.status_code` attribute instead. */
|
|
1323
|
+
#deprecated "Use string representation of the error code on the `rpc.response.status_code` attribute."
|
|
1324
|
+
const JsonrpcErrorCode: string = "rpc.jsonrpc.error_code";
|
|
1325
|
+
/** Deprecated, use the span status description when reporting JSON-RPC spans. */
|
|
1326
|
+
#deprecated "Use the span status description when reporting JSON-RPC spans."
|
|
1327
|
+
const JsonrpcErrorMessage: string = "rpc.jsonrpc.error_message";
|
|
1328
|
+
/** Deprecated, use `jsonrpc.request.id` instead. */
|
|
1329
|
+
#deprecated "Replaced by jsonrpc.request.id."
|
|
1330
|
+
const JsonrpcRequestId: string = "rpc.jsonrpc.request_id";
|
|
1331
|
+
/** Deprecated, use `jsonrpc.protocol.version` instead. */
|
|
1332
|
+
#deprecated "Replaced by jsonrpc.protocol.version."
|
|
1333
|
+
const JsonrpcVersion: string = "rpc.jsonrpc.version";
|
|
1334
|
+
/** Compressed size of the message in bytes. */
|
|
1335
|
+
#deprecated "Removed, no replacement."
|
|
1336
|
+
const MessageCompressedSize: string = "rpc.message.compressed_size";
|
|
1337
|
+
/** MUST be calculated as two different counters starting from `1` one for sent messages and one for received message. */
|
|
1338
|
+
#deprecated "Removed, no replacement."
|
|
1339
|
+
const MessageId: string = "rpc.message.id";
|
|
1340
|
+
/** Whether this is a received or sent message. */
|
|
1341
|
+
#deprecated "Removed, no replacement."
|
|
1342
|
+
const MessageType: string = "rpc.message.type";
|
|
1343
|
+
/** Uncompressed size of the message in bytes. */
|
|
1344
|
+
#deprecated "Removed, no replacement."
|
|
1345
|
+
const MessageUncompressedSize: string = "rpc.message.uncompressed_size";
|
|
1346
|
+
/** The fully-qualified logical name of the method from the RPC interface perspective. */
|
|
1347
|
+
const Method: string = "rpc.method";
|
|
1348
|
+
/** The original name of the method used by the client. */
|
|
1349
|
+
const MethodOriginal: string = "rpc.method_original";
|
|
1350
|
+
/** RPC request metadata, `<key>` being the normalized RPC metadata key (lowercase), the value being the metadata values. */
|
|
1351
|
+
const RequestMetadata: string = "rpc.request.metadata";
|
|
1352
|
+
/** RPC response metadata, `<key>` being the normalized RPC metadata key (lowercase), the value being the metadata values. */
|
|
1353
|
+
const ResponseMetadata: string = "rpc.response.metadata";
|
|
1354
|
+
/** Status code of the RPC returned by the RPC server or generated by the client */
|
|
1355
|
+
const ResponseStatusCode: string = "rpc.response.status_code";
|
|
1356
|
+
/** Deprecated, use fully-qualified `rpc.method` instead. */
|
|
1357
|
+
#deprecated "Value should be included in `rpc.method` which is expected to be a fully-qualified name."
|
|
1358
|
+
const Service: string = "rpc.service";
|
|
1359
|
+
/** Deprecated, use `rpc.system.name` attribute instead. */
|
|
1360
|
+
#deprecated "Replaced by rpc.system.name."
|
|
1361
|
+
const System: string = "rpc.system";
|
|
1362
|
+
/** The Remote Procedure Call (RPC) system. */
|
|
1363
|
+
const SystemName: string = "rpc.system.name";
|
|
1364
|
+
}
|
|
1365
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Server {
|
|
1366
|
+
/** Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. */
|
|
1367
|
+
const Address: string = "server.address";
|
|
1368
|
+
/** Server port number. */
|
|
1369
|
+
const Port: string = "server.port";
|
|
1370
|
+
}
|
|
1371
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Service {
|
|
1372
|
+
/** The operational criticality of the service. */
|
|
1373
|
+
const Criticality: string = "service.criticality";
|
|
1374
|
+
/** The string ID of the service instance. */
|
|
1375
|
+
const InstanceId: string = "service.instance.id";
|
|
1376
|
+
/** Logical name of the service. */
|
|
1377
|
+
const Name: string = "service.name";
|
|
1378
|
+
/** A namespace for `service.name`. */
|
|
1379
|
+
const Namespace: string = "service.namespace";
|
|
1380
|
+
/** Logical name of the service on the other side of the connection. SHOULD be equal to the actual [`service.name`](/docs/resource/README.md#service) resource attribute of the remote service if any. */
|
|
1381
|
+
const PeerName: string = "service.peer.name";
|
|
1382
|
+
/** Logical namespace of the service on the other side of the connection. SHOULD be equal to the actual [`service.namespace`](/docs/resource/README.md#service) resource attribute of the remote service if any. */
|
|
1383
|
+
const PeerNamespace: string = "service.peer.namespace";
|
|
1384
|
+
/** The version string of the service component. The format is not defined by these conventions. */
|
|
1385
|
+
const Version: string = "service.version";
|
|
1386
|
+
}
|
|
1387
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Session {
|
|
1388
|
+
/** A unique id to identify a session. */
|
|
1389
|
+
const Id: string = "session.id";
|
|
1390
|
+
/** The previous `session.id` for this user, when known. */
|
|
1391
|
+
const PreviousId: string = "session.previous_id";
|
|
1392
|
+
}
|
|
1393
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Signalr {
|
|
1394
|
+
/** SignalR HTTP connection closure status. */
|
|
1395
|
+
const ConnectionStatus: string = "signalr.connection.status";
|
|
1396
|
+
/** [SignalR transport type](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md) */
|
|
1397
|
+
const Transport: string = "signalr.transport";
|
|
1398
|
+
}
|
|
1399
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Source {
|
|
1400
|
+
/** Source address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. */
|
|
1401
|
+
const Address: string = "source.address";
|
|
1402
|
+
/** Source port number */
|
|
1403
|
+
const Port: string = "source.port";
|
|
1404
|
+
}
|
|
1405
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.System {
|
|
1406
|
+
/** Deprecated, use `cpu.logical_number` instead. */
|
|
1407
|
+
#deprecated "Replaced by cpu.logical_number."
|
|
1408
|
+
const CpuLogicalNumber: string = "system.cpu.logical_number";
|
|
1409
|
+
/** Deprecated, use `cpu.mode` instead. */
|
|
1410
|
+
#deprecated "Replaced by cpu.mode."
|
|
1411
|
+
const CpuState: string = "system.cpu.state";
|
|
1412
|
+
/** The device identifier */
|
|
1413
|
+
const Device: string = "system.device";
|
|
1414
|
+
/** The filesystem mode */
|
|
1415
|
+
const FilesystemMode: string = "system.filesystem.mode";
|
|
1416
|
+
/** The filesystem mount path */
|
|
1417
|
+
const FilesystemMountpoint: string = "system.filesystem.mountpoint";
|
|
1418
|
+
/** The filesystem state */
|
|
1419
|
+
const FilesystemState: string = "system.filesystem.state";
|
|
1420
|
+
/** The filesystem type */
|
|
1421
|
+
const FilesystemType: string = "system.filesystem.type";
|
|
1422
|
+
/** The Linux HugePages memory state */
|
|
1423
|
+
const MemoryLinuxHugepagesState: string = "system.memory.linux.hugepages.state";
|
|
1424
|
+
/** The Linux Slab memory state */
|
|
1425
|
+
const MemoryLinuxSlabState: string = "system.memory.linux.slab.state";
|
|
1426
|
+
/** The memory state */
|
|
1427
|
+
const MemoryState: string = "system.memory.state";
|
|
1428
|
+
/** Deprecated, use `network.connection.state` instead. */
|
|
1429
|
+
#deprecated "Replaced by network.connection.state."
|
|
1430
|
+
const NetworkState: string = "system.network.state";
|
|
1431
|
+
/** The paging access direction */
|
|
1432
|
+
const PagingDirection: string = "system.paging.direction";
|
|
1433
|
+
/** The paging fault type */
|
|
1434
|
+
const PagingFaultType: string = "system.paging.fault.type";
|
|
1435
|
+
/** The memory paging state */
|
|
1436
|
+
const PagingState: string = "system.paging.state";
|
|
1437
|
+
/** Deprecated, use `system.paging.fault.type` instead. */
|
|
1438
|
+
#deprecated "Replaced by system.paging.fault.type."
|
|
1439
|
+
const PagingType: string = "system.paging.type";
|
|
1440
|
+
/** Deprecated, use `process.state` instead. */
|
|
1441
|
+
#deprecated "Replaced by process.state."
|
|
1442
|
+
const ProcessStatus: string = "system.process.status";
|
|
1443
|
+
/** Deprecated, use `process.state` instead. */
|
|
1444
|
+
#deprecated "Replaced by process.state."
|
|
1445
|
+
const ProcessesStatus: string = "system.processes.status";
|
|
1446
|
+
}
|
|
1447
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Telemetry {
|
|
1448
|
+
/** The name of the auto instrumentation agent or distribution, if used. */
|
|
1449
|
+
const DistroName: string = "telemetry.distro.name";
|
|
1450
|
+
/** The version string of the auto instrumentation agent or distribution, if used. */
|
|
1451
|
+
const DistroVersion: string = "telemetry.distro.version";
|
|
1452
|
+
/** The language of the telemetry SDK. */
|
|
1453
|
+
const SdkLanguage: string = "telemetry.sdk.language";
|
|
1454
|
+
/** The name of the telemetry SDK as defined above. */
|
|
1455
|
+
const SdkName: string = "telemetry.sdk.name";
|
|
1456
|
+
/** The version string of the telemetry SDK. */
|
|
1457
|
+
const SdkVersion: string = "telemetry.sdk.version";
|
|
1458
|
+
}
|
|
1459
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Test {
|
|
1460
|
+
/** The fully qualified human readable name of the [test case](https://wikipedia.org/wiki/Test_case). */
|
|
1461
|
+
const CaseName: string = "test.case.name";
|
|
1462
|
+
/** The status of the actual test case result from test execution. */
|
|
1463
|
+
const CaseResultStatus: string = "test.case.result.status";
|
|
1464
|
+
/** The human readable name of a [test suite](https://wikipedia.org/wiki/Test_suite). */
|
|
1465
|
+
const SuiteName: string = "test.suite.name";
|
|
1466
|
+
/** The status of the test suite run. */
|
|
1467
|
+
const SuiteRunStatus: string = "test.suite.run.status";
|
|
1468
|
+
}
|
|
1469
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Thread {
|
|
1470
|
+
/** Current "managed" thread ID (as opposed to OS thread ID). */
|
|
1471
|
+
const Id: string = "thread.id";
|
|
1472
|
+
/** Current thread name. */
|
|
1473
|
+
const Name: string = "thread.name";
|
|
1474
|
+
}
|
|
1475
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Tls {
|
|
1476
|
+
/** String indicating the [cipher](https://datatracker.ietf.org/doc/html/rfc5246#appendix-A.5) used during the current connection. */
|
|
1477
|
+
const Cipher: string = "tls.cipher";
|
|
1478
|
+
/** PEM-encoded stand-alone certificate offered by the client. This is usually mutually-exclusive of `client.certificate_chain` since this value also exists in that list. */
|
|
1479
|
+
const ClientCertificate: string = "tls.client.certificate";
|
|
1480
|
+
/** Array of PEM-encoded certificates that make up the certificate chain offered by the client. This is usually mutually-exclusive of `client.certificate` since that value should be the first certificate in the chain. */
|
|
1481
|
+
const ClientCertificateChain: string = "tls.client.certificate_chain";
|
|
1482
|
+
/** Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. */
|
|
1483
|
+
const ClientHashMd5: string = "tls.client.hash.md5";
|
|
1484
|
+
/** Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. */
|
|
1485
|
+
const ClientHashSha1: string = "tls.client.hash.sha1";
|
|
1486
|
+
/** Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. */
|
|
1487
|
+
const ClientHashSha256: string = "tls.client.hash.sha256";
|
|
1488
|
+
/** Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. */
|
|
1489
|
+
const ClientIssuer: string = "tls.client.issuer";
|
|
1490
|
+
/** A hash that identifies clients based on how they perform an SSL/TLS handshake. */
|
|
1491
|
+
const ClientJa3: string = "tls.client.ja3";
|
|
1492
|
+
/** Date/Time indicating when client certificate is no longer considered valid. */
|
|
1493
|
+
const ClientNotAfter: string = "tls.client.not_after";
|
|
1494
|
+
/** Date/Time indicating when client certificate is first considered valid. */
|
|
1495
|
+
const ClientNotBefore: string = "tls.client.not_before";
|
|
1496
|
+
/** Deprecated, use `server.address` instead. */
|
|
1497
|
+
#deprecated "Replaced by server.address."
|
|
1498
|
+
const ClientServerName: string = "tls.client.server_name";
|
|
1499
|
+
/** Distinguished name of subject of the x.509 certificate presented by the client. */
|
|
1500
|
+
const ClientSubject: string = "tls.client.subject";
|
|
1501
|
+
/** Array of ciphers offered by the client during the client hello. */
|
|
1502
|
+
const ClientSupportedCiphers: string = "tls.client.supported_ciphers";
|
|
1503
|
+
/** String indicating the curve used for the given cipher, when applicable */
|
|
1504
|
+
const Curve: string = "tls.curve";
|
|
1505
|
+
/** Boolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel. */
|
|
1506
|
+
const Established: string = "tls.established";
|
|
1507
|
+
/** String indicating the protocol being tunneled. Per the values in the [IANA registry](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids), this string should be lower case. */
|
|
1508
|
+
const NextProtocol: string = "tls.next_protocol";
|
|
1509
|
+
/** Normalized lowercase protocol name parsed from original string of the negotiated [SSL/TLS protocol version](https://docs.openssl.org/1.1.1/man3/SSL_get_version/#return-values) */
|
|
1510
|
+
const ProtocolName: string = "tls.protocol.name";
|
|
1511
|
+
/** Numeric part of the version parsed from the original string of the negotiated [SSL/TLS protocol version](https://docs.openssl.org/1.1.1/man3/SSL_get_version/#return-values) */
|
|
1512
|
+
const ProtocolVersion: string = "tls.protocol.version";
|
|
1513
|
+
/** Boolean flag indicating if this TLS connection was resumed from an existing TLS negotiation. */
|
|
1514
|
+
const Resumed: string = "tls.resumed";
|
|
1515
|
+
/** PEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of `server.certificate_chain` since this value also exists in that list. */
|
|
1516
|
+
const ServerCertificate: string = "tls.server.certificate";
|
|
1517
|
+
/** Array of PEM-encoded certificates that make up the certificate chain offered by the server. This is usually mutually-exclusive of `server.certificate` since that value should be the first certificate in the chain. */
|
|
1518
|
+
const ServerCertificateChain: string = "tls.server.certificate_chain";
|
|
1519
|
+
/** Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. */
|
|
1520
|
+
const ServerHashMd5: string = "tls.server.hash.md5";
|
|
1521
|
+
/** Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. */
|
|
1522
|
+
const ServerHashSha1: string = "tls.server.hash.sha1";
|
|
1523
|
+
/** Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. */
|
|
1524
|
+
const ServerHashSha256: string = "tls.server.hash.sha256";
|
|
1525
|
+
/** Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. */
|
|
1526
|
+
const ServerIssuer: string = "tls.server.issuer";
|
|
1527
|
+
/** A hash that identifies servers based on how they perform an SSL/TLS handshake. */
|
|
1528
|
+
const ServerJa3s: string = "tls.server.ja3s";
|
|
1529
|
+
/** Date/Time indicating when server certificate is no longer considered valid. */
|
|
1530
|
+
const ServerNotAfter: string = "tls.server.not_after";
|
|
1531
|
+
/** Date/Time indicating when server certificate is first considered valid. */
|
|
1532
|
+
const ServerNotBefore: string = "tls.server.not_before";
|
|
1533
|
+
/** Distinguished name of subject of the x.509 certificate presented by the server. */
|
|
1534
|
+
const ServerSubject: string = "tls.server.subject";
|
|
1535
|
+
}
|
|
1536
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Url {
|
|
1537
|
+
/** Domain extracted from the `url.full`, such as "opentelemetry.io". */
|
|
1538
|
+
const Domain: string = "url.domain";
|
|
1539
|
+
/** The file extension extracted from the `url.full`, excluding the leading dot. */
|
|
1540
|
+
const Extension: string = "url.extension";
|
|
1541
|
+
/** The [URI fragment](https://www.rfc-editor.org/rfc/rfc3986#section-3.5) component */
|
|
1542
|
+
const Fragment: string = "url.fragment";
|
|
1543
|
+
/** Absolute URL describing a network resource according to [RFC3986](https://www.rfc-editor.org/rfc/rfc3986) */
|
|
1544
|
+
const Full: string = "url.full";
|
|
1545
|
+
/** Unmodified original URL as seen in the event source. */
|
|
1546
|
+
const Original: string = "url.original";
|
|
1547
|
+
/** The [URI path](https://www.rfc-editor.org/rfc/rfc3986#section-3.3) component */
|
|
1548
|
+
const Path: string = "url.path";
|
|
1549
|
+
/** Port extracted from the `url.full` */
|
|
1550
|
+
const Port: string = "url.port";
|
|
1551
|
+
/** The [URI query](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) component */
|
|
1552
|
+
const Query: string = "url.query";
|
|
1553
|
+
/** The highest registered url domain, stripped of the subdomain. */
|
|
1554
|
+
const RegisteredDomain: string = "url.registered_domain";
|
|
1555
|
+
/** The [URI scheme](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) component identifying the used protocol. */
|
|
1556
|
+
const Scheme: string = "url.scheme";
|
|
1557
|
+
/** The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. */
|
|
1558
|
+
const Subdomain: string = "url.subdomain";
|
|
1559
|
+
/** The low-cardinality template of an [absolute path reference](https://www.rfc-editor.org/rfc/rfc3986#section-4.2). */
|
|
1560
|
+
const Template: string = "url.template";
|
|
1561
|
+
/** The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is `com`. */
|
|
1562
|
+
const TopLevelDomain: string = "url.top_level_domain";
|
|
1563
|
+
}
|
|
1564
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.User {
|
|
1565
|
+
/** User email address. */
|
|
1566
|
+
const Email: string = "user.email";
|
|
1567
|
+
/** User's full name */
|
|
1568
|
+
const FullName: string = "user.full_name";
|
|
1569
|
+
/** Unique user hash to correlate information for a user in anonymized form. */
|
|
1570
|
+
const Hash: string = "user.hash";
|
|
1571
|
+
/** Unique identifier of the user. */
|
|
1572
|
+
const Id: string = "user.id";
|
|
1573
|
+
/** Short name or login/username of the user. */
|
|
1574
|
+
const Name: string = "user.name";
|
|
1575
|
+
/** Array of user roles at the time of the event. */
|
|
1576
|
+
const Roles: string = "user.roles";
|
|
1577
|
+
}
|
|
1578
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.UserAgent {
|
|
1579
|
+
/** Name of the user-agent extracted from original. Usually refers to the browser's name. */
|
|
1580
|
+
const Name: string = "user_agent.name";
|
|
1581
|
+
/** Value of the [HTTP User-Agent](https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent) header sent by the client. */
|
|
1582
|
+
const Original: string = "user_agent.original";
|
|
1583
|
+
/** Human readable operating system name. */
|
|
1584
|
+
const OsName: string = "user_agent.os.name";
|
|
1585
|
+
/** The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes). */
|
|
1586
|
+
const OsVersion: string = "user_agent.os.version";
|
|
1587
|
+
/** Specifies the category of synthetic traffic, such as tests or bots. */
|
|
1588
|
+
const SyntheticType: string = "user_agent.synthetic.type";
|
|
1589
|
+
/** Version of the user-agent extracted from original. Usually refers to the browser's version */
|
|
1590
|
+
const Version: string = "user_agent.version";
|
|
1591
|
+
}
|
|
1592
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Vcs {
|
|
1593
|
+
/** The ID of the change (pull request/merge request/changelist) if applicable. This is usually a unique (within repository) identifier generated by the VCS system. */
|
|
1594
|
+
const ChangeId: string = "vcs.change.id";
|
|
1595
|
+
/** The state of the change (pull request/merge request/changelist). */
|
|
1596
|
+
const ChangeState: string = "vcs.change.state";
|
|
1597
|
+
/** The human readable title of the change (pull request/merge request/changelist). This title is often a brief summary of the change and may get merged in to a ref as the commit summary. */
|
|
1598
|
+
const ChangeTitle: string = "vcs.change.title";
|
|
1599
|
+
/** The type of line change being measured on a branch or change. */
|
|
1600
|
+
const LineChangeType: string = "vcs.line_change.type";
|
|
1601
|
+
/** The group owner within the version control system. */
|
|
1602
|
+
const OwnerName: string = "vcs.owner.name";
|
|
1603
|
+
/** The name of the version control system provider. */
|
|
1604
|
+
const ProviderName: string = "vcs.provider.name";
|
|
1605
|
+
/** The name of the [reference](https://git-scm.com/docs/gitglossary#def_ref) such as **branch** or **tag** in the repository. */
|
|
1606
|
+
const RefBaseName: string = "vcs.ref.base.name";
|
|
1607
|
+
/** The revision, literally [revised version](https://www.merriam-webster.com/dictionary/revision), The revision most often refers to a commit object in Git, or a revision number in SVN. */
|
|
1608
|
+
const RefBaseRevision: string = "vcs.ref.base.revision";
|
|
1609
|
+
/** The type of the [reference](https://git-scm.com/docs/gitglossary#def_ref) in the repository. */
|
|
1610
|
+
const RefBaseType: string = "vcs.ref.base.type";
|
|
1611
|
+
/** The name of the [reference](https://git-scm.com/docs/gitglossary#def_ref) such as **branch** or **tag** in the repository. */
|
|
1612
|
+
const RefHeadName: string = "vcs.ref.head.name";
|
|
1613
|
+
/** The revision, literally [revised version](https://www.merriam-webster.com/dictionary/revision), The revision most often refers to a commit object in Git, or a revision number in SVN. */
|
|
1614
|
+
const RefHeadRevision: string = "vcs.ref.head.revision";
|
|
1615
|
+
/** The type of the [reference](https://git-scm.com/docs/gitglossary#def_ref) in the repository. */
|
|
1616
|
+
const RefHeadType: string = "vcs.ref.head.type";
|
|
1617
|
+
/** The type of the [reference](https://git-scm.com/docs/gitglossary#def_ref) in the repository. */
|
|
1618
|
+
const RefType: string = "vcs.ref.type";
|
|
1619
|
+
/** Deprecated, use `vcs.change.id` instead. */
|
|
1620
|
+
#deprecated "Replaced by vcs.change.id."
|
|
1621
|
+
const RepositoryChangeId: string = "vcs.repository.change.id";
|
|
1622
|
+
/** Deprecated, use `vcs.change.title` instead. */
|
|
1623
|
+
#deprecated "Replaced by vcs.change.title."
|
|
1624
|
+
const RepositoryChangeTitle: string = "vcs.repository.change.title";
|
|
1625
|
+
/** The human readable name of the repository. It SHOULD NOT include any additional identifier like Group/SubGroup in GitLab or organization in GitHub. */
|
|
1626
|
+
const RepositoryName: string = "vcs.repository.name";
|
|
1627
|
+
/** Deprecated, use `vcs.ref.head.name` instead. */
|
|
1628
|
+
#deprecated "Replaced by vcs.ref.head.name."
|
|
1629
|
+
const RepositoryRefName: string = "vcs.repository.ref.name";
|
|
1630
|
+
/** Deprecated, use `vcs.ref.head.revision` instead. */
|
|
1631
|
+
#deprecated "Replaced by vcs.ref.head.revision."
|
|
1632
|
+
const RepositoryRefRevision: string = "vcs.repository.ref.revision";
|
|
1633
|
+
/** Deprecated, use `vcs.ref.head.type` instead. */
|
|
1634
|
+
#deprecated "Replaced by vcs.ref.head.type."
|
|
1635
|
+
const RepositoryRefType: string = "vcs.repository.ref.type";
|
|
1636
|
+
/** The [canonical URL](https://support.google.com/webmasters/answer/10347851) of the repository providing the complete HTTP(S) address in order to locate and identify the repository through a browser. */
|
|
1637
|
+
const RepositoryUrlFull: string = "vcs.repository.url.full";
|
|
1638
|
+
/** The type of revision comparison. */
|
|
1639
|
+
const RevisionDeltaDirection: string = "vcs.revision_delta.direction";
|
|
1640
|
+
}
|
|
1641
|
+
namespace ANcpLua.OpenTelemetry.SemanticConventions.Keys.Webengine {
|
|
1642
|
+
/** Additional description of the web engine (e.g. detailed version and edition information). */
|
|
1643
|
+
const Description: string = "webengine.description";
|
|
1644
|
+
/** The name of the web engine. */
|
|
1645
|
+
const Name: string = "webengine.name";
|
|
1646
|
+
/** The version of the web engine. */
|
|
1647
|
+
const Version: string = "webengine.version";
|
|
1648
|
+
}
|