Skip to content

Commit e8983c2

Browse files
committed
Bump stanza operator slice feature gates
1 parent 2c465a2 commit e8983c2

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed

.chloggen/pkg-stanza-slice-ops.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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. filelogreceiver)
7+
component: pkg/stanza
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Bump 'logs.jsonParserArray' and 'logs.assignKeys' feature gates to beta.
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: [33948]
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+
This enables the feature gates by default to allow use of the
20+
`json_array_parser` and `assign_keys` operations.
21+
22+
# If your change doesn't affect end users or the exported elements of any package,
23+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
24+
# Optional: The change log or logs in which this entry should be included.
25+
# e.g. '[user]' or '[user, api]'
26+
# Include 'user' if the change is relevant to end users.
27+
# Include 'api' if there is a change to a library API.
28+
# Default: '[user]'
29+
change_logs: []

pkg/stanza/operator/parser/jsonarray/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const (
2121

2222
var jsonArrayParserFeatureGate = featuregate.GlobalRegistry().MustRegister(
2323
"logs.jsonParserArray",
24-
featuregate.StageAlpha,
24+
featuregate.StageBeta,
2525
featuregate.WithRegisterDescription("When enabled, allows usage of `json_array_parser`."),
2626
featuregate.WithRegisterReferenceURL("https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/30321"),
2727
)

pkg/stanza/operator/transformer/assignkeys/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const operatorType = "assign_keys"
1717

1818
var assignKeysTransformerFeatureGate = featuregate.GlobalRegistry().MustRegister(
1919
"logs.assignKeys",
20-
featuregate.StageAlpha,
20+
featuregate.StageBeta,
2121
featuregate.WithRegisterDescription("When enabled, allows usage of `assign_keys` transformer."),
2222
featuregate.WithRegisterReferenceURL("https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/30321"),
2323
)

0 commit comments

Comments
 (0)