diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-29 06:08:39 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-29 06:08:39 +0000 |
commit | f0224e32ca39fe7b261a8d6bcec64bb449c65856 (patch) | |
tree | a45f1c840393841b58ecb999091c70e30ff30d9f /app/validators | |
parent | 7d8cc770b14b41fbe40181d447042dccdc45bff8 (diff) | |
download | gitlab-ce-f0224e32ca39fe7b261a8d6bcec64bb449c65856.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/validators')
-rw-r--r-- | app/validators/json_schemas/application_setting_database_apdex_settings.json | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/app/validators/json_schemas/application_setting_database_apdex_settings.json b/app/validators/json_schemas/application_setting_database_apdex_settings.json new file mode 100644 index 00000000000..8b58dd44586 --- /dev/null +++ b/app/validators/json_schemas/application_setting_database_apdex_settings.json @@ -0,0 +1,34 @@ +{ + "description": "Database Apdex Settings", + "type": "object", + "properties": { + "prometheus_api_url": { + "type": "string" + }, + "apdex_sli_query": { + "type": "object", + "properties": { + "main": { + "type": "string" + }, + "ci": { + "type": "string" + } + } + }, + "apdex_slo": { + "type": "object", + "properties": { + "main": { + "type": "number", + "format": "float" + }, + "ci": { + "type": "number", + "format": "float" + } + } + } + }, + "additionalProperties": false +} |