Yes, any SD can be used with hashmod sharding using a "relabel_config".
https://training.promlabs.com/training/relabeling/writing-relabeling-rules/hashing-and-sharding-on-label-values But you should have no problem with 3000 targets in one Prometheus. How many millions of metrics are you looking to use per shard? On Fri, Jul 29, 2022 at 8:59 AM ritesh patel <[email protected]> wrote: > Hello Team, > > Can we use Hashmod on http_sd_configs ? > I added my target from cmdb. But i want to set autoscalling on targets. > Like 1st 1500 hosts added on prometheus 1 then next 1500 added on 2nd > prometheus. > > Can someone guide me how to do that? > > Thanks and regards > Ritesh Patel > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/CAPxUNF_riA_673bQ5Pn-DLrwFM_UNjzUs4uqOs-VC66R6tjjKg%40mail.gmail.com > <https://groups.google.com/d/msgid/prometheus-users/CAPxUNF_riA_673bQ5Pn-DLrwFM_UNjzUs4uqOs-VC66R6tjjKg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CABbyFmoz0Ki_GAe_JXpzKWstObN0N-%2BjGhJ5RjkPqtjda7js%2BA%40mail.gmail.com.

