Skip to content

Commit

Permalink
promtail changed env to match common schema
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-oleynik committed Aug 8, 2024
1 parent 5a43fa9 commit 17bfeb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions promtail/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Environment Variables:
| Name | Description |
|------|-------------|
| `LOKI_PUSH_URL` | URL to push to (e.g. `<domain>/loki/api/v1/push`) |
| `LOKI_PUSH_USER` | User for Basic Auth |
| `LOKI_PUSH_PASSWORD` | Password for Basic Auth |
| `AUTH_USER` | User for Basic Auth |
| `AUTH_PASSWORD` | Password for Basic Auth |
| `DOCKER_HOST` | Path to docker host (e.g. `unix:///var/run/docker.sock`) |
| `INSTANCE_NAME` | Name of the instance |
4 changes: 2 additions & 2 deletions promtail/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ server:
clients:
- url: ${LOKI_PUSH_URL}
basic_auth:
username: ${LOKI_PUSH_USER}
password: ${LOKI_PUSH_PASSWORD}
username: ${AUTH_USER}
password: ${AUTH_PASSWORD}
external_labels:
instance: ${INSTANCE_NAME}
scrape_configs:
Expand Down

0 comments on commit 17bfeb8

Please sign in to comment.