feat(ui): Implement endpoints[].ui.hide-conditions

This commit is contained in:
TwiN
2024-04-18 20:57:07 -04:00
parent 7efe7429dd
commit e0ab35e86a
5 changed files with 80 additions and 0 deletions

View File

@ -267,6 +267,7 @@ You can then configure alerts to be triggered when an endpoint is unhealthy once
| `endpoints[].alerts` | List of all alerts for a given endpoint. <br />See [Alerting](#alerting). | `[]` |
| `endpoints[].client` | [Client configuration](#client-configuration). | `{}` |
| `endpoints[].ui` | UI configuration at the endpoint level. | `{}` |
| `endpoints[].ui.hide-conditions` | Whether to hide conditions from the results. Note that this only hides conditions from results evaluated from the moment this was enabled. | `false` |
| `endpoints[].ui.hide-hostname` | Whether to hide the hostname in the result. | `false` |
| `endpoints[].ui.hide-url` | Whether to ensure the URL is not displayed in the results. Useful if the URL contains a token. | `false` |
| `endpoints[].ui.dont-resolve-failed-conditions` | Whether to resolve failed conditions for the UI. | `false` |