Skip to content

Instantly share code, notes, and snippets.

@tanmay-bhat
Created February 27, 2022 07:05
Show Gist options
  • Save tanmay-bhat/5207d6b57fb0a1c750d7d2eb2e485254 to your computer and use it in GitHub Desktop.
Save tanmay-bhat/5207d6b57fb0a1c750d7d2eb2e485254 to your computer and use it in GitHub Desktop.
How to configure Prometheus server as a remote receiver
- name: prometheus-server
image: quay.io/prometheus/prometheus:v2.33.3
args:
- '--storage.tsdb.retention.time=15d'
- '--config.file=/etc/config/prometheus.yml'
- '--storage.tsdb.path=/data'
- '--web.console.libraries=/etc/prometheus/console_libraries'
- '--web.console.templates=/etc/prometheus/consoles'
- '--web.enable-lifecycle'
- '--web.enable-remote-write-receiver'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment