Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ services:
retries: 10
start_period: "10s"
test: ["CMD", "wget", "http://localhost:9090"]
pushgateway:
<<: *default_policy
container_name: pushgateway
image: prom/pushgateway:v1.10.0
https-portal:
<<: *default_policy
container_name: https-portal
Expand All @@ -49,6 +53,7 @@ services:
depends_on:
- grafana
- prometheus
- pushgateway
- loki

volumes:
Expand Down
6 changes: 5 additions & 1 deletion stg/compose.stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,9 @@ services:
- ./stg/prometheus/config/web.yaml:/etc/prometheus/web.yaml
https-portal:
environment:
DOMAINS: "stg.grafana.cloudnativedays.jp -> http://grafana:3000, stg.loki.cloudnativedays.jp -> http://loki:3100, stg.prometheus.cloudnativedays.jp -> http://prometheus:9090"
DOMAINS: >
stg.grafana.cloudnativedays.jp -> http://grafana:3000,
stg.loki.cloudnativedays.jp -> http://loki:3100,
stg.prometheus.cloudnativedays.jp -> http://prometheus:9090,
stg.pushgateway.cloudnativedays.jp -> http://pushgateway:9091
STAGE: production
6 changes: 5 additions & 1 deletion stg/prometheus/config/prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,8 @@ scrape_configs:
scheme: https
static_configs:
- targets:
- staging.dev.cloudnativedays.jp
- staging.dev.cloudnativedays.jp
- job_name: pushgateway
static_configs:
- targets:
- pushgateway:9091