Skip to main content

The most recent patch for this version is 2.1.1.  Learn more  

Version: 2.1

Azure Monitor Application Insights

You can integrate Azure Monitor Application Insights with Access Decision Service (ADS) for performance monitoring and application observability.

note

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:

important

In the commands below, replace <version> with your ADS version and <java_version> with the Java agent version.

  1. Export an environment variable with the instrumentation key of the Application Insights resource:

    export APPLICATIONINSIGHTS_CONNECTION_STRING=InstrumentationKey=${Ikey}
  2. 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.

  3. Initialize an ADS instance as shown in the example below:

     java -javaagent:applicationinsights-agent-<java_version>.jar -jar access-decision-service-<version>.jar
  4. Log in to the Azure account and open your Application Insights Resource.

    info

    It 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