Skip to content

Releases: microsoft/ApplicationInsights-Java

Application Insights Java 3.0.3-BETA.3

26 Mar 05:33
002c798
Compare
Choose a tag to compare
Pre-release

Bug Fixes:

  • Change default preview config setting #1580
  • Fix sampling rate recorded for dependencies #1582

Application Insights Java SDK 2.6.3

29 Mar 17:13
300bd4a
Compare
Choose a tag to compare

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

24 Mar 05:00
f19e846
Compare
Choose a tag to compare
Pre-release

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

11 Mar 06:25
fc42458
Compare
Choose a tag to compare
Pre-release

Breaking changes:

  • Removed the undocumented micrometer reportingIntervalSeconds,
    and instead, added preview configuration metricIntervalSeconds 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)

20 Jan 16:50
5c7ed36
Compare
Choose a tag to compare

Enhancements:

  • Support more interop with 2.x SDK ThreadContext (getId and getParentId)

Bug Fixes:

  • Fix App Service logback parser exceptions
  • Log instead of throwing exception on unbridged API (#1442)
  • Fix role name config (#1450)

Application Insights Java 3.0.1 (GA)

15 Jan 05:37
d7bc1ff
Compare
Choose a tag to compare

Enhancements:

  • New 'extract' attribute feature added to Telemetry processors.

Bug Fixes:

  • Suppress duplicate AI agents. Resolves #1345
  • Fix role name precedence. Resolves #1425
  • Fix APPLICATIONINSIGHTS_CONNECTION_STRING env var. Resolves #1428
  • Add APPLICATIONINSIGHTS_SELF_DIAGNOSTICS_LEVEL env var. Resolves #1422

Application Insights Java 3.0.1-BETA.2

23 Dec 02:25
d333558
Compare
Choose a tag to compare
Pre-release

Enhancements:

  • Add configuration for disabling dependencies #1294

Bug Fixes:

  • Fix code to use the correct logging configuration 'level' #1415
  • Capture log4j2 async logging. Addresses issue #1389

Application Insights Java 3.0.1-BETA

16 Dec 20:12
8a22af1
Compare
Choose a tag to compare
Pre-release

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)

05 Nov 16:58
9ffe921
Compare
Choose a tag to compare

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:

Enhancements:

  • Telemetry processor for requests, dependencies, and traces
  • Attach custom dimensions to all telemetries

Bug Fixes:

Application Insights Java 3.0.0 Preview.7

25 Sep 02:36
ec001db
Compare
Choose a tag to compare

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

Bug Fixes:

  • Fixed JMX metrics which aren't available initially are never recorded (#1233)
  • Fixed capturing JMX metrics inside of CompositeData (#952)
  • Fixed HTTP request header to use X-Forwarded-For as Client IP when present (#404)
  • Fixed URLs with spaces (#1290)