ApplicationInsights-Java

Application Insights for Java

OTHER License

Stars
290

Bot releases are visible (Hide)

ApplicationInsights-Java - Application Insights Java SDK 2.5.1

Published by trask almost 5 years ago

Announcing Application Insights Java SDK 2.5.1!

There were no changes since 2.5.1-BETA.2.

Changes Since 2.5.0

Enhancements

  • Connection String introduced for better government cloud support
  • Agent now captures MongoDB queries

Bug Fixes

  • Fixed exception thrown by agent when using Apache HttpClient ResponseHandler methods (#1067)
  • Fixed async thread tracking (#1100)
ApplicationInsights-Java - Application Insights Java SDK 2.5.1-BETA.2

Published by littleaj about 5 years ago

Introducing Application Insights Java SDK 2.5.1-BETA.2!

Bug Fixes

  • Fixed QuickPulse URL construction; regression from 2.5.1-BETA (#1089)
  • Fixed async thread tracking (#1100)
ApplicationInsights-Java - Application Insights Java SDK 2.5.1-BETA

Published by trask about 5 years ago

Introducing Application Insights Java SDK 2.5.1-BETA!

Enhancements

  • Connection String introduced for better government cloud support
  • Agent now captures MongoDB queries

Bug Fixes

  • Fixed exception thrown by agent when using Apache HttpClient ResponseHandler methods (#1067)
ApplicationInsights-Java - Application Insights Java SDK 2.5.0

Published by littleaj about 5 years ago

Announcing Application Insights Java SDK 2.5.0!

There were no changes since 2.5.0-BETA.5.

Summary of Changes Since 2.4.x

Enhancements

SDK-wide

  • Added Java 9/10/11/12 support
  • Introduced new jar, applicationinsights-web-auto.jar, which automatically registers the web filter. No need to modify web.xml or add @WebFilter.
  • Simplifies role name configuration by adding <RoleName> tag in ApplicationInsights.xml.

New Agent Features

  • Generic JDBC driver support: captures JDBC queries for all JDBC drivers.
  • Automatically captures dependencies for async requests by tracking the request across multiple threads.
  • Agent now captures application logging from Log4j 2/1.2 and Logback.
    • This removes the need to add the applicationinsights-logging-*.jar dependency and modify the application's logging configuration.
  • Improved HTTP client support:
    • java.net.HttpURLConnection
    • Apache HttpClient 3.x
    • OkHttp3
    • OkHttp2 now supports distributed tracing
  • Sets Operation Name automatically based on Spring @RequestMapping, JAX-RS @Path and Struts action class/method name.
    • This removes the need for RequestNameHandlerInterceptorAdapter or other interceptors.
  • Agent now supports multiple applications deployed in the same application server (temporarily in the 2.4.0)
  • Simplified JBoss and Wildfly deployment when using the agent: no need for workarounds using jboss.modules.system.pkgs, java.util.logging.manager, -Xbootclasspath
  • Added agent logging capture threshold, configurable via <Logging threshold="warn" />
    in the AI-Agent.xml, with default threshold warn (#1026)

Removed/Deprecated

  • Removed support for <RuntimeException> custom instrumentation in AI-Agent.xml

Bug Fixes

  • #969 Fixes ability to configure Live Metrics iKey programatically.
  • #978 Possible NPE during development
  • Fixed request telemetry displaying 200 response code for some failed requests (#810)
  • Fixed GC performance counters not working (#929)

Miscellaneous

  • Starting with this release, you can now find the agent and the collectd plugin on Maven Central as applicationinsights-agent and applicationinsights-collectd under the same group, com.microsoft.azure.
ApplicationInsights-Java - Application Insights Java SDK 2.5.0-BETA.5

Published by trask about 5 years ago

Introducing Application Insights Java SDK 2.5.0-BETA.5!

Bug Fixes

  • Fixed ClassCastException that could happen when using HttpURLConnection (#1053)
ApplicationInsights-Java - Application Insights Java SDK 2.5.0-BETA.4

Published by trask about 5 years ago

Introducing Application Insights Java SDK 2.5.0-BETA.4!

Bug Fixes

  • Fixed registration of custom JMX performance counters (#1042)
  • Fixed IllegalStateException that could happen when using HttpURLConnection (#1037)
  • Fixed NullPointerException that could happen when using Java 11 (#1032)
ApplicationInsights-Java - Application Insights Java SDK 2.5.0-BETA.3

Published by trask about 5 years ago

Introducing Application Insights Java SDK 2.5.0-BETA.3!

Enhancements

  • Added agent logging capture threshold, configurable via <Logging threshold="warn" />
    in the AI-Agent.xml, with default threshold warn (#1026)

Bug Fixes

  • Fixed HttpURLConnection instrumentation was not capturing outgoing url (#1025)
  • Fixed request telemetry displaying 200 response code for some failed requests (#810)
  • Fixed GC performance counters not working (#929)
ApplicationInsights-Java - Application Insights Java SDK 2.4.1

Published by littleaj about 5 years ago

This introduces Application Insights Java SDK 2.4.1. This release includes a critical bug fix.

Bug Fixes

  • Fixed #910. In some rare cases, correlation id serialization would produce an id with a smaller than the expected length. This caused validation to fail and an exception to be thrown.

Miscellaneous

  • Spring boot dependencies were upgraded to version 1.5.21
ApplicationInsights-Java - Application Insights Java SDK 2.5.0-BETA.2

Published by littleaj about 5 years ago

Introducing Application Insights Java SDK 2.5.0-BETA.2!

Enhancements

  • Added back support for <Class> custom instrumentation in AI-Agent.xml

Bug Fixes

  • Fixed opting out of agent capturing logging via <Logging enabled="false" />
  • #969 Fixes ability to configure Live Metrics iKey programatically.
  • #978 Possible NPE during development
ApplicationInsights-Java - Application Insights Java SDK 2.5.0-BETA

Published by littleaj over 5 years ago

Introducing Application Insights Java SDK 2.5.0-BETA! This release introduces some very exciting changes to the agent and adds support for the latest versions of Java!

Enhancements

SDK-wide

  1. Added Java 9/10/11/12 support
  2. Introduced new jar, applicationinsights-web-auto.jar, which automatically registers the web filter. No need to modify web.xml or add @WebFilter.
  3. Simplifies role name configuration by adding <RoleName> tag in ApplicationInsights.xml.

New Agent Features

  1. Generic JDBC driver support: captures JDBC queries for all JDBC drivers.
  2. Automatically captures dependencies for async requests by tracking the request across multiple threads.
  3. Agent now captures application logging from Log4j 2/1.2 and Logback.
    • This removes the need to add the applicationinsights-logging-*.jar dependency and modify the application's logging configuration.
  4. Improved HTTP client support:
    • java.net.HttpURLConnection
    • Apache HttpClient 3.x
    • OkHttp3
    • OkHttp2 now supports distributed tracing
  5. Sets Operation Name automatically based on Spring @RequestMapping, JAX-RS @Path and Struts action class/method name.
    • This removes the need for RequestNameHandlerInterceptorAdapter or other interceptors.
  6. Agent now supports multiple applications deployed in the same application server (temporarily in the 2.4.0)
  7. Simplified JBoss and Wildfly deployment when using the agent: no need for workarounds using jboss.modules.system.pkgs, java.util.logging.manager, -Xbootclasspath

Removed/Deprecated

  1. Removed support for <Class> custom instrumentation in AI-Agent.xml
  2. Removed support for <RuntimeException> custom instrumentation in AI-Agent.xml

Miscellaneous

  • Starting with this release, you can now find the agent and the collectd plugin on Maven Central as applicationinsights-agent and applicationinsights-collectd under the same group, com.microsoft.azure.
ApplicationInsights-Java - Application Insights Java SDK 2.4.0

Published by littleaj over 5 years ago

This introduces Application Insights Java SDK 2.4.0. This adds all the functionality introduced in 2.4.0-BETA and some additional bug fixes and enhancements.

Important Note: Spring Boot Starter Version

Previously, the Spring Boot Starter had an independent version number, causing some confusion. Future versions the Spring Boot Starter version will track with the SDK version. There will not be a Spring Boot Starter version 1.2.0, and in it's place version 2.4.0.

Changes introduced in 2.4.0-BETA

The changes to WebTelemetryModule in 2.4.0-BETA were reverted back the state in 2.3.1.

Enhancements

  1. Added retries to CDSProfileFetcher #901
  2. Added caching of sdk version id, reducing number of file IO operations #896

Bug Fixes

  1. Fix #907 - Ensures string compare is case insensitive when running a SQL explain on a select statement.
  2. Fixed ThreadLocal leak #887
  3. Fixed QuickPulse schema version #904
  4. Fix #919 - Fixed issue when adding duplicate Windows performance counter.
  5. Misc stability improvements #932, #941, #945, #946, #947, #948
ApplicationInsights-Java - Application Insights Java SDK 2.4.0-BETA

Published by dhaval24 over 5 years ago

Welcome to Application Insights Java SDK 2.4.0-BETA and SpringBoot Starter 1.2.0-BETA. This version introduces several enhancement and bug fixes.

Removed and Deprecated

  1. Removed support for multiple apps instrumented with single JVM Agent. Instrumentation will only work for single apps in application server.
  2. Deprecated class ApplicationInsightsHttpResponseWrapper.java

Breaking change

  1. WebRequestTelemetry interface now has another method setRequestTelemetryContext. This is needed to propagate context explicitly in asynchronous environments. This change is likely to break clients relying on implementation of this interface in their code.

Enhancements

  1. Introduced beta support for manual context propagation in Async and Explicit Multithreading scenarios.
    Please refer to this wiki (https://github.com/Microsoft/ApplicationInsights-Java/wiki/Distributed-Tracing-in-Asynchronous-Java-Applications) for instructions.
  2. #444 Introduced support to capture asynchronous request.
  3. #749 Introduce beta supported instrumentation for Postgres SQL jdbc4 driver prepared statements via JVM Agent.
  4. Introduced experimental API's AIHttpServletListener, HttpServerHandler, ApplicationInsightsServletExtractor and HttpExtractor.
  5. Introduced WebTelemetryModule.setRequestTelemetryContext API.
  6. #797 SDKLogger can now be enabled using system properties.

Bug Fixes

  1. #879 Fixed issue with request/dependency correlation
  2. Fixed #826 Remove duplicate Postgres provider.
  3. #881 Fix SDK version in QuickPulse Telemetry.
  4. #883 Fixed dependency metric collection for QuickPulse/LiveMetrics
  5. #852 Fixed bug in PreparedStatementVisitor to instrument all overloads of setTimestamp.
  6. Various stability improvements: #850 #849 #842 #847 #843 #887 #888
ApplicationInsights-Java - Application Insights Java SDK 2.3.1

Published by littleaj over 5 years ago

Welcome to Application Insights Java SDK 2.3.1 and Spring Boot Starter 1.1.2. This service release addresses a critical bugfix.

Bug Fixes:

  1. Fixed #799. Removed dependency on Guava vulnerable to CVE-2018-10237.
ApplicationInsights-Java - Application Insights Java SDK 2.3.0

Published by dhaval24 almost 6 years ago

Welcome to Holiday Edition release of Application Insights Java SDK 2.3.0 and Application Insights SpringBoot Starter 1.1.1 (Release version)! This service release brings in brand new features and critical bug fixes.

Enhancements:

  1. Introduced support for W3C Trace Context Correlation Headers to support distributed tracing across Application Insights and Open Census SDKs.
  2. Introducing Application Insights SpringBoot Starter 1.1.1 (Release Version)!

Bug Fixes:

  1. Fix #784 Shade guava dependency.
ApplicationInsights-Java - Application Insights Java SDK 2.2.1

Published by dhaval24 almost 6 years ago

Welcome to Application Insights Java SDK 2.2.1 and Application Insights SpringBoot Starter 1.1.1-BETA! This service release brings critical bug fixes and enhancement.

Enhancements:

  1. Added support for writing diagnostic logs to file for Application Insights Java Agent.
  2. Added ability to configure FileLogger for SpringBootStarter.

Deprecations:

  1. Deprecated InternalAgentLogger in favor of InternalLogger for better consistency.

Bug Fixes:

  1. Fixed #767. Updated gRPC dependencies which includes latest Netty version.
  2. Fixed #751. Added support for absolute paths for log file output.
ApplicationInsights-Java - Application Insights Java SDK 2.2.0

Published by dhaval24 about 6 years ago

Welcome to Application Insights Java SDK 2.2.0 and Application Insights SpringBoot Starter 1.1.0-BETA! This release comes with brand new enterprise grade features and critical bug fixes to both SpringBoot Starter as well as Core SDK.

Enhancements and changes:

  1. Introducing SpringBoot Starter 1.1.0-BETA.
  2. Introducing LocalForwarderChannel(beta) for use with the LocalForwarder (https://github.com/Microsoft/ApplicationInsights-LocalForwarder)
  3. Starter now respects autoconfiguration for Micrometer(https://micrometer.io) metrics.
  4. Starter now supports reading iKey using all the variable names as core sdk.
  5. Starter would no longer support relaxed binding of ikey property due to complex conditional need and backport problems with RelaxedBinder from Boot 2 to 1.5.x.
  6. Added WebAppNameContextInitializer for use with the WebRequestTrackingFilter.
  7. Introduced CloudInfoContextInitializer to set roleInstance in CloudContext. This new initializer is included by default and therefore will not affect the current tags.
  8. Deprecated getRoleName/setRoleName and getRoleInstance/setRoleInstance in DeviceContext. Introduced CloudContext to hold replacements, getRole/setRole and getRoleInstance/setRoleInstance, respectively.
  9. Removes Servlet 3.0 annotations from WebRequestTrackingFilter and ApplicationInsightsServletContextListener which were causing issues in certain cases. This will allow easier customization of the filter. To use the listener moving forward, it will need to be defined in web.xml.
  10. Starter adds autoconfiguration for Local Forwarder Telemetry Channel. (Please look at readme for details on configuration.)
  11. InterceptorRegistry class no longer has @EnableWebMvc annotation as it breaks springboot autoconfig.

Bug Fixes:

  1. Fix #712 the thread shutdown issue in SpringBoot Starter by registering ApplicationInsightsServletContextListener.
  2. Fix QuickPulse post interval bug from 5 seconds to 1 second.
ApplicationInsights-Java - Application Insights Java SDK 2.1.2

Published by dhaval24 about 6 years ago

Welcome to Application Insights Java SDK 2.1.2 and Application Insights SpringBoot Starter 1.0.1-BETA! This release comes with some of the critical bug fixes both to our Spring-Boot starter and core SDK.

Enhancements:

  1. Added timezone to internal SDK logger for better diagnostic ability of SDK.

Bug Fixes:

  1. Fix #676 Fixes HTTP dependency collection issue with NetFlix Zuul library.
  2. Fix #661 Shaded Guava package to avoid class path hell.
  3. #685 Fixed potential security related bug - Disable DTD and external entities.
  4. Fix #686 Added required attribute into the filter annotation
  5. Fix #697 Fix persistent channel capability size.
  6. Fix #691 Fixes cyclic reference issue in spring-boot starter.
  7. Fix #711 Fixes a trailing whitespace in WebAppsHeartBeatProvider.
ApplicationInsights-Java - Application Insights Java SDK 2.1.1

Published by dhaval24 over 6 years ago

Welcome to Application Insights Java SDK 2.1.1! With this version we announce ApplicationInsights-Spring-Boot-Starter-1.0.0-BETA. This starter is currently in BETA. In order to use SpringBoot starter please refer to https://github.com/Microsoft/ApplicationInsights-Java/blob/master/azure-application-insights-spring-boot-starter/README.md

Enhancement and API changes:

  • Introducing support for SpringBoot via Application-Insights-SpringBoot-Starter #646. This is currently in beta.
  • We have made some fields in core SDK public for supporting SpringBoot starter.
  • Introduced public constructor in InProcessTelemetryChannel.java class.
  • Introduced a public method getActiveWithoutInitializingConfig() in TelemetryConfiguration.java class.
ApplicationInsights-Java - Application Insights Java SDK 2.1.0

Published by grlima over 6 years ago

Welcome to Application Insights Java SDK 2.1.0! We have added support for heartbeats and made performance optimizations in the SDK's initialization code. A couple of other issues have also been fixed. See details below:

Enhancements:

  • Introduced a Heartbeat feature, which sends periodic messages with basic information about application and runtime to Application Insights.
  • Performance improvements during initialization.

Bug Fixes:

  • Fixed an issue whereby the SDK could not resolve instrumentation keys if a proxy was specified in the JVM (via http.proxyHost). The fix enables proper support for system properties in the instrumentation key resolver component.
  • Fix #647 - If a performance counter cannot be computed, it will not report a placeholder value (-1). Instead, it does not report any value.
ApplicationInsights-Java - Application Insights Java SDK 2.0.2

Published by grlima over 6 years ago

Welcome to Application Insights Java SDK 2.0.2! This release fixes a number of issues posted on GitHub by the community and ourselves. It also includes a few enhancements to diverse areas. Details below.

Note: This release requires that the SDK be run on an application server supporting Servlet 3.0 or above.

Enhancements:

  • Enable real-time SDK Logs when logging to file - #616
  • Log messages are now being pushed as custom dimensions when exceptions are reported via log appenders - #400
  • Enhanced Log4j2 appender to support basic parameters including Filters, Layouts and includeException - #348
  • Support for configuring channel retries (MaxInstantRetries) in ApplicationInsights.xml
  • Added the ability to have cold SDK initialization (no logs except critical logAlways messages)
  • Code cleanup in the session tracking feature - #577

Bug Fixes:

  • Fix incorrect success flag set when capturing HTTP Dependency.
  • Fixed issue with sessionId not being set in request telemetry due to date parsing incompatibilities.
  • Fix #609, fixes the inaccurate timestamp recorded with JMX Metrics.
  • Fix issue when dependency start time was not being recorded correctly.
  • Fixed #533 HTTP Dependency Telemetry now matches with .NET SDK.
  • Fixed PageView telemetry data not being reported.
  • Fixed Issue #526 (NPE in MapUtil.copy()).
  • Fixed Issue #513 (Memory leak in SDKShutdownActivity). This fix upgrades our Servlet version from 2.5 to 3.0. The SDK must now be run on an application server supporting Servlet 3.0.
  • Fixed Issue #504 (SDK initialization happens twice) to improve startup performance.

API changes (back-compatible):

  • Introduced public method httpMethodFinishedWithPath(String identifier, String method, String path, String correlationId, String uri, String target, int result, long delta)
    to support instrumentation of Path of URI in HTTP requests.
  • httpMethodFinished(String identifier, String method, String correlationId, String uri, String target, int result, int delta) is now marked as deprecated
Package Rankings
Top 9.71% on Repo1.maven.org
Badges
Extracted from project README
Build Status