master
yaml 225 lines 7.72 KB
Raw
1 plugin_name: go.d.plugin
2 modules:
3 - meta:
4 id: collector-go.d.plugin-uwsgi
5 plugin_name: go.d.plugin
6 module_name: uwsgi
7 monitored_instance:
8 name: uWSGI
9 link: https://uwsgi-docs.readthedocs.io/en/latest/
10 categories:
11 - data-collection.web-servers-and-proxies
12 icon_filename: "uwsgi.svg"
13 related_resources:
14 integrations:
15 list: []
16 info_provided_to_referring_integrations:
17 description: ""
18 keywords:
19 - application server
20 - python
21 - web applications
22 overview:
23 data_collection:
24 metrics_description: |
25 Monitors UWSGI worker health and performance by collecting metrics like requests, transmitted data, exceptions, and harakiris.
26 method_description: |
27 It fetches [Stats Server](https://uwsgi-docs.readthedocs.io/en/latest/StatsServer.html) statistics over TCP.
28 supported_platforms:
29 include: []
30 exclude: []
31 multi_instance: true
32 additional_permissions:
33 description: ""
34 default_behavior:
35 auto_detection:
36 description: |
37 Automatically discovers and collects UWSGI statistics from the following default locations:
38
39 - localhost:1717
40 limits:
41 description: ""
42 performance_impact:
43 description: ""
44 setup:
45 prerequisites:
46 list:
47 - title: Enable the uWSGI Stats Server
48 description: |
49 See [Stats Server](https://uwsgi-docs.readthedocs.io/en/latest/StatsServer.html) for details.
50 configuration:
51 file:
52 name: go.d/uwsgi.conf
53 options:
54 description: |
55 The following options can be defined globally: update_every, autodetection_retry.
56 folding:
57 title: Config options
58 enabled: true
59 list:
60 - name: update_every
61 description: Data collection frequency.
62 default_value: 1
63 required: false
64 group: Collection
65 - name: autodetection_retry
66 description: Recheck interval in seconds. Zero means no recheck will be scheduled.
67 default_value: 0
68 required: false
69 group: Collection
70
71 - name: address
72 description: "The IP address and port where the UWSGI [Stats Server](https://uwsgi-docs.readthedocs.io/en/latest/StatsServer.html) listens for connections."
73 default_value: 127.0.0.1:1717
74 required: true
75 group: Target
76 - name: timeout
77 description: Connection, read, and write timeout duration in seconds. The timeout includes name resolution.
78 default_value: 1
79 required: false
80 group: Target
81
82 - name: vnode
83 description: Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).
84 default_value: ""
85 required: false
86 group: Virtual Node
87 examples:
88 folding:
89 title: Config
90 enabled: true
91 list:
92 - name: Basic
93 description: A basic example configuration.
94 config: |
95 jobs:
96 - name: local
97 address: 127.0.0.1:1717
98 - name: Multi-instance
99 description: |
100 > **Note**: When you define multiple jobs, their names must be unique.
101
102 Collecting metrics from local and remote instances.
103 config: |
104 jobs:
105 - name: local
106 address: 127.0.0.1:1717
107
108 - name: remote
109 address: 203.0.113.0:1717
110 troubleshooting:
111 problems:
112 list: []
113 alerts: []
114 metrics:
115 folding:
116 title: Metrics
117 enabled: false
118 description: ""
119 availability: []
120 scopes:
121 - name: global
122 description: "These metrics refer to the entire monitored application."
123 labels: []
124 metrics:
125 - name: uwsgi.transmitted_data
126 description: UWSGI Transmitted Data
127 unit: "bytes/s"
128 chart_type: area
129 dimensions:
130 - name: tx
131 - name: uwsgi.requests
132 description: UWSGI Requests
133 unit: "requests/s"
134 chart_type: line
135 dimensions:
136 - name: requests
137 - name: uwsgi.harakiris
138 description: UWSGI Dropped Requests
139 unit: "harakiris/s"
140 chart_type: line
141 dimensions:
142 - name: harakiris
143 - name: uwsgi.respawns
144 description: UWSGI Respawns
145 unit: "respawns/s"
146 chart_type: line
147 dimensions:
148 - name: respawns
149 - name: worker
150 description: "These metrics refer to the Worker process."
151 labels:
152 - name: "worker_id"
153 description: Worker ID.
154 metrics:
155 - name: uwsgi.worker_transmitted_data
156 description: UWSGI Worker Transmitted Data
157 unit: "bytes/s"
158 chart_type: area
159 dimensions:
160 - name: tx
161 - name: uwsgi.worker_requests
162 description: UWSGI Worker Requests
163 unit: "requests/s"
164 chart_type: line
165 dimensions:
166 - name: requests
167 - name: uwsgi.worker_delta_requests
168 description: UWSGI Worker Delta Requests
169 unit: "requests/s"
170 chart_type: line
171 dimensions:
172 - name: delta_requests
173 - name: uwsgi.worker_average_request_time
174 description: UWSGI Worker Average Request Time
175 unit: "milliseconds"
176 chart_type: line
177 dimensions:
178 - name: avg
179 - name: uwsgi.worker_harakiris
180 description: UWSGI Worker Dropped Requests
181 unit: "harakiris/s"
182 chart_type: line
183 dimensions:
184 - name: harakiris
185 - name: uwsgi.worker_exceptions
186 description: UWSGI Worker Raised Exceptions
187 unit: "exceptions/s"
188 chart_type: line
189 dimensions:
190 - name: exceptions
191 - name: uwsgi.worker_status
192 description: UWSGI Worker Status
193 unit: "status"
194 chart_type: line
195 dimensions:
196 - name: idle
197 - name: busy
198 - name: cheap
199 - name: pause
200 - name: sig
201 - name: uwsgi.worker_request_handling_status
202 description: UWSGI Worker Request Handling Status
203 unit: "status"
204 chart_type: line
205 dimensions:
206 - name: accepting
207 - name: not_accepting
208 - name: uwsgi.worker_respawns
209 description: UWSGI Worker Respawns
210 unit: "respawns/s"
211 chart_type: line
212 dimensions:
213 - name: respawns
214 - name: uwsgi.worker_memory_rss
215 description: UWSGI Worker Memory RSS (Resident Set Size)
216 unit: "bytes"
217 chart_type: area
218 dimensions:
219 - name: rss
220 - name: uwsgi.worker_memory_vsz
221 description: UWSGI Worker Memory VSZ (Virtual Memory Size)
222 unit: "bytes"
223 chart_type: area
224 dimensions:
225 - name: vsz