---
name: Bug Report
description: Create a report to help us improve
labels: [bug]
body:
  - type: markdown
    attributes:
      value: |
        Thanks for taking the time to fill out this bug report! Please make sure to fill out the entire form below, providing as much context as you can in order to help us triage and track down your bug as quickly as possible.

        Before filing a bug, please be sure you have searched through [existing bugs](https://github.com/open-telemetry/opentelemetry-python-contrib/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Abug) to see if your bug is already addressed.  
  
  - type: textarea
    id: environment
    attributes:
      label: Describe your environment
      description: |
        Please describe any aspect of your environment relevant to the problem, including your Python version, [platform](https://docs.python.org/3/library/platform.html), version numbers of installed dependencies, information about your cloud hosting provider, etc. If you're reporting a problem with a specific version of a library in this repo, please check whether the problem has been fixed on main.
      value: |
        OS: (e.g, Ubuntu)
        Python version: (e.g., Python 3.8.10)
        Package version: (e.g., 0.46.0)
  
  - type: textarea
    attributes:
      label: What happened?
      description: Please provide as much detail as you reasonably can.
    validations:
      required: true

  - type: textarea
    attributes:
      label: Steps to Reproduce
      description: Provide a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) if possible and the needed steps to reproduce the problem.
    validations:
      required: true

  - type: textarea
    attributes:
      label: Expected Result
      description: What did you expect to see?
    validations:
      required: true

  - type: textarea
    attributes:
      label: Actual Result
      description: What did you see instead?
    validations:
      required: true

  - type: textarea
    id: additional-context
    attributes:
      label: Additional context
      description: Add any other context about the problem here.
      placeholder: Any additional information...

  - type: dropdown
    id: contribute
    attributes:
      label: Would you like to implement a fix?
      description: For guidance on how to get started, refer to the [contribution guide](https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/CONTRIBUTING.md).
      options:
        - "No"
        - "Yes"
