Hashmod

28 views
Skip to first unread message

ritesh patel

unread,
Jul 29, 2022, 2:59:13 AM7/29/22
to promethe...@googlegroups.com
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 

Ben Kochie

unread,
Jul 29, 2022, 4:46:21 AM7/29/22
to ritesh patel, Prometheus Users
Yes, any SD can be used with hashmod sharding using a "relabel_config".


But you should have no problem with 3000 targets in one Prometheus. How many millions of metrics are you looking to use per shard?

--
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 prometheus-use...@googlegroups.com.
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.
Reply all
Reply to author
Forward
0 new messages