@@ -8,8 +8,9 @@ transaction metrics used by Python applications to the
8
8
9
9
sqlalchemy-collectd works as a SQLAlchemy plugin invoked via the database URL,
10
10
so can be used in any SQLAlchemy application (1.1 or greater) that accepts
11
- arbitrary connections URLs with no code changes whatsoever, as well as with any
12
- database dialect.
11
+ arbitrary connection URLs. The plugin is loaded using setuptools
12
+ entrypoints and no code changes to the application are required. There
13
+ are no dependencies on database backends or drivers.
13
14
14
15
sqlalchemy-collectd is oriented towards providing a unified view of
15
16
application-side database metrics in sprawling, many-host / many-process
@@ -23,8 +24,8 @@ What's collectd?
23
24
collectd is a statistics collection daemon that is easy to run. It serves as
24
25
a collector and re-broadcaster of runtime statistics for a wide variety of
25
26
performance and other metrics. Once a set of stats are in collectd, they can
26
- be broadcast out virtually anywhere, including to `RRD
27
- <https://oss.oetiker.ch/rrdtool/>_ ` databases and front-ends, to metrics
27
+ be broadcast out virtually anywhere, including to `RRD <https://oss.oetiker.ch/rrdtool/>_ `
28
+ databases and front-ends, to metrics
28
29
reporting applications like `Graphite <https://graphiteapp.org/ >`_ and `Grafana
29
30
<https://grafana.com/> `_, and to `other collectd servers
30
31
<https://collectd.org/wiki/index.php/Networking_introduction> `_.
@@ -234,7 +235,11 @@ add ``ModulePath``::
234
235
Import "sqlalchemy_collectd.server.plugin"
235
236
236
237
<Module "sqlalchemy_collectd.server.plugin">
238
+ # ipv4 only for the moment
237
239
listen "0.0.0.0" 25827
240
+
241
+ # set to "debug" to show messages received
242
+ loglevel "info"
238
243
</Module>
239
244
</Plugin>
240
245
@@ -302,8 +307,9 @@ name specifically.
302
307
303
308
The statistics themselves are labeled ``count-<name> `` or ``derive-<name> ``,
304
309
which correspond to pre-supplied collectd types ``count `` and ``derive `` (see
305
- the sidebar for what this is about). The stats labeled ``count `` are
306
- integers representing the current count of a resource or activity:
310
+ "collectd types" below for why the naming is done this way). The stats labeled
311
+ ``count `` are integers representing the current count of a resource or
312
+ activity:
307
313
308
314
* ``count-checkedin `` - current number of connections that are checked in to the
309
315
connection pool
@@ -407,7 +413,7 @@ Collectd Types
407
413
--------------
408
414
409
415
These funny names ``count- `` and ``derive- `` are an artifact of how
410
- collectd provides ** types * *. collectd has a fixed list of "types" which it
416
+ collectd provides *types *. collectd has a fixed list of "types" which it
411
417
lists in a file called ``types.db ``. The server does not accept type names
412
418
that are not either in this file or in a separately configured custom types file,
413
419
as each type is accompanied by a template for what kinds of values it
0 commit comments