2023-07-24 10:11:06 +02:00
2023-07-24 10:11:06 +02:00
2023-07-10 10:47:55 +02:00
2023-07-10 16:46:53 +02:00
2023-07-10 16:46:46 +02:00
2023-07-24 10:03:29 +02:00
2023-07-12 14:01:06 +02:00
2023-07-10 16:46:33 +02:00

bandwidth_probing

Service that runs in a container and measures network bandwidth at a specified interval. The results are sent to a MongoDB database. Logs are sent to discord channel.

Environment Variables

LOGGER_LEVEL: Literal['debug', 'info', 'warning', 'error', 'critical'] = 'debug'
USER_ID: int = 0 # id number 0 is reserved for testing
REPLICATES: int = 3 # number of replicates to be measured per event
TRIGGER_INTERVAL_SECONDS: float = 3600 # seconds between events
DATA_QUEUE_FLUSH_INTERVAL_SECONDS: float = 600 # seconds between attempts to push data stuck in data queue

DB_IP_ADDRESS: str = '192.168.1.2'
DB_NAME: str = 'bandwidth_probing'
DB_COLLECTION_NAME: str = 'data'

DISCORD_SERVICE_NAME: str = 'bandwidth_probing
DISCORD_WEBHOOK_URL: str = 'https://discord.com/api/webhooks/1127970367047225354/wNkoRex4OncMw11OCJg6atR_xgHS2VhLrku4jYIUw81Kr4sutdD3Tt-XAltG0UQy14rZ'
DISCORD_LOGGER_LEVEL: Literal['debug', 'info', 'warning', 'error', 'critical'] = 'warning'
S
Description
Service that runs in a container and measures network bandwidth at a specified interval. The results are sent to a PostgreSQL database.
Readme
175 KiB
Languages
Python 88.3%
Dockerfile 11.7%