Skip to content

Commit b73f975

Browse files
authored
Merge branch 'main' into exclude_semconv_sanity_checks
2 parents c7a1f5c + ce31331 commit b73f975

File tree

242 files changed

+5870
-1691
lines changed

Some content is hidden

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

242 files changed

+5870
-1691
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ body:
5454
- OpenTelemetry.Resources.Container
5555
- OpenTelemetry.Resources.Gcp
5656
- OpenTelemetry.Resources.Host
57+
- OpenTelemetry.Resources.OperatingSystem
5758
- OpenTelemetry.Resources.Process
5859
- OpenTelemetry.Resources.ProcessRuntime
5960
- OpenTelemetry.Sampler.AWS

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ body:
5454
- OpenTelemetry.Resources.Container
5555
- OpenTelemetry.Resources.Gcp
5656
- OpenTelemetry.Resources.Host
57+
- OpenTelemetry.Resources.OperatingSystem
5758
- OpenTelemetry.Resources.Process
5859
- OpenTelemetry.Resources.ProcessRuntime
5960
- OpenTelemetry.Sampler.AWS

.github/codecov.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ flags:
134134
paths:
135135
- src/OpenTelemetry.Resources.Host
136136

137+
unittests-Resources.OperatingSystem:
138+
carryforward: true
139+
paths:
140+
- src/OpenTelemetry.Resources.OperatingSystem
141+
137142
unittests-Resources.Process:
138143
carryforward: true
139144
paths:

.github/component_owners.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ components:
5353
- Yun-Ting
5454
src/OpenTelemetry.Instrumentation.Quartz/:
5555
- maldago
56+
src/OpenTelemetry.Instrumentation.StackExchangeRedis/:
57+
- matt-hensley
5658
src/OpenTelemetry.Instrumentation.Runtime/:
5759
- twenzel
5860
- xiang17
@@ -73,6 +75,9 @@ components:
7375
src/OpenTelemetry.Resources.Host/:
7476
- Kielek
7577
- lachmatt
78+
src/OpenTelemetry.Resources.OperatingSystem/:
79+
- Kielek
80+
- lachmatt
7681
src/OpenTelemetry.Resources.Process/:
7782
- Kielek
7883
- lachmatt
@@ -148,6 +153,8 @@ components:
148153
- codeblanch
149154
test/OpenTelemetry.Instrumentation.Quartz.Tests/:
150155
- maldago
156+
test/OpenTelemetry.Instrumentation.StackExchangeRedis.Tests/:
157+
- matt-hensley
151158
test/OpenTelemetry.Instrumentation.Runtime.Tests/:
152159
- twenzel
153160
- xiang17

.github/workflows/Component.BuildTest.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
required: false
1919
type: string
2020
tfm-list:
21-
default: '[ "net462", "net6.0", "net7.0", "net8.0" ]'
21+
default: '[ "net462", "net6.0", "net8.0" ]'
2222
required: false
2323
type: string
2424

@@ -33,6 +33,8 @@ jobs:
3333
exclude:
3434
- os: ubuntu-latest
3535
version: net462
36+
- os: macos-latest
37+
version: net462
3638

3739
runs-on: ${{ matrix.os }}
3840

@@ -73,6 +75,10 @@ jobs:
7375
7476
- name: Setup dotnet
7577
uses: actions/setup-dotnet@v4
78+
with:
79+
dotnet-version: |
80+
6.0.x
81+
8.0.x
7682
7783
- name: dotnet restore ${{ steps.resolve-project.outputs.title }}
7884
run: dotnet restore ${{ steps.resolve-project.outputs.project }} -p:EnablePackageValidation=true

.github/workflows/ci-Exporter.OneCollector-Integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
fail-fast: false # ensures the entire test matrix is run, even if one permutation fails
3030
matrix:
3131
os: [ windows-latest, ubuntu-latest ]
32-
version: [ net462, net6.0, net7.0, net8.0 ]
32+
version: [ net462, net6.0, net8.0 ]
3333
exclude:
3434
- os: ubuntu-latest
3535
version: net462

.github/workflows/ci.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
resources-container: ['*/OpenTelemetry.Resources.Container*/**', '!**/*.md']
5959
resources-gcp: ['*/OpenTelemetry.Resources.Gcp*/**', '!**/*.md']
6060
resources-host: ['*/OpenTelemetry.Resources.Host*/**', '!**/*.md']
61+
resources-operatingsystem: ['*/OpenTelemetry.Resources.OperatingSystem/**', '*/OpenTelemetry.Resources.OperatingSystem.Tests/**', '!**/*.md']
6162
resources-process: ['*/OpenTelemetry.Resources.Process/**', '*/OpenTelemetry.Resources.Process.Tests/**', '!**/*.md']
6263
resources-processruntime: ['*/OpenTelemetry.Resources.ProcessRuntime/**', '*/OpenTelemetry.Resources.ProcessRuntime.Tests/**', '!**/*.md']
6364
sampler-aws: ['*/OpenTelemetry.Sampler.AWS**/**', '!**/*.md']
@@ -195,7 +196,7 @@ jobs:
195196
with:
196197
project-name: OpenTelemetry.Instrumentation.AspNetCore
197198
code-cov-name: Instrumentation.AspNetCore
198-
tfm-list: '[ "net6.0", "net7.0", "net8.0" ]'
199+
tfm-list: '[ "net6.0", "net8.0" ]'
199200

200201
build-test-instrumentation-aws:
201202
needs: detect-changes
@@ -218,7 +219,7 @@ jobs:
218219
with:
219220
project-name: Component[OpenTelemetry.Instrumentation.AWSLambda]
220221
code-cov-name: Instrumentation.AWSLambda
221-
tfm-list: '[ "net6.0", "net7.0", "net8.0" ]'
222+
tfm-list: '[ "net6.0", "net8.0" ]'
222223

223224
build-test-instrumentation-cassandra:
224225
needs: detect-changes
@@ -284,7 +285,7 @@ jobs:
284285
with:
285286
project-name: OpenTelemetry.Instrumentation.EventCounters
286287
code-cov-name: Instrumentation.EventCounters
287-
tfm-list: '[ "net6.0", "net7.0", "net8.0" ]'
288+
tfm-list: '[ "net6.0", "net8.0" ]'
288289

289290
build-test-instrumentation-grpccore:
290291
needs: detect-changes
@@ -484,6 +485,19 @@ jobs:
484485
with:
485486
project-name: Component[OpenTelemetry.Resources.Host]
486487
code-cov-name: Resources.Host
488+
os-list: '[ "windows-latest", "ubuntu-latest", "macos-latest" ]'
489+
490+
build-test-resources-operatingsystem:
491+
needs: detect-changes
492+
if: |
493+
contains(needs.detect-changes.outputs.changes, 'resources-operatingsystem')
494+
|| contains(needs.detect-changes.outputs.changes, 'build')
495+
|| contains(needs.detect-changes.outputs.changes, 'shared')
496+
uses: ./.github/workflows/Component.BuildTest.yml
497+
with:
498+
project-name: Component[OpenTelemetry.Resources.OperatingSystem]
499+
code-cov-name: Resources.OperatingSystem
500+
os-list: '[ "windows-latest", "ubuntu-latest", "macos-latest" ]'
487501

488502
build-test-resources-process:
489503
needs: detect-changes
@@ -561,6 +575,7 @@ jobs:
561575
|| contains(needs.detect-changes.outputs.changes, 'resources-azure')
562576
|| contains(needs.detect-changes.outputs.changes, 'resources-container')
563577
|| contains(needs.detect-changes.outputs.changes, 'resources-host')
578+
|| contains(needs.detect-changes.outputs.changes, 'resources-operatingsystem')
564579
|| contains(needs.detect-changes.outputs.changes, 'resources-process')
565580
|| contains(needs.detect-changes.outputs.changes, 'resources-processruntime')
566581
|| contains(needs.detect-changes.outputs.changes, 'sampler-aws')

.github/workflows/integration.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
version: [net6.0, net7.0, net8.0]
17+
version: [net6.0, net8.0]
1818
steps:
1919
- uses: actions/checkout@v4
2020

21-
- name: Run redis docker-compose
22-
run: docker-compose --file=test/OpenTelemetry.Instrumentation.StackExchangeRedis.Tests/docker-compose.yml --file=build/docker-compose.${{ matrix.version }}.yml --project-directory=. up --exit-code-from=tests --build
21+
- name: Run redis docker compose
22+
run: docker compose --file=test/OpenTelemetry.Instrumentation.StackExchangeRedis.Tests/docker-compose.yml --file=build/docker-compose.${{ matrix.version }}.yml --project-directory=. up --exit-code-from=tests --build
2323

2424
kafka-integration-test:
2525
if: inputs.job == 'all' || inputs.job == 'kafka-integration-test'
2626
runs-on: ubuntu-latest
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
version: [net6.0, net7.0, net8.0]
30+
version: [net6.0, net8.0]
3131
steps:
3232
- uses: actions/checkout@v4
3333

34-
- name: Run kafka docker-compose
35-
run: docker-compose --file=test/OpenTelemetry.Instrumentation.ConfluentKafka.Tests/docker-compose.yml --file=build/docker-compose.${{ matrix.version }}.yml --project-directory=. up --exit-code-from=tests --build
34+
- name: Run kafka docker compose
35+
run: docker compose --file=test/OpenTelemetry.Instrumentation.ConfluentKafka.Tests/docker-compose.yml --file=build/docker-compose.${{ matrix.version }}.yml --project-directory=. up --exit-code-from=tests --build

.github/workflows/prepare-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ on:
4444
- OpenTelemetry.Resources.Container
4545
- OpenTelemetry.Resources.Gcp
4646
- OpenTelemetry.Resources.Host
47+
- OpenTelemetry.Resources.OperatingSystem
4748
- OpenTelemetry.Resources.Process
4849
- OpenTelemetry.Resources.ProcessRuntime
4950
- OpenTelemetry.Sampler.AWS

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ You can contribute to this project from a Windows, macOS or Linux machine.
3535
On all platforms, the minimum requirements are:
3636

3737
* Git client and command line tools.
38-
* .NET 7.0+
38+
* .NET 8.0+
3939

4040
Please note that individual project requirements might vary.
4141

0 commit comments

Comments
 (0)