Created
July 24, 2020 20:25
-
-
Save tsurdilo/d5294cb5a54a04fea4aa5dbe8713c93e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "123", | |
"name": "abc", | |
"events": [], | |
"functions": [], | |
"states": [], | |
"extensions": [ | |
{ | |
"id": "workflow-kpi-extension", | |
"content": { | |
"currency": "USD", | |
"workflow": { | |
"per": { | |
"instances": 100 | |
}, | |
"maxCost": "2000", | |
"maxInvoked": "50", | |
"minInvoked": "1" | |
}, | |
"events": [ | |
{ | |
"for": "myDefinedEvent1", | |
"per": { | |
"time": "PT1D" | |
}, | |
"avgConsumed": "75", | |
"maxProduced": "0" | |
}, | |
{ | |
"for": "myDefinedEvent2", | |
"per": { | |
"time": "PT1D" | |
}, | |
"avgConsumed": "0", | |
"avgProduced": "10" | |
} | |
], | |
"functions": [ | |
{ | |
"for": "myDefinedFunction1", | |
"per": { | |
"instances": 1000 | |
}, | |
"maxCost": "200", | |
"maxErrors": "10", | |
"maxRetry": "40", | |
"maxTimeout": "40", | |
"avgInvoked": "50" | |
} | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment