Grafana panel crashes when hovering on a annotation

  • What Grafana version and what operating system are you using?
    version - 9.1.3 OS - Debian

  • What are you trying to achieve?
    I want to display the annotations on a panel in grafana

  • How are you trying to achieve it?
    I have added the pagerduty annotation datasource, configured annotation query in the grafana dashboard

  • What happened?
    When I hovered over an annotation in a panel in grafana, the panel got crashed

  • What did you expect to happen?
    The panel should show an information block when hovering over an annotation

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    Yes, the panel got crashed with the error “e.toLowerCase is not a function”

  • Did you find any weird behavior?
    Yes, this issue arises in all visualization types except the graph (old) type, in graph (old) type of panel it works as expected

@anumat04 thanks for sharing this issue. There is a similar github issue that was supposed to be fixed and other users reported that Grafana 9.1.1 fixed the issue in this post.

If it’s happening on a newer version, there could be a regression or a related cause. I’d recommend opening an issue in the github repository and mentioning this one: Grafana 9.0.0: autocomplete annotation tags · Issue #50928 · grafana/grafana · GitHub