opentelemetry-instrumentation-graphql 0.20.0 → 0.21.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: 48699b82e87fb857a932c25ee18b23fc7628d5f5396e1b19797f42414db99bbc
|
4
|
+
data.tar.gz: 3f450cd5c2a8f5255ee069bf434ee4e355af9be89f8b06352ad2d261f9a9085b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfe590317f2815fe31fe8b9552851c1911b39a746ec573a1990b5b98754cea7f4c59569274d61e22af345ef58ec5e742ddd6f49f4e65f90d67c0849d63b994be
|
7
|
+
data.tar.gz: ed778297d96522297945f402626a847e33ddad9dad664a6eb4ba877d3d155902e7d1e46ef6812430a6d0bf0af7b6e8d9340dca3b017fc2ac6f3e1af9a383e033
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -55,7 +55,7 @@ end
|
|
55
55
|
|
56
56
|
## Examples
|
57
57
|
|
58
|
-
An example of usage can be seen in [`example/graphql.rb`](https://github.com/open-telemetry/opentelemetry-ruby/blob/main/instrumentation/graphql/example/graphql.rb).
|
58
|
+
An example of usage can be seen in [`example/graphql.rb`](https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/instrumentation/graphql/example/graphql.rb).
|
59
59
|
|
60
60
|
## How can I get involved?
|
61
61
|
|
@@ -70,7 +70,7 @@ The `opentelemetry-instrumentation-graphql` gem is distributed under the Apache
|
|
70
70
|
[graphql-home]: https://github.com/rmosolgo/graphql-ruby
|
71
71
|
[bundler-home]: https://bundler.io
|
72
72
|
[repo-github]: https://github.com/open-telemetry/opentelemetry-ruby
|
73
|
-
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/main/LICENSE
|
73
|
+
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/LICENSE
|
74
74
|
[ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
|
75
75
|
[community-meetings]: https://github.com/open-telemetry/community#community-meetings
|
76
76
|
[discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
|
@@ -74,9 +74,9 @@ module OpenTelemetry
|
|
74
74
|
attributes = {}
|
75
75
|
case key
|
76
76
|
when 'execute_query'
|
77
|
-
attributes['
|
78
|
-
attributes['
|
79
|
-
attributes['
|
77
|
+
attributes['graphql.operation.name'] = data[:query].selected_operation_name if data[:query].selected_operation_name
|
78
|
+
attributes['graphql.operation.type'] = data[:query].selected_operation.operation_type
|
79
|
+
attributes['graphql.document'] = data[:query].query_string
|
80
80
|
end
|
81
81
|
attributes
|
82
82
|
end
|
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.
|
4
|
+
version: 0.21.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: 2022-
|
11
|
+
date: 2022-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -223,14 +223,14 @@ files:
|
|
223
223
|
- lib/opentelemetry/instrumentation/graphql/instrumentation.rb
|
224
224
|
- lib/opentelemetry/instrumentation/graphql/tracers/graphql_tracer.rb
|
225
225
|
- lib/opentelemetry/instrumentation/graphql/version.rb
|
226
|
-
homepage: https://github.com/open-telemetry/opentelemetry-
|
226
|
+
homepage: https://github.com/open-telemetry/opentelemetry-contrib
|
227
227
|
licenses:
|
228
228
|
- Apache-2.0
|
229
229
|
metadata:
|
230
|
-
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-graphql/v0.
|
231
|
-
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/graphql
|
232
|
-
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
233
|
-
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-graphql/v0.
|
230
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby-contrib/opentelemetry-instrumentation-graphql/v0.21.0/file.CHANGELOG.html
|
231
|
+
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/graphql
|
232
|
+
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
233
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby-contrib/opentelemetry-instrumentation-graphql/v0.21.0
|
234
234
|
post_install_message:
|
235
235
|
rdoc_options: []
|
236
236
|
require_paths:
|