Commit Graph

27 Commits (ce2f990eb1b112f4f816c91dbcf4e849ab4b44d4)

Author SHA1 Message Date
Jason Kulatunga c6579864b8 added instructions for how to create a Scope restricted InfluxDB API token for use with Scrutiny.
2 years ago
Jason Kulatunga 4419f7f429 remove zig. remove cgo dependency for sqlite (using pkg.go.dev/modernc.org/sqlite)
2 years ago
Jason Kulatunga 168ca802d1 add support for specifying scheme for influxdb endpoint url (http vs https).
3 years ago
Jason Kulatunga 5ac0aa8f74 Forked InfluxDB SDK and added support for using pre-generated admin token during setup. This ensures we no longer need to persist the token during startup.
3 years ago
Jason Kulatunga f39628efc3 by default show all temp data.
3 years ago
Jason Kulatunga 5bab9ac04a make sure we can correctly save the config file if onboarding influx.
3 years ago
Jason Kulatunga 702518579b fixed summary query.
3 years ago
Jason Kulatunga fc5a9ba15e fixed device processing in details page. Summary query is still broken.
3 years ago
Jason Kulatunga 9d85920f49 started working on migration code.
3 years ago
Jason Kulatunga 5fb5b9afbe if we're completing the InfluxDB setup via automation, attempt to store the token in the config file automatically.
3 years ago
Jason Kulatunga 0a9d364aea adding duration key to smart attributes api endpoint
3 years ago
Jason Kulatunga f60636a6aa broke scrutiny_repository.go into multiple files for easier exploration & maintenance.
3 years ago
Jason Kulatunga 7a7771981a broke scrutiny_repository.go into multiple files for easier exploration & maintenance.
3 years ago
Jason Kulatunga f569ab6474 [BROKEN COMMIT]
3 years ago
Jason Kulatunga 903d5713fc fixes for tests.
3 years ago
Jason Kulatunga 47e8595c9d using constant vars for duration key magic strings. Fixing Errorf calls to correctly have template data.
3 years ago
Jason Kulatunga bff83de3a0 query temp data across multiple buckets
3 years ago
Jason Kulatunga 03bfdd3890 changing the duration dropdown for temp history data. adding an /api/summary/temp endpoint
3 years ago
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.
3 years ago
Jason Kulatunga b776fb8886 tweaking retention policy code so we can test downsampling scripts.
3 years ago
Jason Kulatunga ce032c5609 fixes for Scrutiny end-to-end testing.
3 years ago
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).
3 years ago
Jason Kulatunga 9878985fa3 adding aggregation code
3 years ago
Jason Kulatunga 975c034925 WIP downsample scripts.
3 years ago
Jason Kulatunga bd19230cbf make sure data is persisted to DB.
3 years ago
Jason Kulatunga 80f4660130 validate thresholds whenever SMART data is recieved.
3 years ago
Jason Kulatunga 8a46931399 !!!!WIP!!!!
3 years ago