github.com/netdata/go.d.plugin@v0.58.1/modules/filecheck/config_schema.json (about) 1 { 2 "$schema": "http://json-schema.org/draft-07/schema#", 3 "title": "go.d/filecheck job configuration schema.", 4 "type": "object", 5 "properties": { 6 "name": { 7 "type": "string" 8 }, 9 "discovery_every": { 10 "type": [ 11 "string", 12 "integer" 13 ] 14 }, 15 "files": { 16 "type": "object", 17 "properties": { 18 "include": { 19 "type": "array", 20 "items": { 21 "type": "string" 22 } 23 }, 24 "exclude": { 25 "type": "array", 26 "items": { 27 "type": "string" 28 } 29 } 30 }, 31 "required": [ 32 "include", 33 "exclude" 34 ] 35 }, 36 "dirs": { 37 "type": "object", 38 "properties": { 39 "include": { 40 "type": "array", 41 "items": { 42 "type": "string" 43 } 44 }, 45 "exclude": { 46 "type": "array", 47 "items": { 48 "type": "string" 49 } 50 }, 51 "collect_dir_size": { 52 "type": "boolean" 53 } 54 }, 55 "required": [ 56 "include", 57 "exclude" 58 ] 59 } 60 }, 61 "oneOf": [ 62 { 63 "required": [ 64 "name", 65 "files" 66 ] 67 }, 68 { 69 "required": [ 70 "name", 71 "dirs" 72 ] 73 } 74 ] 75 }