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

[release] release-step-4 1.52.0 #3814

Merged
merged 52 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
a9e4408
post release: elastic-apm-agent v1.51.0 (#3732)
obltmachine Jul 25, 2024
1e91694
build: bump docker/login-action in the github-actions group (#3737)
dependabot[bot] Jul 29, 2024
4de5b34
build: bump version.testcontainers from 1.19.8 to 1.20.0 (#3741)
dependabot[bot] Jul 29, 2024
af4b613
add automatic module name to apm-agent-attach (#3743)
wolframhaussig Jul 30, 2024
f8cb636
updatecli: rename update-compose.yaml to updatecli-compose.yaml (#3749)
reakaleek Aug 5, 2024
f39d29e
build: bump actions/attest-build-provenance from 1.3.3 to 1.4.0 in th…
dependabot[bot] Aug 5, 2024
2b69665
build: bump version.aws.sdk in /apm-agent-plugins (#3748)
dependabot[bot] Aug 5, 2024
9ef386f
build: bump version.aws.sdk in /apm-agent-plugins (#3747)
dependabot[bot] Aug 5, 2024
b0c6af7
build: bump version.testcontainers from 1.20.0 to 1.20.1 (#3751)
dependabot[bot] Aug 5, 2024
fbb5d68
Fixed BodyCaptureImpl recycling (#3734)
JonasKunz Aug 8, 2024
ddbf896
Perform charset-aware decoding of request bodies (#3726)
JonasKunz Aug 8, 2024
e0f0e7e
chore: Configure Renovate (#3755)
elastic-renovate-prod[bot] Aug 12, 2024
a905417
chore(deps): update docker.elastic.co/wolfi/chainguard-base:latest do…
elastic-renovate-prod[bot] Aug 12, 2024
d03b281
Exclude renovate from PR labeler (#3759)
JonasKunz Aug 12, 2024
8014890
build: bump com.networknt:json-schema-validator from 1.5.0 to 1.5.1 (…
dependabot[bot] Aug 13, 2024
e306c60
Capture request body for HttpUrlConnection (#3724)
JonasKunz Aug 13, 2024
030893a
build: bump org.awaitility:awaitility from 4.2.1 to 4.2.2 (#3761)
dependabot[bot] Aug 13, 2024
d4280c9
Fix log4j2 correlation with shaded log4j (#3764)
SylvainJuge Aug 14, 2024
24b2b19
Fix CustomElementMatchers test on windows (#3765)
JonasKunz Aug 19, 2024
648bd34
chore(deps): update docker.elastic.co/wolfi/chainguard-base:latest do…
elastic-renovate-prod[bot] Aug 20, 2024
618970d
build: bump actions/attest-build-provenance in the github-actions gro…
dependabot[bot] Aug 20, 2024
50981bb
build: bump io.micrometer:micrometer-core from 1.13.2 to 1.13.3 (#3769)
dependabot[bot] Aug 20, 2024
f3b2835
Add support for apache http client v5 body capturing (#3767)
JonasKunz Aug 20, 2024
7fdb0bc
chore(deps): update docker.elastic.co/wolfi/chainguard-base:latest do…
elastic-renovate-prod[bot] Aug 20, 2024
f82eb6a
build: bump redis.clients:jedis from 1.4.0 to 5.1.4 (#3770)
dependabot[bot] Aug 20, 2024
0d27398
build: bump version.byte-buddy from 1.14.18 to 1.14.19 (#3768)
dependabot[bot] Aug 20, 2024
d1e4580
Add body capturing for reactive spring webclient (#3754)
JonasKunz Aug 27, 2024
1c01466
build: bump redis.clients:jedis from 1.4.0 to 5.1.5 (#3774)
dependabot[bot] Aug 27, 2024
8086518
build: bump version.byte-buddy from 1.14.19 to 1.15.0 (#3775)
dependabot[bot] Aug 27, 2024
ce9b400
Make capture_http_client_request_body_size config option public (#3776)
JonasKunz Aug 27, 2024
d43005f
build: bump io.opentelemetry.semconv:opentelemetry-semconv (#3773)
dependabot[bot] Aug 28, 2024
6cb53e9
build: bump actions/attest-build-provenance in the github-actions gro…
dependabot[bot] Aug 28, 2024
d698fa5
build: bump version.aws.sdk in /apm-agent-plugins (#3778)
dependabot[bot] Sep 2, 2024
aa572c0
build: bump version.aws.sdk in /apm-agent-plugins (#3779)
dependabot[bot] Sep 2, 2024
803f6da
chore(deps): update docker.elastic.co/wolfi/chainguard-base:latest do…
elastic-renovate-prod[bot] Sep 2, 2024
753bc86
enhance class name detection (#3746)
wolframhaussig Sep 2, 2024
3fda485
build: bump version.mockito from 5.12.0 to 5.13.0 (#3781)
dependabot[bot] Sep 2, 2024
566f93d
build: bump version.byte-buddy from 1.15.0 to 1.15.1 (#3782)
dependabot[bot] Sep 3, 2024
95bd3d3
chore(deps): update docker.elastic.co/wolfi/chainguard-base:latest do…
elastic-renovate-prod[bot] Sep 4, 2024
0b3a63c
deps(updatecli): bump all policies (#3785)
obltmachine Sep 5, 2024
f6b08a7
deps(updatecli): bump all policies (#3787)
obltmachine Sep 9, 2024
b9e07b2
Fix test-reporter workflow (#3797)
reakaleek Sep 12, 2024
1e0b60d
chore: deps(updatecli/policy): bump "ghcr.io/updatecli/policies/autod…
obltmachine Sep 12, 2024
85ea1c0
github-action: use oblt-actions/maven/await-artifact (#3796)
v1v Sep 12, 2024
9a12b98
Bump upload- and download-artifact to v4 (#3798)
reakaleek Sep 12, 2024
9c6b735
Make health metrics GA (#3802)
jackshirazi Sep 17, 2024
2f99ecc
chore(deps): update docker.elastic.co/wolfi/chainguard-base:latest do…
elastic-renovate-prod[bot] Sep 18, 2024
81eea87
build: bump version.log4j from 2.12.4 to 2.24.0 (#3792)
dependabot[bot] Sep 18, 2024
bb84a50
github-action: use ephemeral tokens with the required permissions (#3…
v1v Sep 18, 2024
80929c3
deps(updatecli): bump all policies (#3806)
elastic-observability-automation[bot] Sep 20, 2024
d4d8ae6
build: bump actions/attest-build-provenance from 1.4.2 to 1.4.3 in th…
dependabot[bot] Sep 23, 2024
bd21a07
pre release: elastic-apm-agent v1.52.0 (#3810)
obltmachine Sep 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .ci/updatecli/values.d/apm-data-spec.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
apm_schema_specs_path: apm-agent-core/src/test/resources/apm-server-schema/current
signedcommit: true
apm_schema_specs_path: apm-agent-core/src/test/resources/apm-server-schema/current
3 changes: 1 addition & 2 deletions .ci/updatecli/values.d/apm-gherkin.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
apm_gherkin_specs_path: apm-agent-core/src/test/resources/specs
signedcommit: true
apm_gherkin_specs_path: apm-agent-core/src/test/resources/specs
3 changes: 1 addition & 2 deletions .ci/updatecli/values.d/apm-json-specs.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
apm_json_specs_path: apm-agent-core/src/test/resources/json-specs
signedcommit: true
apm_json_specs_path: apm-agent-core/src/test/resources/json-specs
1 change: 1 addition & 0 deletions .ci/updatecli/values.d/scm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ scm:
repository: apm-agent-java
apm_repository: apm
branch: main
commitusingapi: true
# begin update-compose policy values
user: obltmachine
email: [email protected]
Expand Down
2 changes: 1 addition & 1 deletion .ci/updatecli/values.d/update-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
spec:
files:
- "update-compose.yaml"
- "updatecli-compose.yaml"
4 changes: 2 additions & 2 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
username: ${{ github.actor }}
token: ${{ secrets.APM_TECH_USER_TOKEN }}
- name: Add community and triage lables
if: contains(steps.is_elastic_member.outputs.result, 'false') && github.actor != 'dependabot[bot]'
if: contains(steps.is_elastic_member.outputs.result, 'false') && github.actor != 'dependabot[bot]' && github.actor != 'elastic-renovate-prod[bot]'
uses: actions/github-script@v7
with:
script: |
Expand All @@ -41,7 +41,7 @@ jobs:
labels: ["community", "triage"]
})
- name: Add comment for community PR
if: contains(steps.is_elastic_member.outputs.result, 'false') && github.actor != 'dependabot[bot]'
if: contains(steps.is_elastic_member.outputs.result, 'false') && github.actor != 'dependabot[bot]' && github.actor != 'elastic-renovate-prod[bot]'
uses: wow-actions/auto-comment@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ jobs:
- uses: actions/checkout@v4

- name: Log in to the Elastic Container registry
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: ${{ secrets.ELASTIC_DOCKER_REGISTRY }}
username: ${{ secrets.ELASTIC_DOCKER_USERNAME }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-step-3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
run: tar xvf ${{ env.TARBALL_FILE }}

- name: generate build provenance
uses: actions/attest-build-provenance@5e9cb68e95676991667494a6a4e59b8a2f13e1d0 # v1.3.3
uses: actions/attest-build-provenance@1c608d11d69870c2092266b3f9a6f3abbf17002c # v1.4.3
with:
subject-path: "${{ github.workspace }}/**/target/*.jar"

Expand All @@ -115,10 +115,10 @@ jobs:
needs:
- validate-tag
steps:
- uses: elastic/apm-pipeline-library/.github/actions/await-maven-artifact@current
- uses: elastic/oblt-actions/maven/await-artifact@v1
with:
groupid: 'co.elastic.apm'
artifactid: 'elastic-apm-agent'
group-id: 'co.elastic.apm'
artifact-id: 'elastic-apm-agent'
version: ${{ env.RELEASE_VERSION }}

build-and-push-docker-images:
Expand All @@ -136,7 +136,7 @@ jobs:
fetch-depth: 0 # Load entire history as it is required for the push-script

- name: Log in to the Elastic Container registry
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: ${{ secrets.ELASTIC_DOCKER_REGISTRY }}
username: ${{ secrets.ELASTIC_DOCKER_USERNAME }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
run: tar xvf ${{ env.TARBALL_FILE }}

- name: generate build provenance
uses: actions/attest-build-provenance@5e9cb68e95676991667494a6a4e59b8a2f13e1d0 # v1.3.3
uses: actions/attest-build-provenance@1c608d11d69870c2092266b3f9a6f3abbf17002c # v1.4.3
with:
subject-path: "${{ github.workspace }}/**/target/*.jar"

Expand All @@ -80,7 +80,7 @@ jobs:
- uses: actions/checkout@v4

- name: Log in to the Elastic Container registry
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: ${{ secrets.ELASTIC_DOCKER_REGISTRY }}
username: ${{ secrets.ELASTIC_DOCKER_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stash/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ runs:
shell: bash

- name: Upload stash
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.name }}
path: ${{ runner.temp }}/${{ inputs.name }}.tar.zst
2 changes: 1 addition & 1 deletion .github/workflows/test-reporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
report:
runs-on: ubuntu-latest
steps:
- uses: elastic/apm-pipeline-library/.github/actions/test-report@current
- uses: elastic/oblt-actions/test-report@v1
with:
artifact: /test-results-(.*)/
name: 'Test Results $1'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unstash/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
using: "composite"
steps:
- name: Download stash
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ inputs.name }}
path: ${{ runner.temp }}
Expand Down
18 changes: 15 additions & 3 deletions .github/workflows/updatecli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,19 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
- name: Get token
id: get_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
with:
app_id: ${{ secrets.OBS_AUTOMATION_APP_ID }}
private_key: ${{ secrets.OBS_AUTOMATION_APP_PEM }}
permissions: >-
{
"contents": "write",
"pull_requests": "write"
}

- uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -27,13 +39,13 @@ jobs:
with:
command: --experimental compose diff
env:
GITHUB_TOKEN: ${{ secrets.UPDATECLI_GH_TOKEN }}
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }}

- uses: elastic/oblt-actions/updatecli/run@v1
with:
command: --experimental compose apply
env:
GITHUB_TOKEN: ${{ secrets.UPDATECLI_GH_TOKEN }}
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }}

- if: failure()
uses: elastic/oblt-actions/slack/send@v1
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,19 @@ Use subheadings with the "=====" level for adding notes for unreleased changes:
[[release-notes-1.x]]
=== Java Agent version 1.x

[[release-notes-1.52.0]]
==== 1.52.0 - 2024/09/23

[float]
===== Bug fixes
* Fix log4j2 log correlation with shaded application jar - {pull}3764[#3764]
* Improve automatic span class name detection for Scala and nested/anonymous classes - {pull}3746[#3746]

[float]
===== Features
* Added experimental option to capture HTTP client request bodies for Apache Http Client v4 and v5, HttpUrlConnection and Spring WebClient - {pull}3776[#3776], {pull}3962[#3962], {pull}3724[#3724], {pull}3754[#3754], {pull}3767[#3767]
* Agent health metrics now GA - {pull}3802[#3802]

[[release-notes-1.51.0]]
==== 1.51.0 - 2024/07/24

Expand All @@ -49,6 +62,7 @@ Use subheadings with the "=====" level for adding notes for unreleased changes:
===== Features
* Added option to make routing-key part of RabbitMQ transaction/span names - {pull}3636[#3636]
* Added internal option for capturing request bodies for apache httpclient v4 - {pull}3692[#3692]
* Added automatic module name to apm-agent-attach - {pull}3743[#3743]

[[release-notes-1.50.0]]
==== 1.50.0 - 2024/05/28
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.wolfi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.elastic.co/wolfi/chainguard-base@sha256:9f940409f96296ef56140bcc4665c204dd499af4c32c96cc00e792558097c3f1
FROM docker.elastic.co/wolfi/chainguard-base:latest@sha256:d4def25f2fd3b0ff9bc68091cd1d89524e41b7d3fc0d3b3a665720eb92145f3b
RUN mkdir /usr/agent
ARG JAR_FILE
ARG HANDLER_FILE
Expand Down
2 changes: 1 addition & 1 deletion apm-agent-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>apm-agent-parent</artifactId>
<groupId>co.elastic.apm</groupId>
<version>1.51.0</version>
<version>1.52.0</version>
</parent>

<artifactId>apm-agent-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion apm-agent-attach-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>apm-agent-parent</artifactId>
<groupId>co.elastic.apm</groupId>
<version>1.51.0</version>
<version>1.52.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
9 changes: 8 additions & 1 deletion apm-agent-attach/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>apm-agent-parent</artifactId>
<groupId>co.elastic.apm</groupId>
<version>1.51.0</version>
<version>1.52.0</version>
</parent>

<artifactId>apm-agent-attach</artifactId>
Expand Down Expand Up @@ -165,6 +165,13 @@
</goals>
</execution>
</executions>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>${project.groupId}.attach</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
2 changes: 1 addition & 1 deletion apm-agent-benchmarks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>apm-agent-parent</artifactId>
<groupId>co.elastic.apm</groupId>
<version>1.51.0</version>
<version>1.52.0</version>
</parent>

<artifactId>apm-agent-benchmarks</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion apm-agent-bootstrap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>apm-agent-parent</artifactId>
<groupId>co.elastic.apm</groupId>
<version>1.51.0</version>
<version>1.52.0</version>
</parent>

<artifactId>apm-agent-bootstrap</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion apm-agent-builds/apm-agent-java8/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>co.elastic.apm</groupId>
<artifactId>apm-agent-builds</artifactId>
<version>1.51.0</version>
<version>1.52.0</version>
</parent>

<artifactId>apm-agent-java8</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion apm-agent-builds/apm-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>co.elastic.apm</groupId>
<artifactId>apm-agent-builds</artifactId>
<version>1.51.0</version>
<version>1.52.0</version>
</parent>

<artifactId>apm-agent</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion apm-agent-builds/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>apm-agent-parent</artifactId>
<groupId>co.elastic.apm</groupId>
<version>1.51.0</version>
<version>1.52.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion apm-agent-cached-lookup-key/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>apm-agent-parent</artifactId>
<groupId>co.elastic.apm</groupId>
<version>1.51.0</version>
<version>1.52.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion apm-agent-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>apm-agent-parent</artifactId>
<groupId>co.elastic.apm</groupId>
<version>1.51.0</version>
<version>1.52.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion apm-agent-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>apm-agent-parent</artifactId>
<groupId>co.elastic.apm</groupId>
<version>1.51.0</version>
<version>1.52.0</version>
</parent>

<artifactId>apm-agent-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,15 @@ public void assertValid(List<Double> buckets) {
.key("agent_reporter_health_metrics")
.configurationCategory(METRICS_CATEGORY)
.description("Enables metrics which capture the health state of the agent's event reporting mechanism.")
.tags("added[1.35.0]", "experimental")
.tags("added[1.35.0]")
.dynamic(false)
.buildWithDefault(false);

private final ConfigurationOption<Boolean> overheadMetricsEnabled = ConfigurationOption.booleanOption()
.key("agent_background_overhead_metrics")
.configurationCategory(METRICS_CATEGORY)
.description("Enables metrics which capture the resource consumption of agent background tasks.")
.tags("added[1.35.0]", "experimental")
.tags("added[1.35.0]")
.dynamic(false)
.buildWithDefault(false);

Expand Down
Loading
Loading