ApplicationInsights-Java

Application Insights for Java

OTHER License

Stars
290

Bot releases are hidden (Show)

ApplicationInsights-Java - Application Insights Java 3.5.0 (GA)

Published by heyams 8 months ago

Enhancements:

  • Update to OpenTelemetry Java 2.1.0 (#3418)
  • Support stable HTTP semantic conventions (#3418)
  • GA sampling overrides (#3463)
  • Collect JMX metrics via OTLP (#3406)
  • Support OpenTelemetry Java instrumentation Agent Extension (#3493)
  • Support Pekko instrumentation (#3517)

Bug fixes:

  • Fix ETW log for non-auto attach (#3560)
  • Fix duplicate exceptions (#3555)
ApplicationInsights-Java - Application Insights Java 3.4.3 (GA)

Published by heyams almost 2 years ago

Bug Fixes:

  • Fix runtime attach configuration file property #2619.
  • Fix sampling for Azure Functions #2652.
  • Fix default log directory for Azure Functions #2660.
ApplicationInsights-Java - Application Insights Java 3.4.2 (GA)

Published by heyams almost 2 years ago

Enhancements:

  • Update to OpenTelemetry 1.19.0 #2596.
  • Add a new configuration for runtime attach configuration file #2581.
  • Add new configurations to export LogBack and Log4j 2 markers #2529.

Bug Fixes:

  • Fix duplicate Azure Functions logs #2579.
  • Fix OFF logging threshold #2592.
ApplicationInsights-Java - Application Insights Java 3.4.1 (GA)

Published by heyams about 2 years ago

Enhancements:

  • Rename TelemetryKind to TelemetryType #2535.
  • Make classic SDKs work with older 3.2.x Agent versions #2531.

Bug Fixes:

ApplicationInsights-Java - Application Insights Java 3.4.0 (GA)

Published by heyams about 2 years ago

Migration notes:

  • Rate-limited sampling is now the default, if you haven't configured a fixed percentage previously. By default, it will capture at most around five requests per second, along with their dependencies, traces, and custom events. See fixed-percentage sampling if you want to revert to the previous behavior of capturing 100% of requests.

Enhancements:

  • Standard metrics for HTTP requests and HTTP dependencies are now pre-aggregated inside of the Java agent, and so they are no longer affected by sampling (#2439).
  • Rate-limited sampling has been introduced which can be used to tune ingestion costs (#2456), e.g.
    {
      "sampling": {
        "requestsPerSecond": 5
      }
    }
    
    Note: the requestsPerSecond can be a decimal value, including values less than 1.
  • Exceptions are no longer captured directly on dependency records for these reasons:
    • in order to reduce ingestion cost
    • dependency exceptions which are uncaught, bubble up to the request-level where they are already captured
    • dependency exceptions which are caught, tend to be logged if they are important, where they are also already captured
      (#2423).
  • New versions of the applicationinsights-core and applicationinsights-web 2.x SDK artifacts have been released, with a reduced API surface area to makes it clear which APIs interop with the 3.x Java agent (#2418). These new versions are no-ops when run without the Java agent. To update your dependencies:
    2.x dependency Action Remarks
    applicationinsights-core Update the version to 3.4.0-BETA or later
    applicationinsights-web Update the version to 3.4.0-BETA or later, and remove the Application Insights web filter your web.xml file.
    applicationinsights-web-auto Replace with 3.4.0-BETA or later of applicationinsights-web
    applicationinsights-logging-log4j1_2 Remove the dependency and remove the Application Insights appender from your log4j configuration. This is no longer needed since Log4j 1.2 is auto-instrumented in the 3.x Javaagent.
    applicationinsights-logging-log4j2 Remove the dependency and remove the Application Insights appender from your log4j configuration. This is no longer needed since Log4j 2 is auto-instrumented in the 3.x Javaagent.
    applicationinsights-logging-log4j1_2 Remove the dependency and remove the Application Insights appender from your logback configuration. This is no longer needed since Logback is auto-instrumented in the 3.x Javaagent.
    applicationinsights-spring-boot-starter Replace with 3.4.0-BETA or later of applicationinsights-web The cloud role name will no longer default to spring.application.name, see the 3.x configuration docs for configuring the cloud role name.
  • ConnectionString overrides were introduced, and InstrumentationKey overrides were deprecated (#2471):
    {
      "preview": {
        "connectionStringOverrides": [
          {
            "httpPathPrefix": "/myapp1",
            "connectionString": "InstrumentationKey=12345678-0000-0000-0000-0FEEDDADBEEF;IngestionEndpoint=...;..."
          },
          {
            "httpPathPrefix": "/myapp2",
            "connectionString": "InstrumentationKey=87654321-0000-0000-0000-0FEEDDADBEEF;IngestionEndpoint=...;..."
          }
        ]
      }
    }
    
  • Configuration to disable jdbc masking was introduced (#2453):
    {
      "instrumentation": {
        "jdbc": {
          "masking": {
            "enabled": false
          }
        }
      }
    }
    
  • Sampling overrides can (and should) now be targeted to requests, dependencies, traces (logs) or exceptions (#2456), e.g.
    {
      "preview": {
        "sampling": {
          "overrides": [
            {
              "telemetryKind": "dependency",
              ...
              "percentage": 0
            }
          ]
        }
      }
    }
    
  • Ingestion response codes 502 and 504 now trigger storing telemetry to disk and retrying (#2438).
  • Metric namespaces are now supported via the new 3.x applicationinsights-core artifact (#2447).
  • Ingestion sampling warnings are now suppressed since those are expected (#2473).
  • Introduce a new preview feature: Java Profiler for Azure Monitor Application Insights
  • Update OpenTelemetry to 1.18.0 #2509.
  • Remove limit on filtering default metrics #2490.
  • Add a new config to export logback code attributes #2518

Bug Fixes:

  • Fix operation_Id and operation_parentID being captured as 00000000000000000000000000000000 for "standalone" log records (which occur outside of a request). These fields are now empty for "standalone" log records, to reflect that they are not part of an "operation" (i.e. request) #2432.
ApplicationInsights-Java - Application Insights Java 3.4.0-BETA

Published by heyams about 2 years ago

Migration notes:

  • Rate-limited sampling is the new default. If you have not configured a sampling percentage and are using the prior default behavior of 100%, you will get the new default which limits the total requests captured to (approximately) 5 requests per second (along with their dependencies, traces and custom events). If you wish to continue with the previous behavior, you can explicitly specify a sampling percentage of 100, e.g.
    {
      "sampling": {
        "percentage": 100
      }
    }
    

Enhancements:

  • Standard metrics for HTTP requests and HTTP dependencies are now pre-aggregated inside of the Java agent, and so they are no longer affected by sampling (#2439).
  • Rate-limited sampling has been introduced which can be used to tune ingestion costs (#2456), e.g.
    {
      "sampling": {
        "requestsPerSecond": 5
      }
    }
    
    Note: the requestsPerSecond can be a decimal value, including values less than 1.
  • Exceptions are no longer captured directly on dependency records for these reasons:
    • in order to reduce ingestion cost
    • dependency exceptions which are uncaught, bubble up to the request-level where they are already captured
    • dependency exceptions which are caught, tend to be logged if they are important, where they are also already captured
      (#2423).
  • New versions of the applicationinsights-core and applicationinsights-web 2.x SDK artifacts have been released, with a reduced API surface area to makes it clear which APIs interop with the 3.x Java agent (#2418). These new versions are no-ops when run without the Java agent. To update your dependencies:
    2.x dependency Action Remarks
    applicationinsights-core Update the version to 3.4.0-BETA or later
    applicationinsights-web Update the version to 3.4.0-BETA or later, and remove the Application Insights web filter your web.xml file.
    applicationinsights-web-auto Replace with 3.4.0-BETA or later of applicationinsights-web
    applicationinsights-logging-log4j1_2 Remove the dependency and remove the Application Insights appender from your log4j configuration. This is no longer needed since Log4j 1.2 is auto-instrumented in the 3.x Javaagent.
    applicationinsights-logging-log4j2 Remove the dependency and remove the Application Insights appender from your log4j configuration. This is no longer needed since Log4j 2 is auto-instrumented in the 3.x Javaagent.
    applicationinsights-logging-log4j1_2 Remove the dependency and remove the Application Insights appender from your logback configuration. This is no longer needed since Logback is auto-instrumented in the 3.x Javaagent.
    applicationinsights-spring-boot-starter Replace with 3.4.0-BETA or later of applicationinsights-web The cloud role name will no longer default to spring.application.name, see the 3.x configuration docs for configuring the cloud role name.
  • ConnectionString overrides were introduced, and InstrumentationKey overrides were deprecated (#2471):
    {
      "preview": {
        "connectionStringOverrides": [
          {
            "httpPathPrefix": "/myapp1",
            "connectionString": "InstrumentationKey=12345678-0000-0000-0000-0FEEDDADBEEF;IngestionEndpoint=...;..."
          },
          {
            "httpPathPrefix": "/myapp2",
            "connectionString": "InstrumentationKey=87654321-0000-0000-0000-0FEEDDADBEEF;IngestionEndpoint=...;..."
          }
        ]
      }
    }
    
  • Configuration to disable jdbc masking was introduced (#2453):
    {
      "instrumentation": {
        "jdbc": {
          "masking": {
            "enabled": false
          }
        }
      }
    }
    
  • Sampling overrides can (and should) now be targeted to requests, dependencies, traces (logs) or exceptions (#2456), e.g.
    {
      "preview": {
        "sampling": {
          "overrides": [
            {
              "telemetryKind": "dependency",
              ...
              "percentage": 0
            }
          ]
        }
      }
    }
    
  • Ingestion response codes 502 and 504 now trigger storing telemetry to disk and retrying (#2438).
  • Metric namespaces are now supported via the new 3.x applicationinsights-core artifact (#2447).
  • OpenTelemetry baseline has been updated to Java 1.17.0 (#2453).
  • Ingestion sampling warnings are now suppressed since those are expected (#2473).

Bug Fixes:

  • Fix operation_Id and operation_parentID being captured as 00000000000000000000000000000000 for "standalone" log records (which occur outside of a request). These fields are now empty for "standalone" log records, to reflect that they are not part of an "operation" (i.e. request) #2432.
ApplicationInsights-Java - Application Insights Java 3.3.1 (GA)

Published by heyams about 2 years ago

Enhancements:

  • Suppress nested client dependencies (regression in 3.3.0) #2357.
  • Add support for custom instrumentation #2380.
  • Additional support for Spring JMS instrumentation #2385.
  • Capture MDC attributes for jboss-logging #2386.
  • Support Java 18 #2391.
  • Update to OpenTelemetry 1.16.0 #2408.

Bug Fixes:

  • Fix missing message data #2399.
  • Fix Azure Function consumption lazy loading introduced in v3.3.0 #2397.
  • Fix CPU metrics #2413.
ApplicationInsights-Java - Application Insights Java 3.3.0 (GA)

Published by heyams over 2 years ago

Migration notes:

  • LoggingLevel isn't captured by default as part of Traces' custom dimension because that data is already captured in the SeverityLevel field. For information on how to reenable it, see the config options.
  • Exception records are no longer recorded for failed dependencies. They're only recorded for failed requests.

Enhancements:

  • Reduce jar file size #2295.
  • Stop capturing exception records on dependencies #2307.
  • Add support for sampling overrides on http request headers #2308.
  • Enable quartz instrumentation by default #2313.
  • Add warning message on internal attribute usage #2314.
  • Lots of refactoring and improvements.
  • Continue to add support for OpenTelemetry metrics API.
  • Deprecate logs' LoggingLevel custom property #2254.
  • Add support for OpenTelemetry metrics API
  • Lots of refactorings and improvements.
  • Update OpenTelemetry to 1.15 #2332.
  • Add configuration for disk persistence capacity #2329.
  • Add support for runtime attach #2325.
  • Continue to add support for OpenTelemetry metrics API.
ApplicationInsights-Java - Application Insights Java 3.3.0-BETA.2

Published by heyams over 2 years ago

Enhancements:

  • Update OpenTelemetry to 1.14.
  • Reduce jar file size #2295.
  • Stop capturing exception records on dependencies #2307.
  • Add support for sampling overrides on http request headers #2308.
  • Enable quartz instrumentation by default #2313.
  • Add warning message on internal attribute usage #2314.
  • Lots of refactoring and improvements.
  • Continue to add support for OpenTelemetry metrics API.
ApplicationInsights-Java - Application Insights Java 3.3.0-BETA

Published by heyams over 2 years ago

Enhancements:

  • Update OpenTelemetry to 1.13 #2257.
  • Deprecate logs' LoggingLevel custom property #2254.
  • Add support for OpenTelemetry metrics API
  • Lots of refactorings and improvements.
ApplicationInsights-Java - Application Insights Java 3.2.11 (GA)

Published by heyams over 2 years ago

Enhancements:

  • Turn off Statsbeat when unable to reach ingestion service. #2221.
ApplicationInsights-Java - Application Insights Java 3.2.10 (GA)

Published by heyams over 2 years ago

Bug Fixes:

  • Fix Statsbeat warning #2208.
ApplicationInsights-Java - Application Insights Java 3.2.9 (GA)

Published by heyams over 2 years ago

Enhancements:

  • Increase export throughput #2204.
  • Remove reverse name lookup everywhere #2205.

Bug Fixes:

  • Fix parsing exception with colons #2196.
ApplicationInsights-Java - Application Insights Java 3.2.8 (GA)

Published by heyams over 2 years ago

Enhancements:

  • Better JMX debug logging #2157.
  • Add BatchSpanProcessor configuration option #2165.

Bug Fixes:

  • Fix spring actuator endpoint behavior #2146.
ApplicationInsights-Java - Application Insights Java 3.2.7 (GA)

Published by heyams over 2 years ago

Enhancements:

  • Improve startup performance by optimizing weak cache #2136.
  • Oshi optimization for better performance #2126.
  • Drop metrics with NaN values #2119.

Bug Fixes:

  • Fix reverse DNS name lookup #5393.
  • Fix a NullPointerException in startup profiler #2124.
ApplicationInsights-Java - Application Insights Java 3.2.6 (GA)

Published by heyams over 2 years ago

Enhancements:

  • Support Statsbeat in EU regions #2082.
  • Update Oshi default logging level #2086.
  • Add debug profiler for startup perf #2085.
  • Avoid local DNS resolution when using http proxy configuration #2095.
  • Add support for loading connection string from a file #2073.
ApplicationInsights-Java - Application Insights Java 3.2.5 (GA)

Published by kryalama over 2 years ago

Enhancements:

  • Log ingestion error on 206 response from Breeze #2065.
  • Add separate queue for metrics to avoid dropping telemetry #2062.
  • Stop sending telemetry when ikey is empty #2061.
  • Make vertx opt-in preview instrumentation #2058.
  • Add Friendly exception handling for cipher suite issue #2053.

Bug Fixes:

  • Fix ingestion error on missing exception message #2064.
  • Fix URI parse error #2067.
ApplicationInsights-Java - Application Insights Java 3.2.5-BETA

Published by heyams almost 3 years ago

Enhancements:

  • Add vertx instrumentation #1990.
  • Clean up Oshi logging #2047.
  • Support proxy username and password #2044.
  • Add configuration for export queue capacity #2039.
  • Add configuration for capturing HTTP server 4xx as error #2037.
  • Add configuration for capturing HTTP headers #2036.
  • Update OpenTelemetry to the latest #2030.
  • Add telemetry processors masking feature #1977.

Bug Fixes:

  • Fix device instrumentation #2027.
ApplicationInsights-Java - Application Insights Java SDK 2.6.4

Published by heyams almost 3 years ago

Updates applicationinsights-logging-log4j2 artifact to not pull in Log4j 2 dependency on its own. Users should already be bringing their own version of Log4j 2 (and should be upgrading that version or applying the mitigation steps from CVE-2021-44228). The update ensures that users have to bring their own version of Log4j 2 (#2002).

Please see #2008 for any other questions about Log4j 2.

ApplicationInsights-Java - Application Insights Java 3.2.4 (GA)

Published by kryalama almost 3 years ago

Enhancements:

  • Add play framework preview instrumentation #1958.
  • Add span kind to sampling overrides #1960.
  • Reduce noisy truncation logging #1968.
  • Add url, name and fix operation name to request document in live metrics sample telemetry #1993.

Bug Fixes:

  • Fix status exception in a readonly file system #1967.
  • Fix jackson initialization #1984.
  • Fix duration in live metrics sample telemetry feature. #1996.
Package Rankings
Top 9.71% on Repo1.maven.org
Badges
Extracted from project README
Build Status