opentelemetry-semantic_conventions 1.8.0 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6700592df6568f5f7b0bae5e9d3443439c2562a9d023a1ce3d154ac8f752707
|
4
|
+
data.tar.gz: 8d4b43b6f27fe6052ef8fd066d48bdf7bd42bf444c68b4cdb29f974f89ce2496
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dfab8f7100ff3ec062b66b4c1ba09e5f2ff3c445c74c805c9d259bce857c7c78a104f46c6447bbb973bd64ebea53bfdfba7c5e4f5bcb4772e57f9a2f813d691
|
7
|
+
data.tar.gz: e34cb3bff877719f7d19a6af066bd66322f5b86db703e3caded156992dccdf9d253bfd0fe59c5e4353ede6ba2ab6e5203c63736e60ee474ac7b6697f2505fc91
|
data/CHANGELOG.md
CHANGED
@@ -91,6 +91,10 @@ module OpenTelemetry
|
|
91
91
|
# @note It's recommended this value represents a human readable version of the device model rather than a machine readable alternative
|
92
92
|
DEVICE_MODEL_NAME = 'device.model.name'
|
93
93
|
|
94
|
+
# The name of the device manufacturer
|
95
|
+
# @note The Android OS provides this field via [Build](https://developer.android.com/reference/android/os/Build#MANUFACTURER). iOS apps SHOULD hardcode the value `Apple`
|
96
|
+
DEVICE_MANUFACTURER = 'device.manufacturer'
|
97
|
+
|
94
98
|
# The name of the single function that this runtime instance executes
|
95
99
|
# @note This is the name of the function as configured/deployed on the FaaS platform and is usually different from the name of the callback function (which may be stored in the [`code.namespace`/`code.function`](../../trace/semantic_conventions/span-general.md#source-code-attributes) span attributes)
|
96
100
|
FAAS_NAME = 'faas.name'
|
@@ -11,6 +11,25 @@ module OpenTelemetry
|
|
11
11
|
# @note This may be different from `faas.id` if an alias is involved
|
12
12
|
AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn'
|
13
13
|
|
14
|
+
# The [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id) uniquely identifies the event
|
15
|
+
CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id'
|
16
|
+
|
17
|
+
# The [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1) identifies the context in which an event happened
|
18
|
+
CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source'
|
19
|
+
|
20
|
+
# The [version of the CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) which the event uses
|
21
|
+
CLOUDEVENTS_EVENT_SPEC_VERSION = 'cloudevents.event_spec_version'
|
22
|
+
|
23
|
+
# The [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type) contains a value describing the type of event related to the originating occurrence
|
24
|
+
CLOUDEVENTS_EVENT_TYPE = 'cloudevents.event_type'
|
25
|
+
|
26
|
+
# The [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject) of the event in the context of the event producer (identified by source)
|
27
|
+
CLOUDEVENTS_EVENT_SUBJECT = 'cloudevents.event_subject'
|
28
|
+
|
29
|
+
# Parent-child Reference type
|
30
|
+
# @note The causal relationship between a child Span and a parent Span
|
31
|
+
OPENTRACING_REF_TYPE = 'opentracing.ref_type'
|
32
|
+
|
14
33
|
# An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers
|
15
34
|
DB_SYSTEM = 'db.system'
|
16
35
|
|
@@ -23,8 +42,8 @@ module OpenTelemetry
|
|
23
42
|
# The fully-qualified class name of the [Java Database Connectivity (JDBC)](https://docs.oracle.com/javase/8/docs/technotes/guides/jdbc/) driver used to connect
|
24
43
|
DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname'
|
25
44
|
|
26
|
-
#
|
27
|
-
# @note In some SQL databases, the database name to be used is called "schema name"
|
45
|
+
# This attribute is used to report the name of the database being accessed. For commands that switch the database, this should be set to the target database (even if the command fails)
|
46
|
+
# @note In some SQL databases, the database name to be used is called "schema name". In case there are multiple layers that could be considered for database name (e.g. Oracle instance name and schema name), the database name to be used is the more specific layer (e.g. Oracle schema name)
|
28
47
|
DB_NAME = 'db.name'
|
29
48
|
|
30
49
|
# The database statement being executed
|
@@ -51,16 +70,13 @@ module OpenTelemetry
|
|
51
70
|
# @note If setting a `db.mssql.instance_name`, `net.peer.port` is no longer required (but still recommended if non-standard)
|
52
71
|
DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name'
|
53
72
|
|
54
|
-
# The name of the keyspace being accessed. To be used instead of the generic `db.name` attribute
|
55
|
-
DB_CASSANDRA_KEYSPACE = 'db.cassandra.keyspace'
|
56
|
-
|
57
73
|
# The fetch size used for paging, i.e. how many rows will be returned at once
|
58
74
|
DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size'
|
59
75
|
|
60
76
|
# The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html)
|
61
77
|
DB_CASSANDRA_CONSISTENCY_LEVEL = 'db.cassandra.consistency_level'
|
62
78
|
|
63
|
-
# The name of the primary table that the operation is acting upon, including the
|
79
|
+
# The name of the primary table that the operation is acting upon, including the keyspace name (if applicable)
|
64
80
|
# @note This mirrors the db.sql.table attribute but references cassandra rather than sql. It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set
|
65
81
|
DB_CASSANDRA_TABLE = 'db.cassandra.table'
|
66
82
|
|
@@ -76,16 +92,13 @@ module OpenTelemetry
|
|
76
92
|
# The data center of the coordinating node for a query
|
77
93
|
DB_CASSANDRA_COORDINATOR_DC = 'db.cassandra.coordinator.dc'
|
78
94
|
|
79
|
-
# The [HBase namespace](https://hbase.apache.org/book.html#_namespace) being accessed. To be used instead of the generic `db.name` attribute
|
80
|
-
DB_HBASE_NAMESPACE = 'db.hbase.namespace'
|
81
|
-
|
82
95
|
# The index of the database being accessed as used in the [`SELECT` command](https://redis.io/commands/select), provided as an integer. To be used instead of the generic `db.name` attribute
|
83
96
|
DB_REDIS_DATABASE_INDEX = 'db.redis.database_index'
|
84
97
|
|
85
98
|
# The collection being accessed within the database stated in `db.name`
|
86
99
|
DB_MONGODB_COLLECTION = 'db.mongodb.collection'
|
87
100
|
|
88
|
-
# The name of the primary table that the operation is acting upon, including the
|
101
|
+
# The name of the primary table that the operation is acting upon, including the database name (if applicable)
|
89
102
|
# @note It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set
|
90
103
|
DB_SQL_TABLE = 'db.sql.table'
|
91
104
|
|
@@ -109,7 +122,7 @@ module OpenTelemetry
|
|
109
122
|
# whether it will escape the scope of a span.
|
110
123
|
# However, it is trivial to know that an exception
|
111
124
|
# will escape, if one checks for an active exception just before ending the span,
|
112
|
-
# as done in the [example above](#
|
125
|
+
# as done in the [example above](#recording-an-exception).
|
113
126
|
#
|
114
127
|
# It follows that an exception may still escape the scope of the span
|
115
128
|
# even if the `exception.escaped` attribute was not set or set to false,
|
@@ -117,7 +130,16 @@ module OpenTelemetry
|
|
117
130
|
# clear whether the exception will escape
|
118
131
|
EXCEPTION_ESCAPED = 'exception.escaped'
|
119
132
|
|
120
|
-
# Type of the trigger
|
133
|
+
# Type of the trigger which caused this function execution
|
134
|
+
# @note For the server/consumer span on the incoming side,
|
135
|
+
# `faas.trigger` MUST be set.
|
136
|
+
#
|
137
|
+
# Clients invoking FaaS instances usually cannot set `faas.trigger`,
|
138
|
+
# since they would typically need to look in the payload to determine
|
139
|
+
# the event type. If clients set it, it should be the same as the
|
140
|
+
# trigger that corresponding incoming would have (i.e., this has
|
141
|
+
# nothing to do with the underlying transport used to make the API
|
142
|
+
# call to invoke the lambda, which is often HTTP)
|
121
143
|
FAAS_TRIGGER = 'faas.trigger'
|
122
144
|
|
123
145
|
# The execution ID of the current function execution
|
@@ -145,7 +167,8 @@ module OpenTelemetry
|
|
145
167
|
# The full request target as passed in a HTTP request line or equivalent
|
146
168
|
HTTP_TARGET = 'http.target'
|
147
169
|
|
148
|
-
# The value of the [HTTP host header](https://tools.ietf.org/html/rfc7230#section-5.4).
|
170
|
+
# The value of the [HTTP host header](https://tools.ietf.org/html/rfc7230#section-5.4). An empty Host header should also be reported, see note
|
171
|
+
# @note When the header is present but empty the attribute SHOULD be set to the empty string. Note that this is a valid situation that is expected in certain cases, according the aforementioned [section of RFC 7230](https://tools.ietf.org/html/rfc7230#section-5.4). When the header is not set the attribute MUST NOT be set
|
149
172
|
HTTP_HOST = 'http.host'
|
150
173
|
|
151
174
|
# The URI scheme identifying the used protocol
|
@@ -173,6 +196,9 @@ module OpenTelemetry
|
|
173
196
|
# The size of the uncompressed response payload body after transport decoding. Not set if transport encoding not used
|
174
197
|
HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED = 'http.response_content_length_uncompressed'
|
175
198
|
|
199
|
+
# The ordinal number of request re-sending attempt
|
200
|
+
HTTP_RETRY_COUNT = 'http.retry_count'
|
201
|
+
|
176
202
|
# The primary server name of the matched virtual host. This should be obtained via configuration. If no such configuration can be obtained, this attribute MUST NOT be set ( `net.host.name` should be used instead)
|
177
203
|
# @note `http.url` is usually not readily available on the server side but would have to be assembled in a cumbersome and sometimes lossy process from other information (see e.g. open-telemetry/opentelemetry-python/pull/148). It is thus preferred to supply the raw data that is available
|
178
204
|
HTTP_SERVER_NAME = 'http.server_name'
|
@@ -181,7 +207,17 @@ module OpenTelemetry
|
|
181
207
|
HTTP_ROUTE = 'http.route'
|
182
208
|
|
183
209
|
# The IP address of the original client behind all proxies, if known (e.g. from [X-Forwarded-For](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For))
|
184
|
-
# @note This is not necessarily the same as `net.peer.ip`, which would
|
210
|
+
# @note This is not necessarily the same as `net.peer.ip`, which would
|
211
|
+
# identify the network-level peer, which may be a proxy.
|
212
|
+
#
|
213
|
+
# This attribute should be set when a source of information different
|
214
|
+
# from the one used for `net.peer.ip`, is available even if that other
|
215
|
+
# source just confirms the same value as `net.peer.ip`.
|
216
|
+
# Rationale: For `net.peer.ip`, one typically does not know if it
|
217
|
+
# comes from a proxy, reverse proxy, or the actual client. Setting
|
218
|
+
# `http.client_ip` when it's the same as `net.peer.ip` means that
|
219
|
+
# one is at least somewhat confident that the address is not that of
|
220
|
+
# the closest proxy
|
185
221
|
HTTP_CLIENT_IP = 'http.client_ip'
|
186
222
|
|
187
223
|
# Like `net.peer.ip` but for the host IP. Useful in case of a multi-IP host
|
@@ -375,6 +411,9 @@ module OpenTelemetry
|
|
375
411
|
# A string identifying the kind of message consumption as defined in the [Operation names](#operation-names) section above. If the operation is "send", this attribute MUST NOT be set, since the operation can be inferred from the span kind in that case
|
376
412
|
MESSAGING_OPERATION = 'messaging.operation'
|
377
413
|
|
414
|
+
# The identifier for the consumer receiving a message. For Kafka, set it to `{messaging.kafka.consumer_group} - {messaging.kafka.client_id}`, if both are present, or only `messaging.kafka.consumer_group`. For brokers, such as RabbitMQ and Artemis, set it to the `client_id` of the client consuming the message
|
415
|
+
MESSAGING_CONSUMER_ID = 'messaging.consumer_id'
|
416
|
+
|
378
417
|
# RabbitMQ message routing key
|
379
418
|
MESSAGING_RABBITMQ_ROUTING_KEY = 'messaging.rabbitmq.routing_key'
|
380
419
|
|
@@ -394,6 +433,27 @@ module OpenTelemetry
|
|
394
433
|
# A boolean that is true if the message is a tombstone
|
395
434
|
MESSAGING_KAFKA_TOMBSTONE = 'messaging.kafka.tombstone'
|
396
435
|
|
436
|
+
# Namespace of RocketMQ resources, resources in different namespaces are individual
|
437
|
+
MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace'
|
438
|
+
|
439
|
+
# Name of the RocketMQ producer/consumer group that is handling the message. The client type is identified by the SpanKind
|
440
|
+
MESSAGING_ROCKETMQ_CLIENT_GROUP = 'messaging.rocketmq.client_group'
|
441
|
+
|
442
|
+
# The unique identifier for each client
|
443
|
+
MESSAGING_ROCKETMQ_CLIENT_ID = 'messaging.rocketmq.client_id'
|
444
|
+
|
445
|
+
# Type of message
|
446
|
+
MESSAGING_ROCKETMQ_MESSAGE_TYPE = 'messaging.rocketmq.message_type'
|
447
|
+
|
448
|
+
# The secondary classifier of message besides topic
|
449
|
+
MESSAGING_ROCKETMQ_MESSAGE_TAG = 'messaging.rocketmq.message_tag'
|
450
|
+
|
451
|
+
# Key(s) of message, another way to mark message besides message id
|
452
|
+
MESSAGING_ROCKETMQ_MESSAGE_KEYS = 'messaging.rocketmq.message_keys'
|
453
|
+
|
454
|
+
# Model of message consumption. This only applies to consumer spans
|
455
|
+
MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = 'messaging.rocketmq.consumption_model'
|
456
|
+
|
397
457
|
# The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request
|
398
458
|
RPC_GRPC_STATUS_CODE = 'rpc.grpc.status_code'
|
399
459
|
|
@@ -409,6 +469,19 @@ module OpenTelemetry
|
|
409
469
|
# `error.message` property of response if it is an error response
|
410
470
|
RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message'
|
411
471
|
|
472
|
+
# Whether this is a received or sent message
|
473
|
+
MESSAGE_TYPE = 'message.type'
|
474
|
+
|
475
|
+
# MUST be calculated as two different counters starting from `1` one for sent messages and one for received message
|
476
|
+
# @note This way we guarantee that the values will be consistent between different implementations
|
477
|
+
MESSAGE_ID = 'message.id'
|
478
|
+
|
479
|
+
# Compressed size of the message in bytes
|
480
|
+
MESSAGE_COMPRESSED_SIZE = 'message.compressed_size'
|
481
|
+
|
482
|
+
# Uncompressed size of the message in bytes
|
483
|
+
MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size'
|
484
|
+
|
412
485
|
end
|
413
486
|
end
|
414
487
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-semantic_conventions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenTelemetry Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: '1.3'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: '1.3'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: simplecov
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,10 +142,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
|
142
142
|
licenses:
|
143
143
|
- Apache-2.0
|
144
144
|
metadata:
|
145
|
-
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-semantic_conventions/v1.
|
145
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-semantic_conventions/v1.10.0/file.CHANGELOG.html
|
146
146
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/semantic_conventions
|
147
147
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
148
|
-
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-semantic_conventions/v1.
|
148
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-semantic_conventions/v1.10.0
|
149
149
|
post_install_message:
|
150
150
|
rdoc_options: []
|
151
151
|
require_paths:
|
@@ -154,7 +154,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
154
154
|
requirements:
|
155
155
|
- - ">="
|
156
156
|
- !ruby/object:Gem::Version
|
157
|
-
version: 2.
|
157
|
+
version: 2.6.0
|
158
158
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
159
159
|
requirements:
|
160
160
|
- - ">="
|