The Grafana version tested was v8.2.4. Checking dashboards after update from v8.2.0, found that all alerts were firing. The error was the following:
error:"request handler error: failed to query data: Post "http://***.com/api/v1/query_range": net/http: invalid header field name """
Expected all alerts to not fire. Found that Prometheus data sources needed to be manually replaced with identical versions in the console while using v8.2.4, in order for alerts to work properly. This solution was based on suggestions from here:
However, I should be able to use existing data sources without any issues to avoid replacing them after version update due to a large number of organizations/dashboards.
Grafana’s transition from legacy alerting to the Unified Alerting platform represents a big step forward. But, there are many factors that can influence behavior, and it is often hard for the community to troubleshoot issues without a thorough understanding of your unique setup. Try to include the following info:
What is your Grafana version?
Are you using Grafana Cloud or self-hosted Grafana?
Are you using legacy alerting or Unified Alerting?
was the alert in question migrated from the legacy platform into Unified Alerting, or did you first create it inside the new platform?
Please list ALL configuration options related to alerting. You can find these in the Alerting and Unified Alerting sections of Grafana’s config file. If you are now using or have previously used the beta version of ngalert (released with Grafana 8), please note that too.
you can use this table to better understand how configuration options can interact with each other