Documentation
¶
Index ¶
- Constants
- func GetInterval(startTimeMs, endTimeMs int64, minInterval stdtime.Duration, ...) string
- func GetMonitorAlertServiceFromContext(ctx context.Context) monitorpb.AlertServiceServer
- func GetMonitorMetricServiceFromContext(ctx context.Context) metricpb.MetricServiceServer
- func StringToInterface(value []string) []interface{}
- func ToInterface(value []int64) []interface{}
- type InParams
Constants ¶
View Source
const ( ComponentNameUnRecoverAlertChart = "unRecoverAlertChart" ComponentNameKvCard = "kvCard" ComponentNameAlertEventGroupByLevelCountLine = "alertEventGroupByLevelCountLine" ComponentNameAlertEventGroupByTypeCountLine = "alertEventGroupByTypeCountLine" ComponentNameAlertNotifyGroupByStatusCountLine = "alertNotifyGroupByStatusCountLine" ComponentNameAlertNotifyGroupByTypeCountLine = "alertNotifyGroupByTypeCountLine" ComponentNameAlertDurationDistributionBubble = "alertDurationDistributionBubble" )
View Source
const ScenarioKey = "msp-alert-overview"
Variables ¶
This section is empty.
Functions ¶
func GetInterval ¶
func GetMonitorAlertServiceFromContext ¶
func GetMonitorAlertServiceFromContext(ctx context.Context) monitorpb.AlertServiceServer
func GetMonitorMetricServiceFromContext ¶
func GetMonitorMetricServiceFromContext(ctx context.Context) metricpb.MetricServiceServer
func StringToInterface ¶
func StringToInterface(value []string) []interface{}
func ToInterface ¶
func ToInterface(value []int64) []interface{}
Types ¶
Click to show internal directories.
Click to hide internal directories.