Skip to content

Commit 9a1ba5c

Browse files
authored
Merge pull request #627 from killbill/aviate-health-config
aviate health: Add section on runtime properties
2 parents 7e40124 + 32e1d1f commit 9a1ba5c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

userguide/aviate/aviate-health.adoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,22 @@ The metrics exposed by the Aviate plugin can mainly be categorized in the follow
9393

9494
|===
9595

96+
=== Runtime Properties
97+
98+
Properties can be specified to configure the Kill Bill system including its plugins. The following https://docs.killbill.io/latest/userguide_configuration#configuration_properties_table[documentation] shows the main configuration properties.
99+
100+
101+
The values for these properties can come from a number of sources and the system will evaluate based on the following order:
102+
103+
* Immutable system properties: Properties set by the Kill Bill system - e.g. `user.timezone` set to `GMT`
104+
* Tenant configurations: Properties that have been overridden on a per-tenant level
105+
* Environment variables: Environment variables that have been set using the `KB_org_*` syntax
106+
* Runtime configurations: Properties that can be specified as a system property using the `-D<propName>=<propValue>` syntax or through a system property file identified by the system property `-Dorg.killbill.server.properties=<propertyFile>`
107+
* Default property values: Default values if none of the above overrode the default value
108+
109+
This flexibility is offered by default and it allows to adopt different deployment models along with a fine grained granularity at the tenant level. However, to make it easier to understand the runtime values of these properties, we have created the endpoint `/v1/health/config`: It provides the view of what the system is running along with the required information about where each property value comes from.
110+
111+
96112
=== Queue Metrics
97113

98114
Queue metrics can be used to assess the health of the Kill Bill internal queues.

0 commit comments

Comments
 (0)