Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ConfigPath is the path used to read the config.yaml file from. ConfigPath = "/etc/collectorset-controller/config.yaml" // AccessID is the environment variable name to lookup for the LogicMonitor access ID. AccessID = "ARGUS_ACCESS_ID" // AccessKey is the environment variable name to lookup for the LogicMonitor access key. AccessKey = "ARGUS_ACCESS_KEY" // Account is the environment variable name to lookup for the LogicMonitor account. Account = "ARGUS_ACCOUNT" )
View Source
const ( // ArgusSecretName is the service account name with the proper RBAC policies to allow a collector to monitor the cluster. ArgusSecretName = "argus" // CollectorsetControllerSecretName is the service account name with the proper RBAC policies to allow a collector to monitor the cluster. CollectorsetControllerSecretName = "collectorset-controller" // CollectorServiceAccountName is the service account name with the proper RBAC policies to allow a collector to monitor the cluster. CollectorServiceAccountName = "collector" // HealthServerServiceName is the gRPC service name for the health checks. HealthServerServiceName = "grpc.health.v1.Health" )
View Source
const ( // ClusterCollectorGroupPrefix is the prefix for the collector group of the cluster ClusterCollectorGroupPrefix = "Kubernetes Cluster: " // CustomPropertyKubernetesLabelApp is the custom property for the collector group and collector of the cluster CustomPropertyKubernetesLabelApp = "kubernetes.label.app" // CustomPropertyKubernetesLabelAppValue is the custom property value for the collector group and collector of the cluster CustomPropertyKubernetesLabelAppValue = "argus" // CustomPropertyAutoClusterName is the custom property for the collector group and collector of the cluster CustomPropertyAutoClusterName = "auto.clustername" )
View Source
const ( // DefaultCollectorImageRepository is the default image repository for collector DefaultCollectorImageRepository = "logicmonitor/collector" // DefaultCollectorImageTag is the default image tag for collector DefaultCollectorImageTag = "latest" // DefaultCollectorImage is the default image for collector DefaultCollectorImage = DefaultCollectorImageRepository + ":" + DefaultCollectorImageTag // DefaultCollectorImagePullPolicy is the default image pull policy for collector DefaultCollectorImagePullPolicy = apiv1.PullAlways )
View Source
const (
// UserAgentBase is the base string for the User-Agent HTTP header.
UserAgentBase = "LogicMonitor CollectorSet/"
)
Variables ¶
View Source
var ( // Version is the Argus version and is set at build time. Version string )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.