Skip to content

Commit 5967ab4

Browse files
Merge branch 'main' into add-receivers-v130
2 parents 47ebaf1 + ecb0e06 commit 5967ab4

File tree

10 files changed

+2585
-1475
lines changed

10 files changed

+2585
-1475
lines changed

.ci/scripts/update-otel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ else
5252
fi
5353
elastic-agent-changelog-tool new "$changelog_fragment_name"
5454
sed -i.bak "s/^kind:.*$/kind: enhancement/" ./changelog/fragments/*-"${changelog_fragment_name}".yaml
55-
sed -i.bak "s/^summary:.*$/summary: Update OTel components to ${next_contrib}/" ./changelog/fragments/*-"${changelog_fragment_name}".yaml
55+
sed -i.bak "s/^summary:.*$/summary: Update OTel Collector components to ${next_contrib}/" ./changelog/fragments/*-"${changelog_fragment_name}".yaml
5656
sed -i.bak "s/^component:.*$/component: elastic-agent/" ./changelog/fragments/*-"${changelog_fragment_name}".yaml
5757
rm ./changelog/fragments/*-"${changelog_fragment_name}".yaml.bak

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ linters:
5959
- github.com/google/gopacket
6060
- github.com/insomniacslk/dhcp
6161
- github.com/meraki/dashboard-api-go/v3
62+
- go.opentelemetry.io/otel/exporters/prometheus
6263
replace-local: false
6364
gomodguard:
6465
blocked:

NOTICE-fips.txt

Lines changed: 918 additions & 374 deletions
Large diffs are not rendered by default.

NOTICE.txt

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

go.mod

Lines changed: 207 additions & 199 deletions
Large diffs are not rendered by default.

go.sum

Lines changed: 449 additions & 438 deletions
Large diffs are not rendered by default.

internal/pkg/otel/README.md

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

internal/pkg/otel/manager/manager_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ func TestOTelManager_Logging(t *testing.T) {
772772
logs := obs.All()
773773
require.NotEmpty(collect, logs, "Logs should not be empty")
774774
firstMessage := logs[0].Message
775-
assert.Equal(collect, firstMessage, "Setting up own telemetry...")
775+
assert.Equal(collect, "Internal metrics telemetry disabled", firstMessage)
776776
}, time.Second*10, time.Second)
777777
}
778778

internal/pkg/otel/translate/otelconfig_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,10 @@ func TestGetOtelConfig(t *testing.T) {
294294
"block_on_overflow": true,
295295
"wait_for_result": true,
296296
"batch": map[string]any{
297-
"max_size": 1600,
298-
"min_size": 0,
299-
"sizer": "items",
297+
"flush_timeout": "10s",
298+
"max_size": 1600,
299+
"min_size": 0,
300+
"sizer": "items",
300301
},
301302
},
302303
"logs_dynamic_id": map[string]any{

0 commit comments

Comments
 (0)