Slung Rust SDK
An abstraction library for interacting with the Slung runtime.
Quickstart
Add to your rust project's Cargo.toml:
[]
= "0.1.0"
And then at the top of your module:
use *;
Example
Here's a basic anomaly detection example:
use *;
Query Syntax
OP:SERIES:[TAGS]:[RANGE]
- RANGE is optional
- OP: AVG, MIN, MAX, SUM, COUNT
- TAGS: AND, OR, NOT
- RANGE:
[start_time,end_time]. Timestamps in microseconds. Also supports sec, min, hour, day, week (short & plural forms apply).
License
Unlike the root project, this SDK is licensed under the MIT License - see the LICENSE file for details.