Is your feature request related to a problem? Please describe.
create auth file next to exporter, where can be defined different credentials for multiple endpoints.
There should not be requirement set --mongo.uri when want to use only /scape
Describe the solution you'd like
the auth;
mysql exporter has file with logins which you enable by /scrape?target=....&auth=user
redis exporter has file with target and login, which is taken on request no need to define anything extra
Either one would be fine.
about the flag
mongo.uri not required on start
or add exclusive flag --no-local or something like that
Describe alternatives you've considered
no other
Additional context
When we using /scrape or /probe fuctionality on exporter we use it for all instances. Feels obsolete need to specify default instance.
mongodb_exporter: error: No MongoDB hosts were specified. You must specify the host(s) with the --mongodb.uri command argument or the MONGODB_URI environment variable
mongodb_exporter: error: No MongoDB hosts were specified. You must specify the host(s) with the --mongodb.uri command argument or the MONGODB_URI environment variable
Is your feature request related to a problem? Please describe.
--mongo.uri
when want to use only/scape
Describe the solution you'd like
the auth;
/scrape?target=....&auth=user
about the flag
--no-local
or something like thatDescribe alternatives you've considered no other
Additional context When we using /scrape or /probe fuctionality on exporter we use it for all instances. Feels obsolete need to specify default instance.