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
@@ -5,10 +5,22 @@
|
|
5
5
|
# SPDX-License-Identifier: Apache-2.0
|
6
6
|
|
7
7
|
module OpenTelemetry
|
8
|
-
#
|
8
|
+
# OpenTelemetry semantic convention attribute names as constants.
|
9
|
+
# These are auto-generated from source YAML in {https://github.com/open-telemetry/semantic-conventions the semantic-conventions repository}.
|
10
|
+
#
|
11
|
+
# Except for the {Resource} and {Trace} modules, constants in this namespace have been declared stable by the OpenTelemetry semantic conventions working group.
|
12
|
+
#
|
13
|
+
# @note The constants here ought to remain within major versions of this library.
|
14
|
+
# However, there risk with auto-generated code.
|
15
|
+
# The maintainers try to prevent constants disappearing, but we cannot gaurantee this.
|
16
|
+
# We strongly recommend that any constants you use in your code are exercised in your test suite to catch missing constants before release or production runtime.
|
9
17
|
module SemanticConventions
|
10
18
|
end
|
11
19
|
end
|
12
20
|
|
21
|
+
# TODO: test to make sure the trace and resource constants are present in SemConv::Incubating
|
22
|
+
# TODO: test to make sure the SemConv (stable) constants are all still present in the SemConv::Incubating constants
|
23
|
+
# TODO: remove these convenience requires in the next major version
|
13
24
|
require_relative 'semantic_conventions/trace'
|
14
25
|
require_relative 'semantic_conventions/resource'
|
26
|
+
# TODO: we're not going to add any more convenience requires here; require directly what you use
|
@@ -0,0 +1,97 @@
|
|
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 ASPNETCORE
|
24
|
+
# @!group Attribute Names
|
25
|
+
|
26
|
+
# ASP.NET Core exception middleware handling result
|
27
|
+
#
|
28
|
+
# @note Stability Level: stable
|
29
|
+
#
|
30
|
+
# @example Sample Values
|
31
|
+
# handled
|
32
|
+
# unhandled
|
33
|
+
#
|
34
|
+
ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = 'aspnetcore.diagnostics.exception.result'
|
35
|
+
|
36
|
+
# Full type name of the [`IExceptionHandler`](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler) implementation that handled the exception.
|
37
|
+
#
|
38
|
+
# @note Stability Level: stable
|
39
|
+
#
|
40
|
+
# @example Sample Values
|
41
|
+
# Contoso.MyHandler
|
42
|
+
#
|
43
|
+
ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = 'aspnetcore.diagnostics.handler.type'
|
44
|
+
|
45
|
+
# Rate limiting policy name.
|
46
|
+
#
|
47
|
+
# @note Stability Level: stable
|
48
|
+
#
|
49
|
+
# @example Sample Values
|
50
|
+
# fixed
|
51
|
+
# sliding
|
52
|
+
# token
|
53
|
+
#
|
54
|
+
ASPNETCORE_RATE_LIMITING_POLICY = 'aspnetcore.rate_limiting.policy'
|
55
|
+
|
56
|
+
# Rate-limiting result, shows whether the lease was acquired or contains a rejection reason
|
57
|
+
#
|
58
|
+
# @note Stability Level: stable
|
59
|
+
#
|
60
|
+
# @example Sample Values
|
61
|
+
# acquired
|
62
|
+
# request_canceled
|
63
|
+
#
|
64
|
+
ASPNETCORE_RATE_LIMITING_RESULT = 'aspnetcore.rate_limiting.result'
|
65
|
+
|
66
|
+
# Flag indicating if request was handled by the application pipeline.
|
67
|
+
#
|
68
|
+
# @note Stability Level: stable
|
69
|
+
#
|
70
|
+
# @example Sample Values
|
71
|
+
# true
|
72
|
+
#
|
73
|
+
ASPNETCORE_REQUEST_IS_UNHANDLED = 'aspnetcore.request.is_unhandled'
|
74
|
+
|
75
|
+
# A value that indicates whether the matched route is a fallback route.
|
76
|
+
#
|
77
|
+
# @note Stability Level: stable
|
78
|
+
#
|
79
|
+
# @example Sample Values
|
80
|
+
# true
|
81
|
+
#
|
82
|
+
ASPNETCORE_ROUTING_IS_FALLBACK = 'aspnetcore.routing.is_fallback'
|
83
|
+
|
84
|
+
# Match result - success or failure
|
85
|
+
#
|
86
|
+
# @note Stability Level: stable
|
87
|
+
#
|
88
|
+
# @example Sample Values
|
89
|
+
# success
|
90
|
+
# failure
|
91
|
+
#
|
92
|
+
ASPNETCORE_ROUTING_MATCH_STATUS = 'aspnetcore.routing.match_status'
|
93
|
+
|
94
|
+
# @!endgroup
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
@@ -0,0 +1,83 @@
|
|
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 ASPNETCORE
|
24
|
+
# @!group Metrics Names
|
25
|
+
|
26
|
+
# Number of exceptions caught by exception handling middleware.
|
27
|
+
#
|
28
|
+
# Meter name: `Microsoft.AspNetCore.Diagnostics`; Added in: ASP.NET Core 8.0
|
29
|
+
#
|
30
|
+
# @note Stability Level: stable
|
31
|
+
ASPNETCORE_DIAGNOSTICS_EXCEPTIONS = 'aspnetcore.diagnostics.exceptions'
|
32
|
+
|
33
|
+
# Number of requests that are currently active on the server that hold a rate limiting lease.
|
34
|
+
#
|
35
|
+
# Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0
|
36
|
+
#
|
37
|
+
# @note Stability Level: stable
|
38
|
+
ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES = 'aspnetcore.rate_limiting.active_request_leases'
|
39
|
+
|
40
|
+
# Number of requests that are currently queued, waiting to acquire a rate limiting lease.
|
41
|
+
#
|
42
|
+
# Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0
|
43
|
+
#
|
44
|
+
# @note Stability Level: stable
|
45
|
+
ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS = 'aspnetcore.rate_limiting.queued_requests'
|
46
|
+
|
47
|
+
# The time the request spent in a queue waiting to acquire a rate limiting lease.
|
48
|
+
#
|
49
|
+
# Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0
|
50
|
+
#
|
51
|
+
# @note Stability Level: stable
|
52
|
+
ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE = 'aspnetcore.rate_limiting.request.time_in_queue'
|
53
|
+
|
54
|
+
# The duration of rate limiting lease held by requests on the server.
|
55
|
+
#
|
56
|
+
# Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0
|
57
|
+
#
|
58
|
+
# @note Stability Level: stable
|
59
|
+
ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION = 'aspnetcore.rate_limiting.request_lease.duration'
|
60
|
+
|
61
|
+
# Number of requests that tried to acquire a rate limiting lease.
|
62
|
+
#
|
63
|
+
# Requests could be:
|
64
|
+
#
|
65
|
+
# - Rejected by global or endpoint rate limiting policies
|
66
|
+
# - Canceled while waiting for the lease.
|
67
|
+
#
|
68
|
+
# Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0
|
69
|
+
#
|
70
|
+
# @note Stability Level: stable
|
71
|
+
ASPNETCORE_RATE_LIMITING_REQUESTS = 'aspnetcore.rate_limiting.requests'
|
72
|
+
|
73
|
+
# Number of requests that were attempted to be matched to an endpoint.
|
74
|
+
#
|
75
|
+
# Meter name: `Microsoft.AspNetCore.Routing`; Added in: ASP.NET Core 8.0
|
76
|
+
#
|
77
|
+
# @note Stability Level: stable
|
78
|
+
ASPNETCORE_ROUTING_MATCH_ATTEMPTS = 'aspnetcore.routing.match_attempts'
|
79
|
+
|
80
|
+
# @!endgroup
|
81
|
+
end
|
82
|
+
end
|
83
|
+
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 'aspnetcore/attributes'
|
22
|
+
require_relative 'aspnetcore/metrics'
|
@@ -0,0 +1,53 @@
|
|
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 CLIENT
|
24
|
+
# @!group Attribute Names
|
25
|
+
|
26
|
+
# Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.
|
27
|
+
#
|
28
|
+
# When observed from the server side, and when communicating through an intermediary, `client.address` SHOULD represent the client address behind any intermediaries, for example proxies, if it's available.
|
29
|
+
#
|
30
|
+
# @note Stability Level: stable
|
31
|
+
#
|
32
|
+
# @example Sample Values
|
33
|
+
# client.example.com
|
34
|
+
# 10.1.2.80
|
35
|
+
# /tmp/my.sock
|
36
|
+
#
|
37
|
+
CLIENT_ADDRESS = 'client.address'
|
38
|
+
|
39
|
+
# Client port number.
|
40
|
+
#
|
41
|
+
# When observed from the server side, and when communicating through an intermediary, `client.port` SHOULD represent the client port behind any intermediaries, for example proxies, if it's available.
|
42
|
+
#
|
43
|
+
# @note Stability Level: stable
|
44
|
+
#
|
45
|
+
# @example Sample Values
|
46
|
+
# 65123
|
47
|
+
#
|
48
|
+
CLIENT_PORT = 'client.port'
|
49
|
+
|
50
|
+
# @!endgroup
|
51
|
+
end
|
52
|
+
end
|
53
|
+
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 'client/attributes'
|
@@ -0,0 +1,92 @@
|
|
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 CODE
|
24
|
+
# @!group Attribute Names
|
25
|
+
|
26
|
+
# 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.
|
27
|
+
#
|
28
|
+
# @note Stability Level: stable
|
29
|
+
#
|
30
|
+
# @example Sample Values
|
31
|
+
# 16
|
32
|
+
#
|
33
|
+
CODE_COLUMN_NUMBER = 'code.column.number'
|
34
|
+
|
35
|
+
# 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.
|
36
|
+
#
|
37
|
+
# @note Stability Level: stable
|
38
|
+
#
|
39
|
+
# @example Sample Values
|
40
|
+
# /usr/local/MyApplication/content_root/app/index.php
|
41
|
+
#
|
42
|
+
CODE_FILE_PATH = 'code.file.path'
|
43
|
+
|
44
|
+
# 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.
|
45
|
+
#
|
46
|
+
# Values and format depends on each language runtime, thus it is impossible to provide an exhaustive list of examples.
|
47
|
+
# The values are usually the same (or prefixes of) the ones found in native stack trace representation stored in
|
48
|
+
# `code.stacktrace` without information on arguments.
|
49
|
+
#
|
50
|
+
# Examples:
|
51
|
+
#
|
52
|
+
# - Java method: `com.example.MyHttpService.serveRequest`
|
53
|
+
# - Java anonymous class method: `com.mycompany.Main$1.myMethod`
|
54
|
+
# - Java lambda method: `com.mycompany.Main$$Lambda/0x0000748ae4149c00.myMethod`
|
55
|
+
# - PHP function: `GuzzleHttp\Client::transfer`
|
56
|
+
# - Go function: `github.com/my/repo/pkg.foo.func5`
|
57
|
+
# - Elixir: `OpenTelemetry.Ctx.new`
|
58
|
+
# - Erlang: `opentelemetry_ctx:new`
|
59
|
+
# - Rust: `playground::my_module::my_cool_func`
|
60
|
+
# - C function: `fopen`
|
61
|
+
#
|
62
|
+
# @note Stability Level: stable
|
63
|
+
#
|
64
|
+
# @example Sample Values
|
65
|
+
# com.example.MyHttpService.serveRequest
|
66
|
+
# GuzzleHttp\Client::transfer
|
67
|
+
# fopen
|
68
|
+
#
|
69
|
+
CODE_FUNCTION_NAME = 'code.function.name'
|
70
|
+
|
71
|
+
# 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.
|
72
|
+
#
|
73
|
+
# @note Stability Level: stable
|
74
|
+
#
|
75
|
+
# @example Sample Values
|
76
|
+
# 42
|
77
|
+
#
|
78
|
+
CODE_LINE_NUMBER = 'code.line.number'
|
79
|
+
|
80
|
+
# 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.
|
81
|
+
#
|
82
|
+
# @note Stability Level: stable
|
83
|
+
#
|
84
|
+
# @example Sample Values
|
85
|
+
# at com.example.GenerateTrace.methodB(GenerateTrace.java:13)\n at com.example.GenerateTrace.methodA(GenerateTrace.java:9)\n at com.example.GenerateTrace.main(GenerateTrace.java:5)
|
86
|
+
|
87
|
+
CODE_STACKTRACE = 'code.stacktrace'
|
88
|
+
|
89
|
+
# @!endgroup
|
90
|
+
end
|
91
|
+
end
|
92
|
+
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 'code/attributes'
|
@@ -0,0 +1,174 @@
|
|
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 DB
|
24
|
+
# @!group Attribute Names
|
25
|
+
|
26
|
+
# The name of a collection (table, container) within the database.
|
27
|
+
#
|
28
|
+
# It is RECOMMENDED to capture the value as provided by the application
|
29
|
+
# without attempting to do any case normalization.
|
30
|
+
#
|
31
|
+
# The collection name SHOULD NOT be extracted from `db.query.text`,
|
32
|
+
# when the database system supports query text with multiple collections
|
33
|
+
# in non-batch operations.
|
34
|
+
#
|
35
|
+
# For batch operations, if the individual operations are known to have the same
|
36
|
+
# collection name then that collection name SHOULD be used.
|
37
|
+
#
|
38
|
+
# @note Stability Level: stable
|
39
|
+
#
|
40
|
+
# @example Sample Values
|
41
|
+
# public.users
|
42
|
+
# customers
|
43
|
+
#
|
44
|
+
DB_COLLECTION_NAME = 'db.collection.name'
|
45
|
+
|
46
|
+
# The name of the database, fully qualified within the server address and port.
|
47
|
+
#
|
48
|
+
# If a database system has multiple namespace components, they SHOULD be concatenated from the most general to the most specific namespace component, using `|` as a separator between the components. Any missing components (and their associated separators) SHOULD be omitted.
|
49
|
+
# Semantic conventions for individual database systems SHOULD document what `db.namespace` means in the context of that system.
|
50
|
+
# It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization.
|
51
|
+
#
|
52
|
+
# @note Stability Level: stable
|
53
|
+
#
|
54
|
+
# @example Sample Values
|
55
|
+
# customers
|
56
|
+
# test.users
|
57
|
+
#
|
58
|
+
DB_NAMESPACE = 'db.namespace'
|
59
|
+
|
60
|
+
# The number of queries included in a batch operation.
|
61
|
+
#
|
62
|
+
# Operations are only considered batches when they contain two or more operations, and so `db.operation.batch.size` SHOULD never be `1`.
|
63
|
+
#
|
64
|
+
# @note Stability Level: stable
|
65
|
+
#
|
66
|
+
# @example Sample Values
|
67
|
+
# 2
|
68
|
+
# 3
|
69
|
+
# 4
|
70
|
+
#
|
71
|
+
DB_OPERATION_BATCH_SIZE = 'db.operation.batch.size'
|
72
|
+
|
73
|
+
# The name of the operation or command being executed.
|
74
|
+
#
|
75
|
+
# It is RECOMMENDED to capture the value as provided by the application
|
76
|
+
# without attempting to do any case normalization.
|
77
|
+
#
|
78
|
+
# The operation name SHOULD NOT be extracted from `db.query.text`,
|
79
|
+
# when the database system supports query text with multiple operations
|
80
|
+
# in non-batch operations.
|
81
|
+
#
|
82
|
+
# If spaces can occur in the operation name, multiple consecutive spaces
|
83
|
+
# SHOULD be normalized to a single space.
|
84
|
+
#
|
85
|
+
# For batch operations, if the individual operations are known to have the same operation name
|
86
|
+
# then that operation name SHOULD be used prepended by `BATCH `,
|
87
|
+
# otherwise `db.operation.name` SHOULD be `BATCH` or some other database
|
88
|
+
# system specific term if more applicable.
|
89
|
+
#
|
90
|
+
# @note Stability Level: stable
|
91
|
+
#
|
92
|
+
# @example Sample Values
|
93
|
+
# findAndModify
|
94
|
+
# HMSET
|
95
|
+
# SELECT
|
96
|
+
#
|
97
|
+
DB_OPERATION_NAME = 'db.operation.name'
|
98
|
+
|
99
|
+
# Low cardinality summary of a database query.
|
100
|
+
#
|
101
|
+
# The query summary describes a class of database queries and is useful
|
102
|
+
# as a grouping key, especially when analyzing telemetry for database
|
103
|
+
# calls involving complex queries.
|
104
|
+
#
|
105
|
+
# Summary may be available to the instrumentation through
|
106
|
+
# instrumentation hooks or other means. If it is not available, instrumentations
|
107
|
+
# that support query parsing SHOULD generate a summary following
|
108
|
+
# [Generating query summary](/docs/database/database-spans.md#generating-a-summary-of-the-query)
|
109
|
+
# section.
|
110
|
+
#
|
111
|
+
# @note Stability Level: stable
|
112
|
+
#
|
113
|
+
# @example Sample Values
|
114
|
+
# SELECT wuser_table
|
115
|
+
# INSERT shipping_details SELECT orders
|
116
|
+
# get user by id
|
117
|
+
#
|
118
|
+
DB_QUERY_SUMMARY = 'db.query.summary'
|
119
|
+
|
120
|
+
# The database query being executed.
|
121
|
+
#
|
122
|
+
# For sanitization see [Sanitization of `db.query.text`](/docs/database/database-spans.md#sanitization-of-dbquerytext).
|
123
|
+
# For batch operations, if the individual operations are known to have the same query text then that query text SHOULD be used, otherwise all of the individual query texts SHOULD be concatenated with separator `; ` or some other database system specific separator if more applicable.
|
124
|
+
# Parameterized query text SHOULD NOT be sanitized. Even though parameterized query text can potentially have sensitive data, by using a parameterized query the user is giving a strong signal that any sensitive data will be passed as parameter values, and the benefit to observability of capturing the static part of the query text by default outweighs the risk.
|
125
|
+
#
|
126
|
+
# @note Stability Level: stable
|
127
|
+
#
|
128
|
+
# @example Sample Values
|
129
|
+
# SELECT * FROM wuser_table where username = ?
|
130
|
+
# SET mykey ?
|
131
|
+
#
|
132
|
+
DB_QUERY_TEXT = 'db.query.text'
|
133
|
+
|
134
|
+
# Database response status code.
|
135
|
+
#
|
136
|
+
# The status code returned by the database. Usually it represents an error code, but may also represent partial success, warning, or differentiate between various types of successful outcomes.
|
137
|
+
# Semantic conventions for individual database systems SHOULD document what `db.response.status_code` means in the context of that system.
|
138
|
+
#
|
139
|
+
# @note Stability Level: stable
|
140
|
+
#
|
141
|
+
# @example Sample Values
|
142
|
+
# 102
|
143
|
+
# ORA-17002
|
144
|
+
# 08P01
|
145
|
+
# 404
|
146
|
+
#
|
147
|
+
DB_RESPONSE_STATUS_CODE = 'db.response.status_code'
|
148
|
+
|
149
|
+
# The name of a stored procedure within the database.
|
150
|
+
#
|
151
|
+
# It is RECOMMENDED to capture the value as provided by the application
|
152
|
+
# without attempting to do any case normalization.
|
153
|
+
#
|
154
|
+
# For batch operations, if the individual operations are known to have the same
|
155
|
+
# stored procedure name then that stored procedure name SHOULD be used.
|
156
|
+
#
|
157
|
+
# @note Stability Level: stable
|
158
|
+
#
|
159
|
+
# @example Sample Values
|
160
|
+
# GetCustomer
|
161
|
+
#
|
162
|
+
DB_STORED_PROCEDURE_NAME = 'db.stored_procedure.name'
|
163
|
+
|
164
|
+
# The database management system (DBMS) product as identified by the client instrumentation.
|
165
|
+
#
|
166
|
+
# The actual DBMS may differ from the one identified by the client. For example, when using PostgreSQL client libraries to connect to a CockroachDB, the `db.system.name` is set to `postgresql` based on the instrumentation's best knowledge.
|
167
|
+
#
|
168
|
+
# @note Stability Level: stable
|
169
|
+
DB_SYSTEM_NAME = 'db.system.name'
|
170
|
+
|
171
|
+
# @!endgroup
|
172
|
+
end
|
173
|
+
end
|
174
|
+
end
|
@@ -0,0 +1,36 @@
|
|
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 DB
|
24
|
+
# @!group Metrics Names
|
25
|
+
|
26
|
+
# Duration of database client operations.
|
27
|
+
#
|
28
|
+
# Batch operations SHOULD be recorded as a single operation.
|
29
|
+
#
|
30
|
+
# @note Stability Level: stable
|
31
|
+
DB_CLIENT_OPERATION_DURATION = 'db.client.operation.duration'
|
32
|
+
|
33
|
+
# @!endgroup
|
34
|
+
end
|
35
|
+
end
|
36
|
+
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 'db/attributes'
|
22
|
+
require_relative 'db/metrics'
|