aliyun-slb-exporter

command module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

README

docker build

docker build . -t <image>:<tag>

or pull

docker pull riet/aliyun-slb-exporter

run

get all slb metrics

docker run \ 
  -d \ 
  --name aliyun-slb-exporter \
  -e ACCESS_KEY_ID=<aliyun ak> \
  -e ACCESS_KEY_SECRET=<aliyun ak sk> \
  -e REGION_ID=<region id> \
  -p 10002:10002 \
  riet/aliyun-slb-exporter 

get specified slb metrics

docker run \ 
  -d \ 
  --name aliyun-slb-exporter \
  -e ACCESS_KEY_ID=<aliyun ak> \
  -e ACCESS_KEY_SECRET=<aliyun ak sk> \
  -e REGION_ID=<region id> \
  -e INSTANCE_ID=id1,id2,id3 \
  -p 10002:10002 \
  riet/aliyun-slb-exporter 

visit http://localhost:10002/metrics

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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