github.com/netdata/go.d.plugin@v0.58.1/modules/prometheus/config_schema.json (about) 1 { 2 "$schema": "http://json-schema.org/draft-07/schema#", 3 "title": "go.d/prometheus job configuration schema.", 4 "type": "object", 5 "properties": { 6 "name": { 7 "type": "string" 8 }, 9 "url": { 10 "type": "string" 11 }, 12 "timeout": { 13 "type": [ 14 "string", 15 "integer" 16 ] 17 }, 18 "selector": { 19 "type": "object", 20 "properties": { 21 "allow": { 22 "type": "array", 23 "items": { 24 "type": "string" 25 } 26 }, 27 "deny": { 28 "type": "array", 29 "items": { 30 "type": "string" 31 } 32 } 33 }, 34 "required": [ 35 "allow", 36 "deny" 37 ] 38 }, 39 "fallback_type": { 40 "type": "object", 41 "properties": { 42 "counter": { 43 "type": "array", 44 "items": { 45 "type": "string" 46 } 47 }, 48 "gauge": { 49 "type": "array", 50 "items": { 51 "type": "string" 52 } 53 } 54 }, 55 "required": [ 56 "counter", 57 "gauge" 58 ] 59 }, 60 "bearer_token": { 61 "type": "string" 62 }, 63 "expected_prefix": { 64 "type": "string" 65 }, 66 "max_time_series": { 67 "type": "integer" 68 }, 69 "max_time_series_per_metric": { 70 "type": "integer" 71 }, 72 "username": { 73 "type": "string" 74 }, 75 "password": { 76 "type": "string" 77 }, 78 "proxy_url": { 79 "type": "string" 80 }, 81 "proxy_username": { 82 "type": "string" 83 }, 84 "proxy_password": { 85 "type": "string" 86 }, 87 "headers": { 88 "type": "object", 89 "additionalProperties": { 90 "type": "string" 91 } 92 }, 93 "not_follow_redirects": { 94 "type": "boolean" 95 }, 96 "tls_ca": { 97 "type": "string" 98 }, 99 "tls_cert": { 100 "type": "string" 101 }, 102 "tls_key": { 103 "type": "string" 104 }, 105 "insecure_skip_verify": { 106 "type": "boolean" 107 } 108 }, 109 "required": [ 110 "name", 111 "url" 112 ] 113 }