exporter

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const PAGESIZE = 100

Variables

This section is empty.

Functions

func DiscoveryAlicloudMysql

func DiscoveryAlicloudMysql(filePath, exporterType string)

func DiscoveryAlicloudNode

func DiscoveryAlicloudNode(filePath, exporterType string)

func DiscoveryAlicloudRedis added in v0.1.8

func DiscoveryAlicloudRedis(filePath, exporterType string)

func GetInstancesTotalCount

func GetInstancesTotalCount(exportertype string) (totalcount int)

func NewEcsClient added in v0.1.8

func NewEcsClient() (client *ecs.Client)

func NewRedisClient added in v0.1.8

func NewRedisClient() (client *r_kvstore.Client)

Types

type Label

type Label struct {
	Env       string `json:"env"`
	Job       string `json:"job"`
	Component string `json:"component"`
	Service   string `json:"service"`
}

type NodeInfo

type NodeInfo struct {
	Targets []string `json:"targets"`
	Labels  Label    `json:"labels"`
}

Jump to

Keyboard shortcuts

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