project Utilities / Python Influxdb Downsample avatar

Commits: Utilities / Python Influxdb Downsample



Commits

Fix: Round run start time down to a fixed precision (utilities/python_influxdb_downsample#27)

verified
adb0ae23
B Tasker

Prevent stats error when using custom query

verified
b7aca663
B Tasker

Err on the side of caution, prevent exceptions during stat writes from bubbling up

verified
f949e168
B Tasker

docs: add document on setting up replication using copy (utilities/python_influxdb_downsample#21)

verified
d239b46c
B Tasker

docs: Add details on copy aggregate (utilities/python_influxdb_downsample#21)

verified
f17fe67e
B Tasker

fix: Convert row to a dict when copying (utilities/python_influxdb_downsample#21)

verified
a8540b4a
B Tasker

NotWorking: Start to implement copy aggregate utilities/python_influxdb_downsample#21

verified
0a88f6ed
B Tasker

chore: refactor - move the group-key calculations out of the aggregate loop, it's getting a bit long and hard to read

verified
c2bb275c
B Tasker

chore: remove debug print (utilities/python_influxdb_downsample#23)

verified
996cf415
B Tasker

fix: prevent empty starting window from blatting existing values utilities/python_influxdb_downsample#23

verified
b7f7bb18
B Tasker

Re-enable dummy creation, located the source of the issue utilities/python_influxdb_downsample#20

verified
fa268851
B Tasker

Disable dummy creation for now utilities/python_influxdb_downsample#20

verified
2d93ef3e
B Tasker

feat: Insert a 0 point for empty windows by default (utilities/python_influxdb_downsample#20)

verified
4fc56af0
B Tasker

Update aggregates to account for presence of dummies utilities/python_influxdb_downsample#20

verified
fece2f7d
B Tasker

feat: Add code to enable the inclusion/population of empty windows utilities/python_influxdb_downsample#20

verified
039ff163
B Tasker

Add example Grafana dashboard

verified
cf1f1a92
B Tasker

fix: Prevent failure stats being written when outputs are closing (utilities/python_influxdb_downsample#17)

verified
c9456395
B Tasker
verified
eb9f826d
B Tasker

docs: create document detailing statistics utilities/python_influxdb_downsample#16

verified
72cf3456
B Tasker

Implement ability to specify custom tags in config

verified
cbe331a4
B Tasker

Push stat showing buffer flush time too

verified
0cab0506
B Tasker

Enable additional stats

verified
8429e85b
B Tasker

Add stats providing times taken to run each stage of the job (measured in nanos) - utilities/python_influxdb_downsample#16

verified
fa25d7fd
B Tasker

Print when flushing queues, makes it look less like something has hung

verified
bb64463a
B Tasker
verified
d8ae8008
B Tasker

Write final stats when closing the object utilities/python_influxdb_downsample#16

verified
919930b0
B Tasker

Implement ability to push run-time stats to Influx utilities/python_influxdb_downsample#16

verified
e853386b
B Tasker

docs: update README with stats example utilities/python_influxdb_downsample#16

verified
be49254a
B Tasker

Implement config support for stats collection (utilities/python_influxdb_downsample#16)

verified
9bbea508
B Tasker

chore: Move code-block closer to the section it relates to

verified
dd45820f
B Tasker

Adjust recordFailures so that we log when a batch write failed. utilities/python_influxdb_downsample#15

verified
c687c8de
B Tasker

Switch upstream writes to batching mode utilities/python_influxdb_downsample#15

verified
9c552984
B Tasker

Log a line when we've received the query result (helps judge processing times for each stage)

verified
25a490d7
B Tasker

Fix conf.d population in dockerfile

verified
3ea7d5a2
B Tasker

Bugfix: enforce minimum value count for percentile calculation

verified
6ba03a8c
B Tasker

Chore: fix readability - many comments and whitespace adjustments

verified
409bcf4e
B Tasker

Move examples out of the root

verified
8bb5d4d2
B Tasker

Remove unneeded vars

verified
b3ec4074
B Tasker

Refuse to continue processing if necessary field(s) are missing

verified
83f74dc6
B Tasker

Optimise sooner

verified
d810f587
B Tasker

Fix aggregate name and enable

verified
14133f0e
B Tasker

Enforce minimum value count

verified
bb62882e
B Tasker

bugfix: fix function name

verified
7a8996bf
B Tasker

chore: factor out repeated conditional

verified
54c98f01
B Tasker

Bugfix: don't break on last, the result being returned would be first

verified
2b0d63f1
B Tasker

Remove debug messages

verified
83ef7ad3
B Tasker

Add short-circuit if last is the only active aggregator utilities/python_influxdb_downsample#12

verified
9e543c98
B Tasker

Short-circuit iteration if first is the only active aggregator utilities/python_influxdb_downsample#12

verified
90fa038e
B Tasker

feat: Count aggregates when loading config

verified
abe22c46
B Tasker

chore: tidy up

verified
fc4ae3ff
B Tasker

chore: make max/min calculations DRY

verified
6d68b221
B Tasker

chore: Remove repeated conditional

verified
e9d8c6a8
B Tasker

Add support for standard deviation

verified
27145370
B Tasker

chore: max average calculation DRY

verified
547bd55b
B Tasker

Add completion message

verified
24837e95
B Tasker

Add job name to the dump

verified
e4ee8025
B Tasker

Add logline when dumping a failed write (utilities/python_influxdb_downsample#9)

verified
3248a2c0
B Tasker

Gzip the dump YAML, can save a significant amount of disk space (utilities/python_influxdb_downsample#9)

verified
17174853
B Tasker

docs: update README example to note the ability to dump to disk (utilities/python_influxdb_downsample#9)

verified
944a407d
B Tasker

Bugfix: fix variable for failure path

verified
59cd00dd
B Tasker

Implement ability to write failures to disk for (possible) later replay (utilities/python_influxdb_downsample#9)

verified
5634e97a
B Tasker

Update gitignore

verified
d6938fc4
B Tasker

docs: update README to detail lint mode

verified
545abe60
B Tasker

Update entrypoint to accept arbitrary cmdline args

verified
944c0f07
B Tasker

Add support for cmdline args "lint" and "configtest" utilities/python_influxdb_downsample#10

verified
b3202450
B Tasker

Add doc

verified
1b9e06f9
B Tasker

Removed unneeded prints

verified
78513164
B Tasker

docs: add note on requirement to preserve _stop when using custom functions

verified
dde7a491
B Tasker

Bugfix: When includes are used, some config elements can end up being lists rather than dicts. Add handling

verified
2967916d
B Tasker
verified
f930583d
B Tasker

Implement ability to use !include within YAML to split config across multiple YAML files utilities/python_influxdb_downsample#8

verified
71ba5314
B Tasker

docs: document examples of porting Flux tasks over

verified
eeeb7635
B Tasker

Add support for the imports attribute

verified
7e3bca74
B Tasker

Bugfix: measurement is optional, ensure it exists

verified
df8fc070
B Tasker
verified
917e42fa
B Tasker

Implement support for multiple outputs for utilities/python_influxdb_downsample#3

verified
9ce6623b
B Tasker

docs: update example at the top

verified
52bc94ad
B Tasker

docs: update README to document not_fields utilities/python_influxdb_downsample#7

verified
4f5e1fba
B Tasker

Add support for excluding fields by name utilities/python_influxdb_downsample#7

verified
225bf853
B Tasker

docs: update README with examples of using multi-measurment support for utilities/python_influxdb_downsample#2

verified
7928e6aa
B Tasker

Allow multiple measurements to be included utilities/python_influxdb_downsample#2

verified
b91adfe5
B Tasker

docs: update README to give example with custom flux calls (utilities/python_influxdb_downsample#1)

verified
35f83759
B Tasker

Implement support for attribute flux_calls for utilities/python_influxdb_downsample#1

verified
28fd3600
B Tasker
verified
2dc0e497
B Tasker

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

verified
9a8534a5
B Tasker

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

verified
e4b2f579
B Tasker
verified
1eddedd3
B Tasker

Adjust "as" so that it can also be a dict providing a mapping when multiple fields are being processed utilities/python_influxdb_downsample#4

verified
0a283554
B Tasker

Implement support for "as" for utilities/python_influxdb_downsample#4

verified
38cfe2cd
B Tasker

chore: max field name calculations DRY in preparation for utilities/python_influxdb_downsample#4

verified
c0b12e87
B Tasker
verified
c19e4bf5
B Tasker

Don't custom calculate time windows, have Flux do it for us utilities/python_influxdb_downsample#5

verified
d79295ee
B Tasker

Add support for window() utilities/python_influxdb_downsample#5

verified
cca6226f
B Tasker

Add quiet - it can be omitted safely, but worth including in the example

verified
a0c346c3
B Tasker

Add support for a quiet mode

verified
5dabbd3a
B Tasker

Add timestamp to output

verified
a27f6733
B Tasker

Not sure how I missed that that wasn't part of the class, oops

verified
abac6141
B Tasker

Add license

verified
55378be0
B Tasker

Have the docker image ship with an example config

verified
d76e9a83
B Tasker

Allow start time to be overridden

verified
15a422b2
B Tasker

Remove unnecessary prints

verified
a2f36be8
B Tasker

Create Dockerfile

verified
f8390f8a
B Tasker

Start tweaking documentation

verified
daae8cdc
B Tasker

Provide control over timeouts

verified
c595744a
B Tasker

Calculate fixed query start and stop times.

verified
bb3323e3
B Tasker

Trap exceptions and start creating human friendly output

verified
b9a65926
B Tasker

Trap query failures

verified
6dddde58
B Tasker

Implement ability to add a name

verified
41719a32
B Tasker

Add type detection to prevent exceptions/failures when non-numeric fields are present

verified
4e6020ff
B Tasker

Try and ensure memory is freed up between tables

verified
5f27d212
B Tasker

Don't gate based on aggregates, the number of functions which use table_vals is now too high for that

verified
4c58dd24
B Tasker

Add support for sum and count aggregates

verified
e1820ad8
B Tasker

All aggregates are currently calculated within the same function, so remove the conditional and rename the function

verified
4abdc901
B Tasker

Allow output to be written to a different Influx instance

verified
bf861bb3
B Tasker

Adjust config loading to have it populate attributes which are called later - this allows them to optionally be omitted from YAML

verified
5932f1fe
B Tasker

Implement ability to add arbitrary filter() statements to the flux query

verified
f1821a81
B Tasker

Add support for first and last

verified
839435d8
B Tasker

Add support for percentiles

verified
a97c4865
B Tasker

Add support for median and mode

verified
cadb1379
B Tasker

Combine mean calculations into function - makes processing more efficient as we only need to iterate each group once

verified
ba623004
B Tasker

Remove defunct call

verified
078e8f99
B Tasker

Add support for "max" aggregate

verified
81533fdb
B Tasker

Support for aggregate "min"

verified
77f000f0
B Tasker

Prepare to allow multiple aggregates

verified
61e60b46
B Tasker

Strip some more of flux's boilerplate

verified
5b551172
B Tasker

Break mean calculation out into discrete function

verified
d1cf3690
B Tasker

Start a README so I don't forget later

verified
e6628bc1
B Tasker

Dynamically build the query

verified
938d2fbc
B Tasker

Start moving over to dynamically downsampling based on config

verified
de191388
B Tasker

Prepare to move to using a config file

verified
a3fcd1c2
B Tasker

Add yesterday's hacked together script

verified
b14bb033
B Tasker

Setting up repo

verified
e6f767ae
B Tasker