Helen
Helen
this is the only dependency you need: ```xml com.microsoft.azure applicationinsights-runtime-attach 3.4.10 ``` and then In your code, you will need to invoke `attach()`: ```Java @SpringBootApplication public class SpringBootApp { public...
Here is the self-diagnosis log location by default: https://learn.microsoft.com/en-us/azure/azure-monitor/app/java-spring-boot#self-diagnostic-log-file-location and this is how you set up self-diagnostics log: https://learn.microsoft.com/en-us/azure/azure-monitor/app/java-standalone-config#self-diagnostics ```Json { "instrumentation": { "logging": { "level": "DEBUG" } } }...
@apescione can i use the same app to repro? https://github.com/apescione/applicationinsightTestApps
@bradooles I noticed the following: ``` read environment variable: APPLICATIONINSIGHTS_CONFIGURATION_FILE=**************\ 2023-11-29 17:09:13.723+11:00 DEBUG c.m.a.a.i.c.ConfigurationBuilder - configuration: \{"connectionString":"InstrumentationKey=********\'94,\'94selfDiagnostics":\{"destination":"console","level":"DEBUG"\}\}\ ``` can you make sure the `connectionString` in the log matches what you...
@zwilling79 you can use OpenTelemetry Extension to filter telemetry based on http.reponse.status_code. Here is [an example](https://github.com/Azure-Samples/ApplicationInsights-Java-Samples/tree/main/opentelemetry-api/java-agent/TelemetryFilteredBaseOnRequestDuration) how to filter out telemetry based on [duration ](https://github.com/Azure-Samples/ApplicationInsights-Java-Samples/blob/main/opentelemetry-api/java-agent/extensions/FilterSpanBasedOnDuration/src/main/java/com/example/DurationSpanExporter.java). You can do something similar.
@dependabot recreate