Membrane.Telemetry.TimescaleDB (Membrane Telemetry TimescaleDB v0.1.0) View Source
Reporter's supervisor responsible for starting a database repository and a bunch of reporter's workers.
Supervisor can be controlled via config variables to determine whether the auto migration process should be called or the number of workers that should be responsible for handling the events/measurements.
You can control the config in following way:
config :membrane_timescaledb_reporter,
reporters: 5 # default number of reporter's workers
auto_migrate?: true # decides if the auto migration should get performed
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Link to this section Functions
Specs
active_workers() :: [pid()]
Specs
child_spec(keyword()) :: Supervisor.child_spec()
Returns a specification to start this module under a supervisor.
See Supervisor.