Commit Graph

38 Commits

Author SHA1 Message Date
rasmus 97ee6390d9 Add prod docker-compose and instructions 2021-12-16 01:18:25 +02:00
Lauri Võsandi 0b443cc6fc Rename dev instance compose 2021-12-16 01:18:25 +02:00
Lauri Võsandi f8a4d340bc Rename entry point to blades.py 2021-12-16 01:18:25 +02:00
rasmus 81bf6ad4e7 add more junk to the root of the project (readme) 2021-12-16 01:18:25 +02:00
rasmus bf2fb8eb82 Upload /blade_bay_locations.png 2021-12-16 01:18:25 +02:00
rasmus 891c51a278 Add git hash to metrics. 2021-12-16 01:18:25 +02:00
rasmus 802dc220ac Faulty conditions of blades now get their additional counter. 2021-12-16 01:18:25 +02:00
rasmus 2efab4202d Failed health now adds to general failure metric. 2021-12-16 01:18:25 +02:00
rasmus 1ce97ebf70 fix treating remarks as server items, what sometimes causes a crash downstream (while the remark is present for a few) 2021-12-16 01:18:25 +02:00
rasmus cdc604a971 increased timeout from 3.5m to 10m 2021-12-16 01:18:25 +02:00
rasmus 1578176160 add prometheus testing confs 2021-12-16 01:18:25 +02:00
rasmus deca9d1275 format response properly 2021-12-16 01:18:25 +02:00
rasmus f034197eca add units to names 2021-12-16 01:18:24 +02:00
rasmus f641fd410d remove some unneeded test data 2021-12-16 01:18:24 +02:00
rasmus 4442e0320a remove timestamps and move errors count to a seperate line 2021-12-16 01:18:24 +02:00
rasmus 9d46bb55da Change default endpoint from / to /metrics 2021-12-16 01:18:24 +02:00
rasmus ac5f2fe3e4 Docker: change port to 8000.
Allows to run as non-root.
2021-12-16 01:18:24 +02:00
rasmus 49c973707f make encname an env var 2021-12-16 01:18:24 +02:00
rasmus d22766ba88 Dockerization 2021-12-16 01:18:24 +02:00
rasmus 15cfab61cc foo bar 2021-12-16 01:18:24 +02:00
rasmus fd7c4d4458 prom 2/2. Add prometheus output.
(also part 2/2 for the presentPower bugfix)
2021-12-16 01:18:24 +02:00
rasmus 896dced5eb prom: part1/2: new files 2021-12-16 01:18:24 +02:00
rasmus 37f9aa76be make typeerrors give more accurate and clearer errors 2021-12-16 01:18:24 +02:00
rasmus 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
rasmus 5d680ca370 mv main.py to scraperMain.py 2021-12-16 01:18:24 +02:00
rasmus 81b2514a96 fixed env vars 2021-12-16 01:18:24 +02:00
rasmus 8eeedab529 Removed some reduntand (old) code.
The replacement is in the while statement.
2021-12-16 01:18:24 +02:00
rasmus 3e5b77ee8d env vars 2021-12-16 01:18:24 +02:00
rasmus 3c05587f1a Yep I thought so. Testing data removed, and moved around. 2021-12-16 01:18:24 +02:00
rasmus e9d9c8afdd It's done..???? 2021-12-16 01:18:24 +02:00
rasmus bcc2c8a3f4 some type validations 2021-12-16 01:18:24 +02:00
rasmus 035e575ddb break out relativeusage fun-ction 2021-12-16 01:18:24 +02:00
rasmus 9707368e3d We have all data we need 2021-12-16 01:18:24 +02:00
rasmus 380d911596 we have blades 2021-12-16 01:18:24 +02:00
rasmus 9e46f819b9 Ignore pycache. 2021-12-16 01:18:24 +02:00
rasmus 91966f7e2d Starting to query blades. 2021-12-16 01:18:24 +02:00
rasmus 38037fb3e5 we have bays 2021-12-16 01:18:24 +02:00
rasmus e803a57bc2 Starting to parse outputs. 2021-12-16 01:18:24 +02:00