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.
TODO must fix.
|
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]
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
|
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!!!!
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
|
4 years ago |
Jason Kulatunga
|
fd4f0429e4
|
(0.3.12) Automated packaging of release by Packagr
Signed-off-by: Jason Kulatunga <jason@thesparktree.com>
|
4 years ago |
Jason Kulatunga
|
9be57f2271
|
(0.3.11) Automated packaging of release by Packagr
Signed-off-by: Jason Kulatunga <jason@thesparktree.com>
|
4 years ago |
Jason Kulatunga
|
644a9418dd
|
(0.3.10) Automated packaging of release by Packagr
Signed-off-by: Jason Kulatunga <jason@thesparktree.com>
|
4 years ago |
Jason Kulatunga
|
df07261c57
|
(0.3.9) Automated packaging of release by Packagr
Signed-off-by: Jason Kulatunga <jason@thesparktree.com>
|
4 years ago |
Jason Kulatunga
|
527214f38c
|
(0.3.8) Automated packaging of release by Packagr
Signed-off-by: Jason Kulatunga <jason@thesparktree.com>
|
4 years ago |
Jason Kulatunga
|
2fc24d0e76
|
fix error log.
|
4 years ago |
Jason Kulatunga
|
4331f86ed4
|
fixing #164 telegram notification issue while I'm here.
TODO: do a full check of all notification params in shoutrrr and ensure they match what we use.
|
4 years ago |
Jason Kulatunga
|
59d4a8e195
|
(0.3.7) Automated packaging of release by Packagr
Signed-off-by: Jason Kulatunga <jason@thesparktree.com>
|
4 years ago |
Jason Kulatunga
|
79de0fed2b
|
upgrade shoutrrr version. Fix duplicate notifications when more than one notification handler configured (closure iteration issue).
fixes #160
fixes #146
fixes #135
|
4 years ago |
Jason Kulatunga
|
5ea9a75039
|
(0.3.6) Automated packaging of release by Packagr
Signed-off-by: Jason Kulatunga <jason@thesparktree.com>
|
4 years ago |
Jason Kulatunga
|
27b923b5e9
|
(0.3.5) Automated packaging of release by Packagr
Signed-off-by: Jason Kulatunga <jason@thesparktree.com>
|
4 years ago |
Jason Kulatunga
|
bab25de2f2
|
(0.3.4) Automated packaging of release by Packagr
Signed-off-by: Jason Kulatunga <jason@thesparktree.com>
|
4 years ago |