bcssystem

package
v0.0.0-...-4722df8 Latest Latest
Warning

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

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

Documentation

Overview

Package bcssystem bcs system

Index

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: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

Info 返回元数据信息

func (*BCSSystemStore) LabelNames

LabelNames 返回 labels 列表

func (*BCSSystemStore) LabelValues

LabelValues 返回 label values 列表

func (*BCSSystemStore) Series

Series 返回时序数据 NOCC:golint/fnsize(设计如此)

type Config

type Config struct {
	Dispatch []clientutil.DispatchConf `yaml:"dispatch"`
}

Config 配置

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

Jump to

Keyboard shortcuts

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