72 lines
1.3 KiB
YAML
72 lines
1.3 KiB
YAML
# 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
|
|
scrape_interval: 3600
|
|
|
|
# build_id to start populating empty db with
|
|
# required: false
|
|
# default: 5808 (first build with correct metrics)
|
|
start_from:
|
|
|
|
|
|
# oldest_to_update
|
|
# oldest (in days) unfinished object (build/task/step...) that we will try to update
|
|
# required: false
|
|
# default: 3
|
|
oldest_to_update_days: 3
|
|
|