K8s Governance & Cost Control
  • Quick Start Guide
  • Getting Started
    • Cluster Dashboard
    • Teams Dashboard
    • Namespace Dashboard
    • Node Dashboard
    • Settings Page
  • Concepts / Calculations
    • Calculations
    • Agent
    • Aggregator
    • Pushgateway
    • Server
    • Pricing API
  • Monitoring and Alerts
  • Settings
    • Users
    • Pending Invitations
    • Billing Credentials
    • Single Sign On (SAML)
    • Custom Cost
    • Cloud Costs (Out of Cluster Costs)
    • API Tokens
    • API Access
  • Changelog
    • Agent
    • Aggregator
    • Frontend
    • Pushgateway
    • Server
    • PricingAPI
Powered by GitBook
On this page
  1. Concepts / Calculations

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

20

QUEUE_PROCESS_HOUR

No

6

Internal

PreviousAggregatorNextServer

Last updated 4 years ago

https://pricing.replex.io