Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigSync ¶
ConfigSync loads YAML files from a directory and syncs them to the provided PrometheusClient API. All YAML files will be synced and must be valid.
The base name of the YAML file (i.e., without the file extension) is used as the config name.
ConfigSync will completely overwrite the set of active configs present in the provided PrometheusClient - configs present in the API but not in the directory will be deleted.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.