-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#79]: feature: simplify health/readiness checks
- Loading branch information
Showing
11 changed files
with
419 additions
and
127 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package status | ||
|
||
type Report struct { | ||
PluginName string `json:"plugin_name"` | ||
ErrorMessage string `json:"error_message"` | ||
StatusCode int `json:"status_code"` | ||
} | ||
|
||
type JobsReport struct { | ||
Pipeline string `json:"pipeline"` | ||
Priority uint64 `json:"priority"` | ||
Ready bool `json:"ready"` | ||
Queue string `json:"queue"` | ||
Active int64 `json:"active"` | ||
Delayed int64 `json:"delayed"` | ||
Reserved int64 `json:"reserved"` | ||
Driver string `json:"driver"` | ||
ErrorMessage string `json:"error_message"` | ||
} |
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
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
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
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
Oops, something went wrong.