bkmonitor

package
v0.0.0-...-86d5f22 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package bkmonitor bk monitor

Index

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

Info 返回元数据信息

func (*BKMonitorStore) LabelNames

LabelNames 返回 labels 列表

func (*BKMonitorStore) LabelValues

LabelValues 返回 label values 列表

func (*BKMonitorStore) Series

Series 返回时序数据

type Config

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

Config 配置

Jump to

Keyboard shortcuts

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