Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,8 @@ The `instrument :graphql` method accepts the following parameters. Additional op
| `service_name` | | `String` | Service name used for graphql instrumentation | `'ruby-graphql'` |
| `error_extensions` | `DD_TRACE_GRAPHQL_ERROR_EXTENSIONS` | `Array` | List of extension keys to include in the span event reported for GraphQL queries with errors. | `[]` |
| `error_tracking` | `DD_TRACE_GRAPHQL_ERROR_TRACKING` | `Bool` | (Recommended) Surface GraphQL errors in Error Tracking. | `false` |
| `capture_variables` | `DD_TRACE_GRAPHQL_CAPTURE_VARIABLES` | `Array` | List of `operationName:variableName` pairs to capture as span tags. Format: `GetUser:id,CreatePost:title`. By default, no variables are captured. | `[]` |
| `capture_variables_except` | `DD_TRACE_GRAPHQL_CAPTURE_VARIABLES_EXCEPT` | `Array` | List of `operationName:variableName` pairs to exclude from capture. When `DD_TRACE_GRAPHQL_CAPTURE_VARIABLES` is `nil`, all variables except those listed in this optiion are captured. | `[]` |


Once an instrumentation strategy is selected (`with_unified_tracer: true`, `with_deprecated_tracer: true`, or *no option set* which defaults to `GraphQL::Tracing::DataDogTrace`), it is not possible to change the instrumentation strategy in the same Ruby process.
Expand Down
15 changes: 11 additions & 4 deletions gemfiles/ruby_2.7_graphql_2.3.gemfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions gemfiles/ruby_3.1_graphql_2.0.gemfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions gemfiles/ruby_3.3_graphql_2.0.gemfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions gemfiles/ruby_3.3_graphql_2.3.gemfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions gemfiles/ruby_3.3_relational_db.gemfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 13 additions & 4 deletions gemfiles/ruby_3.4_graphql_2.0.gemfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading