Graylog version: v4.0.1
I followed the following document to export the metrics using the metric exporter and Prometheus Pushgateway
Because the Graylog is behind NAT device, so I used PAT to translate port 9000 and 9001 into the 2 Graylog instances inside.
I can successfully access the metrics both locally (using curl) and externally (e.g. using a browser to http://188.8.131.52:9001/api/plugins/org.graylog.plugins.metrics.prometheus/metrics).
But the Prometheus fails to pull any metrics from them. The scrape config in Prometheus is also following the document mentioned earlier
- job_name: 'graylog'
# Optional TLS configuration; see https://prometheus.io/docs/operating/configuration/#<tls_config>
- targets: ['184.108.40.206:9000', '220.127.116.11:9001']
Everyone having the same experience and know how to solve it?
Thanks a lot in advance.