sipcapture / homer7-docker

HOMER 7 Docker Images
93 stars 87 forks source link

Source and destination IPs in Prometheus or Loki for Grafana #129

Closed perrfect closed 2 years ago

perrfect commented 2 years ago

Hello. Can, please, tell me is it possible find source of destination IP metrics in Prometheus or Loki and show it in Grafana? In Homer I see these fields, but I need these metrics in Prometheus or Loki and further show in Grafana for counting the number of requests from different IPs.

lmangani commented 2 years ago

This is only possible by using Target alias tags for known IPs in the PROMTARGETIP array


      - "HEPLIFYSERVER_PROMTARGETIP=10.20.30.40"
      - "HEPLIFYSERVER_PROMTARGETNAME=local"
``