Documentation ¶
Overview ¶
Package bkmonitor bk monitor
Index ¶
- Variables
- type BKMonitorStore
- func (s *BKMonitorStore) Info(ctx context.Context, r *storepb.InfoRequest) (*storepb.InfoResponse, error)
- func (s *BKMonitorStore) LabelNames(ctx context.Context, r *storepb.LabelNamesRequest) (*storepb.LabelNamesResponse, error)
- func (s *BKMonitorStore) LabelValues(ctx context.Context, r *storepb.LabelValuesRequest) (*storepb.LabelValuesResponse, error)
- func (s *BKMonitorStore) Series(r *storepb.SeriesRequest, srv storepb.Store_SeriesServer) error
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var AvailableFuncNames = []string{
"avg_over_time",
}
AvailableFuncNames 允许传递到数据源的函数
View Source
var AvailableNodeMetrics = []string{
"bkmonitor:system:cpu_detail:usage",
"bkmonitor:system:mem:total",
"bkmonitor:system:mem:used",
"bkmonitor:system:disk:total",
"bkmonitor:system:disk:used",
}
AvailableNodeMetrics 蓝鲸监控节点的metrics
Functions ¶
This section is empty.
Types ¶
type BKMonitorStore ¶
type BKMonitorStore struct {
// contains filtered or unexported fields
}
BKMonitorStore implements the store node API on top of the Prometheus remote read API.
func NewBKMonitorStore ¶
func NewBKMonitorStore(conf []byte) (*BKMonitorStore, error)
NewBKMonitorStore xxx
func (*BKMonitorStore) Info ¶
func (s *BKMonitorStore) Info(ctx context.Context, r *storepb.InfoRequest) (*storepb.InfoResponse, error)
Info 返回元数据信息
func (*BKMonitorStore) LabelNames ¶
func (s *BKMonitorStore) LabelNames(ctx context.Context, r *storepb.LabelNamesRequest) (*storepb.LabelNamesResponse, error)
LabelNames 返回 labels 列表
func (*BKMonitorStore) LabelValues ¶
func (s *BKMonitorStore) LabelValues(ctx context.Context, r *storepb.LabelValuesRequest) (*storepb.LabelValuesResponse, error)
LabelValues 返回 label values 列表
func (*BKMonitorStore) Series ¶
func (s *BKMonitorStore) Series(r *storepb.SeriesRequest, srv storepb.Store_SeriesServer) error
Series 返回时序数据
Click to show internal directories.
Click to hide internal directories.