Skip to content

Commit 3ec345f

Browse files
authored
Update
1 parent 41af729 commit 3ec345f

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,23 @@ For more information, see the [Telemetry processor](./java-standalone-telemetry-
413413
> [!NOTE]
414414
> If you want to drop specific (whole) spans for controlling ingestion cost, see [Sampling overrides](./java-standalone-sampling-overrides.md).
415415
416+
## Custom instrumentation (preview)
417+
418+
Starting from verion 3.3.1, you can capture spans for a method in your application:
419+
420+
```json
421+
{
422+
"preview": {
423+
"customInstrumentation": [
424+
{
425+
"className": "my.package.MyClass",
426+
"methodName": "myMethod"
427+
}
428+
]
429+
}
430+
}
431+
```
432+
416433
## Autocollected logging
417434

418435
Log4j, Logback, JBoss Logging, and java.util.logging are autoinstrumented. Logging performed via these logging frameworks is autocollected.
@@ -751,23 +768,6 @@ Starting from version 3.2.0, you can enable the following preview instrumentatio
751768
}
752769
```
753770

754-
## Custom instrumentation (preview)
755-
756-
Starting from verion 3.3.1, you can enable custom method instrumentation of your application:
757-
758-
```json
759-
{
760-
"preview": {
761-
"customInstrumentation": [
762-
{
763-
"className": "my.package.MyClass",
764-
"methodName": "myMethod"
765-
}
766-
]
767-
}
768-
}
769-
```
770-
771771
> [!NOTE]
772772
> Akka instrumentation is available starting from version 3.2.2. Vertx HTTP Library instrumentation is available starting from version 3.3.0.
773773

0 commit comments

Comments
 (0)