diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 9fec3a163..000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,49 +0,0 @@ - - -**What did you do?** - -**What did you expect to see?** - -**What did you see instead? Under which circumstances?** - -**Environment** - -* System information: - - insert output of `uname -srm` here - -* Alertmanager version: - - insert output of `alertmanager --version` here (repeat for each alertmanager - version in your cluster, if relevant to the issue) - -* Prometheus version: - - insert output of `prometheus --version` here (repeat for each prometheus - version in your cluster, if relevant to the issue) - -* Alertmanager configuration file: -``` -insert configuration here -``` - -* Prometheus configuration file: -``` -insert configuration here (if relevant to the issue) -``` - -* Logs: -``` -insert Prometheus and Alertmanager logs relevant to the issue here -``` diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..139aea2c6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,74 @@ +--- +name: Bug report +description: Create a report to help us improve. +body: + - type: markdown + attributes: + value: | + Thank you for opening a bug report for Alertmanager. + + Please do *NOT* ask support questions in Github issues. + + If your issue is not a feature request or bug report use our [community support](https://prometheus.io/community/). + + There is also [commercial support](https://prometheus.io/support-training/) available. + - type: textarea + attributes: + label: What did you do? + description: Please provide steps for us to reproduce this issue. + validations: + required: true + - type: textarea + attributes: + label: What did you expect to see? + - type: textarea + attributes: + label: What did you see instead? Under which circumstances? + validations: + required: true + - type: markdown + attributes: + value: | + ## Environment + - type: input + attributes: + label: System information + description: Insert output of `uname -srm` here, or operating system version. + placeholder: e.g. Linux 5.16.15 x86_64 + - type: textarea + attributes: + label: Alertmanager version + description: Insert output of `alertmanager --version` here. + render: text + placeholder: | + e.g. alertmanager, version 0.22.2 (branch: HEAD, revision: 44f8adc06af5101ad64bd8b9c8b18273f2922051) + build user: root@b595c7f32520 + build date: 20210602-07:50:37 + go version: go1.16.4 + platform: linux/amd64 + - type: textarea + attributes: + label: Alertmanager configuration file + description: Insert relevant configuration here. Don't forget to remove secrets. + render: yaml + - type: textarea + attributes: + label: Prometheus version + description: Insert output of `prometheus --version` here (if relevant to the issue). + render: text + placeholder: | + e.g. prometheus, version 2.23.0 (branch: HEAD, revision: 26d89b4b0776fe4cd5a3656dfa520f119a375273) + build user: root@37609b3a0a21 + build date: 20201126-10:56:17 + go version: go1.15.5 + platform: linux/amd64 + - type: textarea + attributes: + label: Prometheus configuration file + description: Insert relevant configuration here. Don't forget to remove secrets. + render: yaml + - type: textarea + attributes: + label: Logs + description: Insert Prometheus and Alertmanager logs relevant to the issue here. + render: text diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..bb4e2d24c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: Prometheus Community Support + url: https://prometheus.io/community/ + about: If you need help or support, please request help here. + - name: Commercial Support & Training + url: https://prometheus.io/support-training/ + about: If you want commercial support or training, vendors are listed here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 000000000..40f6f1388 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,23 @@ +--- +name: Feature request +description: Suggest an idea for this project. +body: + - type: markdown + attributes: + value: >- + Please do *NOT* ask support questions in Github issues. + + + If your issue is not a feature request or bug report use + our [community support](https://prometheus.io/community/). + + + There is also [commercial + support](https://prometheus.io/support-training/) available. + - type: textarea + attributes: + label: Proposal + description: Use case. Why is this important? + placeholder: “Nice to have” is not a good use case. :) + validations: + required: true diff --git a/.gitignore b/.gitignore index 7ef77d321..1eb24d05e 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ !/.promu.yml !/api/v2/openapi.yaml !.github/workflows/*.yml +!.github/ISSUE_TEMPLATE/*.yml