homebridge-prometheus-exporter/config.schema.json

57 lines
1.9 KiB
JSON
Raw Normal View History

2022-11-06 13:04:30 +01:00
{
2022-11-06 13:50:39 +01:00
"pluginAlias": "PrometheusExporter",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"pin": {
"title": "Pin",
"description": "Homebridge PIN for service authentication",
"type": "string",
"required": true
},
"debug": {
"title": "Debug",
"type": "boolean",
"required": false,
"default": false
},
2022-11-08 14:28:13 +01:00
"prefix": {
"title": "Metrics prefix",
"type": "string",
"required": false,
"default": "homebridge"
},
2022-11-08 14:26:08 +01:00
"port": {
2022-11-06 13:50:39 +01:00
"title": "Probe server port",
"description": "TCP port for the prometheus probe server to listen to",
"type": "integer",
"required": false,
"default": 36123
},
"refresh_interval": {
"title": "Service refresh interval",
"description": "Discover new services every <interval> seconds",
"type": "integer",
"required": false,
"default": 60
},
"request_timeout": {
"title": "Request timeout",
"description": "Request timeout when interacting with homebridge instances",
"type": "integer",
"required": false,
"default": 10
},
"discovery_timeout": {
"title": "Service discovery timeout",
"description": "Discovery timeout after which the current discovery is considered failed",
"type": "integer",
"required": false,
"default": 20
}
}
2022-11-06 13:04:30 +01:00
}
2022-11-06 13:50:39 +01:00
}