summaryrefslogtreecommitdiffstats
path: root/collectors/python.d.plugin/uwsgi/README.md
blob: a062710df4f6204add92521ca7d0e3285979499b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# uwsgi

Module monitor uwsgi performance metrics.

https://uwsgi-docs.readthedocs.io/en/latest/StatsServer.html

lines are creates dynamically based on how many workers are there

Following charts are drawn:

1. **Requests**
 * requests per second
 * transmitted data
 * average request time

2. **Memory**
 * rss
 * vsz

3. **Exceptions**
4. **Harakiris**
5. **Respawns**

### configuration

```yaml
socket:
  name     : 'local'
  socket   : '/tmp/stats.socket'

localhost:
  name     : 'local'
  host     : 'localhost'
  port     : 1717
```

When no configuration file is found, module tries to connect to TCP/IP socket: `localhost:1717`.