Releases: microsoft/ApplicationInsights-Java
Releases · microsoft/ApplicationInsights-Java
Application Insights Java 3.0.3-BETA.3
Application Insights Java SDK 2.6.3
Enhancements:
- Update xstream dependency #1580
- Upgrade gradle from 5.5.1 to 6.8.3
- Switch to new build and release pipelines
- Use GitHub Action for smoke tests
Application Insights Java 3.0.3-BETA.2
Enhancements:
- Added env var
APPLICATIONINSIGHTS_PREVIEW_OTEL_API_SUPPORT
to enable preview OpenTelemetry API support #1548 - Added env var
APPLICATIONINSIGHTS_SELF_DIAGNOSTICS_FILE_PATH
(and use that to log json config parsing errors) #1550 - RP integration improvements #1551, #1558, #1559
- Added env var
APPLICATIONINSIGHTS_PREVIEW_LIVE_METRICS_ENABLED
to disable live metrics #1552 - Remove unwanted custom dimension that showed up in 3.0.3-BETA #1565
- Add sampling overrides that can be used to implement telemetry filtering #1564
- Switch native performance counter collection to use OSHI #1482
Application Insights Java 3.0.3-BETA
Breaking changes:
-
Removed the undocumented micrometer
reportingIntervalSeconds
,
and instead, added preview configurationmetricIntervalSeconds
that controls all metrics #1507, e.g.{ "preview": { "metricIntervalSeconds": 60 } }
-
Changed undocumented reload of connection string and sampling percentage to be preview and opt-in #1507
Bug Fixes:
- Fix for ClassNotFoundException when deploying some JBoss ear files #1465
- Fix configuration for disabling spring boot actuator metrics #1478
- Fixed role name on Azure Functions #1526
Enhancements:
- Extra attributes in
applicationinsights.json
(e.g. typos) are logged as warnings at startup #1459 - Better 2.x SDK interop #1454
- Added env vars for disabling instrumentation #1495
- Added reactor-netty and kotlin coroutine instrumentation #1511
- Improved error messages for network connectivity issues #1483
- Support for roles in Live metrics #1510
- Populate client IP #1538
- Support for role name in Azure Functions consumption plan #1537
Application Insights Java 3.0.2 (GA)
Application Insights Java 3.0.1 (GA)
Enhancements:
- New 'extract' attribute feature added to Telemetry processors.
Bug Fixes:
Application Insights Java 3.0.1-BETA.2
Application Insights Java 3.0.1-BETA
New since the 3.0.0 (GA) release:
- Friendly error messages thrown for the following scenarios
- Missing connection string
- Invalid SSL certificate issues when not able to connect to IngestionEndPoint Url, Live endpoint Url and CdsProfiler endpoint url.
- Invalid Telemetry Processor Configuration
- This release also brings more interoperability with the 2.x SDK:
- ThreadContext.getRequestTelemetryContext().getHttpRequestTelemetry().getProperties().put("key1", "val1")
- ThreadContext.getRequestTelemetryContext().getHttpRequestTelemetry().setName("new name")
- ThreadContext.getRequestTelemetryContext().getHttpRequestTelemetry().getContext().getUser().setId("uname")
Enhancements:
- Add thread details span processor
- Add agent version number to startup message
Bug Fixes:
- Map service.version to application_Version(Resolves #1392)
- Telemetry processor config throws null pointer exception when attribute value is not provided and matchType is regexp.
Application Insights Java 3.0.0 (GA)
Warning: If you are upgrading from 3.0 Preview
Please review all the configuration options carefully, as the json structure has completely changed, in addition to the file name itself which went all lowercase.
New since the Preview.7 release:
Breaking Changes:
- Config changes
- Redesign json config structure (see configuration options)
- Change json config file name from ApplicationInsights.json to applicationinsights.json
- Send JMX metrics to CustomMetrics instead of PerformanceCounter (Default Mettrics Captured by Java 3.0 Agent)
Enhancements:
- Telemetry processor for requests, dependencies, and traces
- Attach custom dimensions to all telemetries
Bug Fixes:
- Fix QuickPulse bug (Live Metrics are showing incorrect results)
- Fix URL with spaces (#1290)
- Improve overall logging
Application Insights Java 3.0.0 Preview.7
New since the Preview.6 release:
Breaking Changes:
- Dropped Java 7 support
Enhancements:
- Supported boolean JMX metrics (#1235)
- Added support for JMX metrics environment variable
APPLICATIONINSIGHTS_JMX_METRICS
- Added two default JMX metrics for thread count and class count
- Changed default logging capture from WARN to INFO
- Added support for logging capture environment variable
APPLICATIONINSIGHTS_LOGGING_THRESHOLD
- Added support for sampling percentage environment variable
APPLICATIONINSIGHTS_SAMPLING_PERCENTAGE
- Added auto-collection for 2.x SDK trackTrace, trackRequest and trackException
- Added capturing MDC logging properties
- Added support for Jetty Native Handler