Documentation ¶
Overview ¶
Package bcssystem bcs system
Index ¶
- Variables
- type BCSSystemStore
- func (s *BCSSystemStore) Info(ctx context.Context, r *storepb.InfoRequest) (*storepb.InfoResponse, error)
- func (s *BCSSystemStore) LabelNames(ctx context.Context, r *storepb.LabelNamesRequest) (*storepb.LabelNamesResponse, error)
- func (s *BCSSystemStore) LabelValues(ctx context.Context, r *storepb.LabelValuesRequest) (*storepb.LabelValuesResponse, error)
- func (s *BCSSystemStore) Series(r *storepb.SeriesRequest, srv storepb.Store_SeriesServer) error
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var AvailableNodeMetrics = []string{
"bcs:cluster:cpu:usage",
"bcs:cluster:cpu:total",
"bcs:cluster:cpu:used",
"bcs:cluster:pod:usage",
"bcs:cluster:pod:total",
"bcs:cluster:pod:used",
"bcs:cluster:cpu:request",
"bcs:cluster:cpu_request:usage",
"bcs:cluster:memory:total",
"bcs:cluster:memory:used",
"bcs:cluster:memory:usage",
"bcs:cluster:memory:request",
"bcs:cluster:memory_request:usage",
"bcs:cluster:disk:total",
"bcs:cluster:disk:used",
"bcs:cluster:disk:usage",
"bcs:cluster:diskio:usage",
"bcs:cluster:diskio:used",
"bcs:cluster:diskio:total",
"bcs:cluster:group:node_num",
"bcs:cluster:group:max_node_num",
"bcs:node:info",
"bcs:node:cpu:total",
"bcs:node:cpu:used",
"bcs:node:cpu:request",
"bcs:node:cpu:usage",
"bcs:node:cpu_request:usage",
"bcs:node:disk:usage",
"bcs:node:disk:used",
"bcs:node:disk:total",
"bcs:node:diskio:usage",
"bcs:node:memory:total",
"bcs:node:memory:used",
"bcs:node:memory:request",
"bcs:node:memory:usage",
"bcs:node:memory_request:usage",
"bcs:node:container_count",
"bcs:node:pod_count",
"bcs:node:pod_total",
"bcs:node:network_transmit",
"bcs:node:network_receive",
"bcs:pod:cpu_usage",
"bcs:pod:cpu_limit_usage",
"bcs:pod:cpu_request_usage",
"bcs:pod:memory_used",
"bcs:pod:network_transmit",
"bcs:pod:network_receive",
"bcs:container:cpu_usage",
"bcs:container:memory_used",
"bcs:container:cpu_limit",
"bcs:container:memory_limit",
"bcs:container:gpu_memory_usage",
"bcs:container:gpu_used",
"bcs:container:gpu_usage",
"bcs:container:disk_read_total",
"bcs:container:disk_write_total",
}
AvailableNodeMetrics 蓝鲸监控节点的metrics
Functions ¶
This section is empty.
Types ¶
type BCSSystemStore ¶
type BCSSystemStore struct {
// contains filtered or unexported fields
}
BCSSystemStore implements the store node API on top of the Prometheus remote read API.
func NewBCSSystemStore ¶
func NewBCSSystemStore(conf []byte) (*BCSSystemStore, error)
NewBCSSystemStore :
func (*BCSSystemStore) Info ¶
func (s *BCSSystemStore) Info(ctx context.Context, r *storepb.InfoRequest) (*storepb.InfoResponse, error)
Info 返回元数据信息
func (*BCSSystemStore) LabelNames ¶
func (s *BCSSystemStore) LabelNames(ctx context.Context, r *storepb.LabelNamesRequest) (*storepb.LabelNamesResponse, error)
LabelNames 返回 labels 列表
func (*BCSSystemStore) LabelValues ¶
func (s *BCSSystemStore) LabelValues(ctx context.Context, r *storepb.LabelValuesRequest) (*storepb.LabelValuesResponse, error)
LabelValues 返回 label values 列表
func (*BCSSystemStore) Series ¶
func (s *BCSSystemStore) Series(r *storepb.SeriesRequest, srv storepb.Store_SeriesServer) error
Series 返回时序数据 NOCC:golint/fnsize(设计如此)
Directories ¶
Path | Synopsis |
---|---|
Package source client
|
Package source client |
base
Package base xxx
|
Package base xxx |
bk_monitor
Package bkmonitor bk monitor
|
Package bkmonitor bk monitor |
compute
Package compute cluster operate
|
Package compute cluster operate |
computev2
Package computev2 cluster operate
|
Package computev2 cluster operate |
federation
Package federation Factory
|
Package federation Factory |
prometheus
Package prometheus prometheus
|
Package prometheus prometheus |
vcluster
Package vcluster cluster operate
|
Package vcluster cluster operate |
Click to show internal directories.
Click to hide internal directories.