@@ -8,8 +8,9 @@ transaction metrics used by Python applications to the
88
99sqlalchemy-collectd works as a SQLAlchemy plugin invoked via the database URL,
1010so 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.
1314
1415sqlalchemy-collectd is oriented towards providing a unified view of
1516application-side database metrics in sprawling, many-host / many-process
@@ -23,8 +24,8 @@ What's collectd?
2324collectd is a statistics collection daemon that is easy to run. It serves as
2425a collector and re-broadcaster of runtime statistics for a wide variety of
2526performance 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
2829reporting applications like `Graphite <https://graphiteapp.org/ >`_ and `Grafana
2930<https://grafana.com/> `_, and to `other collectd servers
3031<https://collectd.org/wiki/index.php/Networking_introduction> `_.
@@ -234,7 +235,11 @@ add ``ModulePath``::
234235 Import "sqlalchemy_collectd.server.plugin"
235236
236237 <Module "sqlalchemy_collectd.server.plugin">
238+ # ipv4 only for the moment
237239 listen "0.0.0.0" 25827
240+
241+ # set to "debug" to show messages received
242+ loglevel "info"
238243 </Module>
239244 </Plugin>
240245
@@ -302,8 +307,9 @@ name specifically.
302307
303308The statistics themselves are labeled ``count-<name> `` or ``derive-<name> ``,
304309which 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:
307313
308314* ``count-checkedin `` - current number of connections that are checked in to the
309315 connection pool
@@ -407,7 +413,7 @@ Collectd Types
407413--------------
408414
409415These 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
411417lists in a file called ``types.db ``. The server does not accept type names
412418that are not either in this file or in a separately configured custom types file,
413419as each type is accompanied by a template for what kinds of values it
0 commit comments