Skip to content

Commit 8918ba0

Browse files
authored
Add custom instrumentation
1 parent 409e1e9 commit 8918ba0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,23 @@ Starting from version 3.2.0, you can enable the following preview instrumentatio
751751
}
752752
```
753753

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+
754771
> [!NOTE]
755772
> Akka instrumentation is available starting from version 3.2.2. Vertx HTTP Library instrumentation is available starting from version 3.3.0.
756773

0 commit comments

Comments
 (0)