Skip to content

Commit 2778429

Browse files
committed
Merge branch 'main' into add-cloud-provider-attribute
* main: (22 commits) [receiver/awsfirehose] Add support for encoding extensions (open-telemetry#37262) fix(deps): update module google.golang.org/api to v0.223.0 (open-telemetry#38181) [chore] skip TestSyslogComplementaryRFC3164 (open-telemetry#38240) fix(deps): update module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common to v1.0.1106 (open-telemetry#38199) [provider/s3] Use mdatagen, promote to alpha (open-telemetry#38227) fix: fix flaky test in kafkatopicsobserver (open-telemetry#38218) [processor/resourcedetection] Add k8s.cluster.uid to kubeadm detector (open-telemetry#38216) Revert "Add issue generation from fkaly tests for all archs (open-telemetry#38191)" (open-telemetry#38230) Revert "Introduce issuegenerator to open issues when tests fail on main (open-telemetry#38177)" (open-telemetry#38231) [chore] Update otelcol core dependency (open-telemetry#38214) [pkg/stanza] Improve error logs produced by transformer processors (open-telemetry#37285) [receiver/statsd] Make full config structure public (open-telemetry#38186) processor/metricsstarttime: add ridwanmsharif as codeowner (open-telemetry#38193) fix(deps): update module github.com/huaweicloud/huaweicloud-sdk-go-v3 to v0.1.137 (open-telemetry#38154) [pkg/datadog] export StaticAPIKeyCheck (open-telemetry#38223) [chore][pkg/ottl] Move scope and resource PathGetSetters to internal ctx packages (open-telemetry#38225) fix(deps): update all github.com/datadog packages to v0.64.0-rc.3 (open-telemetry#38202) feat(telemetrygen): added support for delta temporality (open-telemetry#38146) [chore] Some more fixes of component IDs (open-telemetry#38221) [chore][pkg/ottl] Define PathGetSetter in ctxdatapoint (open-telemetry#38201) ...
2 parents 204e945 + 81c5eee commit 2778429

File tree

714 files changed

+24371
-19543
lines changed

Some content is hidden

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

714 files changed

+24371
-19543
lines changed

.chloggen/envoyals-alpha.yaml

+27
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. filelogreceiver)
7+
component: envoyalsreceiver
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Mark `envoyalsreceiver` as an alpha receiver.
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: [36464]
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+
20+
# If your change doesn't affect end users or the exported elements of any package,
21+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
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: []
+27
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. filelogreceiver)
7+
component: awsfirehosereceiver
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Add support for encoding extensions
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: [37113]
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: Adds `encoding` config setting, and deprecates the `record_type` setting.
19+
20+
# If your change doesn't affect end users or the exported elements of any package,
21+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
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]
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: Add entry's timestamp and attributes to errors logs from log transformers processors
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: [37285]
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 log transformer processor fails to process an log entry it will include entry's timestamp and attributes in its own logs.
20+
With this information the user can more easily identify the log file and find the entry that's having issues.
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: [user]

.chloggen/kubeadm-uid.yaml

+27
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. filelogreceiver)
7+
component: processor/resourcedetection
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: "Add k8s.cluster.uid to kubeadm detector"
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: [38207]
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+
20+
# If your change doesn't affect end users or the exported elements of any package,
21+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
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: []
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. filelogreceiver)
7+
component: telemetrygen
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: "Add support for `aggregation-temporality` flag in telemetrygen. Supported values (delta or cumulative)"
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: [38073]
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+
20+
# If your change doesn't affect end users or the exported elements of any package,
21+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
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: []
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. filelogreceiver)
7+
component: pkg/datadog
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: StaticAPIKeyCheck available in pkg/datadog to validate Datadog api is key not empty and no invalid characters
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: [38223]
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: refactor of existing logic for export
19+
20+
# If your change doesn't affect end users or the exported elements of any package,
21+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
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: [api]

.chloggen/s3provider-mdatagen.yaml

+27
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. filelogreceiver)
7+
component: confmap/provider/s3
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Promote to alpha stability
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: [38227]
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+
20+
# If your change doesn't affect end users or the exported elements of any package,
21+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
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: []

.chloggen/statsd-public-config.yaml

+27
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. filelogreceiver)
7+
component: receiver/statsd
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Make all types within the config struct public
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: [38186]
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: This allows programmatically generating the receiver's config using the module's public types.
19+
20+
# If your change doesn't affect end users or the exported elements of any package,
21+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
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: [api]

.github/CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ processor/k8sattributesprocessor/ @open-telemetry
187187
processor/logdedupprocessor/ @open-telemetry/collector-contrib-approvers @MikeGoldsmith @djaglowski
188188
processor/logstransformprocessor/ @open-telemetry/collector-contrib-approvers @dehaansa
189189
processor/metricsgenerationprocessor/ @open-telemetry/collector-contrib-approvers @Aneurysm9
190-
processor/metricstarttimeprocessor/ @open-telemetry/collector-contrib-approvers @dashpole
190+
processor/metricstarttimeprocessor/ @open-telemetry/collector-contrib-approvers @dashpole @ridwanmsharif
191191
processor/metricstransformprocessor/ @open-telemetry/collector-contrib-approvers @dmitryax
192192
processor/probabilisticsamplerprocessor/ @open-telemetry/collector-contrib-approvers @jpkrohling @jmacd
193193
processor/redactionprocessor/ @open-telemetry/collector-contrib-approvers @dmitryax @mx-psi @TylerHelmuth

.github/workflows/build-and-test-arm.yml

-31
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,6 @@ jobs:
6868
run: make install-tools
6969
- name: Run Unit Tests
7070
run: make -j2 gotest GROUP=${{ matrix.group }}
71-
- name: Run Unit Tests With JUnit and Coverage
72-
run: make gotest-with-junit-and-cover GROUP=${{ matrix.group }}
73-
- uses: actions/upload-artifact@v4
74-
with:
75-
name: test-results-${{ runner.os }}-${{ matrix.group }}
76-
path: internal/tools/testresults/
77-
retention-days: 4
7871
arm-unittest:
7972
if: ${{ github.actor != 'dependabot[bot]' && (contains(github.event.pull_request.labels.*.name, 'Run ARM') || github.event_name == 'push' || github.event_name == 'merge_group') }}
8073
runs-on: ubuntu-24.04
@@ -91,27 +84,3 @@ jobs:
9184
echo "One or more matrix jobs failed."
9285
false
9386
fi
94-
95-
arm-flakytests-generate-issues:
96-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
97-
runs-on: ubuntu-24.04
98-
needs: [arm-unittest-matrix]
99-
steps:
100-
- uses: actions/checkout@v4
101-
- uses: actions/download-artifact@v4
102-
with:
103-
merge-multiple: true
104-
pattern: test-results-*
105-
path: ./internal/tools/testresults/
106-
- name: Install Tools
107-
run: make install-tools
108-
- name: Generate Issues
109-
run: |
110-
# We want to start by generating issues of a single component
111-
# As we mature the usage of issuegenerator, we can extend it to
112-
# generate issues for multiple components.
113-
#
114-
# We'll start with the hostmetricsreceiver.
115-
mkdir -p ./internal/tools/testresults/hostmetricsreceiver
116-
mv ./internal/tools/testresults/g.yxqyang.asia-open-telemetry-opentelemetry-collector-contrib-receiver-hostmetricsreceiver-junit.xml ./internal/tools/testresults/hostmetricsreceiver/
117-
./tools/issuegenerator -path ./internal/tools/testresults/hostmetricsreceiver/

.github/workflows/build-and-test-darwin.yaml

-30
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,6 @@ jobs:
8282
run: unzip testbinaries.zip
8383
- name: Run Unit Tests
8484
run: make -j2 gorunbuilttest GROUP=cgo
85-
- name: Run Unit Tests With JUnit and Coverage
86-
run: make gotest-with-junit-and-cover
87-
- uses: actions/upload-artifact@v4
88-
with:
89-
name: test-results-${{ runner.os }}
90-
path: internal/tools/testresults/
91-
retention-days: 4
9285
darwin-unittest:
9386
if: ${{ github.actor != 'dependabot[bot]' && (contains(github.event.pull_request.labels.*.name, 'Run Darwin') || github.event_name == 'push' || github.event_name == 'merge_group') }}
9487
runs-on: macos-latest
@@ -105,26 +98,3 @@ jobs:
10598
echo "One or more matrix jobs failed."
10699
false
107100
fi
108-
darwin-flakytests-generate-issues:
109-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
110-
runs-on: ubuntu-24.04
111-
needs: [darwin-unittest-matrix]
112-
steps:
113-
- uses: actions/checkout@v4
114-
- uses: actions/download-artifact@v4
115-
with:
116-
merge-multiple: true
117-
pattern: test-results-*
118-
path: ./internal/tools/testresults/
119-
- name: Install Tools
120-
run: make install-tools
121-
- name: Generate Issues
122-
run: |
123-
# We want to start by generating issues of a single component
124-
# As we mature the usage of issuegenerator, we can extend it to
125-
# generate issues for multiple components.
126-
#
127-
# We'll start with the hostmetricsreceiver.
128-
mkdir -p ./internal/tools/testresults/hostmetricsreceiver
129-
mv ./internal/tools/testresults/g.yxqyang.asia-open-telemetry-opentelemetry-collector-contrib-receiver-hostmetricsreceiver-junit.xml ./internal/tools/testresults/hostmetricsreceiver/
130-
./tools/issuegenerator -path ./internal/tools/testresults/hostmetricsreceiver/

.github/workflows/build-and-test-windows.yml

-31
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,6 @@ jobs:
7979
run: make "$(${PWD} -replace '\\', '/')/.tools/gotestsum"
8080
- name: Run Unit tests
8181
run: make -j2 gotest GROUP=${{ matrix.group }}
82-
- name: Run Unit Tests With JUnit and Coverage
83-
run: make gotest-with-junit-and-cover GROUP=${{ matrix.group }}
84-
- uses: actions/upload-artifact@v4
85-
with:
86-
name: test-results-${{ runner.os }}-${{ matrix.group }}
87-
path: internal/tools/testresults/
88-
retention-days: 4
8982
windows-unittest:
9083
if: ${{ github.actor != 'dependabot[bot]' && (contains(github.event.pull_request.labels.*.name, 'Run Windows') || github.event_name == 'push' || github.event_name == 'merge_group') }}
9184
runs-on: windows-latest
@@ -103,27 +96,3 @@ jobs:
10396
echo "One or more matrix jobs failed."
10497
false
10598
fi
106-
107-
windows-flakytests-generate-issues:
108-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
109-
runs-on: ubuntu-24.04
110-
needs: [windows-unittest-matrix]
111-
steps:
112-
- uses: actions/checkout@v4
113-
- uses: actions/download-artifact@v4
114-
with:
115-
merge-multiple: true
116-
pattern: test-results-*
117-
path: ./internal/tools/testresults/
118-
- name: Install Tools
119-
run: make install-tools
120-
- name: Generate Issues
121-
run: |
122-
# We want to start by generating issues of a single component
123-
# As we mature the usage of issuegenerator, we can extend it to
124-
# generate issues for multiple components.
125-
#
126-
# We'll start with the hostmetricsreceiver.
127-
mkdir -p ./internal/tools/testresults/hostmetricsreceiver
128-
mv ./internal/tools/testresults/g.yxqyang.asia-open-telemetry-opentelemetry-collector-contrib-receiver-hostmetricsreceiver-junit.xml ./internal/tools/testresults/hostmetricsreceiver/
129-
./tools/issuegenerator -path ./internal/tools/testresults/hostmetricsreceiver/

.github/workflows/build-and-test.yml

-24
Original file line numberDiff line numberDiff line change
@@ -648,27 +648,3 @@ jobs:
648648
return
649649
}
650650
}
651-
652-
flakytests-generate-issues:
653-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
654-
runs-on: ubuntu-24.04
655-
needs: [unittest-matrix]
656-
steps:
657-
- uses: actions/checkout@v4
658-
- uses: actions/download-artifact@v4
659-
with:
660-
merge-multiple: true
661-
pattern: test-results-*
662-
path: ./internal/tools/testresults/
663-
- name: Install Tools
664-
run: make install-tools
665-
- name: Generate Issues
666-
run: |
667-
# We want to start by generating issues of a single component
668-
# As we mature the usage of issuegenerator, we can extend it to
669-
# generate issues for multiple components.
670-
#
671-
# We'll start with the hostmetricsreceiver.
672-
mkdir -p ./internal/tools/testresults/hostmetricsreceiver
673-
mv ./internal/tools/testresults/g.yxqyang.asia-open-telemetry-opentelemetry-collector-contrib-receiver-hostmetricsreceiver-junit.xml ./internal/tools/testresults/hostmetricsreceiver/
674-
./tools/issuegenerator -path ./internal/tools/testresults/hostmetricsreceiver/

0 commit comments

Comments
 (0)