Skip to content
main
Switch branches/tags
Code

Latest commit

* gzipped bytes is bigger than the original bytes. original text was small so that the test works

* Fix spotless

* Merge two cases

* Adddress todo

* Separate local storage between regular telemetries and statsbeat

* Update tests

* Use a new telemetry channel and new batchSpanProcessor for statsbeat

* Use trackStatsbeatAsync

* Fix spotless

* Clean up all created folders in tests

* Delete folders created during running tests

* Update ingestion endpoint

* Test statsbeat endpoint

* Fix spotless

* Fix failing tests

* Suggestion

* switch statements

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
5e97bb6

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
etw
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Build Status

Application Insights for Java

See documentation at https://docs.microsoft.com/en-us/azure/azure-monitor/app/java-in-process-agent.

If you need to build locally

Download the main repo and submodule:

git clone https://github.com/microsoft/ApplicationInsights-Java
cd ApplicationInsights-Java
git submodule init
git submodule update

Publish all the artifacts from the submodule to your local maven repository:

cd otel
./gradlew publishToMavenLocal
cd ..

Build the agent jar file:

./gradlew -DskipWinNative=true :agent:agent:shadowJar

The agent jar file should now be available under agent/agent/build/libs.

If you are contributing...

We follow the same style guidelines and recommended Intellij setup as the OpenTelemetry Java Instrumentation repo.

While developing, if you find errorprone is getting in your way (e.g. it won't let you add System.out.println to your code), you can disable it by adding the following to your ~/.gradle/gradle.properties:

disableErrorProne=true

Microsoft Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.