Commit Graph

316 Commits

Author SHA1 Message Date
Jason Kulatunga 5a4bcda1ec adding more docs. 2022-04-30 21:13:18 -07:00
Jason Kulatunga e243d55153 Document NVMe block device vs device controller binding.
Fixes #209.
2022-04-30 16:09:16 -07:00
Jason Kulatunga 9ee2674804 started writing a TROUBLESHOOTING guide for the device collector. 2022-04-30 15:59:45 -07:00
Jason Kulatunga 5a1e390acd started writing a TROUBLESHOOTING guide for the device collector. 2022-04-30 15:57:09 -07:00
Jason Kulatunga 5fb5b9afbe if we're completing the InfluxDB setup via automation, attempt to store the token in the config file automatically. 2022-04-30 15:56:48 -07:00
Jason Kulatunga 9ebf252d4f information about downsampling. 2022-04-30 11:47:17 -07:00
Jason Kulatunga 88a99a1c90 information about downsampling. 2022-04-29 23:08:39 -07:00
Jason Kulatunga 9a5c667437 tweak the wait script. 2022-04-29 22:48:10 -07:00
Jason Kulatunga 8462d21e14 waiting for influxdb before starting scrutiny app. 2022-04-29 22:16:56 -07:00
Jason Kulatunga 702c7cdf7a if running test iin github actions, use influxdb service for testing. 2022-04-29 16:39:14 -07:00
Jason Kulatunga 00bc6ecd92 make sure we can pull config from env variables. 2022-04-29 16:28:50 -07:00
Jason Kulatunga 7cd828ef0d update the influxdb version in the standalone container. 2022-04-29 16:20:35 -07:00
Jason Kulatunga bd39b2cd4d fixes for aggregation. 2022-04-29 16:11:12 -07:00
Jason Kulatunga 0a9d364aea adding duration key to smart attributes api endpoint 2022-04-29 15:26:15 -07:00
Jason Kulatunga f60636a6aa broke scrutiny_repository.go into multiple files for easier exploration & maintenance. 2022-04-28 22:33:09 -07:00
Jason Kulatunga 7a7771981a broke scrutiny_repository.go into multiple files for easier exploration & maintenance. 2022-04-28 22:29:09 -07:00
Jason Kulatunga f569ab6474 [BROKEN COMMIT]
This code leverages the new `types.isType` functionality introduced in the flux language (https://github.com/influxdata/flux/issues/2159)

This code will fix https://github.com/AnalogJ/scrutiny/issues/22 and all related issues.

Unfortunately this code is broken because the influxdb go client library does not correctly handle import statments in the task defintion.

blocked by
https://github.com/influxdata/influxdb-client-go/issues/322
2022-04-27 22:41:56 -07:00
Jason Kulatunga 903d5713fc fixes for tests. 2021-11-21 14:39:39 -08:00
Jason Kulatunga 0872da57d7 fixes for tests. 2021-11-17 21:08:56 -08:00
Jason Kulatunga 47e8595c9d using constant vars for duration key magic strings. Fixing Errorf calls to correctly have template data. 2021-11-17 20:50:18 -08:00
Jason Kulatunga bff83de3a0 query temp data across multiple buckets 2021-11-17 18:35:50 -08:00
Jason Kulatunga 03bfdd3890 changing the duration dropdown for temp history data. adding an /api/summary/temp endpoint 2021-11-16 20:39:09 -08:00
Jason Kulatunga 772063a843 find the temp history for the last week (by default). Smooth out data using aggregate window for hourly numbers. Better temp casting during influx data inflating. 2021-11-16 19:07:37 -08:00
Jason Kulatunga b776fb8886 tweaking retention policy code so we can test downsampling scripts. 2021-11-16 18:32:29 -08:00
Jason Kulatunga 8fb58591a6 fixes for Scrutiny end-to-end testing. 2021-10-28 07:41:41 -07:00
Jason Kulatunga ce032c5609 fixes for Scrutiny end-to-end testing. 2021-10-28 07:35:25 -07:00
Jason Kulatunga 7b7b4fe4e3 fixing test. 2021-10-24 19:30:29 -07:00
Jason Kulatunga 5789c836db make sure the status is always exposed in the json data. make sure display_name for metadata is included. Update mocked test data for frontend. 2021-10-24 17:09:44 -07:00
Jason Kulatunga deba21fe19 update timestamps for testing. 2021-10-24 16:26:41 -07:00
Jason Kulatunga 31b5dfa038 ensure that all buckets are created during init. Remove all references to "name" field for attributes (shoudl come from metadata instead). Status is now an int64 (0 is passing). 2021-10-24 16:01:53 -07:00
Jason Kulatunga 9878985fa3 adding aggregation code 2021-10-24 13:07:12 -07:00
Jason Kulatunga 975c034925 WIP downsample scripts. 2021-10-23 10:35:32 -07:00
Jason Kulatunga abe7a16507 creating influxdb config file during startup. 2021-08-06 23:26:40 -07:00
Jason Kulatunga a60edfff26 fixing mocked data 2021-08-01 10:42:38 -07:00
Jason Kulatunga bd19230cbf make sure data is persisted to DB. 2021-07-25 22:32:13 -07:00
Jason Kulatunga 80f4660130 validate thresholds whenever SMART data is recieved. 2021-07-25 22:11:07 -07:00
Jason Kulatunga 1fc910f41b retest 2021-07-25 15:58:16 -07:00
Jason Kulatunga 967a927e2d setting the image type as suffix. 2021-07-25 15:52:07 -07:00
Jason Kulatunga ef014150a5 tagging. 2021-07-25 15:39:30 -07:00
Jason Kulatunga 5c614c5512 adding docker build -> ghcr.io 2021-07-25 14:51:28 -07:00
Jason Kulatunga 694fc74ca0 fixing history. 2021-06-27 13:44:01 -07:00
Jason Kulatunga 8a46931399 !!!!WIP!!!!
adding InfluxDB

- influxdb added to dockerfile
- influxdb s6 service
- influxdb config
- adding defaults to config
- creating a DeviceRepo interface (multiple db backends)
- implemented DeviceRepo interface as ScruitnyRepository
2021-06-27 10:55:18 -07:00
Jason Kulatunga fd4f0429e4 (0.3.12) Automated packaging of release by Packagr
Signed-off-by: Jason Kulatunga <jason@thesparktree.com>
0.3.12
2021-04-26 17:13:21 +00:00
Jason Kulatunga 33d4b99a4b fix collector. 2021-04-26 10:03:40 -07:00
Jason Kulatunga 9be57f2271 (0.3.11) Automated packaging of release by Packagr
Signed-off-by: Jason Kulatunga <jason@thesparktree.com>
0.3.11
2021-04-26 06:33:28 +00:00
Jason Kulatunga 8196447526 Merge pull request #170 from AnalogJ/fixes_webui
fixing ui when visible on small screen.
2021-04-25 23:24:22 -07:00
Jason Kulatunga 712119cb5e fixing ui when visible on small screen.
tweak local contrib instructions.
Fixing javascript mediaquery breakpoint for small screen.
2021-04-25 23:22:29 -07:00
Jason Kulatunga 644a9418dd (0.3.10) Automated packaging of release by Packagr
Signed-off-by: Jason Kulatunga <jason@thesparktree.com>
0.3.10
2021-04-26 05:22:22 +00:00
Jason Kulatunga 8431eef515 github.event.release.upload_url 2021-04-25 22:10:28 -07:00
Jason Kulatunga df07261c57 (0.3.9) Automated packaging of release by Packagr
Signed-off-by: Jason Kulatunga <jason@thesparktree.com>
0.3.9
2021-04-26 04:59:43 +00:00