Commit Graph

225 Commits (master)

Author SHA1 Message Date
Jason Kulatunga a01b8fe083 manually bump version.
2 years ago
Jason Kulatunga c6579864b8 added instructions for how to create a Scope restricted InfluxDB API token for use with Scrutiny.
2 years ago
Jason Kulatunga 5ea149d878 upgrading to go 1.18 for generics (and lodash-like library).
2 years ago
Jason Kulatunga 0f0efac866 fix update, using raw flux script.
2 years ago
Jason Kulatunga 04563c0d0d ensure we have the ability to keep influxdb tasks up-to-date.
2 years ago
Jason Kulatunga 9316eccabe adding tests for tasks and aggregation queries (temp).
2 years ago
Jason Kulatunga b71d6660a6 adding typescript interfaces for type hinting and testing
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 b4adf3d88d cleanup before go generate (and multi-arch builds using zig).
3 years ago
packagrio-bot eefdc548b2 (v0.4.14) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga fbe7d63a24 trying to fix tests.
3 years ago
Jason Kulatunga d718b0898b trying to fix tests.
3 years ago
Jason Kulatunga 7babc280a0 ensure that users can filter their notifications by:
3 years ago
packagrio-bot 145c819fc1 (v0.4.13) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga ecf7a447a7 Disable Seek & Read error rate attribute analysis. Causes issues with Seagate Ironwolf drives.
3 years ago
packagrio-bot b953456d6b (v0.4.12) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga 4057699cad
Merge pull request #296 from AnalogJ/beta
3 years ago
Jason Kulatunga d3e7fc6067 make sure we dont create incorrect temp data.
3 years ago
Jason Kulatunga 75d5930835 correctly using the latest data for table.
3 years ago
Jason Kulatunga 0b8251fce2
Merge pull request #295 from AnalogJ/expanding_row
3 years ago
packagrio-bot 281b56d287 (v0.4.11) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga fbd5bb57ac update descriptions for SCSI attributes.
3 years ago
packagrio-bot de5f2c3324 (v0.4.10) Automated packaging of release by Packagr
3 years ago
packagrio-bot a6208c0d49 (v0.4.9) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga df23ecdf33 fix typing for attribute status enum stored in database.
3 years ago
Jason Kulatunga 488fcfc820 added AttributeStatus bit flag
3 years ago
Jason Kulatunga 2533d8d34f using Constants for git release/debug modes.
3 years ago
Jason Kulatunga af2523cfee setting GinMode to release by default. Users get confused otherwise.
3 years ago
packagrio-bot d78957353d (v0.4.8) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga 987632df39 working deletion code.
3 years ago
Jason Kulatunga 1bd86f5abd [WIP] Delete button for devices.
3 years ago
packagrio-bot 0f935ceb48 (v0.4.7) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga f844a435fd fix error message.
3 years ago
Jason Kulatunga 3a970e7a27
Merge pull request #262 from AnalogJ/beta
3 years ago
Jason Kulatunga 307c2bcdef fix error message.
3 years ago
Jason Kulatunga d08a1e3ef6 ignore retention policy errors during migration.
3 years ago
Jason Kulatunga 2292041f9f never drop tables.
3 years ago
Jason Kulatunga 75e4bf1d6e added a helpful comment that the database migration might take a looong time.
3 years ago
Jason Kulatunga 97add04276 make sure the migration step runs with transactions, so that we can debug easier.
3 years ago
Jason Kulatunga 1423f55d78 remove Power Cycle Count failure attribute for ATA drives. Unrealistic for consumer users (BackBlaze data is datacenter focused).
3 years ago
Jason Kulatunga 46d0b70399 disable NVMe Scrutiny failures for "Numb Error Log Entries" attribute. More analysis needed for NVMe drives & their critical attributes.
3 years ago
Jason Kulatunga 168ca802d1 add support for specifying scheme for influxdb endpoint url (http vs https).
3 years ago
Jason Kulatunga 1bfdd0043f added a way to retrieve raw udev data. Can be used to retrieve disk label, UUID and "disk/by-id/*" device info.
3 years ago
Jason Kulatunga 999c12748c added a way to retrieve raw udev data. Can be used to retrieve disk label, UUID and "disk/by-id/*" device info.
3 years ago
packagrio-bot 65d31046a0 (v0.4.6) Automated packaging of release by Packagr
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 a589d11d01 update influxdb host default to localhost.
3 years ago
packagrio-bot 1a05868381 (v0.4.5) Automated packaging of release by Packagr
3 years ago
packagrio-bot b5920e35e3 (v0.4.4) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga e7801619cd added additional tests from #187.
3 years ago
packagrio-bot 9ea283e8d2 (v0.4.3) Automated packaging of release by Packagr
3 years ago
packagrio-bot 2f67d6f9ae (v0.4.2) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga 145996055a use locked versions of database models when doing migrations.
3 years ago
packagrio-bot 90e5d219a2 (v0.4.1) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga 381a6799cc updates for v0.4.0 release. Slight refactor/organization.
3 years ago
Jason Kulatunga 54178eaaf0
Merge branch 'master' into BASEPATH
3 years ago
packagrio-bot a2a80f3102 (v0.4.0) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga de702414b9 moving all filesystem references to /scrutiny to /opt/scrutiny
3 years ago
Jason Kulatunga 2967b6ca01 make sure that we set the config path when ReadConfig is called.
3 years ago
Jason Kulatunga 5ed69d7fc4 adding tests for Smart and parser.
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 fabc629e40 handle case where WWN not detected for a device (print error messages, but skip device collection & uploading).
3 years ago
Jason Kulatunga 1ced2198c7 cleanup log messages.
3 years ago
Jason Kulatunga 5f12fbb510 enable final migration cleanup.
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 8fe0dbed6b partially working. Some datapoints are failing with panic and are silently ignored.
3 years ago
Jason Kulatunga 7d963c96a6 writing pseudocode algorithm for data migration.
3 years ago
Jason Kulatunga 2750ccef4a call out deprecated structs so they are not accidentally used via autocomplete.
3 years ago
Jason Kulatunga 9d85920f49 started working on migration code.
3 years ago
Jason Kulatunga 0dba9f8011
Merge branch 'master' into influxdb
3 years ago
Jason Kulatunga d42faf30b0 fix WriteConfig interface.
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 702c7cdf7a if running test iin github actions, use influxdb service for testing.
3 years ago
Jason Kulatunga 00bc6ecd92 make sure we can pull config from env variables.
3 years ago
Jason Kulatunga bd39b2cd4d fixes for aggregation.
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 0872da57d7 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 060ac7b83a fixes https://github.com/AnalogJ/scrutiny/issues/179
3 years ago
Jason Kulatunga 7b7b4fe4e3 fixing test.
3 years ago
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.
3 years ago
Jason Kulatunga deba21fe19 update timestamps for 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!!!!
4 years ago
Andrea Spacca a7c8c75a49 fix new test
4 years ago