| 1 | { |
| 2 | "jsonSchema": { |
| 3 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 4 | "title": "Docker collector configuration.", |
| 5 | "type": "object", |
| 6 | "properties": { |
| 7 | "update_every": { |
| 8 | "title": "Update every", |
| 9 | "description": "Data collection interval, measured in seconds.", |
| 10 | "type": "integer", |
| 11 | "minimum": 1, |
| 12 | "default": 1 |
| 13 | }, |
| 14 | "autodetection_retry": { |
| 15 | "title": "Detection retry", |
| 16 | "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.", |
| 17 | "type": "integer", |
| 18 | "minimum": 0, |
| 19 | "default": 60 |
| 20 | }, |
| 21 | "address": { |
| 22 | "title": "Address", |
| 23 | "description": "Docker daemon's Unix or TCP (listening address) socket.", |
| 24 | "type": "string", |
| 25 | "default": "unix:///var/run/docker.sock" |
| 26 | }, |
| 27 | "timeout": { |
| 28 | "title": "Timeout", |
| 29 | "description": "Timeout for establishing a connection and communication (reading and writing) in seconds.", |
| 30 | "type": "number", |
| 31 | "default": 2 |
| 32 | }, |
| 33 | "container_selector": { |
| 34 | "title": "Container Selector", |
| 35 | "description": "[Pattern](https://github.com/netdata/netdata/tree/master/src/libnetdata/simple_pattern#readme) to specify which containers to monitor. Leave empty to collect metrics for all containers.", |
| 36 | "type": "string", |
| 37 | "default": "*" |
| 38 | }, |
| 39 | "collect_container_size": { |
| 40 | "title": "Collect container size", |
| 41 | "description": "Collect container writable layer size.", |
| 42 | "type": "boolean", |
| 43 | "default": false |
| 44 | }, |
| 45 | "vnode": { |
| 46 | "title": "Vnode", |
| 47 | "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).", |
| 48 | "type": "string" |
| 49 | } |
| 50 | }, |
| 51 | "required": [ |
| 52 | "address" |
| 53 | ] |
| 54 | }, |
| 55 | "uiSchema": { |
| 56 | "uiOptions": { |
| 57 | "fullPage": true |
| 58 | }, |
| 59 | "autodetection_retry": { |
| 60 | "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely." |
| 61 | }, |
| 62 | "vnode": { |
| 63 | "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here." |
| 64 | }, |
| 65 | "address": { |
| 66 | "ui:help": "Use `unix://{path_to_socket}` for Unix socket or `tcp://{ip}:{port}` for TCP socket." |
| 67 | }, |
| 68 | "timeout": { |
| 69 | "ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)." |
| 70 | } |
| 71 | } |
| 72 | } |