Documentation ¶
Index ¶
- func AddCommand(metricAnnotations data.InterfaceMap, command string)
- func AddContainerID(metricAnnotations data.InterfaceMap, containerID string)
- func AddContainerName(metricAnnotations data.InterfaceMap, containerName string)
- func AddDockerContainerName(metricAnnotations data.InterfaceMap, dockerContainerName string)
- func AddImage(metricAnnotations data.InterfaceMap, image string)
- func AddImageID(metricAnnotations data.InterfaceMap, imageID string)
- func AddLabels(metricAnnotations data.InterfaceMap, labels map[string]string)
- func AddPrefixToVariable(prefix, variable string) string
- func ToVariable(name string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommand ¶
func AddCommand(metricAnnotations data.InterfaceMap, command string)
AddCommand adds docker command to metricAnnotations
func AddContainerID ¶
func AddContainerID(metricAnnotations data.InterfaceMap, containerID string)
AddContainerID adds container ID to metricAnnotations
func AddContainerName ¶
func AddContainerName(metricAnnotations data.InterfaceMap, containerName string)
AddContainerName adds container name to metricAnnotations
func AddDockerContainerName ¶
func AddDockerContainerName(metricAnnotations data.InterfaceMap, dockerContainerName string)
AddDockerContainerName adds docker container name to metricAnnotations
func AddImage ¶
func AddImage(metricAnnotations data.InterfaceMap, image string)
AddImage adds Image name to metricAnnotations
func AddImageID ¶
func AddImageID(metricAnnotations data.InterfaceMap, imageID string)
AddImageID adds Image ID to metricAnnotations
func AddLabels ¶
func AddLabels(metricAnnotations data.InterfaceMap, labels map[string]string)
AddLabels adds Docker labels to metricAnnotations
func AddPrefixToVariable ¶
AddPrefixToVariable is used to inject a prefix into a discovery variable name.
func ToVariable ¶
ToVariable converts a string into a discovery variable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.