exporter

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2018 License: MIT Imports: 8 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 EcsClient

func EcsClient() (client *ecs.Client)

func GetInstancesTotalCount

func GetInstancesTotalCount(exportertype string) (totalcount int)

Types

type Label

type Label struct {
	Env     string `json:"env"`
	Job     string `json:"job"`
	Loc     string `json:"loc"`
	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