-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into awslambda-drop-default-parameter
- Loading branch information
Showing
55 changed files
with
1,457 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
name: OpenTelemetry.Extensions.Enrichment | ||
about: Issue with OpenTelemetry.Extensions.Enrichment | ||
labels: comp:extensions.enrichment | ||
--- | ||
|
||
# Issue with OpenTelemetry.Extensions.Enrichment | ||
|
||
**What type of request is this?** | ||
|
||
* [ ] Feature Request | ||
* [ ] Bug | ||
* [ ] Question | ||
|
||
## Request Details | ||
|
||
**What are the OpenTelemetry packages and versions you are using?** | ||
|
||
_List [all OpenTelemetry NuGet | ||
packages](https://www.nuget.org/profiles/OpenTelemetry) and version that you are | ||
using (e.g. `OpenTelemetry 1.4.0`)._ | ||
|
||
**What environment are you using?** | ||
|
||
_Please include the runtime versions (e.g. `net462`, `net48`, `net6.0`, `net7.0` | ||
etc.), OS details (e.g.Windows, Linux, etc.), architecture (e.g. 32bit, 64bit, | ||
etc.), and anything else important (e.g. IIS, container, etc.)._ | ||
|
||
**What is the expected behavior?** | ||
|
||
_Describe what you expected to see._ | ||
|
||
**What is the actual behavior?** | ||
|
||
_Describe what you saw instead._ | ||
|
||
**What are the steps to reproduce the issue?** | ||
|
||
_Describe how to reproduce the issue._ | ||
|
||
If you are reporting a non-obvious bug, please create a self-contained project | ||
and apply the minimum required code to result in the issue you're observing. | ||
|
||
We will close this issue if: | ||
|
||
* The repro project you share with us is too complex. We can't investigate | ||
custom projects please try to keep it to just what is needed to demonstrate | ||
the issue. | ||
|
||
* We can't reproduce the behavior you're reporting. | ||
|
||
## Additional Context | ||
|
||
_Include any other context about the bug or feature request here._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: Pack OpenTelemetry.Extensions.Enrichment | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
logLevel: | ||
description: 'Log level' | ||
required: true | ||
default: 'warning' | ||
push: | ||
tags: | ||
- 'Extensions.Enrichment-*' # trigger when we create a tag with prefix "Extensions.Enrichment-" | ||
|
||
jobs: | ||
build-test-pack: | ||
runs-on: ${{ matrix.os }} | ||
permissions: | ||
contents: write | ||
env: | ||
PROJECT: OpenTelemetry.Extensions.Enrichment | ||
|
||
strategy: | ||
matrix: | ||
os: [windows-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 # fetching all | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
dotnet-version: '7.0.x' | ||
|
||
- name: Install dependencies | ||
run: dotnet restore src/${{env.PROJECT}} | ||
|
||
- name: dotnet build ${{env.PROJECT}} | ||
run: dotnet build src/${{env.PROJECT}} --configuration Release --no-restore -p:Deterministic=true | ||
|
||
- name: dotnet test ${{env.PROJECT}} | ||
run: dotnet test test/${{env.PROJECT}}.Tests | ||
|
||
- name: dotnet pack ${{env.PROJECT}} | ||
run: dotnet pack src/${{env.PROJECT}} --configuration Release --no-build | ||
|
||
- name: Publish Artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{env.PROJECT}}-packages | ||
path: '**/${{env.PROJECT}}/bin/**/*.*nupkg' | ||
|
||
- name: Publish Nuget | ||
run: | | ||
nuget push **/${{env.PROJECT}}/bin/**/*.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey ${{ secrets.NUGET_TOKEN }} -SymbolApiKey ${{ secrets.NUGET_TOKEN }} | ||
- name: Create GitHub Prerelease | ||
if: ${{ (contains(github.ref_name, '-alpha.') || contains(github.ref_name, '-beta.') || contains(github.ref_name, '-rc.')) }} | ||
run: gh release create ${{ github.ref_name }} --title ${{ github.ref_name }} --verify-tag --notes "See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/${{ github.ref_name }}/src/${{env.PROJECT}}/CHANGELOG.md) for details." --prerelease | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Create GitHub Release | ||
if: ${{ !(contains(github.ref_name, '-alpha.') || contains(github.ref_name, '-beta.') || contains(github.ref_name, '-rc.')) }} | ||
run: gh release create ${{ github.ref_name }} --title ${{ github.ref_name }} --verify-tag --notes "See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/${{ github.ref_name }}/src/${{env.PROJECT}}/CHANGELOG.md) for details." --latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.