feat: add total calls and available websites status
Some checks failed
Deploy / deploy (push) Has been cancelled
Some checks failed
Deploy / deploy (push) Has been cancelled
This commit is contained in:
@@ -9,3 +9,28 @@ scrape_configs:
|
||||
metrics_path: '/metrics'
|
||||
scrape_interval: 5s
|
||||
scrape_timeout: 4s
|
||||
|
||||
- job_name: 'blackbox-http'
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [http_2xx]
|
||||
static_configs:
|
||||
- targets:
|
||||
- https://www.google.com
|
||||
labels:
|
||||
app_name: Google
|
||||
- targets:
|
||||
- https://meu-app-2.com
|
||||
labels:
|
||||
app_name: Meu App 2
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [app_name]
|
||||
target_label: app
|
||||
- action: labeldrop
|
||||
regex: app_name
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: blackbox-exporter:9115
|
||||
|
||||
Reference in New Issue
Block a user