Skip to content

Commit 7f9f704

Browse files
committed
prettier
1 parent 4408969 commit 7f9f704

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/web/docs/src/content/migration-guides/gateway-v1-v2.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -675,12 +675,11 @@ import { NodeSDK, tracing } from '@opentelemetry/sdk-node'
675675
new NodeSDK({
676676
traceExporter: new OTLPTraceExporter({ url: 'http://<otlp-endpoint>:4318' }),
677677
// or with batching options
678-
spanProcessors: [new tracing.BatchSpanProcessor(
679-
new OTLPTraceExporter({ url: 'http://<otlp-endpoint>:4318' }),
680-
{
678+
spanProcessors: [
679+
new tracing.BatchSpanProcessor(new OTLPTraceExporter({ url: 'http://<otlp-endpoint>:4318' }), {
681680
//... batching options
682-
}
683-
)]
681+
})
682+
]
684683
}).start()
685684
```
686685

@@ -787,8 +786,9 @@ Please review your queries to not filter against `null` parent span id.
787786

788787
A new span encapsulating each GraphQL operation have been added.
789788

790-
It is a subspan of the HTTP request span, and encapsulate all the actual GraphQL processing.
791-
There can be multiple GraphQL operation spans for one HTTP request span if you have enabled graphql operation batching over http.
789+
It is a subspan of the HTTP request span, and encapsulate all the actual GraphQL processing. There
790+
can be multiple GraphQL operation spans for one HTTP request span if you have enabled graphql
791+
operation batching over http.
792792

793793
### OpenTelemetry Context
794794

0 commit comments

Comments
 (0)