-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (39 loc) · 1.96 KB
/
Copy path.env.example
File metadata and controls
47 lines (39 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Only needed if you start the board with `docker compose up` rather than
# `docker run`; with docker run these are plain -e flags.
#
# Which repos are monitored is NOT set here - that lives in repos.yml, one
# entry per repo. This file holds credentials and cadences only.
# Needs `repo` (private repo metadata) and `read:org`. A gh OAuth token works:
# GITHUB_TOKEN=$(gh auth token)
# It has to be able to read every repo listed in repos.yml.
GITHUB_TOKEN=
# The repo whose releases define "up to date" for the template pointer.
JQ_TEMPLATE_REPO=Jebel-Quant/rhiza
# Comma-separated repo names to drop without removing them from repos.yml.
JQ_IGNORE=
# Drop private repos completely - not just their details, their existence.
# The board binds to 127.0.0.1, so this is not needed to keep them off the
# network; it is for when you would rather the collector never fetched them.
JQ_PUBLIC_ONLY=false
# Refresh cadences, in seconds.
#
# The GitHub half costs roughly one call per repo plus one per workflow, with
# no conditional requests, so a pass over a 25-repo fleet is ~450 calls and the
# hourly cost is that times 3600/this. Against GitHub's 5000/hour that leaves
# 300 too fast for anything past ~15 repos: the budget runs out mid-hour and the
# board goes stale exactly when you are watching it. Raise this before adding
# repos, not after.
JQ_GITHUB_INTERVAL=600
JQ_LOCAL_INTERVAL=60
# Line counts and commit counts are re-measured only when a clone has actually
# moved - a new commit, an edit, a tag - because counting lines means reading
# every tracked file through a bind mount. This caps how long an unchanged
# reading may stand regardless: the 30-day commit window slides whether or not
# anyone commits, so a repo that has gone quiet still has to watch its old
# commits fall out of the count. A day is well inside the resolution of a
# 30-day figure.
JQ_MEASURE_MAX_AGE=86400
# How long Prometheus keeps history.
PROM_RETENTION=180d
GF_ADMIN_USER=admin
GF_ADMIN_PASSWORD=admin