Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

Commit

Permalink
Added tracing option
Browse files Browse the repository at this point in the history
  • Loading branch information
rstaib committed Jan 5, 2019
1 parent 4a4bd10 commit 1f3ea7e
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions docs/options.md
Expand Up @@ -31,11 +31,14 @@ We have built in some options that limit the execution engine in order do protec

## Members

| Member | Type | Default | Description |
| ----------------------- | -------- | -------------------------- | -------------------------------------------------------------- |
| ExecutionTimeout | TimeSpan | `TimeSpan.FromSeconds(30)` | The maximum allowed execution time of a query. |
| IncludeExceptionDetails | bool | `Debugger.IsAttached` | Includes exeption details into the GraphQL errors._*_ |
| MaxExecutionDepth | int? | `null` | The maximum allowed query depth of a query. |
| QueryCacheSize | int | `100` | The amount of queries that can be cached for faster execution. |

_*The exception details that are included into GraphQL errors can also be modified by implementing an `IErrorFilter`. See more about that [here](error-filter.md)._
| Member | Type | Default | Description |
| ----------------------- | -------- | -------------------------- | ------------------------------------------------------------------- |
| EnableTracing | bool | `false` | Enables tracing for performance measurement of query requests. _\*_ |
| ExecutionTimeout | TimeSpan | `TimeSpan.FromSeconds(30)` | The maximum allowed execution time of a query. |
| IncludeExceptionDetails | bool | `Debugger.IsAttached` | Includes exeption details into the GraphQL errors. _\*\*_ |
| MaxExecutionDepth | int? | `null` | The maximum allowed query depth of a query. |
| QueryCacheSize | int | `100` | The amount of queries that can be cached for faster execution. |

_\* Performance tracing is based on Apollo Tracing. The specification can be found [here](https://github.com/apollographql/apollo-tracing)._

_\*\* The exception details that are included into GraphQL errors can also be modified by implementing an `IErrorFilter`. See more about that [here](error-filter.md)._

0 comments on commit 1f3ea7e

Please sign in to comment.