Skip to content

Commit 0ba26ff

Browse files
committed
Merge remote-tracking branch 'upstream/main' into log-correlation-remake
2 parents 6e2ae2b + 495fc37 commit 0ba26ff

File tree

286 files changed

+4401
-1512
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

286 files changed

+4401
-1512
lines changed

.ci/release/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ pipeline {
102102
"""
103103
)
104104
dir("${BASE_DIR}") {
105-
git credentialsId: 'f6c7695a-671e-4f4f-a331-acdce44ff9ba', url: 'git@github.com:elastic/apm-agent-java.git'
105+
git(credentialsId: 'f6c7695a-671e-4f4f-a331-acdce44ff9ba', url: 'git@github.com:elastic/apm-agent-java.git', branch: 'main')
106106
}
107107
}
108108
}

.ci/schedule-weekly.groovy

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,16 @@ pipeline {
2020
stages {
2121
stage('Agent weekly exhaustive test') {
2222
steps {
23-
build(job: 'apm-agent-java/apm-agent-java-mbp/main',
24-
parameters: [
25-
booleanParam(name: 'jdk_compatibility_ci', value: true),
26-
booleanParam(name: 'end_to_end_tests_ci', value: true),
27-
booleanParam(name: 'agent_integration_tests_ci', value: true),
28-
],
29-
propagate: false,
30-
wait: false
31-
)
23+
build(job: 'apm-agent-java/apm-agent-java-mbp/main',
24+
parameters: [
25+
booleanParam(name: 'jdk_compatibility_ci', value: true),
26+
booleanParam(name: 'windows_ci', value: true),
27+
booleanParam(name: 'end_to_end_tests_ci', value: true),
28+
booleanParam(name: 'agent_integration_tests_ci', value: true),
29+
],
30+
propagate: false,
31+
wait: false
32+
)
3233
}
3334
}
3435
}

CHANGELOG.asciidoc

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,40 @@ endif::[]
2020
2121
=== Unreleased
2222
23-
[[release-notes-1.28.5]]
24-
==== 1.28.5 - YYYY/MM/DD
23+
[[release-notes-1.29.1]]
24+
==== 1.29.1 - YYYY/MM/DD
25+
26+
[float]
27+
===== Features
28+
29+
[[release-notes-1.x]]
30+
=== Java Agent version 1.x
31+
32+
[[release-notes-1.29.0]]
33+
==== 1.29.0 - 2022/02/09
34+
35+
[float]
36+
===== Breaking changes
37+
* Changes in service name auto-discovery of jar files (see Features section)
2538
2639
[float]
2740
===== Features
2841
* Exceptions that are logged using the fatal log level are now captured (log4j2 only) - {pull}2377[#2377]
2942
* Replaced `authorization` in the default value of `sanitize_field_names` with `*auth*` - {pull}2326[#2326]
3043
* Unsampled transactions are dropped and not sent to the APM-Server if the APM-Server version is 8.0+ - {pull}2329[#2329]
3144
* Adding agent logging capabilities to our SDK, making it available for external plugins - {pull}2390[#2390]
32-
* When the `MANIFEST.MF` of the main jar contains the `Implementation-Title` attribute, it is used as the default service name - {pull}1921[#1921]
33-
Note: this may change your service names if you relied on the auto-discovery that uses the name of the jar file. If that jar file also contains an `Implementation-Title` attribute in the `MANIFEST.MF` file, the latter will take precedence.
34-
* When the `MANIFEST.MF` of the main jar contains the `Implementation-Version` attribute, it is used as the default service version (except for application servers) - {pull}1922[#1922]
45+
* Service name auto-discovery improvements
46+
** For applications deployed to application servers (`war` files) and standalone jars that are started with `java -jar`,
47+
the agent now discovers the `META-INF/MANIFEST.MF` file.
48+
** If the manifest contains the `Implementation-Title` attribute, it is used as the default service name - {pull}1921[#1921], {pull}2434[#2434] +
49+
*Note*: this may change your service names if you relied on the auto-discovery that uses the name of the jar file.
50+
If that jar file also contains an `Implementation-Title` attribute in the `MANIFEST.MF` file, the latter will take precedence.
51+
** When the manifest contains the `Implementation-Version` attribute, it is used as the default service version - {pull}1726[#1726], {pull}1922[#1922], {pull}2434[#2434]
52+
* Added support for instrumenting Struts 2 static resource requests - {pull}1949[#1949]
53+
* Added support for Java/Jakarta WebSocket ServerEndpoint - {pull}2281[#2281]
54+
* Added support for setting the service name on Log4j2's EcsLayout - {pull}2296[#2296]
55+
* Print the used instrumentation groups when the application stops - {pull}2448[#2448]
56+
* Add `elastic.apm.start_async` property that makes the agent start on a non-premain/main thread - {pull}2454[#2454]
3557
3658
[float]
3759
===== Bug fixes
@@ -44,9 +66,9 @@ paths. The BCI warmup is on by default and may be disabled through the internal
4466
** Dubbo transaction will should be created at the provider side
4567
** APM headers conversion issue within dubbo transaction
4668
* Fix External plugins automatic setting of span outcome - {pull}2376[#2376]
47-
48-
[[release-notes-1.x]]
49-
=== Java Agent version 1.x
69+
* Avoid early initialization of JMX on Weblogic - {pull}2420[#2420]
70+
* Automatically disable class sharing on AWS lambda layer - {pull}2438[#2438]
71+
* Avoid standalone spring applications to have two different service names, one based on the jar name, the other based on `spring.application.name`.
5072
5173
[[release-notes-1.28.4]]
5274
==== 1.28.4 - 2021/12/30

0 commit comments

Comments
 (0)