Skip to content

Commit 79f029e

Browse files
authored
Merge branch 'main' into fix-issue-open-telemetry#11820
2 parents e2b7c86 + fa49026 commit 79f029e

File tree

178 files changed

+1635
-960
lines changed

Some content is hidden

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

178 files changed

+1635
-960
lines changed

.chloggen/add-scraper-for-logs.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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: receiver/scraperhelper
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Add scraper for logs
11+
12+
# One or more tracking issues or pull requests related to the change
13+
issues: [11238]
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+
# Optional: The change log or logs in which this entry should be included.
21+
# e.g. '[user]' or '[user, api]'
22+
# Include 'user' if the change is relevant to end users.
23+
# Include 'api' if there is a change to a library API.
24+
# Default: '[user]'
25+
change_logs: [api]

.chloggen/sharedcomp.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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: bug_fix
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
7+
component: sharedcomponent
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Remove race-condition and cleanup locking
11+
12+
# One or more tracking issues or pull requests related to the change
13+
issues: [11819]
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+
# Optional: The change log or logs in which this entry should be included.
21+
# e.g. '[user]' or '[user, api]'
22+
# Include 'user' if the change is relevant to end users.
23+
# Include 'api' if there is a change to a library API.
24+
# Default: '[user]'
25+
change_logs: []

.chloggen/withotelhttpoption.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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: xconfighttp
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: "Add WithOtelHTTPOptions to experimental module xconfighttp"
11+
12+
# One or more tracking issues or pull requests related to the change
13+
issues: [11770]
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+
# Optional: The change log or logs in which this entry should be included.
21+
# e.g. '[user]' or '[user, api]'
22+
# Include 'user' if the change is relevant to end users.
23+
# Include 'api' if there is a change to a library API.
24+
# Default: '[user]'
25+
change_logs: []

.github/CODEOWNERS

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,23 @@
1515
* @open-telemetry/collector-approvers
1616

1717
# List all maintainers individually so all of them are notified
18-
.github/CODEOWNERS @codeboten @BogdanDrutu @dmitryax @mx-psi
19-
docs/rfc @codeboten @BogdanDrutu @dmitryax @mx-psi
18+
.github/CODEOWNERS @codeboten @BogdanDrutu @dmitryax @mx-psi
19+
docs/rfc @codeboten @BogdanDrutu @dmitryax @mx-psi
20+
21+
confmap/ @mx-psi @evan-bradley
22+
exporter/debugexporter @andrzej-stencel
23+
exporter/exporterhelper @BogdanDrutu @dmitryax
24+
exporter/nopexporter @evan-bradley
25+
pdata/ @BogdanDrutu @dmitryax
26+
receiver/nopreceiver @evan-bradley
27+
service/internal/graph @djaglowski
28+
extension/experimental/storage @swiatekm
29+
30+
# Profiling-related modules
31+
pdata/pprofile @mx-psi @dmathieu
32+
consumer/consumerprofiles @mx-psi @dmathieu
33+
connector/connectorprofiles @mx-psi @dmathieu
34+
exporter/exporterhelper/exporterhelperprofiles @mx-psi @dmathieu
35+
exporter/exporterprofiles @mx-psi @dmathieu
36+
processor/processorprofiles @mx-psi @dmathieu
37+
receiver/receiverprofiles @mx-psi @dmathieu

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permissions:
1818

1919
# Do not cancel this workflow on main. See https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/16616
2020
concurrency:
21-
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
21+
group: ${{ github.workflow }}-${{ github.ref_name }}
2222
cancel-in-progress: true
2323

2424
jobs:
@@ -37,7 +37,7 @@ jobs:
3737
- name: Cache Go
3838
id: go-cache
3939
timeout-minutes: 5
40-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
40+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
4141
with:
4242
path: |
4343
~/go/bin

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
pull_request:
1010

1111
concurrency:
12-
group: ${{ github.workflow }}-${{ github.head_ref }}
12+
group: ${{ github.workflow }}-${{ github.ref_name }}
1313
cancel-in-progress: true
1414

1515
permissions:
@@ -27,7 +27,7 @@ jobs:
2727
go-version: ~1.22.9
2828
cache: false
2929
- name: Cache Go
30-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
30+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
3131
env:
3232
cache-name: cache-go-modules
3333
with:
@@ -52,7 +52,7 @@ jobs:
5252
go-version: ~1.22.9
5353
cache: false
5454
- name: Cache Go
55-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
55+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
5656
env:
5757
cache-name: cache-go-modules
5858
with:

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
contents: read
1313

1414
concurrency:
15-
group: ${{ github.workflow }}-${{ github.head_ref }}
15+
group: ${{ github.workflow }}-${{ github.ref_name }}
1616
cancel-in-progress: true
1717

1818
jobs:
@@ -28,7 +28,7 @@ jobs:
2828
cache: false
2929
- name: Cache Go
3030
id: go-cache
31-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
31+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
3232
with:
3333
path: |
3434
~/go/bin
@@ -51,7 +51,7 @@ jobs:
5151
cache: false
5252
- name: Cache Go
5353
id: go-cache
54-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
54+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
5555
with:
5656
path: |
5757
~/go/bin
@@ -75,7 +75,7 @@ jobs:
7575
cache: false
7676
- name: Cache Go
7777
id: go-cache
78-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
78+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
7979
with:
8080
path: |
8181
~/go/bin
@@ -100,7 +100,7 @@ jobs:
100100
cache: false
101101
- name: Cache Go
102102
id: go-cache
103-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
103+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
104104
with:
105105
path: |
106106
~/go/bin
@@ -156,14 +156,14 @@ jobs:
156156
cache: false
157157
- name: Cache Go
158158
id: go-cache
159-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
159+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
160160
with:
161161
path: |
162162
~/go/bin
163163
~/go/pkg/mod
164164
key: go-cache-${{ runner.os }}-${{ matrix.runner }}-${{ hashFiles('**/go.sum') }}
165165
- name: Cache Build
166-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
166+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
167167
with:
168168
path: ~/.cache/go-build
169169
key: unittest-${{ runner.os }}-${{ matrix.runner }}-go-build-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
@@ -200,21 +200,21 @@ jobs:
200200
cache: false
201201
- name: Cache Go
202202
id: go-cache
203-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
203+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
204204
with:
205205
path: |
206206
~/go/bin
207207
~/go/pkg/mod
208208
key: go-cache-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
209209
- name: Cache Build
210-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
210+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
211211
with:
212212
path: ~/.cache/go-build
213213
key: coverage-${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
214214
- name: Run Unit Tests With Coverage
215215
run: make gotest-with-cover
216216
- name: Upload coverage report
217-
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # 5.0.7
217+
uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e # 5.1.1
218218
env:
219219
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
220220

@@ -262,7 +262,7 @@ jobs:
262262
cache: false
263263
- name: Cache Go
264264
id: go-cache
265-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
265+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
266266
with:
267267
path: |
268268
~/go/bin

.github/workflows/builder-integration-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020
types: [checks_requested]
2121

2222
concurrency:
23-
group: ${{ github.workflow }}-${{ github.head_ref }}
23+
group: ${{ github.workflow }}-${{ github.ref_name }}
2424
cancel-in-progress: true
2525

2626
permissions:

.github/workflows/changelog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
types: [checks_requested]
1414

1515
concurrency:
16-
group: ${{ github.workflow }}-${{ github.head_ref }}
16+
group: ${{ github.workflow }}-${{ github.ref_name }}
1717
cancel-in-progress: true
1818

1919
permissions:
@@ -37,7 +37,7 @@ jobs:
3737
go-version: ~1.22.9
3838
- name: Cache Go
3939
id: go-cache
40-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
40+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
4141
with:
4242
path: |
4343
~/go/bin

.github/workflows/check-links.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
types: [checks_requested]
88

99
concurrency:
10-
group: ${{ github.workflow }}-${{ github.head_ref }}
10+
group: ${{ github.workflow }}-${{ github.ref_name }}
1111
cancel-in-progress: true
1212

1313
permissions:

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
pull_request:
66

77
concurrency:
8-
group: ${{ github.workflow }}-${{ github.head_ref }}
8+
group: ${{ github.workflow }}-${{ github.ref_name }}
99
cancel-in-progress: true
1010

1111
permissions:
@@ -30,12 +30,12 @@ jobs:
3030

3131
# Initializes the CodeQL tools for scanning.
3232
- name: Initialize CodeQL
33-
uses: github/codeql-action/init@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6
33+
uses: github/codeql-action/init@babb554ede22fd5605947329c4d04d8e7a0b8155 # v3.27.7
3434
with:
3535
languages: go
3636

3737
- name: Autobuild
38-
uses: github/codeql-action/autobuild@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6
38+
uses: github/codeql-action/autobuild@babb554ede22fd5605947329c4d04d8e7a0b8155 # v3.27.7
3939

4040
- name: Perform CodeQL Analysis
41-
uses: github/codeql-action/analyze@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6
41+
uses: github/codeql-action/analyze@babb554ede22fd5605947329c4d04d8e7a0b8155 # v3.27.7

.github/workflows/contrib-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
types: [checks_requested]
1212

1313
concurrency:
14-
group: ${{ github.workflow }}-${{ github.head_ref }}
14+
group: ${{ github.workflow }}-${{ github.ref_name }}
1515
cancel-in-progress: true
1616

1717
permissions:

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ jobs:
6464

6565
# Upload the results to GitHub's code scanning dashboard.
6666
- name: "Upload to code-scanning"
67-
uses: github/codeql-action/upload-sarif@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6
67+
uses: github/codeql-action/upload-sarif@babb554ede22fd5605947329c4d04d8e7a0b8155 # v3.27.7
6868
with:
6969
sarif_file: results.sarif

.github/workflows/tidy-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
cache: false
2626
- name: Cache Go
2727
id: go-cache
28-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
28+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
2929
with:
3030
path: |
3131
~/go/bin

client/doc_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ func (e *exampleAuthData) GetAttribute(key string) any {
7777
}
7878
return nil
7979
}
80+
8081
func (e *exampleAuthData) GetAttributeNames() []string {
8182
return []string{"username"}
8283
}

client/go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ require (
1717
github.com/modern-go/reflect2 v1.0.2 // indirect
1818
github.com/pmezard/go-difflib v1.0.0 // indirect
1919
go.uber.org/multierr v1.11.0 // indirect
20-
golang.org/x/net v0.28.0 // indirect
21-
golang.org/x/sys v0.24.0 // indirect
22-
golang.org/x/text v0.17.0 // indirect
23-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
24-
google.golang.org/grpc v1.67.1 // indirect
20+
golang.org/x/net v0.29.0 // indirect
21+
golang.org/x/sys v0.25.0 // indirect
22+
golang.org/x/text v0.18.0 // indirect
23+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect
24+
google.golang.org/grpc v1.68.1 // indirect
2525
google.golang.org/protobuf v1.35.2 // indirect
2626
gopkg.in/yaml.v3 v3.0.1 // indirect
2727
)

0 commit comments

Comments
 (0)