Skip to content

Commit

Permalink
Merge opentelemetry-rust repo commits to preserve history on this repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
hdost committed Nov 11, 2023
2 parents 22e0e11 + 7bb97d5 commit 23aa7e2
Show file tree
Hide file tree
Showing 493 changed files with 75,599 additions and 7 deletions.
89 changes: 89 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
// http://cspell.org/configuration/
{
"version": "0.2",
"language": "en,en-US",
"useGitignore": true,
"minWordLength": 4,
"ignorePaths": [
"target/**"
],
// list of words to be ignored. unlike `words` below, these won't be
// suggested as corrections for misspelled words.
"ignoreWords": [
"otel",
"rustdoc",
"rustfilt"
],
// these are words that are always considered incorrect.
"flagWords": [
"recieve",
"reciever",
"seperate",
"hte",
"teh"
],
// these are words that are always correct and can be thought of as our
// workspace dictionary.
"words": [
"actix",
"appender",
"appenders",
"Bhasin",
"Cijo",
"codecov",
"deque",
"Dirkjan",
"hasher",
"isahc",
"Isobel",
"jaegertracing",
"Kühle",
"Kumar",
"Lalit",
"msrv",
"Ochtman",
"openetelemetry",
"opentelemetry",
"OTLP",
"protoc",
"quantile",
"Redelmeier",
"reqwest",
"rustc",
"Tescher",
"Zhongyang",
"zipkin"
],
"enabledLanguageIds": [
"jsonc",
"markdown",
"plaintext",
"rust",
"shellscript"
],
"languageSettings": [
{
"languageId": "jsonc",
"includeRegExpList": [
"CStyleComment"
]
},
{
"languageId": "markdown",
"caseSensitive": false
},
{
"languageId": "rust",
"includeRegExpList": [
"CStyleComment",
"strings"
]
},
{
"languageId": "shellscript",
"includeRegExpList": [
"/#.*/g"
]
}
]
}
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target/
51 changes: 51 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG-REPORT.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: ["bug", "triage:todo"]
projects: ["open-telemetry/opentelemetry-rust"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
- type: textarea
id: api-version
attributes:
label: API Version
description: What version of the OpenTelemetry API are you using?
placeholder: 0.x, 1.x, etc.
validations:
required: true
- type: textarea
id: sdk-version
attributes:
label: SDK Version
description: What version of the OpenTelemetry SDK are you using?
placeholder: 0.x, 1.x, etc.
validations:
required: true
- type: dropdown
id: browsers
attributes:
label: What Exporters are you seeing the problem on?
multiple: true
options:
- OTLP
- Zipkin
- Jaeger (Deprecated)
- N/A
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
name: "Feature Request"
description: Request a feature for the OpenTelemetry Rust implementation.
title: "[Feature]: "
labels: ["enhancement", "triage:todo"]
projects: ["open-telemetry/opentelemetry-rust"]
body:
- type: markdown
attributes:
value: |
Thanks for using our library and trying to make it better!
Before opening a feature request against this repo, consider whether the feature
should/could be implemented in the [other OpenTelemetry client
libraries](https://github.com/open-telemetry/). If so, please [open an issue on
opentelemetry-specification](https://github.com/open-telemetry/opentelemetry-specification/issues/new) first.
- type: textarea
id: related-problem
attributes:
label: Related Problems?
description: Is your feature request related to a problem? If so, provide a concise description of the problem.
placeholder: Include the Issue ID from this or other repos.
validations:
required: false
- type: textarea
id: solution
attributes:
label: "Describe the solution you'd like:"
description: What do you want to happen instead? What is the expected behavior?
placeholder: I'd like the api to ...
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Considered Alternatives
description: Which alternative solutions or features have you considered?
placeholder: Some potential solutions
validations:
required: false
- type: textarea
id: additional-context
attributes:
label: Additional Context
description: Add any other context about the feature request here.
placeholder: Some related requests in other project or upstream spec proposals.
validations:
required: false
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
contact_links:
- name: GitHub Discussions
url: https://github.com/open-telemetry/opentelemetry-rust/discussions/new/choose
about: Please ask questions here.
- name: Slack
url: https://cloud-native.slack.com/archives/C03GDP0H023
about: Or the `#otel-rust` channel in the CNCF Slack instance. (Not terribly responsive.)
- name: "⚠️ Report a security vulnerability"
url: "https://github.com/open-telemetry/opentelemetry-rust/security/advisories/new"
about: "Report a security vulnerability."

13 changes: 13 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Fixes #
Design discussion issue (if applicable) #

## Changes

Please provide a brief description of the changes here.

## Merge requirement checklist

* [ ] [CONTRIBUTING](https://github.com/open-telemetry/opentelemetry-rust/blob/main/CONTRIBUTING.md) guidelines followed
* [ ] Unit tests added/updated (if applicable)
* [ ] Appropriate `CHANGELOG.md` files updated for non-trivial, user-facing changes
* [ ] Changes in public API reviewed (if applicable)
30 changes: 30 additions & 0 deletions .github/codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
codecov:
require_ci_to_pass: yes

coverage:
precision: 1
round: down
range: "50...100"
status:
project:
default:
target: auto
threshold: 0.5%

ignore:
- "opentelemetry/src/testing" # test harnesses
- "opentelemetry-jaeger/src/testing" # test harness
- "opentelemetry-jaeger/src/exporter/thrift" # auto generated files
- "opentelemetry-otlp/src/proto" # auto generated files
- "opentelemetry-proto/src/proto" # auto generated files
# examples below
- "examples"
- "opentelemetry-jaeger/examples"
- "opentelemetry-zipkin/examples"
- "opentelemetry-otlp/examples"
- "opentelemetry-aws/examples"
- "opentelemetry-datadog/examples"
- "opentelemetry-dynatrace/examples"
- "opentelemetry-http/examples"
- "opentelemetry-prometheus/examples"
- "opentelemetry-zpages/examples"
Loading

0 comments on commit 23aa7e2

Please sign in to comment.