Skip to content

Commit

Permalink
Merge branch 'master' into fix-default-value
Browse files Browse the repository at this point in the history
  • Loading branch information
Smityz authored Apr 26, 2022
2 parents 00a2354 + 8a84f00 commit 1e03722
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions embed/templates/config/prometheus.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,19 @@ scrape_configs:
labels:
group: 'tiflash'
{{- end}}
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: {{.BlackboxAddr}}
- job_name: "monitor_port_probe"
scrape_interval: 30s
metrics_path: /probe
params:
module: [tcp_connect]
static_configs:
{{- if .PushgatewayAddr}}
- targets:
- '{{.PushgatewayAddr}}'
Expand Down

0 comments on commit 1e03722

Please sign in to comment.