project Utilities / Python Influxdb Downsample avatar

utilities/python_influxdb_downsample#6: Allow query to be specified



Issue Information

Issue Type: issue
Status: closed
Reported By: btasker
Assigned To: btasker

Milestone: vnext
Created: 05-Feb-23 11:47



Description

Currently the script builds a query for the user.

For maximum flexibility, it'd probably be good if it were also possible to specify a custom Flux query in YAML.

It should use placeholders for start, stop and window (probably best to stick with the existing v.timeRangeStart etc.



Toggle State Changes

Activity


assigned to @btasker

verified

mentioned in commit 9a8534a53e555cd80b20e9e2a85449a1d3018aa6

Commit: 9a8534a53e555cd80b20e9e2a85449a1d3018aa6 
Author: B Tasker                            
                            
Date: 2023-02-05T12:03:24.000+00:00 

Message

Add support for new query attribute in jobs, to define a custom flux query utilities/python_influxdb_downsample#6

+47 -18 (65 lines changed)
verified

mentioned in commit e4b2f579fcb72c1f1276da39799f3ef57e49dd5c

Commit: e4b2f579fcb72c1f1276da39799f3ef57e49dd5c 
Author: B Tasker                            
                            
Date: 2023-02-05T11:50:50.000+00:00 

Message

chore: Move query generation to dedicated function in prep for utilities/python_influxdb_downsample#6

+30 -15 (45 lines changed)
verified

mentioned in commit 2dc0e4976efc59005f041d4e504092589fe06ce1

Commit: 2dc0e4976efc59005f041d4e504092589fe06ce1 
Author: B Tasker                            
                            
Date: 2023-02-05T12:09:14.000+00:00 

Message +42 -0 (42 lines changed)