You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: opentelemetry-semantic-conventions/src/opentelemetry/semconv/resource/__init__.py
+7-1
Original file line number
Diff line number
Diff line change
@@ -150,6 +150,12 @@ class ResourceAttributes:
150
150
Note: It's recommended this value represents a human readable version of the device model rather than a machine readable alternative.
151
151
"""
152
152
153
+
DEVICE_MANUFACTURER="device.manufacturer"
154
+
"""
155
+
The name of the device manufacturer.
156
+
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`.
157
+
"""
158
+
153
159
FAAS_NAME="faas.name"
154
160
"""
155
161
The name of the single function that this runtime instance executes.
The [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1) identifies the context in which an event happened.
The [version of the CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) which the event uses.
40
+
"""
41
+
42
+
CLOUDEVENTS_EVENT_TYPE="cloudevents.event_type"
43
+
"""
44
+
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.
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).
50
+
"""
51
+
52
+
OPENTRACING_REF_TYPE="opentracing.ref_type"
53
+
"""
54
+
Parent-child Reference type.
55
+
Note: The causal relationship between a child Span and a parent Span.
56
+
"""
57
+
27
58
DB_SYSTEM="db.system"
28
59
"""
29
60
An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers.
@@ -65,6 +96,7 @@ class SpanAttributes:
65
96
NET_PEER_NAME="net.peer.name"
66
97
"""
67
98
Remote hostname or similar, see note below.
99
+
Note: `net.peer.name` SHOULD NOT be set if capturing it would require an extra DNS lookup.
68
100
"""
69
101
70
102
NET_PEER_IP="net.peer.ip"
@@ -170,7 +202,7 @@ class SpanAttributes:
170
202
whether it will escape the scope of a span.
171
203
However, it is trivial to know that an exception
172
204
will escape, if one checks for an active exception just before ending the span,
173
-
as done in the [example above](#exception-end-example).
205
+
as done in the [example above](#recording-an-exception).
174
206
175
207
It follows that an exception may still escape the scope of the span
176
208
even if the `exception.escaped` attribute was not set or set to false,
@@ -284,6 +316,11 @@ class SpanAttributes:
284
316
The size of the uncompressed response payload body after transport decoding. Not set if transport encoding not used.
285
317
"""
286
318
319
+
HTTP_RETRY_COUNT="http.retry_count"
320
+
"""
321
+
The ordinal number of request re-sending attempt.
322
+
"""
323
+
287
324
HTTP_SERVER_NAME="http.server_name"
288
325
"""
289
326
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).
@@ -762,6 +799,14 @@ class SpanAttributes:
762
799
"""
763
800
764
801
802
+
classOpentracingRefTypeValues(Enum):
803
+
CHILD_OF="child_of"
804
+
"""The parent Span depends on the child Span in some capacity."""
805
+
806
+
FOLLOWS_FROM="follows_from"
807
+
"""The parent Span does not depend in any way on the result of the child Span."""
808
+
809
+
765
810
classDbSystemValues(Enum):
766
811
OTHER_SQL="other_sql"
767
812
"""Some other SQL database. Fallback only. See notes."""
@@ -993,13 +1038,16 @@ class FaasDocumentOperationValues(Enum):
993
1038
994
1039
classHttpFlavorValues(Enum):
995
1040
HTTP_1_0="1.0"
996
-
"""HTTP1.0."""
1041
+
"""HTTP/1.0."""
997
1042
998
1043
HTTP_1_1="1.1"
999
-
"""HTTP1.1."""
1044
+
"""HTTP/1.1."""
1000
1045
1001
1046
HTTP_2_0="2.0"
1002
-
"""HTTP 2."""
1047
+
"""HTTP/2."""
1048
+
1049
+
HTTP_3_0="3.0"
1050
+
"""HTTP/3."""
1003
1051
1004
1052
SPDY="SPDY"
1005
1053
"""SPDY protocol."""
@@ -1115,6 +1163,20 @@ class FaasInvokedProviderValues(Enum):
0 commit comments