Labels
This section describes labels that you can use to better explore and monitor Qodana Self-Hosted resources. Information about Docker labels is available on the Docker website.
Global labels
Qodana Self-Hosted uses several global labels to mark the resources it owns and manages. You can use these labels to operate Qodana Self-Hosted:
Label and value | Description |
|---|---|
| Identify all resources that are part of the Qodana Self-Hosted installation |
| Display at runtime a Qodana Self-Hosted version that a specific resouce is related to. Dependent on the |
Component-specific labels
Qodana Self-Hosted is operated by several services. To simplify administration, they are combined into the following groups:
Group name | Description |
|---|---|
| Stateful components |
| Qodana API, Qodana Git API, linter API and others |
| Ingress and garbage collection of Docker images and others |
Here, each group identifies a specific Docker Swarm stack.
Labels related to local dependencies
The qodana.jetbrains.self-hosted.lite.dependencies.local=true and qodana.jetbrains.self-hosted.lite.service-type=local-dependencies labels identify resources related to the qodana_self_hosted_local_dependencies stack or group.
The qodana.jetbrains.self-hosted.lite.database.volume.name label defines the internal name of a volume that will be mapped to a related stateful service that is part of a certain Docker stack.
You can find out the volume name for a given container using this Docker CLI command:
To understand the mount point of a specific Docker volume, you can use the qodana.jetbrains.self-hosted.lite.database.volume.path label.
Label related to Qodana Self-Hosted
The qodana.jetbrains.self-hosted.lite.service-type=application label identifies the resources related to the qodana_self_hosted_local_service_tools stack.
Label related to supporting tools
The qodana.jetbrains.self-hosted.lite.service-type=supporting-tools label identifies the resources related to the qodana_self_hosted_local_service_tools stack.