Skip to content

Commit 374139d

Browse files
committed
Auto stash before checking out "origin/main"
1 parent be09659 commit 374139d

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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. otlpreceiver)
7+
component: exporterhelper
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Enable `exporter.PersistRequestContext` feature gate by default.
11+
12+
# One or more tracking issues or pull requests related to the change
13+
issues: [13437]
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+
Request context is now preserved by default when using persistent queues.
20+
Note that Auth extensions context is not propagated through the persistent queue.
21+
22+
# Optional: The change log or logs in which this entry should be included.
23+
# e.g. '[user]' or '[user, api]'
24+
# Include 'user' if the change is relevant to end users.
25+
# Include 'api' if there is a change to a library API.
26+
# Default: '[user]'
27+
change_logs: [user]

exporter/exporterhelper/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ similarly as for in-memory buffering, defaults to 1000 batches).
4949

5050
When persistent queue is enabled, the batches are being buffered using the provided storage extension - [filestorage] is a popular and safe choice. If the collector instance is killed while having some items in the persistent queue, on restart the items will be picked and the exporting is continued.
5151

52+
**Context Propagation**: Request context (including client metadata and span context) is preserved when using persistent queues. However, context set by Auth extensions is **not** propagated through the persistent queue. Auth extension context is ignored when data is persisted to disk, which means authentication/authorization information will not be available when the persisted data is processed.
53+
5254
```
5355
┌─Consumer #1─┐
5456
│ ┌───┐ │

exporter/exporterhelper/internal/queue/fg.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import "go.opentelemetry.io/collector/featuregate"
88
// PersistRequestContextFeatureGate controls whether request context should be preserved in the persistent queue.
99
var PersistRequestContextFeatureGate = featuregate.GlobalRegistry().MustRegister(
1010
"exporter.PersistRequestContext",
11-
featuregate.StageAlpha,
11+
featuregate.StageBeta,
1212
featuregate.WithRegisterFromVersion("v0.128.0"),
1313
featuregate.WithRegisterDescription("controls whether context should be stored alongside requests in the persistent queue"),
1414
)

0 commit comments

Comments
 (0)