Public | Automated Build

Last pushed: 8 months ago
Short Description
This image run rancher-stats app
Full Description

rancher-stats

This image run rancher-stats app. It comes from rawmind/alpine-base.

Build

docker build -t rawmind/rancher-stats:<version> .

Versions

Usage

This image run rancher-stats service. Rancher-stats get metrics from your rancher server and send them to a influx in order to be explored by a grafana. It will get and send metrics every refresh seconds.

Usage of rancher-stats:
  -accessKey string
        Rancher access key. Or set env RANCHER_ACCESS_KEY
  -admin
        Admin flag to get stats
  -format string
        Output format. influx | json (default "influx")
  -influxdb string
        Influx db name
  -influxpass string
        Influx password
  -influxurl string
        Influx url connection (default "http://localhost:8086")
  -influxuser string
        Influx username
  -limit string
        Limit query results (default "1000")
  -refresh int
        Get metrics every refresh seconds (default 120)
  -secretKey string
        Rancher secret key. Or set env RANCHER_SECRET_KEY
  -url string
        Rancher url. Or set env RANCHER_URL

NOTE: You need influx already installed and running. The influx db would be created if doesn't exist.

Docker Pull Command
Owner
rawmind
Source Repository