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:
parent
14d54de58b
commit
4d94830d30
@ -1 +1 @@
|
||||
FROM quay.io/yldio/alpine-node-containerpilot:6.9.3
|
||||
FROM quay.io/yldio/alpine-node-containerpilot:6.9.4
|
||||
|
@ -76,7 +76,6 @@ nginx:
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
- 9090:9090
|
||||
env_file: .env
|
||||
environment:
|
||||
- CONSUL_AGENT=1
|
||||
|
@ -1 +1 @@
|
||||
FROM quay.io/yldio/alpine-node-containerpilot:6.9.3
|
||||
FROM quay.io/yldio/alpine-node-containerpilot:6.9.4
|
||||
|
@ -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"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user