mirror of
https://github.com/mii443/prometheus-android-exporter.git
synced 2025-08-22 15:15:35 +00:00
solve backfill metrik extrapolation with unless
This commit is contained in:
@ -15,3 +15,9 @@ remote_write:
|
|||||||
remote_timeout: "30s"
|
remote_timeout: "30s"
|
||||||
send_exemplars: false
|
send_exemplars: false
|
||||||
follow_redirects: true
|
follow_redirects: true
|
||||||
|
|
||||||
|
write_relabel_configs:
|
||||||
|
- source_labels: [instance]
|
||||||
|
regex: '(.+)'
|
||||||
|
target_label: instance
|
||||||
|
replacement: mylabel
|
||||||
|
BIN
prometheus_extrapolation.png
Normal file
BIN
prometheus_extrapolation.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
BIN
prometheus_extrapolation_solution.png
Normal file
BIN
prometheus_extrapolation_solution.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 49 KiB |
@ -7,6 +7,9 @@ scrape_configs:
|
|||||||
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ["localhost:9090"] # scrape prometheus itself
|
- targets: ["localhost:9090"] # scrape prometheus itself
|
||||||
|
labels:
|
||||||
|
backfill: 'false'
|
||||||
|
|
||||||
|
|
||||||
- job_name: "android phones"
|
- job_name: "android phones"
|
||||||
proxy_url: "http://pushprox:8080" #TODO add mobile phones here
|
proxy_url: "http://pushprox:8080" #TODO add mobile phones here
|
||||||
@ -16,3 +19,5 @@ scrape_configs:
|
|||||||
- targets: [
|
- targets: [
|
||||||
"test.example.com"
|
"test.example.com"
|
||||||
]
|
]
|
||||||
|
labels:
|
||||||
|
backfill: 'false'
|
||||||
|
Reference in New Issue
Block a user