Skip to content

Commit

Permalink
doc(http): update health endpoint to include cryostatVersion
Browse files Browse the repository at this point in the history
Signed-off-by: Thuan Vo <[email protected]>
  • Loading branch information
tthvo committed Sep 15, 2023
1 parent 0197f7b commit a40a77b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/HTTP_API.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
`200` - The body is
```
{
"cryostatVersion": "$CRYOSTAT_VERSION",
"datasourceConfigured": $DATASOURCE_CONFIGURED,
"datasourceAvailable": $DATASOURCE_AVAILABLE,
"dashboardConfigured": $DASHBOARD_CONFIGURED,
Expand All @@ -169,6 +170,7 @@
"reportsAvailable": $REPORTS_AVAILABLE
}
```
`$CRYOSTAT_VERSION` is the version of the current Cryostat instance.

`$DATASOURCE_CONFIGURED` is `true` if the relevant environment variable has
been set to a non-empty value.
Expand Down

0 comments on commit a40a77b

Please sign in to comment.