This will give you a hint on which metrics that has the highest cardinality.
topk(10, count by (__name__, job)({__name__=~".+"}))
| version: "3.5" | |
| services: | |
| fluentbit: | |
| image: cr.fluentbit.io/fluent/fluent-bit | |
| ports: | |
| - "24224:24224" | |
| - "24224:24224/udp" | |
| volumes: | |
| - ./:/fluent-bit/etc/ | |
| flog: |