Commit Graph

28 Commits

Author SHA1 Message Date
1578176160 add prometheus testing confs 2021-12-16 01:18:25 +02:00
deca9d1275 format response properly 2021-12-16 01:18:25 +02:00
f034197eca add units to names 2021-12-16 01:18:24 +02:00
f641fd410d remove some unneeded test data 2021-12-16 01:18:24 +02:00
4442e0320a remove timestamps and move errors count to a seperate line 2021-12-16 01:18:24 +02:00
9d46bb55da Change default endpoint from / to /metrics 2021-12-16 01:18:24 +02:00
ac5f2fe3e4 Docker: change port to 8000.
Allows to run as non-root.
2021-12-16 01:18:24 +02:00
49c973707f make encname an env var 2021-12-16 01:18:24 +02:00
d22766ba88 Dockerization 2021-12-16 01:18:24 +02:00
15cfab61cc foo bar 2021-12-16 01:18:24 +02:00
fd7c4d4458 prom 2/2. Add prometheus output.
(also part 2/2 for the presentPower bugfix)
2021-12-16 01:18:24 +02:00
896dced5eb prom: part1/2: new files 2021-12-16 01:18:24 +02:00
37f9aa76be make typeerrors give more accurate and clearer errors 2021-12-16 01:18:24 +02:00
830db7f051 Fix Bug no 1, where offline servers show 'Not Available' instead of 0 for power output. 2021-12-16 01:18:24 +02:00
5d680ca370 mv main.py to scraperMain.py 2021-12-16 01:18:24 +02:00
81b2514a96 fixed env vars 2021-12-16 01:18:24 +02:00
8eeedab529 Removed some reduntand (old) code.
The replacement is in the while statement.
2021-12-16 01:18:24 +02:00
3e5b77ee8d env vars 2021-12-16 01:18:24 +02:00
3c05587f1a Yep I thought so. Testing data removed, and moved around. 2021-12-16 01:18:24 +02:00
e9d9c8afdd It's done..???? 2021-12-16 01:18:24 +02:00
bcc2c8a3f4 some type validations 2021-12-16 01:18:24 +02:00
035e575ddb break out relativeusage fun-ction 2021-12-16 01:18:24 +02:00
9707368e3d We have all data we need 2021-12-16 01:18:24 +02:00
380d911596 we have blades 2021-12-16 01:18:24 +02:00
9e46f819b9 Ignore pycache. 2021-12-16 01:18:24 +02:00
91966f7e2d Starting to query blades. 2021-12-16 01:18:24 +02:00
38037fb3e5 we have bays 2021-12-16 01:18:24 +02:00
e803a57bc2 Starting to parse outputs. 2021-12-16 01:18:24 +02:00