Pushgateway
Environment Variables
These are the environment variables used by the application:
Variable
Required
Default
Description
1
POSTGRES_DB
Yes
2
POSTGRES_USER
Yes
3
POSTGRES_PASSWORD
Yes
4
POSTGRES_HOST
Yes
5
POSTGRES_SSL_MODE
No
verify-full
6
POSTGRES_PORT
No
5432
7
PUBLIC_KEY
Yes
Public key string (used for JWT). Prefix with file: if specifying a file path.
8
PRIVATE_KEY
Yes
Private key string (used for JWT). Prefix with file: if specifying a file path.
9
PRICING_API_HOST
No
10
PRICING_API_KEY
If pricing mode is not disabled
11
PRICING_API_SYNC_INTERVAL_SECONDS
No
86400 (24hrs)
12
PRICING_API_MODE
No
all
all, disable, any number of [gcp, azure, aws, custom] comma-separated
13
LOG_LEVEL
No
4
14
PRICING_CPU_CORE_HOUR
No
0.031611
Default price of cpu core per hour. Used if pricing cannot be found.
15
PRICING_RAM_GB_HOUR
No
0.004237
Default price of memory GB per hour. Used if pricing cannot be found.
16
PRICING_STORAGE_GB_HOUR
No
0.00005479452
Default price of storage GB per hour. Used if pricing cannot be found.
17
PRICING_GPU_HOUR
No
0.95
Default price for GPU per hour. Used if pricing cannot be found.
18
METRICS_ARCHIVE
No
disable
disable, the name of the Google Cloud storage bucket to archive metrics
19
ENV
No
test
Options: production, development, test
Last modified 1yr ago
Copy link