I want to fetch arangodb metrics with prometheus. Since I enabled authertication this has to be done with an user and password.
What are the required permissions needed for this?
This works so far:
arangosh
const users = require('@arangodb/users');
users.save('prometheus', 'supersecure')
users.grantDatabase("prometheus", "_system", "ro")
users.grantCollection("prometheus", "_system", "*", "none")