diff --git a/local/remote_write/prometheus.yaml b/local/remote_write/prometheus.yaml index 879e5b8..4c66335 100644 --- a/local/remote_write/prometheus.yaml +++ b/local/remote_write/prometheus.yaml @@ -15,3 +15,9 @@ remote_write: remote_timeout: "30s" send_exemplars: false follow_redirects: true + + write_relabel_configs: + - source_labels: [instance] + regex: '(.+)' + target_label: instance + replacement: mylabel diff --git a/prometheus_extrapolation.png b/prometheus_extrapolation.png new file mode 100644 index 0000000..686ad86 Binary files /dev/null and b/prometheus_extrapolation.png differ diff --git a/prometheus_extrapolation_solution.png b/prometheus_extrapolation_solution.png new file mode 100644 index 0000000..d38b1c6 Binary files /dev/null and b/prometheus_extrapolation_solution.png differ diff --git a/server/configuration/prometheus.yaml b/server/configuration/prometheus.yaml index 8347909..7426f17 100644 --- a/server/configuration/prometheus.yaml +++ b/server/configuration/prometheus.yaml @@ -7,6 +7,9 @@ scrape_configs: static_configs: - targets: ["localhost:9090"] # scrape prometheus itself + labels: + backfill: 'false' + - job_name: "android phones" proxy_url: "http://pushprox:8080" #TODO add mobile phones here @@ -16,3 +19,5 @@ scrape_configs: - targets: [ "test.example.com" ] + labels: + backfill: 'false'