Skip to content

Commit f3248fd

Browse files
authored
Merge pull request #185395 from kryalama/kryalama/inproc
Add captureControllerSpans flag to config options
2 parents 0041371 + c808968 commit f3248fd

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

articles/azure-monitor/app/java-in-process-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Download the [applicationinsights-agent-3.2.4.jar](https://github.com/microsoft/
4444
> For details, see the [3.1.0 release notes](https://github.com/microsoft/ApplicationInsights-Java/releases/tag/3.1.0).
4545
>
4646
> If you're upgrading from 3.1.x:
47-
>
47+
> - Starting from 3.2.0, controller "InProc" dependencies are not captured by default. For details on how to enable this, please see the [config options](./java-standalone-config.md#autocollect-inproc-dependencies-preview).
4848
> - Database dependency names are now more concise with the full (sanitized) query still present in the `data` field. HTTP dependency names are now more descriptive.
4949
> This change can affect custom dashboards or alerts if they relied on the previous values.
5050
> For details, see the [3.2.0 release notes](https://github.com/microsoft/ApplicationInsights-Java/releases/tag/3.2.0).

articles/azure-monitor/app/java-standalone-config.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,18 @@ Instrumentation key overrides allow you to override the [default instrumentation
228228
}
229229
```
230230

231+
## Autocollect InProc dependencies (preview)
232+
233+
Starting from 3.2.0, if you want to capture controller "InProc" dependencies, please use the following configuration:
234+
235+
```json
236+
{
237+
"preview": {
238+
"captureControllerSpans": true
239+
}
240+
}
241+
```
242+
231243
## Telemetry processors (preview)
232244

233245
It allows you to configure rules that will be applied to request, dependency and trace telemetry, for example:

0 commit comments

Comments
 (0)