Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1958 from grafana/fix-docker-dev-bigtable
Browse files Browse the repository at this point in the history
Fix docker-dev-bigtable
  • Loading branch information
Dieterbe authored Jan 14, 2021
2 parents 7ed53dc + 341ff40 commit 52835b9
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker/docker-dev-bigtable/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:

bigtable:
hostname: bigtable
image: google/cloud-sdk
image: google/cloud-sdk:321.0.0
command: gcloud beta emulators bigtable start --host-port=0.0.0.0:8086
ports:
- "8086:8086"
Expand Down
34 changes: 34 additions & 0 deletions docker/docker-dev-bigtable/prometheus/prometheus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
global:
scrape_interval: 1s
evaluation_interval: 1s

# Attach these labels to any time series or alerts when communicating with
# external systems (federation, remote storage, Alertmanager).
external_labels:
monitor: 'docker-host-alpha'

# Load and evaluate rules in this file every 'evaluation_interval' seconds.
rule_files:

# A scrape configuration containing exactly one endpoint to scrape.
scrape_configs:
- job_name: 'nodeexporter'
scrape_interval: 1s
static_configs:
- targets: ['nodeexporter:9100']

- job_name: 'cadvisor'
scrape_interval: 1s
static_configs:
- targets: ['cadvisor:8080']

- job_name: 'prometheus'
scrape_interval: 1s
static_configs:
- targets: ['localhost:9090']

- job_name: metrictank
metrics_path: /prometheus/metrics
scrape_interval: 1s
static_configs:
- targets: ['metrictank:6060']

0 comments on commit 52835b9

Please sign in to comment.