Skip to content

Commit 23aa7e2

Browse files
committed
Merge opentelemetry-rust repo commits to preserve history on this repo.
Relates to open-telemetry#841
2 parents 22e0e11 + 7bb97d5 commit 23aa7e2

File tree

493 files changed

+75599
-7
lines changed

Some content is hidden

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

493 files changed

+75599
-7
lines changed

.cspell.json

+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
// http://cspell.org/configuration/
2+
{
3+
"version": "0.2",
4+
"language": "en,en-US",
5+
"useGitignore": true,
6+
"minWordLength": 4,
7+
"ignorePaths": [
8+
"target/**"
9+
],
10+
// list of words to be ignored. unlike `words` below, these won't be
11+
// suggested as corrections for misspelled words.
12+
"ignoreWords": [
13+
"otel",
14+
"rustdoc",
15+
"rustfilt"
16+
],
17+
// these are words that are always considered incorrect.
18+
"flagWords": [
19+
"recieve",
20+
"reciever",
21+
"seperate",
22+
"hte",
23+
"teh"
24+
],
25+
// these are words that are always correct and can be thought of as our
26+
// workspace dictionary.
27+
"words": [
28+
"actix",
29+
"appender",
30+
"appenders",
31+
"Bhasin",
32+
"Cijo",
33+
"codecov",
34+
"deque",
35+
"Dirkjan",
36+
"hasher",
37+
"isahc",
38+
"Isobel",
39+
"jaegertracing",
40+
"Kühle",
41+
"Kumar",
42+
"Lalit",
43+
"msrv",
44+
"Ochtman",
45+
"openetelemetry",
46+
"opentelemetry",
47+
"OTLP",
48+
"protoc",
49+
"quantile",
50+
"Redelmeier",
51+
"reqwest",
52+
"rustc",
53+
"Tescher",
54+
"Zhongyang",
55+
"zipkin"
56+
],
57+
"enabledLanguageIds": [
58+
"jsonc",
59+
"markdown",
60+
"plaintext",
61+
"rust",
62+
"shellscript"
63+
],
64+
"languageSettings": [
65+
{
66+
"languageId": "jsonc",
67+
"includeRegExpList": [
68+
"CStyleComment"
69+
]
70+
},
71+
{
72+
"languageId": "markdown",
73+
"caseSensitive": false
74+
},
75+
{
76+
"languageId": "rust",
77+
"includeRegExpList": [
78+
"CStyleComment",
79+
"strings"
80+
]
81+
},
82+
{
83+
"languageId": "shellscript",
84+
"includeRegExpList": [
85+
"/#.*/g"
86+
]
87+
}
88+
]
89+
}

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
target/

.github/ISSUE_TEMPLATE/BUG-REPORT.yml

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Bug Report
2+
description: File a bug report
3+
title: "[Bug]: "
4+
labels: ["bug", "triage:todo"]
5+
projects: ["open-telemetry/opentelemetry-rust"]
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for taking the time to fill out this bug report!
11+
- type: textarea
12+
id: what-happened
13+
attributes:
14+
label: What happened?
15+
description: Also tell us, what did you expect to happen?
16+
placeholder: Tell us what you see!
17+
value: "A bug happened!"
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: api-version
22+
attributes:
23+
label: API Version
24+
description: What version of the OpenTelemetry API are you using?
25+
placeholder: 0.x, 1.x, etc.
26+
validations:
27+
required: true
28+
- type: textarea
29+
id: sdk-version
30+
attributes:
31+
label: SDK Version
32+
description: What version of the OpenTelemetry SDK are you using?
33+
placeholder: 0.x, 1.x, etc.
34+
validations:
35+
required: true
36+
- type: dropdown
37+
id: browsers
38+
attributes:
39+
label: What Exporters are you seeing the problem on?
40+
multiple: true
41+
options:
42+
- OTLP
43+
- Zipkin
44+
- Jaeger (Deprecated)
45+
- N/A
46+
- type: textarea
47+
id: logs
48+
attributes:
49+
label: Relevant log output
50+
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
51+
render: shell
+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
name: "Feature Request"
3+
description: Request a feature for the OpenTelemetry Rust implementation.
4+
title: "[Feature]: "
5+
labels: ["enhancement", "triage:todo"]
6+
projects: ["open-telemetry/opentelemetry-rust"]
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thanks for using our library and trying to make it better!
12+
13+
Before opening a feature request against this repo, consider whether the feature
14+
should/could be implemented in the [other OpenTelemetry client
15+
libraries](https://github.com/open-telemetry/). If so, please [open an issue on
16+
opentelemetry-specification](https://github.com/open-telemetry/opentelemetry-specification/issues/new) first.
17+
- type: textarea
18+
id: related-problem
19+
attributes:
20+
label: Related Problems?
21+
description: Is your feature request related to a problem? If so, provide a concise description of the problem.
22+
placeholder: Include the Issue ID from this or other repos.
23+
validations:
24+
required: false
25+
- type: textarea
26+
id: solution
27+
attributes:
28+
label: "Describe the solution you'd like:"
29+
description: What do you want to happen instead? What is the expected behavior?
30+
placeholder: I'd like the api to ...
31+
validations:
32+
required: true
33+
- type: textarea
34+
id: alternatives
35+
attributes:
36+
label: Considered Alternatives
37+
description: Which alternative solutions or features have you considered?
38+
placeholder: Some potential solutions
39+
validations:
40+
required: false
41+
- type: textarea
42+
id: additional-context
43+
attributes:
44+
label: Additional Context
45+
description: Add any other context about the feature request here.
46+
placeholder: Some related requests in other project or upstream spec proposals.
47+
validations:
48+
required: false

.github/ISSUE_TEMPLATE/config.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
contact_links:
2+
- name: GitHub Discussions
3+
url: https://github.com/open-telemetry/opentelemetry-rust/discussions/new/choose
4+
about: Please ask questions here.
5+
- name: Slack
6+
url: https://cloud-native.slack.com/archives/C03GDP0H023
7+
about: Or the `#otel-rust` channel in the CNCF Slack instance. (Not terribly responsive.)
8+
- name: "⚠️ Report a security vulnerability"
9+
url: "https://github.com/open-telemetry/opentelemetry-rust/security/advisories/new"
10+
about: "Report a security vulnerability."
11+

.github/PULL_REQUEST_TEMPLATE.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Fixes #
2+
Design discussion issue (if applicable) #
3+
4+
## Changes
5+
6+
Please provide a brief description of the changes here.
7+
8+
## Merge requirement checklist
9+
10+
* [ ] [CONTRIBUTING](https://github.com/open-telemetry/opentelemetry-rust/blob/main/CONTRIBUTING.md) guidelines followed
11+
* [ ] Unit tests added/updated (if applicable)
12+
* [ ] Appropriate `CHANGELOG.md` files updated for non-trivial, user-facing changes
13+
* [ ] Changes in public API reviewed (if applicable)

.github/codecov.yaml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
codecov:
2+
require_ci_to_pass: yes
3+
4+
coverage:
5+
precision: 1
6+
round: down
7+
range: "50...100"
8+
status:
9+
project:
10+
default:
11+
target: auto
12+
threshold: 0.5%
13+
14+
ignore:
15+
- "opentelemetry/src/testing" # test harnesses
16+
- "opentelemetry-jaeger/src/testing" # test harness
17+
- "opentelemetry-jaeger/src/exporter/thrift" # auto generated files
18+
- "opentelemetry-otlp/src/proto" # auto generated files
19+
- "opentelemetry-proto/src/proto" # auto generated files
20+
# examples below
21+
- "examples"
22+
- "opentelemetry-jaeger/examples"
23+
- "opentelemetry-zipkin/examples"
24+
- "opentelemetry-otlp/examples"
25+
- "opentelemetry-aws/examples"
26+
- "opentelemetry-datadog/examples"
27+
- "opentelemetry-dynatrace/examples"
28+
- "opentelemetry-http/examples"
29+
- "opentelemetry-prometheus/examples"
30+
- "opentelemetry-zpages/examples"

0 commit comments

Comments
 (0)