Commit Graph

66 Commits (e07a53046fbf05c0f749835be2fc0ed3f44462b4)

Author SHA1 Message Date
Saswat Padhi e07a53046f
[FEAT] Allow insecure certificates on InfluxDB
1 year ago
Jason Kulatunga f2856e0f26 adding a healthcheck endpoint that confirms communication with influxdb and sqlite.
2 years ago
Jason Kulatunga 2677796322 fixing bug. Null value for temperatures should be ignored.
2 years ago
Jason Kulatunga a1b0108503 Added PRAGMA settings support when connecting to SQLITE db.
2 years ago
Jason Kulatunga 3f272b36d4 adding setting to allow users to customize between binary vs SI/Metric units in UI.
2 years ago
Jason Kulatunga 7e672e8b8e adding tests for config.MergeConfigMap functionality. (Set vs SetDefault).
2 years ago
Jason Kulatunga 54e2cacb00 move frontend settings into the DB (for consistent settings handling).
2 years ago
Jason Kulatunga c0f1dfdb0b fixing config mock.
2 years ago
Jason Kulatunga 29bc79996b working settings update.
2 years ago
Jason Kulatunga 99af2b8b16 WIP settings system.
2 years ago
Jason Kulatunga dd0c3e6fba rename the migration model package name.
2 years ago
Jason Kulatunga 5b2746f389 initial settings table.
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 4419f7f429 remove zig. remove cgo dependency for sqlite (using pkg.go.dev/modernc.org/sqlite)
2 years ago
Jason Kulatunga d3e7fc6067 make sure we dont create incorrect temp data.
2 years ago
Jason Kulatunga 75d5930835 correctly using the latest data for table.
2 years ago
Jason Kulatunga 488fcfc820 added AttributeStatus bit flag
2 years ago
Jason Kulatunga 987632df39 working deletion code.
2 years ago
Jason Kulatunga 1bd86f5abd [WIP] Delete button for devices.
2 years ago
Jason Kulatunga 3a970e7a27
Merge pull request #262 from AnalogJ/beta
2 years ago
Jason Kulatunga 307c2bcdef fix error message.
2 years ago
Jason Kulatunga d08a1e3ef6 ignore retention policy errors during migration.
2 years ago
Jason Kulatunga 2292041f9f never drop tables.
2 years ago
Jason Kulatunga 75e4bf1d6e added a helpful comment that the database migration might take a looong time.
2 years ago
Jason Kulatunga 97add04276 make sure the migration step runs with transactions, so that we can debug easier.
2 years ago
Jason Kulatunga 168ca802d1 add support for specifying scheme for influxdb endpoint url (http vs https).
2 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.
2 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.
2 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.
2 years ago
Jason Kulatunga 145996055a use locked versions of database models when doing migrations.
2 years ago
Jason Kulatunga f39628efc3 by default show all temp data.
2 years ago
Jason Kulatunga 5bab9ac04a make sure we can correctly save the config file if onboarding influx.
2 years ago
Jason Kulatunga 1ced2198c7 cleanup log messages.
2 years ago
Jason Kulatunga 5f12fbb510 enable final migration cleanup.
2 years ago
Jason Kulatunga 702518579b fixed summary query.
2 years ago
Jason Kulatunga fc5a9ba15e fixed device processing in details page. Summary query is still broken.
2 years ago
Jason Kulatunga 8fe0dbed6b partially working. Some datapoints are failing with panic and are silently ignored.
2 years ago
Jason Kulatunga 7d963c96a6 writing pseudocode algorithm for data migration.
2 years ago
Jason Kulatunga 2750ccef4a call out deprecated structs so they are not accidentally used via autocomplete.
2 years ago
Jason Kulatunga 9d85920f49 started working on migration code.
2 years ago
Jason Kulatunga 5fb5b9afbe if we're completing the InfluxDB setup via automation, attempt to store the token in the config file automatically.
2 years ago
Jason Kulatunga bd39b2cd4d fixes for aggregation.
2 years ago
Jason Kulatunga 0a9d364aea adding duration key to smart attributes api endpoint
2 years ago
Jason Kulatunga f60636a6aa broke scrutiny_repository.go into multiple files for easier exploration & maintenance.
2 years ago
Jason Kulatunga 7a7771981a broke scrutiny_repository.go into multiple files for easier exploration & maintenance.
2 years ago
Jason Kulatunga f569ab6474 [BROKEN COMMIT]
2 years ago