-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set default metricset for uwsgi module
- Loading branch information
Showing
8 changed files
with
19 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- module: uwsgi | ||
metricsets: ["status"] | ||
enable: true | ||
period: 10s | ||
hosts: ["tcp://127.0.0.1:9191"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
- module: uwsgi | ||
metricsets: ["status"] | ||
period: 10s | ||
hosts: ["tcp://127.0.0.1:9191"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
== uwsgi module | ||
|
||
This is the uwsgi module. Uses http://uwsgi-docs.readthedocs.io/en/latest/StatsServer.html[StatsServer]. | ||
This is the uwsgi module. By default collects the `stats` metricset, using | ||
http://uwsgi-docs.readthedocs.io/en/latest/StatsServer.html[StatsServer]. | ||
|
||
[float] | ||
=== Module-specific configuration notes | ||
|
||
The uWSGI module has these additional config options: | ||
|
||
*`hosts`*:: host URLs to get data from. by default `tcp://127.0.0.1:9191`. | ||
*`hosts`*:: host URLs to get data from (e.g: `tcp://127.0.0.1:9191`). | ||
Can obtain data from 3 types of schemes: tcp (tcp://ip:port), unix socket (unix:///tmp/uwsgi.sock) | ||
and http/https server (http://ip:port) | ||
|
||
[float] | ||
=== Dashboard | ||
|
||
The nginx module comes with a predefined dashboard. For example: | ||
The uwsgi module comes with a predefined dashboard. For example: | ||
|
||
image::./images/uwsgi_dashboard.png[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
- module: uwsgi | ||
metricsets: ["status"] | ||
period: 10s | ||
hosts: ["tcp://127.0.0.1:9191"] |