Tracking versions with Grafana?

This is a follow up from https://groups.google.com/forum/#!msg/prometheus-users/ORZuA9f61JA/JFMkxST9BAAJ since I didn’t get a reply from the Prometheus community.

Say I’m plotting versions between environments via a Grafana table. Is there a way to highlight version differences?

Thanks to https://twitter.com/davkals/status/1203241086061338625

I’m now showing majority version like so:

local buildInfo =
  singlestat.new(
    title='Majority Revision',
    datasource=datasource,
    span=12,
    format='none',
    valueName='name',
  ).addTarget(
    prometheus.target(
      'topk(1, count(my_build_info{cluster_name="$cluster_name"}) by (revision) )',
      legendFormat='{{ revision }}',
    )
  );