Graylog Plugin Prometheus

Hey there,

I have a problem getting this Plugin to work (graylog-plugin-metrics-reporter/metrics-reporter-prometheus at master · graylog-labs/graylog-plugin-metrics-reporter · GitHub)

What I did:

graylog_master:
image: graylog/graylog:2.4.4-1
volumes:
  - ./data/graylog:/usr/share/graylog/data/journal
  - ./graylog/config:/usr/share/graylog/data/config
  - ./graylog/plugins:/usr/share/graylog-server/plugin
  - ./graylog/prom.xml:/etc/graylog/server/prom.xml

The plugin is at the right place:

docker exec -it graylog_graylog_master_1 ls -la /usr/share/graylog-server/plugin
total 100
drwxrwxr-x 2 1000 1000  4096 Aug 23 08:23 .
drwxr-xr-x 3 root root  4096 Aug 23 08:45 ..
-rw-rw-r-- 1 1000 1000 93299 Aug 23 08:23 metrics-reporter-prometheus-2.4.0-beta.3.jar

But I cant find the plugin in the configuration/plugin list. What did I miss?

Best,Julian

found my mistake… at the docs (http://docs.graylog.org/en/2.4/pages/configuration/file_location.html) it says :

Plugins /usr/share/graylog-server/plugin

This is wrong for me and this one is now working:
./graylog/plugins/metrics-reporter-prometheus-2.4.0-beta.3.jar:/usr/share/graylog/plugin/metrics-reporter-prometheus-2.4.0-beta.3.jar

So maybe edit the docs pls!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.