alarmservice

package
v0.0.23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSetAlarm 注入prometheus相关服务

Functions

This section is empty.

Types

type HistoryService

type HistoryService struct {
	pb.UnimplementedHistoryServer
	// contains filtered or unexported fields
}

func NewHistoryService

func NewHistoryService(historyBiz *biz.HistoryBiz, logger log.Logger) *HistoryService

func (*HistoryService) GetHistory

func (*HistoryService) ListHistory

type HookService

type HookService struct {
	pb.UnimplementedHookServer
	// contains filtered or unexported fields
}

func NewHookService

func NewHookService(historyBiz *biz.HistoryBiz, logger log.Logger) *HookService

func (*HookService) V1

type RealtimeService

type RealtimeService struct {
	pb.UnimplementedRealtimeServer
	// contains filtered or unexported fields
}

func NewRealtimeService

func NewRealtimeService(alarmRealtime *biz.AlarmRealtimeBiz, logger log.Logger) *RealtimeService

NewRealtimeService 实时告警服务

func (*RealtimeService) GetRealtime

GetRealtime 实时告警详情

func (*RealtimeService) Intervene

Intervene 告警干预

func (*RealtimeService) ListRealtime

ListRealtime 实时告警列表

func (*RealtimeService) Suppress

Suppress 告警抑制

func (*RealtimeService) Upgrade

Upgrade 告警升级

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL