Skip to content

Commit ebb884c

Browse files
committed
Merge remote-tracking branch 'upstream/main' into crg-farm/opamp-agent-fix
2 parents 9427401 + fa38aa7 commit ebb884c

1,156 files changed

Lines changed: 51631 additions & 35190 deletions

File tree

Some content is hidden

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

.chloggen/44836.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Use this changelog template to create an entry for release notes.
2+
3+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
4+
change_type: enhancement
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. receiver/filelog)
7+
component: cmd/opampsupervisor
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Include recent Collector log output when the Supervisor reports that the Collector crashed
11+
12+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
13+
issues: [44836, 40173, 21079]
14+
15+
# (Optional) One or more lines of additional information to render under the primary note.
16+
# These lines will be padded with 2 spaces and then inserted directly into the document.
17+
# Use pipe (|) for multiline entries.
18+
subtext: |
19+
When a Collector process exits unexpectedly, the Supervisor now can add the relevant
20+
tail of the Collector logs to the health and remote config failure messages sent
21+
to the OpAMP server. This helps operators understand why a remote config failed
22+
without first logging into the host to inspect `agent.log`. This behavior is
23+
disabled by default; set `agent::collector_crash_log_snippet_kib` to a positive
24+
KiB count, such as `4`, up to `1024` (1 MiB) to enable it.
25+
26+
# If your change doesn't affect end users or the exported elements of any package,
27+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
28+
# Optional: The change log or logs in which this entry should be included.
29+
# e.g. '[user]' or '[user, api]'
30+
# Include 'user' if the change is relevant to end users.
31+
# Include 'api' if there is a change to a library API.
32+
# Default: '[user]'
33+
change_logs: [user]

.chloggen/46275.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.chloggen/mongodb-query-sample.yaml renamed to .chloggen/48090-kafkaexporter-request-type-gate.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,24 @@
44
change_type: enhancement
55

66
# The name of the component, or a single word describing the area of concern, (e.g. receiver/filelog)
7-
component: receiver/mongodb
7+
component: exporter/kafka
88

99
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10-
note: Add Query Sample collection to the MongoDB receiver, emitting a `db.server.query_sample` log event for each currently executing operation.
10+
note: Add `exporter.kafka.useRequestType` alpha feature gate that routes all signals through a custom exporterhelper.Request
1111

1212
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
13-
issues: [48573]
13+
issues: [48090]
1414

1515
# (Optional) One or more lines of additional information to render under the primary note.
1616
# These lines will be padded with 2 spaces and then inserted directly into the document.
1717
# Use pipe (|) for multiline entries.
1818
subtext: |
19-
Samples are collected via `$currentOp`, with idle connections and administrative commands
20-
filtered out. Each event includes obfuscated query text and operation metadata.
21-
The `logs` signal is at `development` stability; attribute names may change until OTel
22-
`db.server.query_sample` conventions stabilize. The `metrics` signal remains at `beta`.
19+
When the gate is enabled, traces, metrics, logs, and profiles all convert
20+
pdata into Kafka records at request-creation time and use a custom
21+
Request for queue/batch sizing. `queue_batch.sizer: items` then counts
22+
Kafka records, not OTLP items. The persistent queue (`sending_queue.storage`)
23+
is not supported with this gate; configuring both produces an error at
24+
startup. Default OFF.
2325
2426
# If your change doesn't affect end users or the exported elements of any package,
2527
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.

.chloggen/fix-genainormalizer-messages.yaml renamed to .chloggen/48887-tailsamplingprocessor-race-fix.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,24 @@
44
change_type: bug_fix
55

66
# The name of the component, or a single word describing the area of concern, (e.g. receiver/filelog)
7-
component: processor/gen_ai_normalizer
7+
component: processor/tail_sampling
88

99
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10-
note: Fix OpenInference message normalization for flattened indexed attributes
10+
note: Fix race condition where SetMaximumTraceSizeBytes updates could be applied after incoming traces are evaluated, causing traces to be incorrectly dropped as too large.
1111

1212
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
13-
issues: [48421]
13+
issues: [48887]
1414

1515
# (Optional) One or more lines of additional information to render under the primary note.
1616
# These lines will be padded with 2 spaces and then inserted directly into the document.
1717
# Use pipe (|) for multiline entries.
1818
subtext: |
19-
Reconstruct gen_ai.input.messages and gen_ai.output.messages from
20-
OpenInference flattened indexed span attributes
21-
(llm.{input,output}_messages.N.message.*).
19+
In the iter loop, pending configuration updates (SetMaximumTraceSizeBytes and
20+
SetSamplingPolicy) are now drained before processing incoming trace batches.
21+
This prevents a non-deterministic Go select from picking the workChan case
22+
before a config update channel, which previously caused TestDropLargeTraces
23+
to fail flakily on CI.
24+
2225
# If your change doesn't affect end users or the exported elements of any package,
2326
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
2427
# Optional: The change log or logs in which this entry should be included.

.chloggen/49120-cumulativetodelta-deterministic-metric-types-error.yaml

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
change_type: breaking
2+
component: receiver/host_metrics
3+
note: Make the `cpu` attribute opt-in for hostmetrics CPU time and utilization metrics.
4+
issues: [49161]
5+
subtext: |
6+
By default, `system.cpu.time` and `system.cpu.utilization` are now aggregated across logical CPUs and no longer include the `cpu` attribute.
7+
To restore the previous per-logical-CPU output, configure:
8+
```yaml
9+
receivers:
10+
hostmetrics:
11+
scrapers:
12+
cpu:
13+
metrics:
14+
system.cpu.time:
15+
attributes: [cpu, state]
16+
system.cpu.utilization:
17+
attributes: [cpu, state]
18+
```
19+
change_logs: [user]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
change_type: bug_fix
2+
3+
component: processor/metrics_transform
4+
5+
note: Fix submatch_case config option having no effect at runtime by copying the field into the internal transform struct during config building.
6+
7+
issues: [49171]
8+
9+
change_logs: [user]

.chloggen/49195-fix-window-path-traversal.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.chloggen/datadogexporter-compress-sketches.yaml renamed to .chloggen/49462-sqlquery-close-rows-leak.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
change_type: bug_fix
55

66
# The name of the component, or a single word describing the area of concern, (e.g. receiver/filelog)
7-
component: exporter/datadog
7+
component: internal/sqlquery
88

99
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10-
note: Compress the metric sketches payload with gzip in the legacy metric API client, matching the metric series payload. Previously sketches were sent uncompressed, increasing egress for distribution/histogram metrics.
10+
note: Close sql.Rows in QueryRows so the underlying driver connection is released on early-return and error paths.
1111

1212
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
13-
# TODO: replace 00000 with the tracking issue or PR number before opening the PR.
14-
issues: [49313]
13+
issues: [49462]
1514

1615
# (Optional) One or more lines of additional information to render under the primary note.
1716
# These lines will be padded with 2 spaces and then inserted directly into the document.
1817
# Use pipe (|) for multiline entries.
19-
subtext:
18+
subtext: |
19+
Fixes a memory leak in consumers of internal/sqlquery (sqlserver, postgresql, mysql, oracledb, sqlquery receivers). Previously, when ColumnTypes or row scanning returned early with an error, or when the context was cancelled mid-iteration, sql.Rows was never closed, so the underlying connection stayed marked in-use in the *sql.DB pool. On drivers that allocate per-connection buffers (e.g. go-mssqldb's 64 KiB TDS buffer), this manifested as steady RSS growth under long-running scrapes.
2020
2121
# If your change doesn't affect end users or the exported elements of any package,
2222
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
change_type: bug_fix
2+
3+
component: pkg/fileconsumer
4+
5+
note: Fix fingerprint generation for gzip-compressed files when the file descriptor is positioned at a non-zero offset.
6+
7+
issues: [49473]
8+
9+
subtext:
10+
11+
change_logs: [user]

0 commit comments

Comments
 (0)