albs_analytics/build_analytics/config_default.yml
kzhukov 4b5adb52d5 ALBS-1099 (#4)
Co-authored-by: Kirill Zhukov <kzhukov@cloudlinux.com>
Reviewed-on: #4
2023-04-21 07:53:09 +00:00

75 lines
1.4 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: 5808
# oldest_to_update
# oldest (in days) unfinished object (build/task/step...) that we will try to update
# required: false
# default: 7
oldest_to_update_days: 7
# api_timeout
# how long (in seconds) we will wait for API response
# required: false
# default: 30
api_timeout: 30