Skip to content

Commit a5eec4e

Browse files
Merge branch 'elastic:main' into main
2 parents dd1b14b + 24d365b commit a5eec4e

File tree

109 files changed

+3549
-1068
lines changed

Some content is hidden

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

109 files changed

+3549
-1068
lines changed

.buildkite/integration.pipeline.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ env:
44
VAULT_PATH: "kv/ci-shared/observability-ingest/cloud/gcp"
55
ASDF_MAGE_VERSION: 1.14.0
66

7+
# Make Docker builds less verbose
8+
BUILDKIT_PROGRESS: plain
9+
710
# The following images are defined here and their values will be updated by updatecli
811
# Please do not change them manually.
912
IMAGE_UBUNTU_2204_X86_64: "platform-ingest-elastic-agent-ubuntu-2204-1762801856"

.buildkite/pipeline.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,19 @@ steps:
348348
- .buildkite/scripts/steps/beats_tests.sh
349349
- .buildkite/hooks/pre-command
350350

351+
# NOTE: This should help detecting issues earlier in the development cycle
352+
# See https://github.com/elastic/elastic-agent/issues/11604
353+
- label: "Trigger Elastic Agent Package"
354+
if: build.pull_request.id != null
355+
commands:
356+
- .buildkite/scripts/steps/trigger-elastic-agent-package.sh
357+
- .buildkite/scripts/steps/trigger-elastic-agent-package.sh | buildkite-agent pipeline upload
358+
if_changed:
359+
include:
360+
- .buildkite/pipeline.elastic-agent-package.yml
361+
- .buildkite/scripts/steps/package.sh
362+
- .buildkite/scripts/steps/trigger-elastic-agent-package.sh
363+
351364
# wait for CI to be done
352365
- wait: ~
353366

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Create a dynamic buildkite step for running the elastic-agent-package pipeline.
4+
#
5+
# Required environment variables:
6+
# - BUILDKITE_PULL_REQUEST
7+
# - BUILDKITE_COMMIT
8+
# - BUILDKITE_BRANCH
9+
# - BUILDKITE_PULL_REQUEST_BASE_BRANCH
10+
#
11+
12+
if [ ! -f .package-version ]; then
13+
echo ".package-version file not found!"
14+
exit 1
15+
fi
16+
17+
# No need for the snapshot but the three digits version is required
18+
BEAT_VERSION=$(jq -r .version .core_version)
19+
MANIFEST_URL=$(jq -r .manifest_url .package-version)
20+
21+
cat << EOF
22+
- label: ":pipeline: Run elastic-agent-package"
23+
trigger: "elastic-agent-package"
24+
build:
25+
message: "#${BUILDKITE_PULL_REQUEST} - Verify elastic-agent-package works"
26+
commit: "${BUILDKITE_COMMIT}"
27+
branch: "${BUILDKITE_BRANCH}"
28+
env:
29+
DRA_VERSION: "${BEAT_VERSION}"
30+
DRA_WORKFLOW: "snapshot"
31+
DRA_BRANCH: "${BUILDKITE_PULL_REQUEST_BASE_BRANCH}"
32+
DRA_DRY_RUN: "--dry-run"
33+
MANIFEST_URL: "${MANIFEST_URL}"
34+
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: "false"
35+
EOF

.ci/updatecli/update-otel.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ sources:
1919
kind: golang/gomod
2020
name: Get current OTel Collector core beta version in go.mod
2121
spec:
22+
file: internal/edot/go.mod
2223
module: go.opentelemetry.io/collector/receiver/otlpreceiver
2324
latest_core_beta:
2425
kind: golang/module
@@ -34,6 +35,7 @@ sources:
3435
kind: golang/gomod
3536
name: Get current OTel Collector contrib version in go.mod
3637
spec:
38+
file: internal/edot/go.mod
3739
module: github.com/open-telemetry/opentelemetry-collector-contrib/connector/routingconnector
3840
latest_contrib:
3941
kind: golang/module

.ci/updatecli/updatecli-bump-kube-stack.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ sources:
4141
kind: file
4242
spec:
4343
file: "testing/integration/k8s/k8s.go"
44-
matchpattern: 'KubeStackChartVersion\s*=\s"(.*)"'
44+
transformers:
45+
- findsubmatch:
46+
pattern: 'KubeStackChartVersion\s*=\s*"(.*)"'
47+
# This tells Updatecli to only keep the 1st capture group
48+
captureindex: 1
4549

4650
conditions:
4751
is-new-version:
@@ -60,7 +64,7 @@ targets:
6064
sourceid: opentelemetry-kube-stack-helm
6165
spec:
6266
file: "testing/integration/k8s/k8s.go"
63-
matchpattern: '(KubeStackChartVersion\s*=\s)".*"'
67+
matchpattern: '(KubeStackChartVersion\s*=\s*)".*"'
6468
replacepattern: '$1"{{ source "opentelemetry-kube-stack-helm" }}"'
6569

6670
update-testdata:

.github/workflows/release-notes.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
bc_commit_sha: ${{ inputs.bc_commit_sha }}
2222
version: ${{ inputs.version }}
2323
release_manager: ${{ github.triggering_actor }}
24+
branching_model: '`main`'
2425
permissions:
2526
contents: read
2627
id-token: write

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.24.10
1+
1.24.11

.package-version

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"version": "9.3.0-SNAPSHOT",
3-
"build_id": "9.3.0-eaf5f86d",
4-
"manifest_url": "https://snapshots.elastic.co/9.3.0-eaf5f86d/manifest-9.3.0-SNAPSHOT.json",
5-
"summary_url": "https://snapshots.elastic.co/9.3.0-eaf5f86d/summary-9.3.0-SNAPSHOT.html",
3+
"build_id": "9.3.0-7c793a5b",
4+
"manifest_url": "https://snapshots.elastic.co/9.3.0-7c793a5b/manifest-9.3.0-SNAPSHOT.json",
5+
"summary_url": "https://snapshots.elastic.co/9.3.0-7c793a5b/summary-9.3.0-SNAPSHOT.html",
66
"core_version": "9.3.0",
7-
"stack_build_id": "9.3.0-eaf5f86d-SNAPSHOT"
7+
"stack_build_id": "9.3.0-7c793a5b-SNAPSHOT"
88
}

NOTICE-fips.txt

Lines changed: 215 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -787,11 +787,11 @@ Contents of probable licence file $GOMODCACHE/github.com/dolmen-go/contextio@v0.
787787

788788
--------------------------------------------------------------------------------
789789
Dependency : github.com/elastic/beats/v7
790-
Version: v7.0.0-alpha2.0.20251130155143-19eb3e615086
790+
Version: v7.0.0-alpha2.0.20251204214633-dd3af18220bf
791791
Licence type (autodetected): Elastic
792792
--------------------------------------------------------------------------------
793793

794-
Contents of probable licence file $GOMODCACHE/github.com/elastic/beats/[email protected].20251130155143-19eb3e615086/LICENSE.txt:
794+
Contents of probable licence file $GOMODCACHE/github.com/elastic/beats/[email protected].20251204214633-dd3af18220bf/LICENSE.txt:
795795

796796
Source code in this repository is variously licensed under the Apache License
797797
Version 2.0, an Apache compatible license, or the Elastic License. Outside of
@@ -1254,11 +1254,11 @@ SOFTWARE
12541254

12551255
--------------------------------------------------------------------------------
12561256
Dependency : github.com/elastic/elastic-agent-libs
1257-
Version: v0.26.2
1257+
Version: v0.28.0
12581258
Licence type (autodetected): Apache-2.0
12591259
--------------------------------------------------------------------------------
12601260

1261-
Contents of probable licence file $GOMODCACHE/github.com/elastic/elastic-agent-libs@v0.26.2/LICENSE:
1261+
Contents of probable licence file $GOMODCACHE/github.com/elastic/elastic-agent-libs@v0.28.0/LICENSE:
12621262

12631263
Apache License
12641264
Version 2.0, January 2004
@@ -66158,6 +66158,217 @@ Contents of probable licence file $GOMODCACHE/github.com/open-telemetry/opentele
6615866158
limitations under the License.
6615966159

6616066160

66161+
--------------------------------------------------------------------------------
66162+
Dependency : github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver
66163+
Version: v0.139.0
66164+
Licence type (autodetected): Apache-2.0
66165+
--------------------------------------------------------------------------------
66166+
66167+
Contents of probable licence file $GOMODCACHE/github.com/open-telemetry/opentelemetry-collector-contrib/receiver/[email protected]/LICENSE:
66168+
66169+
Apache License
66170+
Version 2.0, January 2004
66171+
http://www.apache.org/licenses/
66172+
66173+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
66174+
66175+
1. Definitions.
66176+
66177+
"License" shall mean the terms and conditions for use, reproduction,
66178+
and distribution as defined by Sections 1 through 9 of this document.
66179+
66180+
"Licensor" shall mean the copyright owner or entity authorized by
66181+
the copyright owner that is granting the License.
66182+
66183+
"Legal Entity" shall mean the union of the acting entity and all
66184+
other entities that control, are controlled by, or are under common
66185+
control with that entity. For the purposes of this definition,
66186+
"control" means (i) the power, direct or indirect, to cause the
66187+
direction or management of such entity, whether by contract or
66188+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
66189+
outstanding shares, or (iii) beneficial ownership of such entity.
66190+
66191+
"You" (or "Your") shall mean an individual or Legal Entity
66192+
exercising permissions granted by this License.
66193+
66194+
"Source" form shall mean the preferred form for making modifications,
66195+
including but not limited to software source code, documentation
66196+
source, and configuration files.
66197+
66198+
"Object" form shall mean any form resulting from mechanical
66199+
transformation or translation of a Source form, including but
66200+
not limited to compiled object code, generated documentation,
66201+
and conversions to other media types.
66202+
66203+
"Work" shall mean the work of authorship, whether in Source or
66204+
Object form, made available under the License, as indicated by a
66205+
copyright notice that is included in or attached to the work
66206+
(an example is provided in the Appendix below).
66207+
66208+
"Derivative Works" shall mean any work, whether in Source or Object
66209+
form, that is based on (or derived from) the Work and for which the
66210+
editorial revisions, annotations, elaborations, or other modifications
66211+
represent, as a whole, an original work of authorship. For the purposes
66212+
of this License, Derivative Works shall not include works that remain
66213+
separable from, or merely link (or bind by name) to the interfaces of,
66214+
the Work and Derivative Works thereof.
66215+
66216+
"Contribution" shall mean any work of authorship, including
66217+
the original version of the Work and any modifications or additions
66218+
to that Work or Derivative Works thereof, that is intentionally
66219+
submitted to Licensor for inclusion in the Work by the copyright owner
66220+
or by an individual or Legal Entity authorized to submit on behalf of
66221+
the copyright owner. For the purposes of this definition, "submitted"
66222+
means any form of electronic, verbal, or written communication sent
66223+
to the Licensor or its representatives, including but not limited to
66224+
communication on electronic mailing lists, source code control systems,
66225+
and issue tracking systems that are managed by, or on behalf of, the
66226+
Licensor for the purpose of discussing and improving the Work, but
66227+
excluding communication that is conspicuously marked or otherwise
66228+
designated in writing by the copyright owner as "Not a Contribution."
66229+
66230+
"Contributor" shall mean Licensor and any individual or Legal Entity
66231+
on behalf of whom a Contribution has been received by Licensor and
66232+
subsequently incorporated within the Work.
66233+
66234+
2. Grant of Copyright License. Subject to the terms and conditions of
66235+
this License, each Contributor hereby grants to You a perpetual,
66236+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
66237+
copyright license to reproduce, prepare Derivative Works of,
66238+
publicly display, publicly perform, sublicense, and distribute the
66239+
Work and such Derivative Works in Source or Object form.
66240+
66241+
3. Grant of Patent License. Subject to the terms and conditions of
66242+
this License, each Contributor hereby grants to You a perpetual,
66243+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
66244+
(except as stated in this section) patent license to make, have made,
66245+
use, offer to sell, sell, import, and otherwise transfer the Work,
66246+
where such license applies only to those patent claims licensable
66247+
by such Contributor that are necessarily infringed by their
66248+
Contribution(s) alone or by combination of their Contribution(s)
66249+
with the Work to which such Contribution(s) was submitted. If You
66250+
institute patent litigation against any entity (including a
66251+
cross-claim or counterclaim in a lawsuit) alleging that the Work
66252+
or a Contribution incorporated within the Work constitutes direct
66253+
or contributory patent infringement, then any patent licenses
66254+
granted to You under this License for that Work shall terminate
66255+
as of the date such litigation is filed.
66256+
66257+
4. Redistribution. You may reproduce and distribute copies of the
66258+
Work or Derivative Works thereof in any medium, with or without
66259+
modifications, and in Source or Object form, provided that You
66260+
meet the following conditions:
66261+
66262+
(a) You must give any other recipients of the Work or
66263+
Derivative Works a copy of this License; and
66264+
66265+
(b) You must cause any modified files to carry prominent notices
66266+
stating that You changed the files; and
66267+
66268+
(c) You must retain, in the Source form of any Derivative Works
66269+
that You distribute, all copyright, patent, trademark, and
66270+
attribution notices from the Source form of the Work,
66271+
excluding those notices that do not pertain to any part of
66272+
the Derivative Works; and
66273+
66274+
(d) If the Work includes a "NOTICE" text file as part of its
66275+
distribution, then any Derivative Works that You distribute must
66276+
include a readable copy of the attribution notices contained
66277+
within such NOTICE file, excluding those notices that do not
66278+
pertain to any part of the Derivative Works, in at least one
66279+
of the following places: within a NOTICE text file distributed
66280+
as part of the Derivative Works; within the Source form or
66281+
documentation, if provided along with the Derivative Works; or,
66282+
within a display generated by the Derivative Works, if and
66283+
wherever such third-party notices normally appear. The contents
66284+
of the NOTICE file are for informational purposes only and
66285+
do not modify the License. You may add Your own attribution
66286+
notices within Derivative Works that You distribute, alongside
66287+
or as an addendum to the NOTICE text from the Work, provided
66288+
that such additional attribution notices cannot be construed
66289+
as modifying the License.
66290+
66291+
You may add Your own copyright statement to Your modifications and
66292+
may provide additional or different license terms and conditions
66293+
for use, reproduction, or distribution of Your modifications, or
66294+
for any such Derivative Works as a whole, provided Your use,
66295+
reproduction, and distribution of the Work otherwise complies with
66296+
the conditions stated in this License.
66297+
66298+
5. Submission of Contributions. Unless You explicitly state otherwise,
66299+
any Contribution intentionally submitted for inclusion in the Work
66300+
by You to the Licensor shall be under the terms and conditions of
66301+
this License, without any additional terms or conditions.
66302+
Notwithstanding the above, nothing herein shall supersede or modify
66303+
the terms of any separate license agreement you may have executed
66304+
with Licensor regarding such Contributions.
66305+
66306+
6. Trademarks. This License does not grant permission to use the trade
66307+
names, trademarks, service marks, or product names of the Licensor,
66308+
except as required for reasonable and customary use in describing the
66309+
origin of the Work and reproducing the content of the NOTICE file.
66310+
66311+
7. Disclaimer of Warranty. Unless required by applicable law or
66312+
agreed to in writing, Licensor provides the Work (and each
66313+
Contributor provides its Contributions) on an "AS IS" BASIS,
66314+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
66315+
implied, including, without limitation, any warranties or conditions
66316+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
66317+
PARTICULAR PURPOSE. You are solely responsible for determining the
66318+
appropriateness of using or redistributing the Work and assume any
66319+
risks associated with Your exercise of permissions under this License.
66320+
66321+
8. Limitation of Liability. In no event and under no legal theory,
66322+
whether in tort (including negligence), contract, or otherwise,
66323+
unless required by applicable law (such as deliberate and grossly
66324+
negligent acts) or agreed to in writing, shall any Contributor be
66325+
liable to You for damages, including any direct, indirect, special,
66326+
incidental, or consequential damages of any character arising as a
66327+
result of this License or out of the use or inability to use the
66328+
Work (including but not limited to damages for loss of goodwill,
66329+
work stoppage, computer failure or malfunction, or any and all
66330+
other commercial damages or losses), even if such Contributor
66331+
has been advised of the possibility of such damages.
66332+
66333+
9. Accepting Warranty or Additional Liability. While redistributing
66334+
the Work or Derivative Works thereof, You may choose to offer,
66335+
and charge a fee for, acceptance of support, warranty, indemnity,
66336+
or other liability obligations and/or rights consistent with this
66337+
License. However, in accepting such obligations, You may act only
66338+
on Your own behalf and on Your sole responsibility, not on behalf
66339+
of any other Contributor, and only if You agree to indemnify,
66340+
defend, and hold each Contributor harmless for any liability
66341+
incurred by, or claims asserted against, such Contributor by reason
66342+
of your accepting any such warranty or additional liability.
66343+
66344+
END OF TERMS AND CONDITIONS
66345+
66346+
APPENDIX: How to apply the Apache License to your work.
66347+
66348+
To apply the Apache License to your work, attach the following
66349+
boilerplate notice, with the fields enclosed by brackets "[]"
66350+
replaced with your own identifying information. (Don't include
66351+
the brackets!) The text should be enclosed in the appropriate
66352+
comment syntax for the file format. We also recommend that a
66353+
file or class name and description of purpose be included on the
66354+
same "printed page" as the copyright notice for easier
66355+
identification within third-party archives.
66356+
66357+
Copyright [yyyy] [name of copyright owner]
66358+
66359+
Licensed under the Apache License, Version 2.0 (the "License");
66360+
you may not use this file except in compliance with the License.
66361+
You may obtain a copy of the License at
66362+
66363+
http://www.apache.org/licenses/LICENSE-2.0
66364+
66365+
Unless required by applicable law or agreed to in writing, software
66366+
distributed under the License is distributed on an "AS IS" BASIS,
66367+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
66368+
See the License for the specific language governing permissions and
66369+
limitations under the License.
66370+
66371+
6616166372
--------------------------------------------------------------------------------
6616266373
Dependency : github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver
6616366374
Version: v0.139.0

0 commit comments

Comments
 (0)