Azure Monitor Application Insights
You can integrate Azure Monitor Application Insights with Access Decision Service (ADS) for performance monitoring and application observability.
Users of Azure Monitoring should use the Application Insights Java agent for both tracing and metrics.
To run ADS with the Application Insights Java agent, follow the steps below:
In the commands below, replace <version> with your ADS version and <java_version> with the Java agent version.
Export an environment variable with the instrumentation key of the Application Insights resource:
export APPLICATIONINSIGHTS_CONNECTION_STRING=InstrumentationKey=${Ikey}Download the latest auto-instrumentation Java OpenTelemetry-based agent for Application Insights from the Application Insights for Java repository on GitHubOpens in a new tab.
Initialize an ADS instance as shown in the example below:
java -javaagent:applicationinsights-agent-<java_version>.jar -jar access-decision-service-<version>.jarLog in to the Azure account and open your Application Insights Resource.
infoIt may take a few minutes for data to show up in the portal.
This setup will provide both tracing and metrics data to Azure Monitor.
Further resources
- See Application Insights overviewOpens in a new tab for more information about Azure Monitor Application Insights.