# 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                              | <https://pricing.replex.io> |                                                                                    |
| 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                                                                           |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.replex.io/concepts/pushgateway.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
