Files
docker-cli/components/engine/docs/reference/commandline
Brian Goff e9abb077b7 Add support for metrics plugins
Allows for a plugin type that can be used to scrape metrics.
This is useful because metrics are not neccessarily at a standard
location... `--metrics-addr` must be set, and must currently be a TCP
socket.
Even if metrics are done via a unix socket, there's no guarentee where
the socket may be located on the system, making bind-mounting such a
socket into a container difficult (and racey, failure-prone on daemon
restart).

Metrics plugins side-step this issue by always listening on a unix
socket and then bind-mounting that into a known path in the plugin
container.

Note there has been similar work in the past (and ultimately punted at
the time) for consistent access to the Docker API from within a
container.

Why not add metrics to the Docker API and just provide a plugin with
access to the Docker API? Certainly this can be useful, but gives a lot
of control/access to a plugin that may only need the metrics. We can
look at supporting API plugins separately for this reason.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: 0e8e8f0f318656be80e34db9b5e390ffeef3fd0d
Component: engine
2017-05-12 00:30:09 -04:00
..
2017-05-02 18:09:04 -07:00
2017-05-05 16:35:54 +01:00
2017-05-11 10:08:21 -07:00
2017-04-10 09:14:01 -04:00
2017-04-10 16:49:43 +02:00
2017-03-14 16:09:28 -04:00
2017-04-16 12:56:00 -05:00
2017-04-28 23:47:45 +08:00
2017-03-02 02:14:15 +01:00
2017-04-05 11:27:09 -07:00
2017-03-31 05:11:36 +08:00
2017-04-28 23:47:45 +08:00
2017-04-28 23:47:45 +08:00
2017-04-28 23:47:45 +08:00
2017-05-12 00:30:09 -04:00
2017-04-28 23:47:45 +08:00
2017-04-28 23:47:45 +08:00
2017-04-28 23:47:45 +08:00
2017-04-28 23:47:45 +08:00
2017-03-12 12:01:06 -07:00
2017-03-24 10:25:52 -04:00
2017-03-31 05:11:36 +08:00
2017-04-12 22:43:14 +08:00
2017-03-14 16:09:28 -04:00
2017-04-25 16:45:30 +03:00
2017-03-31 05:11:36 +08:00
2017-03-02 02:14:15 +01:00
2017-04-05 11:27:09 -07:00
2017-04-06 15:40:12 -07:00
2017-04-05 11:27:09 -07:00