Skip to content

Commit

Permalink
config: correct the explanation of status and metrics. (#13024) (#13108)
Browse files Browse the repository at this point in the history
  • Loading branch information
sre-bot authored Nov 5, 2019
1 parent 4809367 commit de39012
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions config/config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,16 @@ report-status = true
# TiDB status host.
status-host = "0.0.0.0"

# Prometheus pushgateway address, leaves it empty will disable prometheus push.
## status-host is the HTTP address for reporting the internal status of a TiDB server, for example:
## API for prometheus: http://${status-host}:${status_port}/metrics
## API for pprof: http://${status-host}:${status_port}/debug/pprof
# TiDB status port.
status-port = 10080

# Prometheus pushgateway address, leaves it empty will disable prometheus push.
# Prometheus pushgateway address, leaves it empty will disable push to pushgateway.
metrics-addr = ""

# Prometheus client push interval in second, set \"0\" to disable prometheus push.
# Prometheus client push interval in second, set \"0\" to disable push to pushgateway.
metrics-interval = 15

# Record statements qps by database name if it is enabled.
Expand Down

0 comments on commit de39012

Please sign in to comment.