You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix incorrect sdk version being sent in Quick Pulse payload.
72
-
- Fix [#882](https://github.com/Microsoft/ApplicationInsights-Java/issues/882) Dependency metrics does not show up on
72
+
- Fix [#882](https://github.com/Microsoft/ApplicationInsights-Java/issues/882) Dependency metrics does not show up on
73
73
Livemetrics UX.
74
-
74
+
75
75
# Version 2.3.1
76
76
- Fixed [#799](https://github.com/Microsoft/ApplicationInsights-Java/issues/799) Removed dependency on Guava vulnerable to [CVE-2018-10237](https://nvd.nist.gov/vuln/detail/CVE-2018-10237).
- Fixed [#751](https://github.com/Microsoft/ApplicationInsights-Java/issues/751). Added support for absolute paths for log file output.
86
-
- Abstracted Internal Logger in Core into separate reusable module.
86
+
- Abstracted Internal Logger in Core into separate reusable module.
87
87
- Deprecated InternalAgentLogger in favor of InternalLogger for better consistency.
88
-
- Fixed [#752](https://github.com/Microsoft/ApplicationInsights-Java/issues/752). Agent now supports diagnostic writing logs to file.
89
-
- Added ability to configure FileLogger for SpringBootStarter.
88
+
- Fixed [#752](https://github.com/Microsoft/ApplicationInsights-Java/issues/752). Agent now supports diagnostic writing logs to file.
89
+
- Added ability to configure FileLogger for SpringBootStarter.
90
90
- Fixed the `WebRequestTrackingFilter` order in FilterChain for SpringBoot Starter.
91
91
92
92
@@ -98,11 +98,11 @@ Livemetrics UX.
98
98
- SpringBoot Starter now supports reading iKey using all the variable names as core sdk.
99
99
- 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.
100
100
-`InterceptorRegistry` class no longer has `@EnableWebMvc` annotation as it breaks springboot autoconfig.
101
-
- Deprecated `getRoleName`/`setRoleName` and `getRoleInstance`/`setRoleInstance` in `DeviceContext`. Introduced `CloudContext` to hold replacements, `getRole`/`setRole` and `getRoleInstance`/`setRoleInstance`, respectively.
101
+
- Deprecated `getRoleName`/`setRoleName` and `getRoleInstance`/`setRoleInstance` in `DeviceContext`. Introduced `CloudContext` to hold replacements, `getRole`/`setRole` and `getRoleInstance`/`setRoleInstance`, respectively.
102
102
- Introduced `CloudInfoContextInitializer` to set roleInstance in `CloudContext`. This new initializer is included by default and therefore will not affect the current tags.
103
103
- Adds `WebAppNameContextInitializer` for use with the `WebRequestTrackingFilter`.
104
104
- Adds `LocalForwarderChannel` for use with the [LocalForwarder](https://github.com/Microsoft/ApplicationInsights-LocalForwarder).
105
-
- 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.
105
+
- 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.
106
106
- Fix QuickPulse post interval bug from 5 seconds to 1 second.
107
107
108
108
# Version 2.1.2
@@ -117,15 +117,15 @@ Livemetrics UX.
117
117
- Introducing support for SpringBoot via Application-Insights-SpringBoot-Starter [#646](https://github.com/Microsoft/ApplicationInsights-Java/pull/646). This is currently in beta.
118
118
- In order to add support for SpringBoot starter some fields in core SDK are made public.
119
119
- Introduced public constructor in `InProcessTelemetryChannel.java` class.
120
-
- Introduced a public method `getActiveWithoutInitializingConfig()` in `TelemetryConfiguration.java` class.
120
+
- Introduced a public method `getActiveWithoutInitializingConfig()` in `TelemetryConfiguration.java` class.
121
121
122
122
# Version 2.1.0
123
123
- Introduced Heartbeat feature which sends periodic heartbeats with basic information about application and runtime to Application Insights.
124
124
- Enable support for system properties in the instrumentation key resolving component.
125
125
- Performance improvements during initialization.
126
126
- Fix [#647](https://github.com/Microsoft/ApplicationInsights-Java/issues/647). If a performance counter cannot be computed, it will not report a placeholder value (`-1`). Instead, it does not report any value.
127
127
128
-
## Version 2.0.2
128
+
## Version 2.0.2
129
129
- Fix incorrect success flag set when capturing HTTP Dependency.
130
130
- Fix [#577](https://github.com/Microsoft/ApplicationInsights-Java/issues/577), removed HttpFactory class as it was not being used.
131
131
- Fixed issue with sessionId not being set in request telemetry due to date parsing issues.
@@ -140,7 +140,7 @@ Livemetrics UX.
140
140
-`httpMethodFinished(String identifier, String method, String correlationId, String uri, String target, int result, int delta)` is now marked as deprecated
141
141
- Logger Messages now being pushed as custom dimension when reporting exceptions via Loggers. (#400)
142
142
- Enhanced Log4j2 appender to support basic parameters including Filters, Layouts and includeException. (#348)
143
-
- Fixed PageView telemetry data not being reported.
143
+
- Fixed PageView telemetry data not being reported.
144
144
- Fixed Issue [#526](https://github.com/Microsoft/ApplicationInsights-Java/issues/526) (NPE in MapUtil.copy())
145
145
- Fixed Issue [#513](https://github.com/Microsoft/ApplicationInsights-Java/issues/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.
- Introducing FixedRate Sampling v2 Using Telemetry Processors
173
173
- Fixed issue #436 (TraceTelemetry with Severity is not shown in UI). This fixes a regression issue with `TelemetryClient.trackTrace` and `TelemetryClient.trackException`.
174
-
- Introducing support for [cross-component correlation](https://docs.microsoft.com/en-us/azure/application-insights/application-insights-correlation). Addresses issue [#457](https://github.com/Microsoft/ApplicationInsights-Java/issues/457).
174
+
- Introducing support for [cross-component correlation](https://docs.microsoft.com/en-us/azure/application-insights/application-insights-correlation). Addresses issue [#457](https://github.com/Microsoft/ApplicationInsights-Java/issues/457).
175
175
- Changed signature of com.microsoft.applicationinsights.internal.agent.CoreAgentNotificationHandler.httpMethodFinished. It now includes correlation information.
176
176
- Compilation now targets Java 1.7. Java 1.6 is no longer supported.
177
177
- Adding system property `applicationinsights.configurationDirectory` to allow to explicitly set directory containing the config file.
178
178
179
179
## Version 1.0.10
180
180
-`track()` method of 'com.microsoft.applicationinsights.TelemetryClient' is now modified. No longer performing pre-sanitization
181
-
- All Sanitization will now occur in `com.microsoft.applicationinsights.telemetry.JsonTelemetryDataSerializer` class.
182
-
- Method `sanitize` of interface `com.microsoft.applicationinsights.telemetry.Telemetry` is now obsolete.
181
+
- All Sanitization will now occur in `com.microsoft.applicationinsights.telemetry.JsonTelemetryDataSerializer` class.
182
+
- Method `sanitize` of interface `com.microsoft.applicationinsights.telemetry.Telemetry` is now obsolete.
183
183
- The auto generated schema classes now have writer method with limits according to endpoint.
- Obsolete methods of `RequestTelemetry`: `getHttpMethod`, `setHttpMethod`.
196
196
- Add option to configure instrumentation key via `APPINSIGHTS_INSTRUMENTATIONKEY` environment variable for consistency with other SDKs.
197
-
- Fix the issue where `track(...)` of `TelemetryClient` class was overwriting the provided telemetry timestamp.
197
+
- Fix the issue where `track(...)` of `TelemetryClient` class was overwriting the provided telemetry timestamp.
198
198
- Changed the policy on failed sent requests to delay retrying for 5 minutes instead of immediately retrying.
199
199
200
200
## Version 1.0.9
@@ -239,7 +239,7 @@ Livemetrics UX.
239
239
-[Propagate log context properties in custom properties](https://github.com/Microsoft/ApplicationInsights-Java/pull/288).
240
240
-[Ability to filter out certain telemetry from being sent](https://github.com/Microsoft/ApplicationInsights-Java/pull/296).
241
241
- Some other miscellaneous fixes and improvements.
242
-
242
+
243
243
## Version 1.0.4
244
244
- Interim version replaced by 1.0.5 on August 2016
245
245
@@ -269,8 +269,8 @@ Livemetrics UX.
269
269
- Adding support for Java EE interceptors.
270
270
- Removing redundant dependencies from the Logback appender.
271
271
272
-
## Version 0.9.5
273
-
- Fix for an issue where custom events are not correlated with Users/Sessions due to cookie parsing errors.
272
+
## Version 0.9.5
273
+
- Fix for an issue where custom events are not correlated with Users/Sessions due to cookie parsing errors.
274
274
- Improved logic for resolving the location of the ApplicationInsights.xml configuration file.
275
275
- Anonymous User and Session cookies will not be generated on the server side. To implement user and session tracking for web apps, instrumentation with the JavaScript SDK is now required – cookies from the JavaScript SDK are still respected. Note that this change may cause a significant restatement of user and session counts as only user-originated sessions are being counted now.
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,11 @@
5
5
6
6
## Introduction
7
7
8
-
This is the repository of the Java SDK for [Azure Application Insights](https://azure.microsoft.com/en-us/services/application-insights/). Application Insights is a service that monitors the availability, performance and usage of your application. The SDK sends telemetry about the performance and usage of your app to the Application Insights service where your data can be visualized in the [Azure Portal](https://portal.azure.com). The SDK automatically collects telemetry about HTTP requests, dependencies, and exceptions. You can also use the SDK to send your own events and trace logs.
8
+
This is the repository of the Java SDK for [Azure Application Insights](https://azure.microsoft.com/en-us/services/application-insights/). Application Insights is a service that monitors the availability, performance and usage of your application. The SDK sends telemetry about the performance and usage of your app to the Application Insights service where your data can be visualized in the [Azure Portal](https://portal.azure.com). The SDK automatically collects telemetry about HTTP requests, dependencies, and exceptions. You can also use the SDK to send your own events and trace logs.
9
9
10
10
For more information please refer to:
11
11
12
-
*[Getting started with Application Insights in a Java web project](https://azure.microsoft.com/documentation/articles/app-insights-java-get-started/)
12
+
*[Getting started with Application Insights in a Java web project](https://azure.microsoft.com/documentation/articles/app-insights-java-get-started/)
After you upgrade, you'll need to merge back any customizations you made to `ApplicationInsights.xml`. Take a copy of it to compare with the new file.
28
28
@@ -34,7 +34,7 @@ After you upgrade, you'll need to merge back any customizations you made to `App
34
34
*Otherwise*
35
35
36
36
* Download the latest version of [Application Insights Java SDK](https://docs.microsoft.com/en-us/azure/application-insights/app-insights-java-get-started), [scroll down to the getting started section](https://docs.microsoft.com/en-us/azure/application-insights/app-insights-java-get-started) and follow the instructions to manually download the SDK and replace the old `.jar` files.
37
-
37
+
38
38
Compare the old and new `ApplicationInsights.xml`. Many of the changes you see are because we added and removed modules. Reinstate any customizations that you made.
@@ -207,10 +207,10 @@ and avoiding any Application Insights beans creation by Spring.
207
207
1. Please remove ApplicationInsights.xml file from the project resources or class path.
208
208
2. Add applicationinsights-spring-boot-starter-<version_number>.jar file to pom.xml or build.gradle (you do not need to specify applicationinsights-core and web jars independently).
4. Compile the project and execute it from your IDE or command line using java -jar applicationjarname
212
212
5. To specify AI properties using command line please refer to SpringBoot Documentation.
213
-
6. To use [ApplicationInsights Java agent](https://docs.microsoft.com/en-us/azure/application-insights/app-insights-java-agent) please follow official documentation
213
+
6. To use [ApplicationInsights Java agent](https://docs.microsoft.com/en-us/azure/application-insights/app-insights-java-agent) please follow official documentation
214
214
4. To get an initialized instance of TelemetryClient please use Spring autowired annotation. This will provide a fully initialized instance of TelemetryClient.
0 commit comments