File tree Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -51,31 +51,43 @@ class INSTRUMENTER:
51
51
OTEL = "otel"
52
52
53
53
54
- # See: https://develop.sentry.dev/sdk/performance/span-data-conventions/
55
54
class SPANDATA :
56
- # An identifier for the database management system (DBMS) product being used.
57
- # See: https://github.com/open-telemetry/opentelemetry-python/blob/e00306206ea25cf8549eca289e39e0b6ba2fa560/opentelemetry-semantic-conventions/src/opentelemetry/semconv/trace/__init__.py#L58
55
+ """
56
+ Additional information describing the type of the span.
57
+ See: https://develop.sentry.dev/sdk/performance/span-data-conventions/
58
+ """
59
+
58
60
DB_SYSTEM = "db.system"
61
+ """
62
+ An identifier for the database management system (DBMS) product being used.
63
+ See: https://github.com/open-telemetry/opentelemetry-specification/blob/24de67b3827a4e3ab2515cd8ab62d5bcf837c586/specification/trace/semantic_conventions/database.md
64
+ Example: postgresql
65
+ """
59
66
60
- # A boolean indicating whether the requested data was found in the cache.
61
67
CACHE_HIT = "cache.hit"
68
+ """
69
+ A boolean indicating whether the requested data was found in the cache.
70
+ Example: true
71
+ """
62
72
63
- # The size of the requested data in bytes.
64
73
CACHE_ITEM_SIZE = "cache.item_size"
65
74
"""
66
- An identifier for the database management system (DBMS) product being used .
67
- See: https://github.com/open-telemetry/opentelemetry-python/blob/e00306206ea25cf8549eca289e39e0b6ba2fa560/opentelemetry-semantic-conventions/src/opentelemetry/semconv/trace/__init__.py#L58
75
+ The size of the requested data in bytes .
76
+ Example: 58
68
77
"""
78
+
69
79
HTTP_QUERY = "http.query"
70
80
"""
71
81
The Query string present in the URL.
72
82
Example: ?foo=bar&bar=baz
73
83
"""
84
+
74
85
HTTP_FRAGMENT = "http.fragment"
75
86
"""
76
87
The Fragments present in the URL.
77
88
Example: #foo=bar
78
89
"""
90
+
79
91
HTTP_METHOD = "http.method"
80
92
"""
81
93
The HTTP method used.
You can’t perform that action at this time.
0 commit comments