Updated Distributed Tracing for Java Azure Functions (markdown)

kaibocai 2022-11-21 10:23:42 -06:00
Родитель 9b43b4fb8b
Коммит 77e0a556f4
1 изменённых файлов: 1 добавлений и 1 удалений

@ -46,7 +46,7 @@ Answer tough questions about your app's performance and usage with KQL – a pow
**Note: this approach doesn't apply to consumption plan.**
If you don't want to use the default version of distribute agent, you can follow below steps to point to a specific version of distribute agent.
1. Disable the the old distribute agent by removing appsettings at [here](https://learn.microsoft.com/en-us/azure/azure-monitor/app/monitor-functions#how-to-enable-distributed-tracing-for-java-function-apps).
1. Disable the the old distribute agent by removing appsettings at [here](https://github.com/Azure/azure-functions-java-worker/wiki/Distributed-Tracing-for-Java-Azure-Functions#how-to-enable-it-for-java-function-apps).
2. Get the target agent jar and put it into your project directory.
3. Create an empty file `functions.codeless` and put it at the same location as 1
4. Use maven plugin `maven-resources-plugin` to copy the agent jar into the build directory. Example: