You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When consuming messages, the current span will be immediately finished. This means that if any asynchronous operation is started in the message handler callback, its duration will be excluded from the span duration.
129
+
130
+
For example:
131
+
132
+
```js
133
+
channel.consume('queue', msg=> {
134
+
setTimeout(() => {
135
+
// The message span will not include the 1 second from this operation.
136
+
}, 1000)
137
+
}, {}, () => {})
138
+
```
139
+
140
+
This limitation doesn't apply to other commands. We are working on improving this behavior in a future version.
| service |*Service name of the app*| The service name for this integration. |
119
178
179
+
<h3id="graphql">graphql</h3>
180
+
181
+
The `graphql` integration uses the operation name as the span resource name. If no operation name is set, the resource name will always be just `query` or `mutation`.
182
+
183
+
For example:
184
+
185
+
```graphql
186
+
# good, the resource name will be `query HelloWorld`
| service |*Service name of the app suffixed with -graphql*| The service name for this integration. |
210
+
120
211
<h3id="http">http / https</h3>
121
212
122
213
<h5id="http-tags">Tags</h5>
@@ -233,7 +324,7 @@ Options can be configured as a parameter to the [init()](https://datadog.github.
233
324
| tags || {} | Set global tags that should be applied to all spans. |
234
325
| sampleRate || 1 | Percentage of spans to sample as a float between 0 and 1. |
235
326
| flushInterval || 2000 | Interval in milliseconds at which the tracer will submit traces to the agent. |
236
-
| experimental || {} | Experimental features can be enabled all at once using boolean `true` or individually using key/value pairs. Available experimental features: `asyncHooks`. |
327
+
| experimental || {} | Experimental features can be enabled all at once using boolean `true` or individually using key/value pairs. There are currently no experimental features available. |
237
328
| plugins || true | Whether or not to enable automatic instrumentation of external libraries using the built-in plugins. |
0 commit comments