Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump applicationinsights-core from 2.4.1 to 2.5.0 #5341

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps applicationinsights-core from 2.4.1 to 2.5.0.

Release notes

Sourced from applicationinsights-core's releases.

Application Insights Java SDK 2.5.0

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.

Application Insights Java SDK 2.5.0-BETA.5

Introducing Application Insights Java SDK 2.5.0-BETA.5!

Bug Fixes

  • Fixed ClassCastException that could happen when using HttpURLConnection (#1053)

Application Insights Java SDK 2.5.0-BETA.4

Introducing Application Insights Java SDK 2.5.0-BETA.4!

... (truncated)
Changelog

Sourced from applicationinsights-core's changelog.

Version 2.5.0

  • No changes since 2.5.0-BETA.5

Version 2.5.0-BETA.5

  • Fixed ClassCastException that could happen when using HttpURLConnection
    (#1053)

Version 2.5.0-BETA.4

  • 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)

Version 2.5.0-BETA.3

  • Fixed HttpURLConnection instrumentation was not capturing outgoing url
    (#1025)
  • Added agent logging capture threshold, configurable via <Logging threshold="warn" />
    in the AI-Agent.xml, with default threshold warn
    (#1026)
  • Fixed request telemetry displaying 200 response code for some failed requests
    (#810)
  • Fixed GC performance counters not working
    (#929)

Version 2.5.0-BETA.2

  • Added back support for <Class> custom instrumentation in AI-Agent.xml
  • Fixed opting out of agent capturing logging via <Logging enabled="false" />
  • Misc fixes #969,
    #978

Version 2.5.0-BETA

  • Added support for Java 9-12
  • Added new applicationinsights-web-auto.jar artifact that automatically registers the web filter
    by just being present in your dependencies (works for both servlet containers and spring boot standalone)
    • No need to modify web.xml, or add @WebFilter
  • Agent now captures application logging via Log4j 1.2, Log4j2 and Logback
    • No need to add applicationinsights-logging-*.jar dependency and modify the application's logging configuration
      (e.g. log4j.properties, log4j2.xml, logback.xml)
    • To opt out of this (e.g. if you prefer to capture logging via the Application Insights appenders),
      add <Logging enabled="false" /> to the AI-Agent.xml file inside of the Builtin tag
  • Agent now automatically captures dependencies for async requests by tracking the request across multiple threads
  • Agent now captures JDBC queries for all JDBC drivers
  • Added additional HTTP client support
    • java.net.HttpURLConnection
    • Apache HttpClient 3.x (4.x was already previously supported)
    • OkHttp3
    • OkHttp2 (previously did not propagate distributed trace context)
  • Agent now sets Operation Name (used for aggregating similar requests) automatically
... (truncated)
Commits
  • 956e423 Merge pull request #1064 from microsoft/littleaj/bump_version_2.5_ga
  • 9b5503c added comment for 2.5 section
  • 1bc3a65 add section to changelog
  • e897548 bump version
  • d46faac Merge pull request #1054 from microsoft/trask/prepare-release
  • c3bbcc3 Merge pull request #1058 from microsoft/trask/update-glowroot-instrumentation
  • 0fd120a Merge pull request #1056 from microsoft/trask/more-test-improvements
  • 9a4fef2 Merge pull request #1057 from microsoft/trask/support-smoke-tests-on-yum-base...
  • 16e102c Merge pull request #1052 from microsoft/trask/remove-system-out-println
  • 417f603 Improve sampling test
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

If all status checks pass Dependabot will automatically merge this pull request.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the .dependabot/config.yml file in this repo:

  • Update frequency
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview
Copy link
Contributor Author

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@dependabot-preview
Copy link
Contributor Author

A newer version of com.microsoft.azure:applicationinsights-core exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@tobiasdiez
Copy link
Member

Upgrade currently blocked by microsoft/ApplicationInsights-Java#1155.

@dependabot ignore this minor version

@tobiasdiez tobiasdiez closed this Nov 11, 2019
@dependabot-preview
Copy link
Contributor Author

OK, I won't notify you about version 2.5.x again, unless you re-open this PR or update to a 2.5.x release yourself.

@dependabot-preview dependabot-preview bot deleted the dependabot/gradle/com.microsoft.azure-applicationinsights-core-2.5.0 branch November 11, 2019 20:25
koppor pushed a commit that referenced this pull request Mar 29, 2021
e1acabe Upload Styles (#5351)
d9cbf08 Update and rename journal-of-eta-maritime-science.csl to dependent/journal-of-eta-maritime-science.csl (#5353)
988ecca Update clinical-and-translational-immunology.csl (#5348)
1691078 Update molecular-plant-pathology.csl (#5349)
932a5bf Create neurospine.csl (#5334)
d663ffc Update sylwan.csl (#5341)
b7be05d Update pakistan-journal-of-agricultural-sciences.csl (#5343)
d742832 Please rename to Tijdschrift-voor-geneeskunde-en-gezondheidszorg (#5344)
6c6be4d Update et-al settings for journal-of-the-american-society-of-nephrology.csl (#5333)
0263204 Correct citation format of numeric AOSIS styles (#5335)
e4cd348 Create the-horticulture-journal.csl (#5327)
5804a6f Add AOSIS dependents (#5332)
2b4510b Create natura-croatia.csl (#5328)
03c6789 Create groundwater.csl (#5329)
e08fa09 Create hystrix-the-italian-journal-of-mammalogy.csl (#5330)
1d730aa update page-range-format for Anglia (#5331)
9bb8724 Sort American Physiological Society citation style according to updated author instructions (#5305)
a8b53ca Create african-online-scientific-information-systems-vancouver.csl (#5326)
c7d8f90 Update yozgat-bozok-universitesi-fen-bilimleri-enstitusu.csl (#5319)
87dc0eb Update and rename tijdschrift-voor-geneeskunde.csl to tijdschrift-voo… (#5325)
89e07b0 Create university-of-gothenburg-apa7-swedish-legislations (#5316)
4582cb6 Create chinese-law-journals.csl (#5314)
6412083 Create stellenbosch-law-review.csl (#5322)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: e1acabe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants