Simple centralized configuration management and real-time monitoring for services over etcd.
- Install dependencies
make vendor_get
- Build the app
make
- Run it
./ccentral
Usage of ./ccentral:
-etcd string
etcd locations and port (Default: http://127.0.0.1:2379)
-port string
Port to listen (Default: 3000)
Parameters also work from environvent variables (ETCD
, PORT
)
Type | Description |
---|---|
string | Plain string |
password | String field which wont be showed in UI |
integer | Integer |
float | Floaf |
list | List, stored internally in JSON ["field1", "field2"] |
boolean | 1 or 0 |
default
: Default valuetype
: Field type, currently supported "string"title
: Title (for WebUI)description
: Description (for WebUI)
value
: Configuration valuets
: Last changed
v
: Configuration versioncv
: Client library versionts
: Last update in epoch secondsav
: API versionhostname
: Client hostnamelv
: Language versionstarted
: Epoch timestamp in secondsuinterval
: Reporting intervalk_
: Prefix for custom keys