TimescaleDB plugin
Overview
The TimescaleDB plugin connects QALIPSIS to TimescaleDB.
- Technology addressed
-
-
TimescaleDB: https://www.timescale.com/
- Dependency
-
io.qalipsis:plugin-timescaledb - Namespace in scenario
-
timescaledb() - Client library
Configuration of publication of events and meters to TimescaleDB.
Example configuration file
events:
export:
timescaledb:
enabled: true
min-level: INFO
host: localhost
port: 5432
database: qalipsis
schema: events
linger-period: 10s
batch-size: 20000
publishers: 1
username: qalipsis_user
password: qalipsis-pwd
meters:
export:
timescaledb:
enabled: true
host: localhost
port: 5432
database: qalipsis
schema: meters
username: qalipsis_user
password: qalipsis-pwd
step: PT10S
- Event Parameters
-
-
enabled(required): boolean flag that activates/deactivates event publishing to TimescaleDB; defaults tofalse; must be set totrue. -
min-level(required): minimum accepted level of events; defaults to INFO; allowable values are `EventLevel`values: TRACE, DEBUG, INFO, WARN, ERROR, OFF; cannot be null. -
host(required): defaults to localhost; cannot be blank. -
port(required): positive integer; defaults to5432. -
database(required): string name of the database; defaults toqalipsis; cannot be blank. -
schema(required): string name of the schema; defaults toevents; cannot be blank. -
linger-period(required): maximum period between publication of events to TimescaleDB; positive duration, defaults to10s. -
batch-size(required): maximum number of events buffered between two publications of events toTimescaleDB; positive integer; defaults to2000. -
publishers(required): number of concurrent publication of events that can run; positive integer; defaults to1(no concurrency). -
username(optional): name of the user for basic authentication when connecting to TimescaleDB; defaults toqalipsis_user. -
password(optional): password of the user for basic authentication when connecting to TimescaleDB; defaults toqalipsis_pwd.By default, TimescaleDB does not require a username and password for authentication. However, it is recommended that the information be provided to ensure secure access to the TimescaleDB data.
-
- Meter Parameters
-
-
enabled` (required): boolean flag that activates/deactivates meter publishing to TimescaleDB; defaults to
false; must be set totrue. -
host(required): defaults to localhost; cannot be blank. -
port(required): positive integer; defaults to5432. -
database(required): string name of the database; defaults toqalipsis; cannot be blank. -
schema(required): string name of the schema; defaults toevents; cannot be blank. -
step(required): the step size (reporting frequency); defaults toPT10S. -
username(optional): name of the user for basic authentication when connecting to TimescaleDB; defaults toqalipsis_user. -
password(optional): password of the user for basic authentication when connecting to TimescaleDB; defaults toqalipsis_pwd.By default, TimescaleDB does not require a username and password for authentication. However, it is recommended that the information be provided to ensure secure access to the TimescaleDB data.
-