1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-13 06:40:06 +02:00

Add stat collection

This commit is contained in:
Tom Gallacher 2017-01-25 15:49:05 +00:00
parent 14d54de58b
commit 4d94830d30
7 changed files with 44 additions and 7 deletions

View File

@ -1 +1 @@
FROM quay.io/yldio/alpine-node-containerpilot:6.9.3
FROM quay.io/yldio/alpine-node-containerpilot:6.9.4

View File

@ -76,7 +76,6 @@ nginx:
ports:
- 80:80
- 443:443
- 9090:9090
env_file: .env
environment:
- CONSUL_AGENT=1

View File

@ -1 +1 @@
FROM quay.io/yldio/alpine-node-containerpilot:6.9.3
FROM quay.io/yldio/alpine-node-containerpilot:6.9.4

View File

@ -10,5 +10,24 @@
}
],
"backends": [
]
],
"telemetry": {
"port": 9090,
"sensors": [
{
"name": "frontend_memory_percent",
"help": "percentage of memory used",
"type": "gauge",
"poll": 5,
"check": ["/bin/sensor", "memory"]
},
{
"name": "frontend_cpu_load",
"help": "cpu load",
"type": "gauge",
"poll": 5,
"check": ["/bin/sensor", "cpu"]
}
]
}
}

View File

@ -1,2 +1,2 @@
FROM quay.io/yldio/alpine-node-containerpilot:6.9.3
FROM quay.io/yldio/alpine-node-containerpilot:6.9.4
RUN yarn add st

View File

@ -1,4 +1,4 @@
FROM quay.io/yldio/alpine-node-containerpilot:6.9.3
FROM quay.io/yldio/alpine-node-containerpilot:6.9.4
ARG NPM_TOKEN
ARG CIRCLE_BUILD_NUM
ENV NPM_TOKEN ${NPM_TOKEN}

View File

@ -10,5 +10,24 @@
}
],
"backends": [
]
],
"telemetry": {
"port": 9090,
"sensors": [
{
"name": "ui_memory_percent",
"help": "percentage of memory used",
"type": "gauge",
"poll": 5,
"check": ["/bin/sensor", "memory"]
},
{
"name": "ui_cpu_load",
"help": "cpu load",
"type": "gauge",
"poll": 5,
"check": ["/bin/sensor", "cpu"]
}
]
}
}