Skip to content

Commit 0c268e7

Browse files
pichlermarcmaryliagtrentmJamieDanielson
authored
feat: improve bug template (#5086)
Co-authored-by: Marylia Gutierrez <[email protected]> Co-authored-by: Trent Mick <[email protected]> Co-authored-by: Jamie Danielson <[email protected]>
1 parent 4446508 commit 0c268e7

File tree

1 file changed

+58
-16
lines changed

1 file changed

+58
-16
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 58 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,61 @@ body:
55
- type: markdown
66
attributes:
77
value: |
8-
Thanks for taking the time to fill out this bug report!
9-
Please make sure to fill out the entire form below,
10-
providing as much context as you can in order to help us
11-
triage and track down your bug as quickly as possible.
8+
> [!IMPORTANT]
9+
> **Please read all parts of this form carefully.** By following the instructions carefully, you ensure that we
10+
> can get started fixing your bug, instead of being stuck at trying to reproduce your issue. Please provide
11+
> all requested information, even if you think it does not apply to your problem.
12+
>
13+
> **If you use a third-party package that re-distributes OpenTelemetry, open the bug ticket with that third party unless you can provide steps to reproduce this with pure OpenTelemetry.**
14+
> Digging into third-party distributions of OpenTelemetry is not in scope for this project.
1215
13-
Before filing a bug, please be sure you have searched through
14-
[existing bugs](https://github.com/open-telemetry/opentelemetry-js/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Abug)
15-
to see if your bug is already addressed.
16-
17-
If your bug is related to an instrumentation or plugin in [opentelemetry-js-contrib](https://github.com/open-telemetry/opentelemetry-js-contrib)
18-
please be sure to file it there.
16+
Before filing a bug, please be sure you have searched through [existing open bugs](https://github.com/open-telemetry/opentelemetry-js/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Abug)
17+
to see if this bug has already been filed.
18+
- type: markdown
19+
attributes:
20+
value: |
21+
## Bug Reproduction
1922
- type: textarea
2023
attributes:
2124
label: What happened?
22-
description: Please provide as much detail as you reasonably can.
25+
description: |
26+
> [!IMPORTANT]
27+
> **Please provide as much detail as you reasonably can.**
28+
> We all know the complexities of developing with JavaScript/TypeScript. **Be specific** about your setup and **DO NOT** assume that the person handling your bug report knows how to use your specific combination of tooling. Always provide build instructions and config files.
2329
value: |
2430
## Steps to Reproduce
25-
31+
<!--
32+
The most effective way to solve a bug is to provide a link to a reproducer repository. It is extremely difficult to exactly reproduce problems
33+
and doing so can take multiple hours for us. You know your tooling and setup and we know OpenTelemetry JavaScript internals.
34+
Let's help each other! :)
35+
-->
2636
## Expected Result
2737
2838
## Actual Result
2939
3040
## Additional Details
41+
<!--
42+
Anything you can think of that will help us reproduce and understand your problem:
43+
- details about the behavior of the bug
44+
- code to reproduce, if not provided via a repository above (including setting up any frameworks you may be using, we likely don't use the same tech-stack that you're using on the daily)
45+
- which tooling you use and how you're using it
46+
- config files for your tooling (typescript, bundlers, ...)
47+
- how you run your code (example: `node -r otel.js ./index.js`).
48+
- which module type you are you using (`module` or `commonjs`)
49+
-->
50+
3151
3252
validations:
3353
required: true
3454
- type: textarea
3555
attributes:
3656
label: OpenTelemetry Setup Code
37-
description: Please provide the code you use to set up OpenTelemetry
57+
description: |
58+
Please provide the code you use to set up OpenTelemetry.
59+
If you use `@opentelemetry/auto-instrumentations-node/register`, please state so here.
60+
You may omit this step if you have provided a reproducer repository.
3861
placeholder: | # This comes from our README.md
39-
// tracing.js
62+
// otel.js
4063
4164
'use strict'
4265
@@ -75,13 +98,15 @@ body:
7598
- type: textarea
7699
attributes:
77100
label: package.json
78-
description: If possible, please provide your full package.json. If not, please provide at least your list of dependencies and their versions, especially OpenTelemetry versions.
101+
description: |
102+
Please provide your the full package.json needed to reproduce the issue.
103+
You may omit this step if you provided a reproducer repository.
79104
render: "JSON"
80105
placeholder: |
81106
{
82107
"name": "my-app",
83108
"scripts": {
84-
"start": "node -r tracing.js app.js"
109+
"start": "node -r otel.js app.js"
85110
},
86111
"dependencies": {
87112
"@opentelemetry/api": "^1.3.0",
@@ -95,3 +120,20 @@ body:
95120
description: |
96121
Please copy and paste any relevant log output.
97122
render: shell
123+
- type: markdown
124+
attributes:
125+
value: |
126+
## System Details
127+
System Details help us when we cannot reproduce your problem with the information provided above. Sometimes bugs only surface on specific platforms and runtime versions.
128+
- type: textarea
129+
attributes:
130+
label: Operating System and Version
131+
placeholder: Ubuntu 24.04, Windows 11 Build 26100.2033, macOS 15.0.1
132+
validations:
133+
required: false
134+
- type: textarea
135+
attributes:
136+
label: Runtime and Version
137+
placeholder: Node.js v20.12.1, Node.js v18.18.2, Firefox 130, Chrome 132, ...
138+
validations:
139+
required: false

0 commit comments

Comments
 (0)