How to change color of annotations bar based on a condition e.g. tag

Hello Everyone,

I am using Grafana version 8.1.0 and have a timeseries panel on which annotations are added using HTTP create annotation API and GUI both.

I want to change the color of the annotation bar based on tags added to that annotation.

I have tried to go through documentation but have not found a way to do it. Could someone help me out with this? I think this is a very basic requirement and I must be missing something here.

welcome to the :grafana: forum, @hdesai

are you talking about the dotted red bars like these?

I don’t believe the color is configurable. But this is an interesting idea. Might make a good feature request in the repo: