RabbitMQ module path_prefix

Good day, @ruflin

I'm sorry for such a delay. I've changed config - and now it works! ES now recieving data and i can see it in Kibana.

Should i configure metricset: queue as separate module? If i understand your config correctly only difference will be the URL for queues metrics.

Thank you.

Update:

I've updated config with this:

- module: rabbitmq
  metricsets: ["queue"]
  period: 10s
  hosts: ["10.233.53.218:15672/rabbit/api/queues"]
  username: rabbitmetricbeat
  password: strongpass

ES successfully recieving metrics, but there is error in metricbeat logs:

2018-04-16T08:27:10.043Z        ERROR   schema/schema.go:41     Error on field 'count': Missing field: count, Error: Key disk_writes not found
2018-04-16T08:27:10.043Z        ERROR   schema/schema.go:41     Error on field 'count': Missing field: count, Error: Key disk_reads not found