---
name: Bug report
description: Create a bug report
labels:
  - kind::bug
body:
  - type: checkboxes
    attributes:
      label: Disclaimer
      description: |
        For support questions, please use the [discussions][] instead. Before
        opening a bug report, ensure you have read the [documentation][],
        notably the [troubleshooting section][]. Only use bug reports for
        confirmed bugs. If you are unsure, it is better to [start with a
        discussion][discussions], notably if you are a new user.

        [documentation]: https://demo.akvorado.net/docs/intro
        [troubleshooting section]: https://demo.akvorado.net/docs/troubleshooting
        [discussions]: https://github.com/akvorado/akvorado/discussions
      options:
        - label: I have read and understood the disclaimer.
          required: true
        - label: I am a new user.
  - type: input
    attributes:
      label: Akvorado version
      description: |
        Provide the Akvorado version (first line of `akvorado version` or
        `docker compose run --rm --no-deps akvorado-inlet version`)
    validations:
      required: true
  - type: textarea
    attributes:
      label: Bug description
      description: |
        Provide a description of the problem: steps to reproduce it, what you
        are expecting and what you got. When using code snippets (logs,
        commands), put them between triple backticks:

        ````
        ```
        # akvorado version | head -2
        akvorado v1.11.2
          Built with: go1.23.2 X:loopvar
        ```
        ````
    validations:
      required: true
