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

Correcting sensors path

This commit is contained in:
Tom Gallacher 2017-01-26 12:35:49 +00:00
parent 3cb2713c71
commit 178b84c53c
3 changed files with 24 additions and 5 deletions

View File

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

View File

@ -19,14 +19,14 @@
"help": "percentage of memory used",
"type": "gauge",
"poll": 5,
"check": ["/bin/sensor", "memory"]
"check": ["/bin/sensors", "memory"]
},
{
"name": "frontend_cpu_load",
"help": "cpu load",
"type": "gauge",
"poll": 5,
"check": ["/bin/sensor", "cpu"]
"check": ["/bin/sensors", "cpu"]
}
]
}

View File

@ -19,14 +19,14 @@
"help": "percentage of memory used",
"type": "gauge",
"poll": 5,
"check": ["/bin/sensor", "memory"]
"check": ["/bin/sensors", "memory"]
},
{
"name": "ui_cpu_load",
"help": "cpu load",
"type": "gauge",
"poll": 5,
"check": ["/bin/sensor", "cpu"]
"check": ["/bin/sensors", "cpu"]
}
]
}