Commit Graph

365 Commits

Author SHA1 Message Date
Jason Kulatunga 5f12fbb510 enable final migration cleanup. 2022-05-04 20:50:17 -07:00
Jason Kulatunga 702518579b fixed summary query. 2022-05-04 20:40:48 -07:00
Jason Kulatunga fc5a9ba15e fixed device processing in details page. Summary query is still broken. 2022-05-04 20:13:11 -07:00
Jason Kulatunga 8fe0dbed6b partially working. Some datapoints are failing with panic and are silently ignored.
TODO must fix.
2022-05-03 22:40:31 -07:00
Jason Kulatunga 7d963c96a6 writing pseudocode algorithm for data migration. 2022-05-03 12:03:08 -07:00
Jason Kulatunga 2750ccef4a call out deprecated structs so they are not accidentally used via autocomplete. 2022-05-03 11:52:47 -07:00
Jason Kulatunga 9d85920f49 started working on migration code. 2022-05-03 11:50:22 -07:00
Jason Kulatunga 97f6564c1e adding documetnation for smartctl exit codes and addl test. 2022-05-02 10:26:25 -07:00
Jason Kulatunga 646d0eff15 change the environmental variable to COLLECTOR_CRON_SCHEDULE 2022-05-01 22:13:11 -07:00
Jason Kulatunga ce3d45e543 instructions in readme for how to override cron schedule. 2022-05-01 22:09:03 -07:00
Jason Kulatunga 75de6ebfe0 addign ability to customize the scrutiny collector cron schedule using SCRUTINY_COLLECTOR_CRON_SCHEDULE env variable.
similar to https://github.com/linuxserver/docker-scrutiny/pull/19

fixes https://github.com/linuxserver/docker-scrutiny/issues/17
fixes https://github.com/AnalogJ/scrutiny/issues/161
fixes https://github.com/AnalogJ/scrutiny/issues/66
fixes https://github.com/AnalogJ/scrutiny/issues/202
fixes https://github.com/AnalogJ/scrutiny/issues/121
2022-05-01 22:01:34 -07:00
Jason Kulatunga 49c1ef6a37 fixing local persistent dir for influxdb in omnibus. 2022-05-01 21:15:04 -07:00
Jason Kulatunga ae99ffd57e using github container registry images.
update documentation to enable persistence by default
update docs to include influxdb
2022-05-01 21:08:18 -07:00
Jason Kulatunga 08f247109a using environmental variable in files path. 2022-04-30 22:30:13 -07:00
Jason Kulatunga 36617c8f1f using environmental variable in files path. 2022-04-30 22:25:45 -07:00
Jason Kulatunga 035c94681f referencing Github container registry for all images. 2022-04-30 22:24:05 -07:00
Jason Kulatunga 20411afb82 adding name for coverage step. 2022-04-30 22:20:06 -07:00
Jason Kulatunga 84f3327790 adding codecov coverage support. 2022-04-30 22:19:16 -07:00
Jason Kulatunga ccbb9225c4 remove darwin builds. 2022-04-30 22:03:17 -07:00
Jason Kulatunga 8d052f0265 update the bug report template 2022-04-30 21:33:40 -07:00
Jason Kulatunga cfe77c9a36 install tzdata package everywhere.
fixes #78
fixes
2022-04-30 21:29:45 -07:00
Jason Kulatunga 62e5a71eb0 build darwin/amd64 and darwin/arm64 binaries. 2022-04-30 21:27:45 -07:00
Jason Kulatunga 0dba9f8011 Merge branch 'master' into influxdb 2022-04-30 21:21:53 -07:00
Jason Kulatunga d42faf30b0 fix WriteConfig interface. 2022-04-30 21:17:57 -07:00
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 8e34ef8d79 Merge pull request #212 from PeterDaveHello/patch-1
Improve README.md a little bit
2022-04-28 17:49:05 -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
Peter Dave Hello a8952eff0c Improve README.md a little bit
Set indentation of docker commands, and set the language of code block to enable syntax highlight in README.md
2022-01-05 21:03:37 +08: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