Hi Brain,
Thanks for you reply. I was able to figure out yesterday. Is there a way to
give basic auth details in the yaml file. I have been trying to add basic
auth and prometheus is not picking them up. sample config.
- targets: ['**.**.**']
scheme: "https"
basic_auth:
username: ""
password: ""
labels:
job: '**'
Thanks
Eswar
On Tuesday, 31 March 2020 16:59:52 UTC+2, Ishvar B wrote:
>
> Hi,
>
> I have a prometheus set up which has too many (roughly 50 static configs)
> and this number would increase as we have lot of vms still be scraped for
> prometheus. The file is becoming huge , especially when some applications
> require basic auth. is there any best practice to maintain the config file
> as with such huge file some times changes would cause accidental errors.
>
> Thanks
> Eswar
>
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/b0a038f1-29a5-4c77-8f58-5630969c2abb%40googlegroups.com.