Skip to content

Commit

Permalink
docs: clarified how to configure capturing args passed to mutations (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bizob2828 authored Apr 10, 2024
1 parent 2436f8e commit 7e6e265
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/segments-and-spans.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ Resolve segments/spans leverage the resolution path of the individual field to b
| graphql.field.returnType | Return type (`Book!`, `[String]`, etc. ) of the resolved field | included |
| graphql.field.parentType | Type of the parent of this field (`[Book]`) | included |
| graphql.field.path | Full resolve path of the field (`libraries.books`) | included |
| graphql.field.args | Arg passed to the GraphQL query for this resolver captured as key/value pairs | excluded |
| graphql.field.args | Arg passed to the GraphQL query or mutation for this resolver captured as key/value pairs | excluded |

To include capture of args attributes, `graphql.field.args.*` (to capture all) will need to be added to the 'attributes' include list or segment/span attributes include lists individually.

For more information on including/excluding attributes, please see the [attributes documentation](https://docs.newrelic.com/docs/agents/nodejs-agent/attributes/nodejs-agent-attributes#configure-attributes).
For more information on including/excluding attributes, please see the [attributes documentation](https://docs.newrelic.com/docs/agents/nodejs-agent/attributes/nodejs-agent-attributes#configure-attributes).

0 comments on commit 7e6e265

Please sign in to comment.