Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigForHost ¶
func ConfigForHost(bz []byte, newHost string, halos []string, geths []string, services map[string]bool) []byte
ConfigForHost returns a new prometheus agent config with the given host and halo targets.
It removes the serviceX targets if not enabled. It replaces the halo targets with provided. It replaces the geth targets with provided. It replaces the host label.
Types ¶
Click to show internal directories.
Click to hide internal directories.