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

Add new telemetry for application

This commit is contained in:
Tom Gallacher 2017-01-26 14:41:41 +00:00
parent 178b84c53c
commit 8f6e4d5f32
7 changed files with 46 additions and 4 deletions

View File

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

View File

@ -27,6 +27,20 @@
"type": "gauge",
"poll": 5,
"check": ["/bin/sensors", "cpu"]
},
{
"name": "graphql_disk_capacity",
"help": "disk capacity",
"type": "gauge",
"poll": 60,
"check": ["/bin/sensors", "diskcapacity"]
},
{
"name": "graphql_disk_usage",
"help": "disk usage",
"type": "gauge",
"poll": 60,
"check": ["/bin/sensors", "diskusage"]
}
]
}

View File

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

View File

@ -27,6 +27,20 @@
"type": "gauge",
"poll": 5,
"check": ["/bin/sensors", "cpu"]
},
{
"name": "frontend_disk_capacity",
"help": "disk capacity",
"type": "gauge",
"poll": 60,
"check": ["/bin/sensors", "diskcapacity"]
},
{
"name": "frontend_disk_usage",
"help": "disk usage",
"type": "gauge",
"poll": 60,
"check": ["/bin/sensors", "diskusage"]
}
]
}

View File

@ -48,7 +48,7 @@ nginx:
links:
- consul:consul
ports:
- 80:8001
- 8001:80
prometheus:
extends:
file: docker-compose.yml

View File

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

View File

@ -27,6 +27,20 @@
"type": "gauge",
"poll": 5,
"check": ["/bin/sensors", "cpu"]
},
{
"name": "ui_disk_capacity",
"help": "disk capacity",
"type": "gauge",
"poll": 60,
"check": ["/bin/sensors", "diskcapacity"]
},
{
"name": "ui_disk_usage",
"help": "disk usage",
"type": "gauge",
"poll": 60,
"check": ["/bin/sensors", "diskusage"]
}
]
}