You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NewExporter and NewServiceClient each call clientconfig.GetCloudFromYAML, which opens and reads the os-client-config (clouds.yaml). There are two (somewhat minor) problems with this:
These functions are called once for each service every time metrics are collected. This results in a non-negligable performance hit (~2% total cpu time taken in this function).
If clouds.yaml is changed on disk while the exporter is running, the changes will be re-read. This is unexpected, and could cause crashes if the file is saved partway through being edited.
The text was updated successfully, but these errors were encountered:
NewExporter
andNewServiceClient
each callclientconfig.GetCloudFromYAML
, which opens and reads the os-client-config (clouds.yaml). There are two (somewhat minor) problems with this:The text was updated successfully, but these errors were encountered: