opentelemetry-instrumentation-graphql 0.28.2 → 0.28.4
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b49a420ec63288497febd2ecfd14825b563d37a48a1a29c7542c73e6859fb9ae
|
4
|
+
data.tar.gz: 65df6c52c32a1cc5923c64b7a6c12e3128dacd6e1616ab0c97f6fe7d5ff1b127
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7210c84a68252c391551c85ebba1a065a9b30a41707baa96642d9c2079eb1a132fdd3297c9a58fdb3d0a0c22bfd9463fa1ecf8a0359b1f48fa8843a166548c7
|
7
|
+
data.tar.gz: ceaa834172f002a38dccc9af2c88ecbdfd76f5d67b328091ab6f6cc423218f3adc2ecc155b6b7bacad619f11866c3f30891a54ca362667a973ed6f30d9d2b226
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-graphql
|
2
2
|
|
3
|
+
### v0.28.4 / 2024-07-30
|
4
|
+
|
5
|
+
* FIXED: Add super calls to GraphqlTrace
|
6
|
+
|
7
|
+
### v0.28.3 / 2024-07-23
|
8
|
+
|
9
|
+
* DOCS: Add cspell to CI
|
10
|
+
|
3
11
|
### v0.28.2 / 2024-04-30
|
4
12
|
|
5
13
|
* FIXED: Bundler conflict warnings
|
@@ -116,7 +124,7 @@
|
|
116
124
|
|
117
125
|
### v0.18.0 / 2021-05-21
|
118
126
|
|
119
|
-
* ADDED: Updated API
|
127
|
+
* ADDED: Updated API dependency for 1.0.0.rc1
|
120
128
|
|
121
129
|
### v0.17.0 / 2021-04-22
|
122
130
|
|
@@ -60,15 +60,15 @@ module OpenTelemetry
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def execute_multiplex(multiplex:, &block)
|
63
|
-
tracer.in_span('graphql.execute_multiplex'
|
63
|
+
tracer.in_span('graphql.execute_multiplex') { super }
|
64
64
|
end
|
65
65
|
|
66
66
|
def lex(query_string:, &block)
|
67
|
-
tracer.in_span('graphql.lex'
|
67
|
+
tracer.in_span('graphql.lex') { super }
|
68
68
|
end
|
69
69
|
|
70
70
|
def parse(query_string:, &block)
|
71
|
-
tracer.in_span('graphql.parse'
|
71
|
+
tracer.in_span('graphql.parse') { super }
|
72
72
|
end
|
73
73
|
|
74
74
|
def validate(query:, validate:, &block)
|
@@ -89,11 +89,11 @@ module OpenTelemetry
|
|
89
89
|
end
|
90
90
|
|
91
91
|
def analyze_multiplex(multiplex:, &block)
|
92
|
-
tracer.in_span('graphql.analyze_multiplex'
|
92
|
+
tracer.in_span('graphql.analyze_multiplex') { super }
|
93
93
|
end
|
94
94
|
|
95
95
|
def analyze_query(query:, &block)
|
96
|
-
tracer.in_span('graphql.analyze_query'
|
96
|
+
tracer.in_span('graphql.analyze_query') { super }
|
97
97
|
end
|
98
98
|
|
99
99
|
def execute_query(query:, &block)
|
@@ -102,11 +102,13 @@ module OpenTelemetry
|
|
102
102
|
attributes['graphql.operation.type'] = query.selected_operation.operation_type
|
103
103
|
attributes['graphql.document'] = query.query_string
|
104
104
|
|
105
|
-
tracer.in_span('graphql.execute_query', attributes: attributes
|
105
|
+
tracer.in_span('graphql.execute_query', attributes: attributes) do
|
106
|
+
super
|
107
|
+
end
|
106
108
|
end
|
107
109
|
|
108
110
|
def execute_query_lazy(query:, multiplex:, &block)
|
109
|
-
tracer.in_span('graphql.execute_query_lazy'
|
111
|
+
tracer.in_span('graphql.execute_query_lazy') { super }
|
110
112
|
end
|
111
113
|
|
112
114
|
def execute_field(field:, query:, ast_node:, arguments:, object:, &block)
|
@@ -133,7 +135,7 @@ module OpenTelemetry
|
|
133
135
|
|
134
136
|
attributes = @_otel_type_attrs_cache[type]
|
135
137
|
|
136
|
-
tracer.in_span(platform_key, attributes: attributes
|
138
|
+
tracer.in_span(platform_key, attributes: attributes) { super }
|
137
139
|
end
|
138
140
|
|
139
141
|
def authorized_lazy(query:, type:, object:, &block)
|
@@ -141,19 +143,19 @@ module OpenTelemetry
|
|
141
143
|
return super unless platform_key
|
142
144
|
|
143
145
|
attributes = @_otel_lazy_type_attrs_cache[type]
|
144
|
-
tracer.in_span(platform_key, attributes: attributes
|
146
|
+
tracer.in_span(platform_key, attributes: attributes) { super }
|
145
147
|
end
|
146
148
|
|
147
149
|
def resolve_type(query:, type:, object:, &block)
|
148
150
|
platform_key = @_otel_resolve_type_key_cache[type]
|
149
151
|
attributes = @_otel_type_attrs_cache[type]
|
150
|
-
tracer.in_span(platform_key, attributes: attributes
|
152
|
+
tracer.in_span(platform_key, attributes: attributes) { super }
|
151
153
|
end
|
152
154
|
|
153
155
|
def resolve_type_lazy(query:, type:, object:, &block)
|
154
156
|
platform_key = @_otel_resolve_type_key_cache[type]
|
155
157
|
attributes = @_otel_lazy_type_attrs_cache[type]
|
156
|
-
tracer.in_span(platform_key, attributes: attributes
|
158
|
+
tracer.in_span(platform_key, attributes: attributes) { super }
|
157
159
|
end
|
158
160
|
|
159
161
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-instrumentation-graphql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.28.
|
4
|
+
version: 0.28.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenTelemetry Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: 1.65.0
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: 1.65.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rubocop-performance
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,10 +214,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
|
214
214
|
licenses:
|
215
215
|
- Apache-2.0
|
216
216
|
metadata:
|
217
|
-
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-graphql/0.28.
|
217
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-graphql/0.28.4/file/CHANGELOG.md
|
218
218
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/graphql
|
219
219
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
220
|
-
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-graphql/0.28.
|
220
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-graphql/0.28.4
|
221
221
|
post_install_message:
|
222
222
|
rdoc_options: []
|
223
223
|
require_paths:
|