Skip to content

Commit

Permalink
Add oldest_missing_period to the API doc
Browse files Browse the repository at this point in the history
  • Loading branch information
amanjpro committed Jul 25, 2020
1 parent d528c78 commit d8aeb46
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ $ curl --silent -G http://0.0.0.0:8080/summary | jq .
"job_id": 0,
"name": "Job1",
"missing": 4,
"oldest_mising_period": 10,
"alert_level": "warn"
},
{
"job_id": 1,
"name": "Job2",
"missing": 2,
"oldest_mising_period": 3,
"alert_level": "normal"
}
]
Expand All @@ -49,12 +51,14 @@ $ curl --silent -G http://0.0.0.0:8080/summary | jq .
"job_id": 0,
"name": "Job3",
"missing": 6,
"oldest_mising_period": 6,
"alert_level": "critical"
},
{
"job_id": 1,
"name": "Job4",
"missing": 0,
"oldest_mising_period": 0,
"alert_level": "great"
}
]
Expand Down

0 comments on commit d8aeb46

Please sign in to comment.