-
Notifications
You must be signed in to change notification settings - Fork 189
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 pr-update-spec-version-url-script
- Loading branch information
Showing
26 changed files
with
269 additions
and
51 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,18 @@ | ||
##################################################### | ||
# | ||
# List of approvers for OpenTelemetry semantic conventions repository | ||
# | ||
##################################################### | ||
# | ||
# Learn about membership in OpenTelemetry community: | ||
# https://github.com/open-telemetry/community/blob/main/community-membership.md | ||
# | ||
# | ||
# Learn about CODEOWNERS file format: | ||
# https://help.github.com/en/articles/about-code-owners | ||
# | ||
|
||
# Global owners, will be the owners for everything in the repo. Membership is tracked via https://github.com/open-telemetry/community/blob/main/community-members.md | ||
* @open-telemetry/technical-committee @open-telemetry/specs-semconv-approvers | ||
|
||
# TODO - Add semconv area experts |
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,16 @@ | ||
# Set to true to add reviewers to issues/PRs | ||
addReviewers: false | ||
|
||
# Set to true to add assignees to issues/PRs | ||
addAssignees: true | ||
|
||
# A list of assignees, overrides reviewers if set | ||
assignees: | ||
- arminru | ||
- jsuereth | ||
- reyang | ||
|
||
# A number of assignees to add to the issues/PRs | ||
# Set to 0 to add all of the assignees. | ||
# Uses numberOfReviewers if unset. | ||
numberOfAssignees: 1 |
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,19 @@ | ||
# Set to true to add reviewers to pull requests | ||
addReviewers: false | ||
|
||
# Set to true to add assignees to pull requests | ||
addAssignees: true | ||
|
||
# Set to true to add assignees from different groups to pull requests | ||
useAssigneeGroups: true | ||
|
||
# A list of assignees, split into different groups, to be added to pull requests (GitHub user name) | ||
assigneeGroups: | ||
maintainers: | ||
- arminru | ||
- jsuereth | ||
- reyang | ||
|
||
# A number of assignees added to the pull request | ||
# Set 0 to add all the assignees (default: 0) | ||
numberOfAssignees: 1 |
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,12 @@ | ||
name: 'Auto Assign Issue' | ||
on: | ||
issues: | ||
types: [opened] | ||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: bubkoo/auto-assign@d5c3a5711d7fd917f7fbd746e9c6fc044f29009f | ||
with: | ||
CONFIG_FILE: ".github/auto_assign_issue.yml" | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: 'Auto Assign PR' | ||
on: | ||
pull_request_target: | ||
types: [opened, ready_for_review] | ||
|
||
jobs: | ||
add-owner: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: run | ||
uses: kentaro-m/[email protected] | ||
with: | ||
configuration-path: ".github/auto_assign_pr.yml" | ||
repo-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
name: Checks | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
markdownlint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: install dependencies | ||
run: npm install | ||
|
||
- name: run markdownlint | ||
run: make markdownlint | ||
|
||
yamllint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: check out code | ||
uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-python@v2 | ||
|
||
- name: install yamllint | ||
run: make install-yamllint | ||
|
||
- name: run yamllint | ||
run: yamllint . -f github | ||
|
||
markdown-link-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: install dependencies | ||
run: npm install | ||
|
||
- name: run markdown-link-check | ||
run: make markdown-link-check | ||
|
||
markdown-toc-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: install dependencies | ||
run: npm install | ||
|
||
- name: run markdown-toc | ||
run: make markdown-toc | ||
|
||
- name: validate markdown-toc | ||
run: git diff --exit-code ':*.md' || (echo 'Generated markdown Table of Contents is out of date, please run "make markdown-toc" and commit the changes in this PR.' && exit 1) | ||
|
||
misspell: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: run misspell | ||
run: make misspell | ||
|
||
docfx: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 6.0.x | ||
|
||
- name: install docfx | ||
run: dotnet tool update -g docfx --version "3.0.0-*" --add-source https://docfx.pkgs.visualstudio.com/docfx/_packaging/docs-public-packages/nuget/v3/index.json | ||
|
||
- name: run docfx | ||
run: docfx build --dry-run | ||
|
||
semantic-conventions: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: verify semantic convention tables | ||
run: make table-check | ||
|
||
schemas-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: verify schemas | ||
run: make schema-check |
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 |
---|---|---|
|
@@ -114,5 +114,3 @@ To quickly fix typos, use | |
```bash | ||
make misspell-correction | ||
``` | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Document Status | ||
|
||
Semantic Conventions follows the [Specification document status conventions](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/document-status.md). |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Metric Requirement Levels | ||
|
||
This document is the same as [the specification](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/metric-requirement-level.md). | ||
|
||
**Status**: [Stable](../document-status.md) | ||
|
||
<details> | ||
<summary>Table of Contents</summary> | ||
|
||
<!-- toc --> | ||
|
||
- [Required](#required) | ||
- [Recommended](#recommended) | ||
- [Opt-In](#opt-in) | ||
|
||
<!-- tocstop --> | ||
|
||
</details> | ||
|
||
The following metric requirement levels are specified: | ||
|
||
- [Required](#required) | ||
- [Recommended](#recommended) | ||
- [Opt-In](#opt-in) | ||
|
||
## Required | ||
|
||
All instrumentations MUST emit the metric. | ||
A semantic convention defining a Required metric expects that an absolute majority of instrumentation libraries and applications are able to efficiently emit it. | ||
|
||
## Recommended | ||
|
||
Instrumentations SHOULD emit the metric by default if it's readily available and can be efficiently emitted. Instrumentations MAY offer a configuration option to disable Recommended metrics. | ||
|
||
Instrumentations that decide not to emit `Recommended` metrics due to performance, security, privacy, or other consideration by default, SHOULD allow for opting in to emitting them as defined for the `Opt-In` requirement level if the metrics are logically applicable. | ||
|
||
## Opt-In | ||
|
||
Instrumentations SHOULD emit the metric if and only if the user configures the instrumentation to do so. | ||
Instrumentation that doesn't support configuration MUST NOT emit `Opt-In` metrics. | ||
|
||
This attribute requirement level is recommended for metrics that are particularly expensive to retrieve or might pose a security or privacy risk. These should therefore only be enabled deliberately by a user making an informed decision. |
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
1 change: 0 additions & 1 deletion
1
specification/metrics/semantic_conventions/instrumentation/README.md
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,2 +1 @@ | ||
# Instrumentation | ||
|
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.