opentelemetry-semantic_conventions 1.11.0 → 1.36.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.
- checksums.yaml +4 -4
- data/.yardopts +2 -2
- data/CHANGELOG.md +4 -0
- data/lib/opentelemetry/semantic_conventions/resource.rb +258 -4
- data/lib/opentelemetry/semantic_conventions/trace.rb +432 -5
- data/lib/opentelemetry/semantic_conventions/version.rb +1 -1
- data/lib/opentelemetry/semantic_conventions.rb +13 -1
- data/lib/opentelemetry/semconv/aspnetcore/attributes.rb +97 -0
- data/lib/opentelemetry/semconv/aspnetcore/metrics.rb +83 -0
- data/lib/opentelemetry/semconv/aspnetcore.rb +22 -0
- data/lib/opentelemetry/semconv/client/attributes.rb +53 -0
- data/lib/opentelemetry/semconv/client.rb +21 -0
- data/lib/opentelemetry/semconv/code/attributes.rb +92 -0
- data/lib/opentelemetry/semconv/code.rb +21 -0
- data/lib/opentelemetry/semconv/db/attributes.rb +174 -0
- data/lib/opentelemetry/semconv/db/metrics.rb +36 -0
- data/lib/opentelemetry/semconv/db.rb +22 -0
- data/lib/opentelemetry/semconv/dotnet/attributes.rb +40 -0
- data/lib/opentelemetry/semconv/dotnet/metrics.rb +181 -0
- data/lib/opentelemetry/semconv/dotnet.rb +22 -0
- data/lib/opentelemetry/semconv/error/attributes.rb +61 -0
- data/lib/opentelemetry/semconv/error.rb +21 -0
- data/lib/opentelemetry/semconv/exception/attributes.rb +64 -0
- data/lib/opentelemetry/semconv/exception.rb +21 -0
- data/lib/opentelemetry/semconv/http/attributes.rb +164 -0
- data/lib/opentelemetry/semconv/http/metrics.rb +39 -0
- data/lib/opentelemetry/semconv/http.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/android/attributes.rb +58 -0
- data/lib/opentelemetry/semconv/incubating/android.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/app/attributes.rb +103 -0
- data/lib/opentelemetry/semconv/incubating/app.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/artifact/attributes.rb +117 -0
- data/lib/opentelemetry/semconv/incubating/artifact.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/aspnetcore/attributes.rb +113 -0
- data/lib/opentelemetry/semconv/incubating/aspnetcore/metrics.rb +99 -0
- data/lib/opentelemetry/semconv/incubating/aspnetcore.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/aws/attributes.rb +551 -0
- data/lib/opentelemetry/semconv/incubating/aws.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/az/attributes.rb +53 -0
- data/lib/opentelemetry/semconv/incubating/az.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/azure/attributes.rb +115 -0
- data/lib/opentelemetry/semconv/incubating/azure/metrics.rb +41 -0
- data/lib/opentelemetry/semconv/incubating/azure.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/browser/attributes.rb +77 -0
- data/lib/opentelemetry/semconv/incubating/browser.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/cassandra/attributes.rb +78 -0
- data/lib/opentelemetry/semconv/incubating/cassandra.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/cicd/attributes.rb +201 -0
- data/lib/opentelemetry/semconv/incubating/cicd/metrics.rb +61 -0
- data/lib/opentelemetry/semconv/incubating/cicd.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/client/attributes.rb +59 -0
- data/lib/opentelemetry/semconv/incubating/client.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/cloud/attributes.rb +105 -0
- data/lib/opentelemetry/semconv/incubating/cloud.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/cloudevents/attributes.rb +80 -0
- data/lib/opentelemetry/semconv/incubating/cloudevents.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/cloudfoundry/attributes.rb +190 -0
- data/lib/opentelemetry/semconv/incubating/cloudfoundry.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/code/attributes.rb +155 -0
- data/lib/opentelemetry/semconv/incubating/code.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/container/attributes.rb +197 -0
- data/lib/opentelemetry/semconv/incubating/container/metrics.rb +74 -0
- data/lib/opentelemetry/semconv/incubating/container.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/cpu/attributes.rb +50 -0
- data/lib/opentelemetry/semconv/incubating/cpu/metrics.rb +49 -0
- data/lib/opentelemetry/semconv/incubating/cpu.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/cpython/attributes.rb +42 -0
- data/lib/opentelemetry/semconv/incubating/cpython/metrics.rb +52 -0
- data/lib/opentelemetry/semconv/incubating/cpython.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/db/attributes.rb +615 -0
- data/lib/opentelemetry/semconv/incubating/db/metrics.rb +156 -0
- data/lib/opentelemetry/semconv/incubating/db.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/deployment/attributes.rb +84 -0
- data/lib/opentelemetry/semconv/incubating/deployment.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/destination/attributes.rb +54 -0
- data/lib/opentelemetry/semconv/incubating/destination.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/device/attributes.rb +88 -0
- data/lib/opentelemetry/semconv/incubating/device.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/disk/attributes.rb +40 -0
- data/lib/opentelemetry/semconv/incubating/disk.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/dns/attributes.rb +52 -0
- data/lib/opentelemetry/semconv/incubating/dns/metrics.rb +36 -0
- data/lib/opentelemetry/semconv/incubating/dns.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/dotnet/attributes.rb +44 -0
- data/lib/opentelemetry/semconv/incubating/dotnet/metrics.rb +221 -0
- data/lib/opentelemetry/semconv/incubating/dotnet.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/elasticsearch/attributes.rb +40 -0
- data/lib/opentelemetry/semconv/incubating/elasticsearch.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/enduser/attributes.rb +79 -0
- data/lib/opentelemetry/semconv/incubating/enduser.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/error/attributes.rb +81 -0
- data/lib/opentelemetry/semconv/incubating/error.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/event/attributes.rb +42 -0
- data/lib/opentelemetry/semconv/incubating/event.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/exception/attributes.rb +73 -0
- data/lib/opentelemetry/semconv/incubating/exception.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/faas/attributes.rb +200 -0
- data/lib/opentelemetry/semconv/incubating/faas/metrics.rb +76 -0
- data/lib/opentelemetry/semconv/incubating/faas.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/feature_flag/attributes.rb +159 -0
- data/lib/opentelemetry/semconv/incubating/feature_flag.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/file/attributes.rb +207 -0
- data/lib/opentelemetry/semconv/incubating/file.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/gcp/attributes.rb +159 -0
- data/lib/opentelemetry/semconv/incubating/gcp.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/gen_ai/attributes.rb +404 -0
- data/lib/opentelemetry/semconv/incubating/gen_ai/metrics.rb +56 -0
- data/lib/opentelemetry/semconv/incubating/gen_ai.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/geo/attributes.rb +91 -0
- data/lib/opentelemetry/semconv/incubating/geo.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/go/attributes.rb +41 -0
- data/lib/opentelemetry/semconv/incubating/go/metrics.rb +94 -0
- data/lib/opentelemetry/semconv/incubating/go.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/graphql/attributes.rb +62 -0
- data/lib/opentelemetry/semconv/incubating/graphql.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/heroku/attributes.rb +58 -0
- data/lib/opentelemetry/semconv/incubating/heroku.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/host/attributes.rb +172 -0
- data/lib/opentelemetry/semconv/incubating/host.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/http/attributes.rb +366 -0
- data/lib/opentelemetry/semconv/incubating/http/metrics.rb +93 -0
- data/lib/opentelemetry/semconv/incubating/http.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/hw/attributes.rb +70 -0
- data/lib/opentelemetry/semconv/incubating/hw/metrics.rb +79 -0
- data/lib/opentelemetry/semconv/incubating/hw.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/ios/attributes.rb +44 -0
- data/lib/opentelemetry/semconv/incubating/ios.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/jvm/attributes.rb +129 -0
- data/lib/opentelemetry/semconv/incubating/jvm/metrics.rb +162 -0
- data/lib/opentelemetry/semconv/incubating/jvm.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/k8s/attributes.rb +910 -0
- data/lib/opentelemetry/semconv/incubating/k8s/metrics.rb +658 -0
- data/lib/opentelemetry/semconv/incubating/k8s.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/kestrel/metrics.rb +106 -0
- data/lib/opentelemetry/semconv/incubating/kestrel.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/linux/attributes.rb +41 -0
- data/lib/opentelemetry/semconv/incubating/linux.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/log/attributes.rb +96 -0
- data/lib/opentelemetry/semconv/incubating/log.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/mainframe/attributes.rb +40 -0
- data/lib/opentelemetry/semconv/incubating/mainframe.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/message/attributes.rb +55 -0
- data/lib/opentelemetry/semconv/incubating/message.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/messaging/attributes.rb +451 -0
- data/lib/opentelemetry/semconv/incubating/messaging/metrics.rb +96 -0
- data/lib/opentelemetry/semconv/incubating/messaging.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/net/attributes.rb +175 -0
- data/lib/opentelemetry/semconv/incubating/net.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/network/attributes.rb +222 -0
- data/lib/opentelemetry/semconv/incubating/network.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/nodejs/attributes.rb +36 -0
- data/lib/opentelemetry/semconv/incubating/nodejs/metrics.rb +94 -0
- data/lib/opentelemetry/semconv/incubating/nodejs.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/oci/attributes.rb +43 -0
- data/lib/opentelemetry/semconv/incubating/oci.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/opentracing/attributes.rb +38 -0
- data/lib/opentelemetry/semconv/incubating/opentracing.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/os/attributes.rb +78 -0
- data/lib/opentelemetry/semconv/incubating/os.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/otel/attributes.rb +138 -0
- data/lib/opentelemetry/semconv/incubating/otel/metrics.rb +194 -0
- data/lib/opentelemetry/semconv/incubating/otel.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/other/attributes.rb +41 -0
- data/lib/opentelemetry/semconv/incubating/other.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/peer/attributes.rb +40 -0
- data/lib/opentelemetry/semconv/incubating/peer.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/pool/attributes.rb +41 -0
- data/lib/opentelemetry/semconv/incubating/pool.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/process/attributes.rb +367 -0
- data/lib/opentelemetry/semconv/incubating/process/metrics.rb +89 -0
- data/lib/opentelemetry/semconv/incubating/process.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/profile/attributes.rb +40 -0
- data/lib/opentelemetry/semconv/incubating/profile.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/rpc/attributes.rb +215 -0
- data/lib/opentelemetry/semconv/incubating/rpc/metrics.rb +115 -0
- data/lib/opentelemetry/semconv/incubating/rpc.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/security_rule/attributes.rb +106 -0
- data/lib/opentelemetry/semconv/incubating/security_rule.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/server/attributes.rb +61 -0
- data/lib/opentelemetry/semconv/incubating/server.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/service/attributes.rb +103 -0
- data/lib/opentelemetry/semconv/incubating/service.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/session/attributes.rb +49 -0
- data/lib/opentelemetry/semconv/incubating/session.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/signalr/attributes.rb +55 -0
- data/lib/opentelemetry/semconv/incubating/signalr/metrics.rb +49 -0
- data/lib/opentelemetry/semconv/incubating/signalr.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/source/attributes.rb +54 -0
- data/lib/opentelemetry/semconv/incubating/source.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/system/attributes.rb +162 -0
- data/lib/opentelemetry/semconv/incubating/system/metrics.rb +227 -0
- data/lib/opentelemetry/semconv/incubating/system.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/telemetry/attributes.rb +88 -0
- data/lib/opentelemetry/semconv/incubating/telemetry.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/test/attributes.rb +75 -0
- data/lib/opentelemetry/semconv/incubating/test.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/thread/attributes.rb +49 -0
- data/lib/opentelemetry/semconv/incubating/thread.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/tls/attributes.rb +293 -0
- data/lib/opentelemetry/semconv/incubating/tls.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/url/attributes.rb +225 -0
- data/lib/opentelemetry/semconv/incubating/url.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/user/attributes.rb +87 -0
- data/lib/opentelemetry/semconv/incubating/user.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/user_agent/attributes.rb +100 -0
- data/lib/opentelemetry/semconv/incubating/user_agent.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/v8js/attributes.rb +43 -0
- data/lib/opentelemetry/semconv/incubating/v8js/metrics.rb +66 -0
- data/lib/opentelemetry/semconv/incubating/v8js.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/vcs/attributes.rb +303 -0
- data/lib/opentelemetry/semconv/incubating/vcs/metrics.rb +88 -0
- data/lib/opentelemetry/semconv/incubating/vcs.rb +22 -0
- data/lib/opentelemetry/semconv/incubating/webengine/attributes.rb +58 -0
- data/lib/opentelemetry/semconv/incubating/webengine.rb +21 -0
- data/lib/opentelemetry/semconv/incubating/zos/attributes.rb +49 -0
- data/lib/opentelemetry/semconv/incubating/zos.rb +21 -0
- data/lib/opentelemetry/semconv/jvm/attributes.rb +91 -0
- data/lib/opentelemetry/semconv/jvm/metrics.rb +91 -0
- data/lib/opentelemetry/semconv/jvm.rb +22 -0
- data/lib/opentelemetry/semconv/kestrel/metrics.rb +88 -0
- data/lib/opentelemetry/semconv/kestrel.rb +21 -0
- data/lib/opentelemetry/semconv/network/attributes.rb +120 -0
- data/lib/opentelemetry/semconv/network.rb +21 -0
- data/lib/opentelemetry/semconv/otel/attributes.rb +61 -0
- data/lib/opentelemetry/semconv/otel.rb +21 -0
- data/lib/opentelemetry/semconv/server/attributes.rb +55 -0
- data/lib/opentelemetry/semconv/server.rb +21 -0
- data/lib/opentelemetry/semconv/service/attributes.rb +50 -0
- data/lib/opentelemetry/semconv/service.rb +21 -0
- data/lib/opentelemetry/semconv/signalr/attributes.rb +49 -0
- data/lib/opentelemetry/semconv/signalr/metrics.rb +43 -0
- data/lib/opentelemetry/semconv/signalr.rb +22 -0
- data/lib/opentelemetry/semconv/telemetry/attributes.rb +59 -0
- data/lib/opentelemetry/semconv/telemetry.rb +21 -0
- data/lib/opentelemetry/semconv/url/attributes.rb +118 -0
- data/lib/opentelemetry/semconv/url.rb +21 -0
- data/lib/opentelemetry/semconv/user_agent/attributes.rb +40 -0
- data/lib/opentelemetry/semconv/user_agent.rb +21 -0
- metadata +249 -4
@@ -0,0 +1,44 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright The OpenTelemetry Authors
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
#
|
17
|
+
# SPDX-License-Identifier: Apache-2.0
|
18
|
+
#
|
19
|
+
# This file was autogenerated. Do not edit it by hand.
|
20
|
+
|
21
|
+
module OpenTelemetry
|
22
|
+
module SemConv
|
23
|
+
module Incubating
|
24
|
+
module DOTNET
|
25
|
+
# @!group Attribute Names
|
26
|
+
|
27
|
+
# Name of the garbage collector managed heap generation.
|
28
|
+
#
|
29
|
+
# @note Stability Level: stable
|
30
|
+
#
|
31
|
+
# @example Sample Values
|
32
|
+
# gen0
|
33
|
+
# gen1
|
34
|
+
# gen2
|
35
|
+
#
|
36
|
+
#
|
37
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_GC_HEAP_GENERATION}.
|
38
|
+
DOTNET_GC_HEAP_GENERATION = 'dotnet.gc.heap.generation'
|
39
|
+
|
40
|
+
# @!endgroup
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,221 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright The OpenTelemetry Authors
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
#
|
17
|
+
# SPDX-License-Identifier: Apache-2.0
|
18
|
+
#
|
19
|
+
# This file was autogenerated. Do not edit it by hand.
|
20
|
+
|
21
|
+
module OpenTelemetry
|
22
|
+
module SemConv
|
23
|
+
module Incubating
|
24
|
+
module DOTNET
|
25
|
+
# @!group Metrics Names
|
26
|
+
|
27
|
+
# The number of .NET assemblies that are currently loaded.
|
28
|
+
#
|
29
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
30
|
+
# This metric reports the same values as calling [`AppDomain.CurrentDomain.GetAssemblies().Length`](https://learn.microsoft.com/dotnet/api/system.appdomain.getassemblies).
|
31
|
+
#
|
32
|
+
# @note Stability Level: stable
|
33
|
+
#
|
34
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_ASSEMBLY_COUNT}.
|
35
|
+
DOTNET_ASSEMBLY_COUNT = 'dotnet.assembly.count'
|
36
|
+
|
37
|
+
# The number of exceptions that have been thrown in managed code.
|
38
|
+
#
|
39
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
40
|
+
# This metric reports the same values as counting calls to [`AppDomain.CurrentDomain.FirstChanceException`](https://learn.microsoft.com/dotnet/api/system.appdomain.firstchanceexception).
|
41
|
+
#
|
42
|
+
# @note Stability Level: stable
|
43
|
+
#
|
44
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_EXCEPTIONS}.
|
45
|
+
DOTNET_EXCEPTIONS = 'dotnet.exceptions'
|
46
|
+
|
47
|
+
# The number of garbage collections that have occurred since the process has started.
|
48
|
+
#
|
49
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
50
|
+
# This metric uses the [`GC.CollectionCount(int generation)`](https://learn.microsoft.com/dotnet/api/system.gc.collectioncount) API to calculate exclusive collections per generation.
|
51
|
+
#
|
52
|
+
# @note Stability Level: stable
|
53
|
+
#
|
54
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_GC_COLLECTIONS}.
|
55
|
+
DOTNET_GC_COLLECTIONS = 'dotnet.gc.collections'
|
56
|
+
|
57
|
+
# The *approximate* number of bytes allocated on the managed GC heap since the process has started. The returned value does not include any native allocations.
|
58
|
+
#
|
59
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
60
|
+
# This metric reports the same values as calling [`GC.GetTotalAllocatedBytes()`](https://learn.microsoft.com/dotnet/api/system.gc.gettotalallocatedbytes).
|
61
|
+
#
|
62
|
+
# @note Stability Level: stable
|
63
|
+
#
|
64
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_GC_HEAP_TOTAL_ALLOCATED}.
|
65
|
+
DOTNET_GC_HEAP_TOTAL_ALLOCATED = 'dotnet.gc.heap.total_allocated'
|
66
|
+
|
67
|
+
# The heap fragmentation, as observed during the latest garbage collection.
|
68
|
+
#
|
69
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
70
|
+
# This metric reports the same values as calling [`GC.GetGCMemoryInfo().GenerationInfo.FragmentationAfterBytes`](https://learn.microsoft.com/dotnet/api/system.gcgenerationinfo.fragmentationafterbytes).
|
71
|
+
#
|
72
|
+
# @note Stability Level: stable
|
73
|
+
#
|
74
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_GC_LAST_COLLECTION_HEAP_FRAGMENTATION_SIZE}.
|
75
|
+
DOTNET_GC_LAST_COLLECTION_HEAP_FRAGMENTATION_SIZE = 'dotnet.gc.last_collection.heap.fragmentation.size'
|
76
|
+
|
77
|
+
# The managed GC heap size (including fragmentation), as observed during the latest garbage collection.
|
78
|
+
#
|
79
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
80
|
+
# This metric reports the same values as calling [`GC.GetGCMemoryInfo().GenerationInfo.SizeAfterBytes`](https://learn.microsoft.com/dotnet/api/system.gcgenerationinfo.sizeafterbytes).
|
81
|
+
#
|
82
|
+
# @note Stability Level: stable
|
83
|
+
#
|
84
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_GC_LAST_COLLECTION_HEAP_SIZE}.
|
85
|
+
DOTNET_GC_LAST_COLLECTION_HEAP_SIZE = 'dotnet.gc.last_collection.heap.size'
|
86
|
+
|
87
|
+
# The amount of committed virtual memory in use by the .NET GC, as observed during the latest garbage collection.
|
88
|
+
#
|
89
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
90
|
+
# This metric reports the same values as calling [`GC.GetGCMemoryInfo().TotalCommittedBytes`](https://learn.microsoft.com/dotnet/api/system.gcmemoryinfo.totalcommittedbytes). Committed virtual memory may be larger than the heap size because it includes both memory for storing existing objects (the heap size) and some extra memory that is ready to handle newly allocated objects in the future.
|
91
|
+
#
|
92
|
+
# @note Stability Level: stable
|
93
|
+
#
|
94
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_GC_LAST_COLLECTION_MEMORY_COMMITTED_SIZE}.
|
95
|
+
DOTNET_GC_LAST_COLLECTION_MEMORY_COMMITTED_SIZE = 'dotnet.gc.last_collection.memory.committed_size'
|
96
|
+
|
97
|
+
# The total amount of time paused in GC since the process has started.
|
98
|
+
#
|
99
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
100
|
+
# This metric reports the same values as calling [`GC.GetTotalPauseDuration()`](https://learn.microsoft.com/dotnet/api/system.gc.gettotalpauseduration).
|
101
|
+
#
|
102
|
+
# @note Stability Level: stable
|
103
|
+
#
|
104
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_GC_PAUSE_TIME}.
|
105
|
+
DOTNET_GC_PAUSE_TIME = 'dotnet.gc.pause.time'
|
106
|
+
|
107
|
+
# The amount of time the JIT compiler has spent compiling methods since the process has started.
|
108
|
+
#
|
109
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
110
|
+
# This metric reports the same values as calling [`JitInfo.GetCompilationTime()`](https://learn.microsoft.com/dotnet/api/system.runtime.jitinfo.getcompilationtime).
|
111
|
+
#
|
112
|
+
# @note Stability Level: stable
|
113
|
+
#
|
114
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_JIT_COMPILATION_TIME}.
|
115
|
+
DOTNET_JIT_COMPILATION_TIME = 'dotnet.jit.compilation.time'
|
116
|
+
|
117
|
+
# Count of bytes of intermediate language that have been compiled since the process has started.
|
118
|
+
#
|
119
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
120
|
+
# This metric reports the same values as calling [`JitInfo.GetCompiledILBytes()`](https://learn.microsoft.com/dotnet/api/system.runtime.jitinfo.getcompiledilbytes).
|
121
|
+
#
|
122
|
+
# @note Stability Level: stable
|
123
|
+
#
|
124
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_JIT_COMPILED_IL_SIZE}.
|
125
|
+
DOTNET_JIT_COMPILED_IL_SIZE = 'dotnet.jit.compiled_il.size'
|
126
|
+
|
127
|
+
# The number of times the JIT compiler (re)compiled methods since the process has started.
|
128
|
+
#
|
129
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
130
|
+
# This metric reports the same values as calling [`JitInfo.GetCompiledMethodCount()`](https://learn.microsoft.com/dotnet/api/system.runtime.jitinfo.getcompiledmethodcount).
|
131
|
+
#
|
132
|
+
# @note Stability Level: stable
|
133
|
+
#
|
134
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_JIT_COMPILED_METHODS}.
|
135
|
+
DOTNET_JIT_COMPILED_METHODS = 'dotnet.jit.compiled_methods'
|
136
|
+
|
137
|
+
# The number of times there was contention when trying to acquire a monitor lock since the process has started.
|
138
|
+
#
|
139
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
140
|
+
# This metric reports the same values as calling [`Monitor.LockContentionCount`](https://learn.microsoft.com/dotnet/api/system.threading.monitor.lockcontentioncount).
|
141
|
+
#
|
142
|
+
# @note Stability Level: stable
|
143
|
+
#
|
144
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_MONITOR_LOCK_CONTENTIONS}.
|
145
|
+
DOTNET_MONITOR_LOCK_CONTENTIONS = 'dotnet.monitor.lock_contentions'
|
146
|
+
|
147
|
+
# The number of processors available to the process.
|
148
|
+
#
|
149
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
150
|
+
# This metric reports the same values as accessing [`Environment.ProcessorCount`](https://learn.microsoft.com/dotnet/api/system.environment.processorcount).
|
151
|
+
#
|
152
|
+
# @note Stability Level: stable
|
153
|
+
#
|
154
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_PROCESS_CPU_COUNT}.
|
155
|
+
DOTNET_PROCESS_CPU_COUNT = 'dotnet.process.cpu.count'
|
156
|
+
|
157
|
+
# CPU time used by the process.
|
158
|
+
#
|
159
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
160
|
+
# This metric reports the same values as accessing the corresponding processor time properties on [`System.Diagnostics.Process`](https://learn.microsoft.com/dotnet/api/system.diagnostics.process).
|
161
|
+
#
|
162
|
+
# @note Stability Level: stable
|
163
|
+
#
|
164
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_PROCESS_CPU_TIME}.
|
165
|
+
DOTNET_PROCESS_CPU_TIME = 'dotnet.process.cpu.time'
|
166
|
+
|
167
|
+
# The number of bytes of physical memory mapped to the process context.
|
168
|
+
#
|
169
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
170
|
+
# This metric reports the same values as calling [`Environment.WorkingSet`](https://learn.microsoft.com/dotnet/api/system.environment.workingset).
|
171
|
+
#
|
172
|
+
# @note Stability Level: stable
|
173
|
+
#
|
174
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_PROCESS_MEMORY_WORKING_SET}.
|
175
|
+
DOTNET_PROCESS_MEMORY_WORKING_SET = 'dotnet.process.memory.working_set'
|
176
|
+
|
177
|
+
# The number of work items that are currently queued to be processed by the thread pool.
|
178
|
+
#
|
179
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
180
|
+
# This metric reports the same values as calling [`ThreadPool.PendingWorkItemCount`](https://learn.microsoft.com/dotnet/api/system.threading.threadpool.pendingworkitemcount).
|
181
|
+
#
|
182
|
+
# @note Stability Level: stable
|
183
|
+
#
|
184
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_THREAD_POOL_QUEUE_LENGTH}.
|
185
|
+
DOTNET_THREAD_POOL_QUEUE_LENGTH = 'dotnet.thread_pool.queue.length'
|
186
|
+
|
187
|
+
# The number of thread pool threads that currently exist.
|
188
|
+
#
|
189
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
190
|
+
# This metric reports the same values as calling [`ThreadPool.ThreadCount`](https://learn.microsoft.com/dotnet/api/system.threading.threadpool.threadcount).
|
191
|
+
#
|
192
|
+
# @note Stability Level: stable
|
193
|
+
#
|
194
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_THREAD_POOL_THREAD_COUNT}.
|
195
|
+
DOTNET_THREAD_POOL_THREAD_COUNT = 'dotnet.thread_pool.thread.count'
|
196
|
+
|
197
|
+
# The number of work items that the thread pool has completed since the process has started.
|
198
|
+
#
|
199
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
200
|
+
# This metric reports the same values as calling [`ThreadPool.CompletedWorkItemCount`](https://learn.microsoft.com/dotnet/api/system.threading.threadpool.completedworkitemcount).
|
201
|
+
#
|
202
|
+
# @note Stability Level: stable
|
203
|
+
#
|
204
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_THREAD_POOL_WORK_ITEM_COUNT}.
|
205
|
+
DOTNET_THREAD_POOL_WORK_ITEM_COUNT = 'dotnet.thread_pool.work_item.count'
|
206
|
+
|
207
|
+
# The number of timer instances that are currently active.
|
208
|
+
#
|
209
|
+
# Meter name: `System.Runtime`; Added in: .NET 9.0.
|
210
|
+
# This metric reports the same values as calling [`Timer.ActiveCount`](https://learn.microsoft.com/dotnet/api/system.threading.timer.activecount).
|
211
|
+
#
|
212
|
+
# @note Stability Level: stable
|
213
|
+
#
|
214
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::DOTNET::DOTNET_TIMER_COUNT}.
|
215
|
+
DOTNET_TIMER_COUNT = 'dotnet.timer.count'
|
216
|
+
|
217
|
+
# @!endgroup
|
218
|
+
end
|
219
|
+
end
|
220
|
+
end
|
221
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright The OpenTelemetry Authors
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
#
|
17
|
+
# SPDX-License-Identifier: Apache-2.0
|
18
|
+
|
19
|
+
# This file was autogenerated. Do not edit it by hand.
|
20
|
+
|
21
|
+
require_relative 'dotnet/attributes'
|
22
|
+
require_relative 'dotnet/metrics'
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright The OpenTelemetry Authors
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
#
|
17
|
+
# SPDX-License-Identifier: Apache-2.0
|
18
|
+
#
|
19
|
+
# This file was autogenerated. Do not edit it by hand.
|
20
|
+
|
21
|
+
module OpenTelemetry
|
22
|
+
module SemConv
|
23
|
+
module Incubating
|
24
|
+
module ELASTICSEARCH
|
25
|
+
# @!group Attribute Names
|
26
|
+
|
27
|
+
# Represents the human-readable identifier of the node/instance to which a request was routed.
|
28
|
+
#
|
29
|
+
# @note Stability Level: development
|
30
|
+
#
|
31
|
+
# @example Sample Values
|
32
|
+
# instance-0000000001
|
33
|
+
#
|
34
|
+
ELASTICSEARCH_NODE_NAME = 'elasticsearch.node.name'
|
35
|
+
|
36
|
+
# @!endgroup
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright The OpenTelemetry Authors
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
#
|
17
|
+
# SPDX-License-Identifier: Apache-2.0
|
18
|
+
|
19
|
+
# This file was autogenerated. Do not edit it by hand.
|
20
|
+
|
21
|
+
require_relative 'elasticsearch/attributes'
|
@@ -0,0 +1,79 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright The OpenTelemetry Authors
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
#
|
17
|
+
# SPDX-License-Identifier: Apache-2.0
|
18
|
+
#
|
19
|
+
# This file was autogenerated. Do not edit it by hand.
|
20
|
+
|
21
|
+
module OpenTelemetry
|
22
|
+
module SemConv
|
23
|
+
module Incubating
|
24
|
+
module ENDUSER
|
25
|
+
# @!group Attribute Names
|
26
|
+
|
27
|
+
# Unique identifier of an end user in the system. It maybe a username, email address, or other identifier.
|
28
|
+
#
|
29
|
+
# Unique identifier of an end user in the system.
|
30
|
+
#
|
31
|
+
# > [!Warning]
|
32
|
+
# > This field contains sensitive (PII) information.
|
33
|
+
#
|
34
|
+
# @note Stability Level: development
|
35
|
+
#
|
36
|
+
# @example Sample Values
|
37
|
+
# username
|
38
|
+
#
|
39
|
+
ENDUSER_ID = 'enduser.id'
|
40
|
+
|
41
|
+
# 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.
|
42
|
+
#
|
43
|
+
# Pseudonymous identifier of an end user.
|
44
|
+
#
|
45
|
+
# > [!Warning]
|
46
|
+
# > This field contains sensitive (linkable PII) information.
|
47
|
+
#
|
48
|
+
# @note Stability Level: development
|
49
|
+
#
|
50
|
+
# @example Sample Values
|
51
|
+
# QdH5CAWJgqVT4rOr0qtumf
|
52
|
+
#
|
53
|
+
ENDUSER_PSEUDO_ID = 'enduser.pseudo.id'
|
54
|
+
|
55
|
+
# Deprecated, use `user.roles` instead.
|
56
|
+
#
|
57
|
+
# @note Stability Level: development
|
58
|
+
#
|
59
|
+
# @example Sample Values
|
60
|
+
# admin
|
61
|
+
#
|
62
|
+
# @deprecated {"note": "Use `user.roles` attribute instead.", "reason": "uncategorized"}
|
63
|
+
ENDUSER_ROLE = 'enduser.role'
|
64
|
+
|
65
|
+
# Deprecated, no replacement at this time.
|
66
|
+
#
|
67
|
+
# @note Stability Level: development
|
68
|
+
#
|
69
|
+
# @example Sample Values
|
70
|
+
# read:message, write:files
|
71
|
+
#
|
72
|
+
# @deprecated {"note": "Removed, no replacement at this time.", "reason": "obsoleted"}
|
73
|
+
ENDUSER_SCOPE = 'enduser.scope'
|
74
|
+
|
75
|
+
# @!endgroup
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright The OpenTelemetry Authors
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
#
|
17
|
+
# SPDX-License-Identifier: Apache-2.0
|
18
|
+
|
19
|
+
# This file was autogenerated. Do not edit it by hand.
|
20
|
+
|
21
|
+
require_relative 'enduser/attributes'
|
@@ -0,0 +1,81 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright The OpenTelemetry Authors
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
#
|
17
|
+
# SPDX-License-Identifier: Apache-2.0
|
18
|
+
#
|
19
|
+
# This file was autogenerated. Do not edit it by hand.
|
20
|
+
|
21
|
+
module OpenTelemetry
|
22
|
+
module SemConv
|
23
|
+
module Incubating
|
24
|
+
module ERROR
|
25
|
+
# @!group Attribute Names
|
26
|
+
|
27
|
+
# A message providing more detail about an error in human-readable form.
|
28
|
+
#
|
29
|
+
# `error.message` should provide additional context and detail about an error.
|
30
|
+
# It is NOT RECOMMENDED to duplicate the value of `error.type` in `error.message`.
|
31
|
+
# It is also NOT RECOMMENDED to duplicate the value of `exception.message` in `error.message`.
|
32
|
+
#
|
33
|
+
# `error.message` is NOT RECOMMENDED for metrics or spans due to its unbounded cardinality and overlap with span status.
|
34
|
+
#
|
35
|
+
# @note Stability Level: development
|
36
|
+
#
|
37
|
+
# @example Sample Values
|
38
|
+
# Unexpected input type: string
|
39
|
+
# The user has exceeded their storage quota
|
40
|
+
#
|
41
|
+
ERROR_MESSAGE = 'error.message'
|
42
|
+
|
43
|
+
# Describes a class of error the operation ended with.
|
44
|
+
#
|
45
|
+
# The `error.type` SHOULD be predictable, and SHOULD have low cardinality.
|
46
|
+
#
|
47
|
+
# When `error.type` is set to a type (e.g., an exception type), its
|
48
|
+
# canonical class name identifying the type within the artifact SHOULD be used.
|
49
|
+
#
|
50
|
+
# Instrumentations SHOULD document the list of errors they report.
|
51
|
+
#
|
52
|
+
# The cardinality of `error.type` within one instrumentation library SHOULD be low.
|
53
|
+
# Telemetry consumers that aggregate data from multiple instrumentation libraries and applications
|
54
|
+
# should be prepared for `error.type` to have high cardinality at query time when no
|
55
|
+
# additional filters are applied.
|
56
|
+
#
|
57
|
+
# If the operation has completed successfully, instrumentations SHOULD NOT set `error.type`.
|
58
|
+
#
|
59
|
+
# If a specific domain defines its own set of error identifiers (such as HTTP or gRPC status codes),
|
60
|
+
# it's RECOMMENDED to:
|
61
|
+
#
|
62
|
+
# - Use a domain-specific attribute
|
63
|
+
# - Set `error.type` to capture all errors, regardless of whether they are defined within the domain-specific set or not.
|
64
|
+
#
|
65
|
+
# @note Stability Level: stable
|
66
|
+
#
|
67
|
+
# @example Sample Values
|
68
|
+
# timeout
|
69
|
+
# java.net.UnknownHostException
|
70
|
+
# server_certificate_invalid
|
71
|
+
# 500
|
72
|
+
#
|
73
|
+
#
|
74
|
+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::ERROR::ERROR_TYPE}.
|
75
|
+
ERROR_TYPE = 'error.type'
|
76
|
+
|
77
|
+
# @!endgroup
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright The OpenTelemetry Authors
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
#
|
17
|
+
# SPDX-License-Identifier: Apache-2.0
|
18
|
+
|
19
|
+
# This file was autogenerated. Do not edit it by hand.
|
20
|
+
|
21
|
+
require_relative 'error/attributes'
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright The OpenTelemetry Authors
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
#
|
17
|
+
# SPDX-License-Identifier: Apache-2.0
|
18
|
+
#
|
19
|
+
# This file was autogenerated. Do not edit it by hand.
|
20
|
+
|
21
|
+
module OpenTelemetry
|
22
|
+
module SemConv
|
23
|
+
module Incubating
|
24
|
+
module EVENT
|
25
|
+
# @!group Attribute Names
|
26
|
+
|
27
|
+
# Identifies the class / type of event.
|
28
|
+
#
|
29
|
+
# @note Stability Level: development
|
30
|
+
#
|
31
|
+
# @example Sample Values
|
32
|
+
# browser.mouse.click
|
33
|
+
# device.app.lifecycle
|
34
|
+
#
|
35
|
+
# @deprecated {"note": "Replaced by EventName top-level field on the LogRecord.\n", "reason": "uncategorized"}
|
36
|
+
EVENT_NAME = 'event.name'
|
37
|
+
|
38
|
+
# @!endgroup
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright The OpenTelemetry Authors
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
#
|
17
|
+
# SPDX-License-Identifier: Apache-2.0
|
18
|
+
|
19
|
+
# This file was autogenerated. Do not edit it by hand.
|
20
|
+
|
21
|
+
require_relative 'event/attributes'
|