Skip to content

Commit

Permalink
Fix outdated references to use instead of instrument in docs
Browse files Browse the repository at this point in the history
While reviewing #2217 where we fixed the sinatra documentation not to
mention the outdated `use`, I decided to make a quick check if we had
any more such leftovers, and it turns out we did.

This PR fixes the two leftover mentions of `use` that I found that
should be replaced by `instrument`. I did not change the sinatra docs
to avoid a conflict with #2217.
  • Loading branch information
ivoanjo committed Aug 22, 2022
1 parent 0c0d033 commit 40f20c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ end
YourSchema.execute(query, variables: {}, context: {}, operation_name: nil)
```

The `use :graphql` method accepts the following parameters. Additional options can be substituted in for `options`:
The `instrument :graphql` method accepts the following parameters. Additional options can be substituted in for `options`:

| Key | Description | Default |
| --- | ----------- | ------- |
Expand Down Expand Up @@ -1116,7 +1116,7 @@ YourSchema.define do
end
```

Do *NOT* `use :graphql` in `Datadog.configure` if you choose to configure manually, as to avoid double tracing. These two means of configuring GraphQL tracing are considered mutually exclusive.
Do *NOT* `instrument :graphql` in `Datadog.configure` if you choose to configure manually, as to avoid double tracing. These two means of configuring GraphQL tracing are considered mutually exclusive.

### gRPC

Expand Down

0 comments on commit 40f20c1

Please sign in to comment.