Skip to content

Commit f9202bb

Browse files
authored
Merge pull request #233 from modelix/feature/MODELIX-505_document_health_checks
docs(mps-model-server-plugin): document available health checks
2 parents 694a7fd + 0442715 commit f9202bb

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
= mps-model-server-plugin
2+
3+
== Health checks
4+
5+
The plugin offers a set of health checks via HTTP on port 48305 and path `/health`.
6+
Health checks can be enabled adding query parameters with the health check name and the value `true` to the request.
7+
8+
=== indexer
9+
10+
The check fails, if the indexer is currently running for one of the opened projects.
11+
12+
[NOTE]
13+
====
14+
This check indicates a healthy system until a project is opened.
15+
Combine it with the `projects` health check to effectively wait for the system to be ready to serve data immediately.
16+
====
17+
18+
=== projects
19+
20+
Reports an unhealthy system whenever no project is loaded.
21+
22+
=== virtualFolders
23+
24+
Reports an unhealthy system when no virtual folders are available.
25+
This might also be true in case a project without virtual folders is fully loaded.

docs/global/modules/core/partials/nav-reference.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
* xref:core:reference/component-model-api-gen.adoc[]
55
* xref:core:reference/component-model-api-gen-gradle.adoc[]
66
* xref:core:reference/component-light-model-client.adoc[]
7+
* xref:core:reference/component-mps-model-server-plugin.adoc[]

0 commit comments

Comments
 (0)