Skip to content

Instantly share code, notes, and snippets.

@theycallmeloki
Created June 3, 2022 12:09
Show Gist options
  • Save theycallmeloki/b7ae29cc130fa799d3cb21ba3ecca561 to your computer and use it in GitHub Desktop.
Save theycallmeloki/b7ae29cc130fa799d3cb21ba3ecca561 to your computer and use it in GitHub Desktop.
A sample aggregator for pachyderm
{
"name": "LAMBO",
"metadata": "",
"oracleRequestBatchSize": 1,
"minOracleResults": 1,
"minJobResults": 1,
"minUpdateDelaySeconds": 900,
"jobs": [
{
"name": "duration LAMBO",
"tasks": [
{
"httpTask": {
"url": "http://express-node-app/getEncodingJobStats"
}
},
{
"jsonParseTask": {
"path": "$.stats.process_time"
}
},
{
"powTask": {
"scalar": -1
}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment