Skip to content

Commit 47043e2

Browse files
authored
Merge pull request #214209 from trask/fix-env-var
Fix env var name
2 parents 14f6db9 + 4e1f545 commit 47043e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ The following steps will guide you through enabling the profiling component on t
112112
}
113113
}
114114
```
115-
Alternatively, set the `APPLICATIONINSIGHTS_PROFILER_ENABLED` environment variable to true.
115+
Alternatively, set the `APPLICATIONINSIGHTS_PREVIEW_PROFILER_ENABLED` environment variable to true.
116116

117117
1. Restart your process with the updated configuration.
118118

@@ -138,7 +138,7 @@ Profiles can be generated/edited in the JDK Mission Control (JMC) user interface
138138

139139
### Environment variables
140140

141-
- `APPLICATIONINSIGHTS_PROFILER_ENABLED`: boolean (default: `false`)
141+
- `APPLICATIONINSIGHTS_PREVIEW_PROFILER_ENABLED`: boolean (default: `false`)
142142
Enables/disables the profiling feature.
143143

144144
### Configuration file

0 commit comments

Comments
 (0)