...
To apply any configuration changes, backend server must be restarted.
Metrics storage DB connection setup
Influx BD connection setup
The following parameter in wcsoam.properties file should be set to allow to store metrics to Influx DB
...
Code Block | ||
---|---|---|
| ||
influxdb_udp=true influxdb_udp_port=8089 |
...
Timescale DB connection setup
The following parameter in wcsoam.properties file should be set to allow to store metrics to Timescale DB
Code Block | ||
---|---|---|
| ||
metric_store=timescale |
DB URL and access parameters should be set for connection setup
Code Block | ||
---|---|---|
| ||
timescale.url=jdbc:postgresql://127.0.0.1:5432/wcsstat
timescale.username=wcsoam
timescale.password=wcsoam |
Connection tuning
Metric values batch size to write to DB can be set with the following parameter
Code Block | ||
---|---|---|
| ||
timescale_batch_size=1000 |
In this case metrics will be written to DB in batches of 1000 values.
Stream history and data acquisition settings DB connection setup
History storage support is enabled with the following parameter
...