albs_analytics/build_analytics/config_default.yml

64 lines
1.2 KiB
YAML
Raw Normal View History

# albs_url
# url of AlmaLinux Build system
# required no
# default https://build.almalinux.org
albs_url: https://build.almalinux.org
# jwt
# JWT token to use for API calls
# Note: JWT is not required for current verison of code, just set to ""
# required: yes
jwt: ""
# db_host
# IP/hostname of database server
# required: no
# default: localhost
db_host: localhost
# db_port
# TCP port of database server
# required: no
# default: 5432
db_port: 5432
# db_username
# database user user to connect with
# required: yes
db_username: albs_analytics
# db_password
# password to connect with
# required: yes
db_password: super_secret_password
# db_name
# database name to use for storage
# required: yes
db_name: albs_analytics
# log_file
# file to write logs to
# required: no
# default: /tmp/extractor.log
log_file: /tmp/extractor.log
# data_store_days
# oldest build (in days) to keep in DB
# required: yes
data_store_days: 30
# scape_interval
# sleep time in seconds between data extraction
# required: no
# default: 3600
2023-03-06 18:21:56 +00:00
scrape_interval: 3600
# build_id to start populating empty db with
# required: false
# default: 5808 (first build with correct metrics)
start_from: