How to configure Grafana data source

Hello,

I’m trying to configure the Grafana data source. I tried many URLs but none of them are working.

HTTP error Not Found

Has anyone set it up correctly?

Does prometheus expose only /metrics or others endpoints ?

Thanks,
Regards

Hi @stevenroh,

Crowdsec doesn’t expose prometheus server but prometheus exporter. So you need to have a prometheus server that will scrape crowdsec exporter and then connect grafana to your prometheus server.

1 Like

Hi @he2ss
Thanks for the clarification, this makes sense now ! I misunderstood

1 Like

i don’t clearly understand what configurations i have to do on crowdsec and on graphana. Can i have more details?

Here you go : Prometheus | CrowdSec