Skip to content

Commit

Permalink
adapt readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ulranh committed Mar 15, 2020
1 parent 2d62e6f commit 8d1b02b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ $ ./hana_sql_exporter pw -tenant q01,qj1 -config ./hana_sql_exporter.toml
Now the web server can be started:
#### Binary

The default port is 9658 which can be changed with the -port flag. The standard timeout is set to 10 seconds, which means that if a scrape for one metric and tenant takes more than 10 seconds, it will be aborted. This is normally only the case, if a tenant is overloaded. In my experience the scrapes for 25 tenants and 30 metrics in one config file take approximately 250ms altogether, if all tenants are responsive. Normally I set the timeout flag to 3 seconds and the scrape timeout for the corresponding Prometheus job to 10 seconds.
The default port is 9658 which can be changed with the -port flag. The standard timeout is set to 10 seconds, which means that if a scrape for one metric and tenant takes more than 10 seconds, it will be aborted. This is normally only the case, if a tenant is overloaded. In my experience the scrapes for 25 tenants and 30 metrics in one config file take approximately 250ms altogether, if all tenants are responsive. Normally I set the timeout flag to 3 seconds, the scrape timeout for the corresponding Prometheus job to 10 seconds and the scrape intervall to one minute.

```
$ ./hana_sql_exporter web -config ./hana_sql_exporter.toml -timeout 3
Expand Down

0 comments on commit 8d1b02b

Please sign in to comment.