Graylog Plugin Prometheus


(Julian Gog) #1

Hey there,

I have a problem getting this Plugin to work (https://github.com/graylog-labs/graylog-plugin-metrics-reporter/tree/master/metrics-reporter-prometheus)

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


(Julian Gog) #2

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!


(system) #3

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