# Functions
FilterPrometheus is used to filter helm that do not belong to the tenant.
GetClusterClient get kubernetes client via cluster name.
GetMonitoringClient get monitoring client via cluster name.
ParseES parse es address and user pwd.
ParseInfluxdb parse influxdb address and pwd.
RenameInfluxDB replace invalid character for influxDB database.
ValidateLabels returns if labels has default key, if not return error.
# Constants
DefaultAlertKey defines the default key for prometheus and alertmanager labels.
ProjectDatabaseName defines database name for project metrics.
# Variables
ClusterNameToClient mapping cluster to kubernetes client clusterName => kubernetes.Interface.
ClusterNameToMonitor mapping cluster to monitoring client clusterName => monitoringclient.Clientset.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
GenericRouteOperator defines the generic alert route for alertmanager.
GenericRuleOperator defines the generic rule operator for prometheus.
PersistentOperator defined the persistent method of rule operator.
RouteOperator defines the CRUD interface of alert route.
RuleGroupOperator defines the CRUD interface of rule group operator.
RuleOperator defines the CRUD interface of rule record operator.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author