See InfluxDB Tasks in action in this session. We’ll cover how to get started with tasks, how to set up invokable scripts, and look at some ways to use them.
3. See InfluxDB tasks in action in this session. We’ll cover how to get
started with tasks, how to set up invokable scripts, and look at some
ways to use them.
Vinay Kumar
Senior Product Manager, InfluxData
InfluxDB Tasks Demonstration
Platform Product Manager at InfluxData with a Cloud Infrastructure
and Networking background working at companies like MuleSoft,
Salesforce and Ericsson.
6. Using Tasks
/tasks
Augmented
Data
Relational Data
Alerts
Trigger Actions -
HTTP
Raw
Data
Tasks are a powerful automation tool:
● Queries run on the platform without the
need for any additional hardware, or OS
provisioning on customer infra.
● Run repetitive tasks like downsampling or
checking for error conditions and alerting
● Power of Flux - Query buckets, external
data, join data, compute data, trigger
actions, save to buckets, alert
7. Script
Using Invokable Scripts
● API Invokable scripts can be triggered to run Flux logic from applications
or workflow tools.
● Tasks can invoke scripts - improving Tasks management at scale.
/scripts
Tasks
Script
Input Parameters
Output
Tasks
Tasks
Tasks
Tasks
Tasks
Tasks
Create N Tasks passing
parameters to invoke the Script
/api/v2/scripts/{name}/invoke
Modify script to update Task logic
Create a reusable
and invokable Flux
asset
Driving Flux logic re-use on the platform
/api/v2/scripts/{name}/invoke
Invoke the script from your
application/workflow logic
8. See Tasks in Action
1. Walk through a simple downsampling Task
2. Run Tasks at scale with scripts
3. Create and invoke a useful script on demand