Documentation
¶
Index ¶
- type AlarmPageSelfService
- type AlarmService
- func (s *AlarmService) GetAlarm(ctx context.Context, req *realtimeapi.GetAlarmRequest) (*realtimeapi.GetAlarmReply, error)
- func (s *AlarmService) ListAlarm(ctx context.Context, req *realtimeapi.ListAlarmRequest) (*realtimeapi.ListAlarmReply, error)
- func (s *AlarmService) MarkAlarm(ctx context.Context, req *realtimeapi.MarkAlarmRequest) (*realtimeapi.MarkAlarmReply, error)
- type DashboardService
- func (s *DashboardService) AddChart(ctx context.Context, req *realtimeapi.AddChartRequest) (*realtimeapi.AddChartReply, error)
- func (s *DashboardService) BatchUpdateChartSort(ctx context.Context, req *realtimeapi.BatchUpdateChartSortRequest) (*realtimeapi.BatchUpdateChartSortReply, error)
- func (s *DashboardService) BatchUpdateChartStatus(ctx context.Context, req *realtimeapi.BatchUpdateChartStatusRequest) (*realtimeapi.BatchUpdateChartStatusReply, error)
- func (s *DashboardService) BatchUpdateDashboardStatus(ctx context.Context, req *realtimeapi.BatchUpdateDashboardStatusRequest) (*realtimeapi.BatchUpdateDashboardStatusReply, error)
- func (s *DashboardService) CreateDashboard(ctx context.Context, req *realtimeapi.CreateDashboardRequest) (*realtimeapi.CreateDashboardReply, error)
- func (s *DashboardService) DeleteChart(ctx context.Context, req *realtimeapi.DeleteChartRequest) (*realtimeapi.DeleteChartReply, error)
- func (s *DashboardService) DeleteDashboard(ctx context.Context, req *realtimeapi.DeleteDashboardRequest) (*realtimeapi.DeleteDashboardReply, error)
- func (s *DashboardService) GetChart(ctx context.Context, req *realtimeapi.GetChartRequest) (*realtimeapi.GetChartReply, error)
- func (s *DashboardService) GetDashboard(ctx context.Context, req *realtimeapi.GetDashboardRequest) (*realtimeapi.GetDashboardReply, error)
- func (s *DashboardService) ListChart(ctx context.Context, req *realtimeapi.ListChartRequest) (*realtimeapi.ListChartReply, error)
- func (s *DashboardService) ListDashboard(ctx context.Context, req *realtimeapi.ListDashboardRequest) (*realtimeapi.ListDashboardReply, error)
- func (s *DashboardService) ListDashboardSelect(ctx context.Context, req *realtimeapi.ListDashboardRequest) (*realtimeapi.ListDashboardSelectReply, error)
- func (s *DashboardService) ListSelfDashboard(ctx context.Context, req *realtimeapi.ListSelfDashboardRequest) (*realtimeapi.ListSelfDashboardReply, error)
- func (s *DashboardService) UpdateChart(ctx context.Context, req *realtimeapi.UpdateChartRequest) (*realtimeapi.UpdateChartReply, error)
- func (s *DashboardService) UpdateDashboard(ctx context.Context, req *realtimeapi.UpdateDashboardRequest) (*realtimeapi.UpdateDashboardReply, error)
- func (s *DashboardService) UpdateSelfDashboard(ctx context.Context, req *realtimeapi.UpdateSelfDashboardRequest) (*realtimeapi.UpdateSelfDashboardReply, error)
- type StatisticsService
- func (s *StatisticsService) LatestAlarmEvent(ctx context.Context, req *pb.LatestAlarmEventRequest) (*pb.LatestAlarmEventReply, error)
- func (s *StatisticsService) LatestInterventionEvent(ctx context.Context, req *pb.LatestInterventionEventRequest) (*pb.LatestInterventionEventReply, error)
- func (s *StatisticsService) SummaryAlarm(ctx context.Context, req *pb.SummaryAlarmRequest) (*pb.SummaryAlarmReply, error)
- func (s *StatisticsService) SummaryNotice(ctx context.Context, req *pb.SummaryNoticeRequest) (*pb.SummaryNoticeReply, error)
- func (s *StatisticsService) TopStrategyAlarm(ctx context.Context, req *pb.TopStrategyAlarmRequest) (*pb.TopStrategyAlarmReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlarmPageSelfService ¶
type AlarmPageSelfService struct { pb.UnimplementedAlarmPageSelfServer // contains filtered or unexported fields }
AlarmPageSelfService is a service that implements the AlarmPageSelfServer.
func NewAlarmPageSelfService ¶
func NewAlarmPageSelfService(alarmPageBiz *biz.AlarmPageBiz) *AlarmPageSelfService
NewAlarmPageSelfService creates a new AlarmPageSelfService.
func (*AlarmPageSelfService) ListAlarmPage ¶
func (s *AlarmPageSelfService) ListAlarmPage(ctx context.Context, _ *pb.ListAlarmPageRequest) (*pb.ListAlarmPageReply, error)
ListAlarmPage implements AlarmPageSelfServer.
func (*AlarmPageSelfService) UpdateAlarmPage ¶
func (s *AlarmPageSelfService) UpdateAlarmPage(ctx context.Context, req *pb.UpdateAlarmPageRequest) (*pb.UpdateAlarmPageReply, error)
UpdateAlarmPage implements AlarmPageSelfServer.
type AlarmService ¶
type AlarmService struct { realtimeapi.UnimplementedAlarmServer // contains filtered or unexported fields }
AlarmService 实时告警数据服务
func NewAlarmService ¶
func NewAlarmService(alarmBiz *biz.AlarmBiz) *AlarmService
NewAlarmService 实时告警数据服务
func (*AlarmService) GetAlarm ¶
func (s *AlarmService) GetAlarm(ctx context.Context, req *realtimeapi.GetAlarmRequest) (*realtimeapi.GetAlarmReply, error)
GetAlarm 获取实时告警数据
func (*AlarmService) ListAlarm ¶
func (s *AlarmService) ListAlarm(ctx context.Context, req *realtimeapi.ListAlarmRequest) (*realtimeapi.ListAlarmReply, error)
ListAlarm 获取实时告警数据列表
func (*AlarmService) MarkAlarm ¶ added in v1.2.21
func (s *AlarmService) MarkAlarm(ctx context.Context, req *realtimeapi.MarkAlarmRequest) (*realtimeapi.MarkAlarmReply, error)
MarkAlarm 告警标记
type DashboardService ¶
type DashboardService struct { realtimeapi.UnimplementedDashboardServer // contains filtered or unexported fields }
DashboardService 监控大盘服务
func NewDashboardService ¶
func NewDashboardService(dashboardBiz *biz.DashboardBiz) *DashboardService
NewDashboardService 创建监控大盘服务
func (*DashboardService) AddChart ¶ added in v1.2.20
func (s *DashboardService) AddChart(ctx context.Context, req *realtimeapi.AddChartRequest) (*realtimeapi.AddChartReply, error)
AddChart 添加图表
func (*DashboardService) BatchUpdateChartSort ¶ added in v1.2.20
func (s *DashboardService) BatchUpdateChartSort(ctx context.Context, req *realtimeapi.BatchUpdateChartSortRequest) (*realtimeapi.BatchUpdateChartSortReply, error)
BatchUpdateChartSort 批量更新图表排序
func (*DashboardService) BatchUpdateChartStatus ¶ added in v1.2.20
func (s *DashboardService) BatchUpdateChartStatus(ctx context.Context, req *realtimeapi.BatchUpdateChartStatusRequest) (*realtimeapi.BatchUpdateChartStatusReply, error)
BatchUpdateChartStatus 批量更新图表状态
func (*DashboardService) BatchUpdateDashboardStatus ¶ added in v1.1.0
func (s *DashboardService) BatchUpdateDashboardStatus(ctx context.Context, req *realtimeapi.BatchUpdateDashboardStatusRequest) (*realtimeapi.BatchUpdateDashboardStatusReply, error)
BatchUpdateDashboardStatus 批量更新监控大盘状态
func (*DashboardService) CreateDashboard ¶
func (s *DashboardService) CreateDashboard(ctx context.Context, req *realtimeapi.CreateDashboardRequest) (*realtimeapi.CreateDashboardReply, error)
CreateDashboard 创建监控大盘
func (*DashboardService) DeleteChart ¶ added in v1.2.20
func (s *DashboardService) DeleteChart(ctx context.Context, req *realtimeapi.DeleteChartRequest) (*realtimeapi.DeleteChartReply, error)
DeleteChart 删除图表
func (*DashboardService) DeleteDashboard ¶
func (s *DashboardService) DeleteDashboard(ctx context.Context, req *realtimeapi.DeleteDashboardRequest) (*realtimeapi.DeleteDashboardReply, error)
DeleteDashboard 删除监控大盘
func (*DashboardService) GetChart ¶ added in v1.2.20
func (s *DashboardService) GetChart(ctx context.Context, req *realtimeapi.GetChartRequest) (*realtimeapi.GetChartReply, error)
GetChart 获取图表
func (*DashboardService) GetDashboard ¶
func (s *DashboardService) GetDashboard(ctx context.Context, req *realtimeapi.GetDashboardRequest) (*realtimeapi.GetDashboardReply, error)
GetDashboard 获取监控大盘
func (*DashboardService) ListChart ¶ added in v1.2.20
func (s *DashboardService) ListChart(ctx context.Context, req *realtimeapi.ListChartRequest) (*realtimeapi.ListChartReply, error)
ListChart 获取图表列表
func (*DashboardService) ListDashboard ¶
func (s *DashboardService) ListDashboard(ctx context.Context, req *realtimeapi.ListDashboardRequest) (*realtimeapi.ListDashboardReply, error)
ListDashboard 获取监控大盘列表
func (*DashboardService) ListDashboardSelect ¶
func (s *DashboardService) ListDashboardSelect(ctx context.Context, req *realtimeapi.ListDashboardRequest) (*realtimeapi.ListDashboardSelectReply, error)
ListDashboardSelect 获取监控大盘下拉列表
func (*DashboardService) ListSelfDashboard ¶ added in v1.2.20
func (s *DashboardService) ListSelfDashboard(ctx context.Context, req *realtimeapi.ListSelfDashboardRequest) (*realtimeapi.ListSelfDashboardReply, error)
ListSelfDashboard 获取个人仪表板列表
func (*DashboardService) UpdateChart ¶ added in v1.2.20
func (s *DashboardService) UpdateChart(ctx context.Context, req *realtimeapi.UpdateChartRequest) (*realtimeapi.UpdateChartReply, error)
UpdateChart 更新图表
func (*DashboardService) UpdateDashboard ¶
func (s *DashboardService) UpdateDashboard(ctx context.Context, req *realtimeapi.UpdateDashboardRequest) (*realtimeapi.UpdateDashboardReply, error)
UpdateDashboard 更新监控大盘
func (*DashboardService) UpdateSelfDashboard ¶ added in v1.2.20
func (s *DashboardService) UpdateSelfDashboard(ctx context.Context, req *realtimeapi.UpdateSelfDashboardRequest) (*realtimeapi.UpdateSelfDashboardReply, error)
UpdateSelfDashboard 更新个人仪表板
type StatisticsService ¶ added in v1.2.21
type StatisticsService struct { pb.UnimplementedStatisticsServer // contains filtered or unexported fields }
func NewStatisticsService ¶ added in v1.2.21
func NewStatisticsService(statisticsBiz *biz.StatisticsBiz) *StatisticsService
func (*StatisticsService) LatestAlarmEvent ¶ added in v1.2.21
func (s *StatisticsService) LatestAlarmEvent(ctx context.Context, req *pb.LatestAlarmEventRequest) (*pb.LatestAlarmEventReply, error)
func (*StatisticsService) LatestInterventionEvent ¶ added in v1.2.21
func (s *StatisticsService) LatestInterventionEvent(ctx context.Context, req *pb.LatestInterventionEventRequest) (*pb.LatestInterventionEventReply, error)
func (*StatisticsService) SummaryAlarm ¶ added in v1.2.21
func (s *StatisticsService) SummaryAlarm(ctx context.Context, req *pb.SummaryAlarmRequest) (*pb.SummaryAlarmReply, error)
func (*StatisticsService) SummaryNotice ¶ added in v1.2.21
func (s *StatisticsService) SummaryNotice(ctx context.Context, req *pb.SummaryNoticeRequest) (*pb.SummaryNoticeReply, error)
func (*StatisticsService) TopStrategyAlarm ¶ added in v1.2.21
func (s *StatisticsService) TopStrategyAlarm(ctx context.Context, req *pb.TopStrategyAlarmRequest) (*pb.TopStrategyAlarmReply, error)