Skip to content

Instantly share code, notes, and snippets.

@tsurdilo
Created July 24, 2020 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsurdilo/6fc8e26f44b792feb923f85947af3b45 to your computer and use it in GitHub Desktop.
Save tsurdilo/6fc8e26f44b792feb923f85947af3b45 to your computer and use it in GitHub Desktop.
{
"id": "123",
"name": "abc",
"events": [],
"functions": [],
"states": [],
"extensions": [
{
"extensionsid": "workflow-kpi-extension",
"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