| 1 |
name: Instrumentation Request |
| 2 |
description: Suggest instrumentation to include in this project |
| 3 |
title: "Request to Add Instrumentation for <package-name>" |
| 4 |
labels: ["enhancement", "area: instrumentation"] |
| 5 |
|
| 6 |
body: |
| 7 |
- type: input |
| 8 |
id: package_link |
| 9 |
attributes: |
| 10 |
label: Package Link |
| 11 |
description: Add link to the package here |
| 12 |
placeholder: "https://pkg.go.dev/go.opentelemetry.io/contrib" |
| 13 |
validations: |
| 14 |
required: true |
| 15 |
|
| 16 |
- type: textarea |
| 17 |
id: package_usage |
| 18 |
attributes: |
| 19 |
label: How is this package commonly used? |
| 20 |
validations: |
| 21 |
required: true |
| 22 |
|
| 23 |
- type: textarea |
| 24 |
id: why_not_in_package |
| 25 |
attributes: |
| 26 |
label: Why can this instrumentation not be included in the package itself? |
| 27 |
validations: |
| 28 |
required: true |
| 29 |
|
| 30 |
- type: textarea |
| 31 |
id: why_not_dedicated_repo |
| 32 |
attributes: |
| 33 |
label: Why can this instrumentation not be hosted in a dedicated repository? |
| 34 |
validations: |
| 35 |
required: true |
| 36 |
|
| 37 |
- type: textarea |
| 38 |
id: proposed_solution |
| 39 |
attributes: |
| 40 |
label: Proposed Solution |
| 41 |
description: High-level description of how instrumentation can wrap or hook-in to the package |
| 42 |
validations: |
| 43 |
required: true |
| 44 |
|
| 45 |
- type: textarea |
| 46 |
id: tracing |
| 47 |
attributes: |
| 48 |
label: Tracing |
| 49 |
description: Add proposed attributes, events, and links |
| 50 |
placeholder: | |
| 51 |
attributes: |
| 52 |
- example_attribute |
| 53 |
events: |
| 54 |
- example_event |
| 55 |
links: |
| 56 |
- example_link |
| 57 |
validations: |
| 58 |
required: false |
| 59 |
|
| 60 |
- type: textarea |
| 61 |
id: metrics |
| 62 |
attributes: |
| 63 |
label: Metrics |
| 64 |
description: Proposed instruments with type, unit, description, and attributes |
| 65 |
placeholder: | |
| 66 |
instrument_name: |
| 67 |
type: counter |
| 68 |
unit: ms |
| 69 |
description: measures response time |
| 70 |
attributes: |
| 71 |
- example_attribute |
| 72 |
validations: |
| 73 |
required: false |
| 74 |
|
| 75 |
- type: textarea |
| 76 |
id: prior_art |
| 77 |
attributes: |
| 78 |
label: Prior Art |
| 79 |
description: List other established instrumentation for this package that can be referenced |
| 80 |
validations: |
| 81 |
required: false |
| 82 |
|
| 83 |
- type: checkboxes |
| 84 |
id: tasks_code_complete |
| 85 |
attributes: |
| 86 |
label: Tasks — Code complete |
| 87 |
options: |
| 88 |
- label: Comprehensive unit tests. |
| 89 |
required: true |
| 90 |
- label: End-to-end integration tests. |
| 91 |
required: true |
| 92 |
- label: Tests all passing. |
| 93 |
required: true |
| 94 |
- label: Instrumentation functionality verified. |
| 95 |
required: true |
| 96 |
|
| 97 |
- type: checkboxes |
| 98 |
id: tasks_documented |
| 99 |
attributes: |
| 100 |
label: Tasks — Documented |
| 101 |
description: > |
| 102 |
Checklist for completion before merging the new instrumentation. |
| 103 |
options: |
| 104 |
- label: Added to the [OpenTelemetry Registry](https://opentelemetry.io/registry/) |
| 105 |
required: true |
| 106 |
- label: README included for the module describing high-level purpose. |
| 107 |
required: true |
| 108 |
- label: Complete documentation of all public API including package documentation |
| 109 |
required: true |
| 110 |
- label: Instrumentation [documentation](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/instrumentation/README.md#instrumentation-packages) updated. |
| 111 |
required: true |
| 112 |
|
| 113 |
- type: checkboxes |
| 114 |
id: tasks_examples |
| 115 |
attributes: |
| 116 |
label: Tasks — Examples |
| 117 |
options: |
| 118 |
- label: Dockerfile file to build example application. |
| 119 |
required: true |
| 120 |
- label: docker-compose.yml to run example in a docker environment to demonstrate instrumentation. |
| 121 |
required: true |
| 122 |
|
| 123 |
- type: markdown |
| 124 |
attributes: |
| 125 |
value: | |
| 126 |
**Tip**: [React](https://github.blog/news-insights/product-news/add-reactions-to-pull-requests-issues-and-comments/) with 👍 to help prioritize this issue. |
| 127 |
Please use comments to provide useful context, avoiding `+1` or `me too`, to help us triage it. |
| 128 |
Learn more [here](https://opentelemetry.io/community/end-user/issue-participation/). |