-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
84 changed files
with
683 additions
and
544 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
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,4 @@ | ||
change_type: enhancement | ||
component: docs, db | ||
note: Add common guidance for recording errors on spans and metrics, clarify DB conventions. | ||
issues: [1516, 1536, 1716] |
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,22 @@ | ||
# Use this changelog template to create an entry for release notes. | ||
# | ||
# If your change doesn't affect end users you should instead start | ||
# your pull request title with [chore] or use the "Skip Changelog" label. | ||
|
||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: enhancement | ||
|
||
# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db) | ||
component: k8s | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: Add k8s.namespace.phase metric along with the respective attribute | ||
|
||
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. | ||
# The values here must be integers. | ||
issues: [1668] | ||
|
||
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,111 +1,27 @@ | ||
name: Propose new semantic conventions | ||
description: Propose new conventions you'd like to be part of the OpenTelemetry project | ||
labels: ["enhancement", "triage:needs-triage", "experts needed"] | ||
description: Propose new conventions you'd like to see in the OpenTelemetry project | ||
labels: ["enhancement", "experts needed"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Please make sure to fill out the entire form below, providing as much context as you can in order to help us triage the proposal as quickly as possible. | ||
Thanks for your interest in contributing to the OpenTelemetry Semantic Conventions! | ||
Before filing the proposal, please be sure you have searched through [existing issues](https://github.com/open-telemetry/semantic-conventions/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Aenhancement+label%3Aarea:new) to see if an existing issue covers your proposal. | ||
Substantial changes to the conventions follow [OTel project management] | ||
(https://github.com/open-telemetry/community/blob/main/project-management.md) process | ||
and usually require a group of people who are familiar with the domain, | ||
are involved with instrumentation efforts, and are committed to be the point of contact for | ||
pull requests, issues, and questions in this area. | ||
Additionally, make sure to read and follow the guidelines on [Project Proposal](https://github.com/open-telemetry/community/blob/main/project-management.md#project-management), in case the proposal is for a new set of conventions/working group. | ||
- type: dropdown | ||
id: area | ||
attributes: | ||
label: Area(s) | ||
description: Which area(s) does your new conventions concern? If none fits, please select `area:new` | ||
multiple: true | ||
options: | ||
- area:new | ||
# NOTE: The list below is autogenerated using `make generate-gh-issue-templates` | ||
# DO NOT manually edit it. | ||
# Start semconv area list | ||
- area:android | ||
- area:artifact | ||
- area:aspnetcore | ||
- area:aws | ||
- area:azure | ||
- area:browser | ||
- area:cicd | ||
- area:client | ||
- area:cloud | ||
- area:cloudevents | ||
- area:cloudfoundry | ||
- area:code | ||
- area:container | ||
- area:cpu | ||
- area:db | ||
- area:deployment | ||
- area:destination | ||
- area:device | ||
- area:disk | ||
- area:dns | ||
- area:dotnet | ||
- area:error | ||
- area:exception | ||
- area:faas | ||
- area:feature-flag | ||
- area:file | ||
- area:gcp | ||
- area:gen-ai | ||
- area:geo | ||
- area:go | ||
- area:graphql | ||
- area:hardware | ||
- area:heroku | ||
- area:host | ||
- area:http | ||
- area:jvm | ||
- area:k8s | ||
- area:linux | ||
- area:log | ||
- area:messaging | ||
- area:network | ||
- area:nodejs | ||
- area:oci | ||
- area:opentracing | ||
- area:os | ||
- area:otel | ||
- area:peer | ||
- area:process | ||
- area:profile | ||
- area:rpc | ||
- area:security-rule | ||
- area:server | ||
- area:service | ||
- area:session | ||
- area:signalr | ||
- area:source | ||
- area:system | ||
- area:telemetry | ||
- area:test | ||
- area:thread | ||
- area:tls | ||
- area:url | ||
- area:user | ||
- area:user-agent | ||
- area:v8js | ||
- area:vcs | ||
- area:webengine | ||
# End semconv area list | ||
- type: textarea | ||
attributes: | ||
label: Is your change request related to a problem? Please describe. | ||
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
validations: | ||
required: true | ||
Creating a new issue here is a great first step to find others interested in collaborating. | ||
- type: textarea | ||
attributes: | ||
label: Describe the solution you'd like | ||
description: A clear and concise description of what you want to happen. | ||
label: Propose new conventions | ||
description: | | ||
Please provide a brief description of the conventions, including | ||
telemetry signals you'd like to define. | ||
Consider specifying which instrumentations or systems would implement these | ||
conventions and the benefits they would bring to the ecosystem. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Describe alternatives you've considered | ||
description: A clear and concise description of any alternative solutions or features you've considered. | ||
- type: textarea | ||
attributes: | ||
label: Additional context | ||
description: Add any other context or screenshots about the 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,32 @@ | ||
name: 'Prepare new PR' | ||
on: | ||
pull_request_target: | ||
types: [opened, synchronize] | ||
branches: [ 'main*' ] | ||
paths: ['.chloggen/*'] | ||
|
||
jobs: | ||
prepare-new-pr: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
if: ${{ github.repository_owner == 'open-telemetry' }} | ||
steps: | ||
# check out main | ||
- uses: actions/checkout@v4 | ||
# sparse checkout to only get the .chloggen directory | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
path: prchangelog | ||
sparse-checkout: .chloggen | ||
|
||
# we're going to run prepare-new-pr script from the main branch | ||
# to parse changelog record from the PR branch. | ||
- name: Run prepare-new-pr.sh | ||
run: ./.github/workflows/scripts/prepare-new-pr.sh | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PR: ${{ github.event.pull_request.number }} | ||
PR_CHANGELOG_PATH: prchangelog |
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,59 @@ | ||
name: Prepare release | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: 'The version to release, e.g. 1.30.0' | ||
required: true | ||
|
||
jobs: | ||
create-pull-request: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Validate version | ||
run: | | ||
version=${{ inputs.version }} | ||
if [[ ! "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then | ||
echo "unexpected version: $version" | ||
exit 1 | ||
fi | ||
- name: Use CLA approved github bot | ||
run: .github/workflows/scripts/use-cla-approved-github-bot.sh | ||
|
||
- name: Update schema files | ||
run: | | ||
if ! grep -q "^ next:$" schema-next.yaml; then | ||
echo "String 'next:' not found in the file" | ||
exit 1 | ||
fi | ||
version=${{ inputs.version }} | ||
sed -i "0,/^ next:$/s// $version:/" schema-next.yaml | ||
cp schema-next.yaml "schemas/$version" | ||
git add "schemas/$version" | ||
sed -i "0,/^ $version:$/s// next:\n $version:/" schema-next.yaml | ||
- name: Update change log | ||
run: | | ||
make chlog-update VERSION=v${{ inputs.version }} | ||
- name: Create pull request | ||
env: | ||
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows | ||
GH_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }} | ||
run: | | ||
version=${{ inputs.version }} | ||
message="Prepare release v${version}" | ||
body="Prepare release \`v${version}\`." | ||
branch="opentelemetrybot/prepare-release-v${version}" | ||
git checkout -b $branch | ||
git commit -a -m "$message" | ||
git push --set-upstream origin $branch | ||
gh pr create --title "$message" \ | ||
--body "$body" \ | ||
--base main |
Oops, something went wrong.