mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-28 23:19:41 -08:00
5bce801a09
This makes it clear that the dockerswarm package does more than docker swarm, but does also docker. I have picked moby as it is the upstream name: https://mobyproject.org/ There is no user-facing change, except in the case of a bad configuration. Previously, a user who would have a bad docker sd config would see an error like: > field xx not found in type dockerswarm.plain Now that error would be turned into: > field xx not found in type moby.plain While not perfect, it should at not be confusing between docker and dockerswarm. Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
94 lines
2.8 KiB
JSON
94 lines
2.8 KiB
JSON
[
|
|
{
|
|
"Id": "c301b928faceb1a18fe379f6bc178727ef920bb30b0f9b8592b32b36255a0eca",
|
|
"Names": [
|
|
"/dockersd_node_1"
|
|
],
|
|
"Image": "prom/node-exporter:v1.1.2",
|
|
"ImageID": "sha256:c19ae228f0699185488b6a1c0debb9c6b79672181356ad455c9a7924a41a01bb",
|
|
"Command": "/bin/node_exporter",
|
|
"Created": 1616273136,
|
|
"Ports": [
|
|
{
|
|
"PrivatePort": 9100,
|
|
"Type": "tcp"
|
|
}
|
|
],
|
|
"Labels": {
|
|
"com.docker.compose.project": "dockersd",
|
|
"com.docker.compose.service": "node",
|
|
"com.docker.compose.version": "1.25.0",
|
|
"maintainer": "The Prometheus Authors <prometheus-developers@googlegroups.com>",
|
|
"prometheus-job": "node"
|
|
},
|
|
"State": "running",
|
|
"Status": "Up 40 seconds",
|
|
"HostConfig": {
|
|
"NetworkMode": "dockersd_default"
|
|
},
|
|
"NetworkSettings": {
|
|
"Networks": {
|
|
"dockersd_default": {
|
|
"IPAMConfig": null,
|
|
"Links": null,
|
|
"Aliases": null,
|
|
"NetworkID": "7189986ab399e144e52a71b7451b4e04e2158c044b4cd2f3ae26fc3a285d3798",
|
|
"EndpointID": "423198ed568efa36699c5f13289c46230580a0ad6453d9e726f5e3cf1a911f77",
|
|
"Gateway": "172.19.0.1",
|
|
"IPAddress": "172.19.0.2",
|
|
"IPPrefixLen": 16,
|
|
"IPv6Gateway": "",
|
|
"GlobalIPv6Address": "",
|
|
"GlobalIPv6PrefixLen": 0,
|
|
"MacAddress": "02:42:ac:13:00:02",
|
|
"DriverOpts": null
|
|
}
|
|
}
|
|
},
|
|
"Mounts": []
|
|
},
|
|
{
|
|
"Id": "c301b928faceb1a18fe379f6bc178727ef920bb30b0f9b8592b32b36255a0eca",
|
|
"Names": [
|
|
"/dockersd_noport_1"
|
|
],
|
|
"Image": "prom/node-exporter:v1.1.2",
|
|
"ImageID": "sha256:c19ae228f0699185488b6a1c0debb9c6b79672181356ad455c9a7924a41a01bb",
|
|
"Command": "/bin/node_exporter",
|
|
"Created": 1616273136,
|
|
"Ports": [],
|
|
"Labels": {
|
|
"com.docker.compose.project": "dockersd",
|
|
"com.docker.compose.service": "noport",
|
|
"com.docker.compose.version": "1.25.0",
|
|
"maintainer": "The Prometheus Authors <prometheus-developers@googlegroups.com>",
|
|
"prometheus-job": "noport"
|
|
},
|
|
"State": "running",
|
|
"Status": "Up 40 seconds",
|
|
"HostConfig": {
|
|
"NetworkMode": "dockersd_default"
|
|
},
|
|
"NetworkSettings": {
|
|
"Networks": {
|
|
"dockersd_default": {
|
|
"IPAMConfig": null,
|
|
"Links": null,
|
|
"Aliases": null,
|
|
"NetworkID": "7189986ab399e144e52a71b7451b4e04e2158c044b4cd2f3ae26fc3a285d3798",
|
|
"EndpointID": "423198ed568efa36699c5f13289c46230580a0ad6453d9e726f5e3cf1a911f77",
|
|
"Gateway": "172.19.0.1",
|
|
"IPAddress": "172.19.0.3",
|
|
"IPPrefixLen": 16,
|
|
"IPv6Gateway": "",
|
|
"GlobalIPv6Address": "",
|
|
"GlobalIPv6PrefixLen": 0,
|
|
"MacAddress": "02:42:ac:13:00:03",
|
|
"DriverOpts": null
|
|
}
|
|
}
|
|
},
|
|
"Mounts": []
|
|
}
|
|
]
|