O'Reilly logo
  • black zwei thinks this is interesting:

sum(count by (__name__)({__name__=\~"\.\+"}))

From

Cover of Monitoring with Prometheus

Note

just sum(count by (name)({name=~".+"})) no \