Sam Arnold
7b2e122869
refactor: refactor for tasks backport ( #21117 )
...
* chore: remove dead code
* refactor: move FluxLanguageService interface to fluxlang
* chore: run fmt
* refactor: move task.go from top level to task/taskmodel
* chore: run formatter
* chore: fix up import ordering with gci
2021-04-07 14:42:55 -04:00
Daniel Moran
00afd95cb7
refactor: automated move of errors and id from root to kit ( #21101 )
...
Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-03-30 14:10:02 -04:00
Jonathan A. Sternberg
0ae8bebd75
refactor: rewrite imports to include the /v2 suffix for version 2
2020-04-03 12:39:20 -05:00
Jonathan A. Sternberg
834a8740e0
refactor(task/backend): move the task/backend constants to the global package ( #17133 )
...
This moves a few types and constants to the global package so it can be
used without importing the `task/backend` package. These constants are
referenced in non tasks-specific code.
This is needed to break a dependency chain where the task backend will
call into the flux runtime to perform parsing or evaluation of a script
and to prevent the http package from inheriting that dependency.
2020-03-06 16:19:32 -06:00
Alirie Gray
6c6bd39ffc
refactor(tasks): remove dead scheduler code ( #16252 )
2020-01-02 11:41:21 -08:00
Alirie Gray
b5ccad3c07
feat(metrics): add run latency to executor metrics ( #16190 )
2019-12-11 14:50:32 -08:00
Alirie Gray
f096605327
fix(tasks): replace deactivation of unrecoverable errors with metric ( #15430 )
2019-10-16 16:00:58 -07:00
Alirie Gray
be28de8fbc
feat(tasks): deactivate task on unrecoverable error ( #15369 )
2019-10-09 13:51:03 -07:00
Lyon Hill
f5e9b5e04f
feat(task): add type to some specific metrics in new execution. ( #15340 )
2019-10-08 15:58:41 -06:00
Alirie Gray
aef199bcc1
fix(tasks): use influxdb errors in scheduler ( #15145 )
2019-09-16 13:55:39 -07:00
Alirie Gray
645df57102
feat(tasks): use influxdb errors for executor metrics ( #14926 )
2019-09-10 12:48:55 -07:00
Lyon Hill
cc84a43cea
feat(task): add run duration to task metrics ( #15102 )
...
We need to be able to see how long its taking task's to run as well
be able to see the start delta time per task.
2019-09-10 12:30:17 -06:00
Alirie Gray
30abb1b1b0
feat(tasks): add new executor prometheus metrics
2019-07-31 14:29:05 -07:00
Lyon Hill
c8becfd4a2
feat(task): Create a new task executor for the new modular scheduler ( #14252 )
...
* feat(task): create new executor for modular scheduler
2019-07-08 08:13:29 -06:00