Skip to content

Commit 350e00b

Browse files
Merge branch 'main' into feat/allow-fleet-config-override
2 parents 9822981 + fbc22fb commit 350e00b

Some content is hidden

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

41 files changed

+1347
-420
lines changed

.buildkite/scripts/steps/validate-agentless-docker-image.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,13 @@ _SELF=$(dirname "$0")
2424
source "${_SELF}/../common.sh"
2525

2626
if [ -z "$SERVICE_VERSION" ]; then
27-
echo "No SHA found for environment: $ENVIRONMENT"
27+
echo "SERVICE_VERSION environment variable is not set"
2828
exit 1
2929
fi
3030

3131
DOCKER_TAG="git-${SERVICE_VERSION}"
3232
PRIVATE_IMAGE="${PRIVATE_REPO}:${DOCKER_TAG}"
3333

34-
echo "Environment: ${ENVIRONMENT}"
3534
echo "Commit SHA: ${SERVICE_VERSION}"
3635
echo "Validating image: ${PRIVATE_IMAGE}"
3736

.github/workflows/bump-otel-version.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ name: bump-otel-version
22

33
on:
44
workflow_dispatch:
5-
schedule:
6-
- cron: '24 5 * * 1-5'
5+
# Disabled because we do the updates manually, due to upstream dependencies like beats and elastic components
6+
#schedule:
7+
#- cron: '24 5 * * 1-5'
78

89
permissions:
910
contents: read

.mockery.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ packages:
1717
github.com/elastic/elastic-agent/internal/pkg/agent/application/info:
1818
interfaces:
1919
Agent: {}
20+
github.com/elastic/elastic-agent/internal/pkg/agent/application/gateway/fleet:
21+
interfaces:
22+
rollbacksSource: {}
2023
github.com/elastic/elastic-agent/internal/pkg/agent/application/upgrade:
2124
interfaces:
2225
WatcherHelper: {}

.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-ce77dc22",
4-
"manifest_url": "https://snapshots.elastic.co/9.3.0-ce77dc22/manifest-9.3.0-SNAPSHOT.json",
5-
"summary_url": "https://snapshots.elastic.co/9.3.0-ce77dc22/summary-9.3.0-SNAPSHOT.html",
3+
"build_id": "9.3.0-a866d8e8",
4+
"manifest_url": "https://snapshots.elastic.co/9.3.0-a866d8e8/manifest-9.3.0-SNAPSHOT.json",
5+
"summary_url": "https://snapshots.elastic.co/9.3.0-a866d8e8/summary-9.3.0-SNAPSHOT.html",
66
"core_version": "9.3.0",
7-
"stack_build_id": "9.3.0-ce77dc22-SNAPSHOT"
7+
"stack_build_id": "9.3.0-a866d8e8-SNAPSHOT"
88
}

NOTICE-fips.txt

Lines changed: 294 additions & 20 deletions
Large diffs are not rendered by default.

NOTICE.txt

Lines changed: 331 additions & 20 deletions
Large diffs are not rendered by default.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# REQUIRED
2+
# Kind can be one of:
3+
# - breaking-change: a change to previously-documented behavior
4+
# - deprecation: functionality that is being removed in a later release
5+
# - bug-fix: fixes a problem in a previous version
6+
# - enhancement: extends functionality but does not break or fix existing behavior
7+
# - feature: new functionality
8+
# - known-issue: problems that we are aware of in a given version
9+
# - security: impacts on the security of a product or a user’s deployment.
10+
# - upgrade: important information for someone upgrading from a prior version
11+
# - other: does not fit into any of the other categories
12+
kind: bug-fix
13+
14+
# REQUIRED for all kinds
15+
# Change summary; a 80ish characters long description of the change.
16+
summary: set path.home for beat receivers to components directory
17+
18+
# REQUIRED for breaking-change, deprecation, known-issue
19+
# Long description; in case the summary is not enough to describe the change
20+
# this field accommodate a description without length limits.
21+
# description:
22+
23+
# REQUIRED for breaking-change, deprecation, known-issue
24+
# impact:
25+
26+
# REQUIRED for breaking-change, deprecation, known-issue
27+
# action:
28+
29+
# REQUIRED for all kinds
30+
# Affected component; usually one of "elastic-agent", "fleet-server", "filebeat", "metricbeat", "auditbeat", "all", etc.
31+
component: elastic-agent
32+
33+
# AUTOMATED
34+
# OPTIONAL to manually add other PR URLs
35+
# PR URL: A link the PR that added the changeset.
36+
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
37+
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
38+
# Please provide it if you are adding a fragment for a different PR.
39+
# pr: https://github.com/owner/repo/1234
40+
pr: https://github.com/elastic/elastic-agent/pull/11726
41+
42+
# AUTOMATED
43+
# OPTIONAL to manually add other issue URLs
44+
# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
45+
# If not present is automatically filled by the tooling with the issue linked to the PR number.
46+
# issue: https://github.com/owner/repo/1234
47+
issue: https://github.com/elastic/beats/issues/48010

dev-tools/notice/rules.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
],
1616
"maybelist": [
1717
"EPL-1.0",
18+
"EPL-2.0",
1819
"GPL-3.0"
1920
]
2021
}

docs/reference/edot-collector/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The {{edot}} (EDOT) Collector includes embedded Collector components from the [O
2121
The components included in the EDOT Collector are categorized into **[Core]** and **[Extended]** components. The following table describes the current components included in the EDOT Collector, their source, and support status.
2222

2323
::::{note}
24-
Components marked as "Deprecated" in the table are retained in EDOT Collector 9.x to maintain backwards compatibility during the official deprecation window. If you're running EDOT Collector 9.x with {{product.elastic-stack}} 8.18 or 8.19, continue using these deprecated components as specified in the configuration for your Stack version. For more details, refer to [Configuration compatibility with {{product.elastic-stack}} versions](/reference/edot-collector/config/default-config-standalone.md#configuration-compatibility-with-elastic-stack-versions).
24+
Components marked as "Deprecated" in the table are retained in EDOT Collector 9.x to maintain backwards compatibility during the official deprecation window. If you're running EDOT Collector 9.x with {{product.elastic-stack}} 8.18 or 8.19, continue using these deprecated components as specified in the configuration for your Stack version. For more details, refer to [Configuration compatibility with {{product.elastic-stack}} versions](/reference/edot-collector/config/default-config-standalone.md#configuration-compatibility-with-elastic-stack-versions). To migrate your configuration to the new components, refer to [Migrate components](/reference/edot-collector/components/migrate-components.md).
2525
::::
2626

2727
% The following table is automatically generated from the EDOT Collector source code.
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
navigation_title: Migrate components
3+
description: How to migrate from deprecated EDOT Collector components to their replacements.
4+
applies_to:
5+
stack:
6+
serverless:
7+
observability:
8+
product:
9+
edot_collector: ga
10+
type: how-to
11+
products:
12+
- id: cloud-serverless
13+
- id: observability
14+
- id: edot-collector
15+
---
16+
17+
# Migrate from deprecated components
18+
19+
This guide explains how to migrate from deprecated EDOT Collector components to their replacements.
20+
21+
## Before you begin
22+
23+
- Make sure your {{product.elastic-stack}} is running version {{version.stack.base}}. If you're using {{product.elastic-stack}} version 8.18 or 8.19, continue using the deprecated components as specified in the configuration for your Stack version.
24+
- Have access to a staging environment where you can test the new configuration before deploying to production.
25+
26+
## Migrate your configuration
27+
28+
Follow these steps to migrate your existing EDOT Collector configuration.
29+
30+
:::::{stepper}
31+
32+
::::{step} Download the latest default configuration
33+
Download the configuration sample that matches your use case from the [default configuration samples](/reference/edot-collector/config/default-config-standalone.md#agent-mode). For Gateway mode, refer to the [Gateway mode section](/reference/edot-collector/config/default-config-standalone.md#gateway-mode).
34+
35+
The latest configurations for {{product.elastic-stack}} 9.x use the latest components instead of the deprecated ones.
36+
::::
37+
38+
::::{step} Test the new configuration in staging
39+
Before deploying to production, validate the new configuration in a staging environment:
40+
41+
1. Deploy the EDOT Collector with the new configuration to your staging environment.
42+
2. Verify that telemetry data (logs, metrics, and traces) is being collected and exported correctly.
43+
3. Check that the data appears correctly in the {{product.observability}} UIs in {{product.kibana}}.
44+
4. Test any custom pipelines or configurations you might have added on top of the default configuration.
45+
46+
:::{tip}
47+
If you have custom configurations, compare your existing configuration with the new default to identify which sections need updating.
48+
:::
49+
::::
50+
51+
::::{step} Apply the new configuration in production
52+
After validating the configuration in staging:
53+
54+
1. Schedule a maintenance window for the update if necessary.
55+
2. Back up your existing EDOT Collector configuration.
56+
3. Deploy the new configuration to your production collectors.
57+
4. Monitor the {{product.observability}} UIs to ensure data continues to flow correctly.
58+
::::
59+
60+
:::::
61+
62+
::::{important}
63+
If you're upgrading EDOT Collector to 9.x but keeping your {{product.elastic-stack}} on 8.18 or 8.19:
64+
65+
- Use the configuration examples for your Stack version (8.18 or 8.19), not the latest 9.x configuration.
66+
- Continue using deprecated components that are included in the configuration for your Stack version.
67+
- These deprecated components are retained in EDOT Collector 9.x specifically to maintain backwards compatibility during the official deprecation window.
68+
::::
69+
70+
## Related pages
71+
72+
- [Default configuration (standalone)](/reference/edot-collector/config/default-config-standalone.md)
73+
- [Components included in the EDOT Collector](/reference/edot-collector/components.md)

0 commit comments

Comments
 (0)