UNPKG

@microfleet/core

Version:
30 lines (29 loc) 716 B
{ "$id": "prometheus", "type": "object", "required": ["config"], "properties": { "config": { "type": "object", "required": ["port", "path"], "properties": { "port": { "type": "number", "description": "prometheus metrics port", "default": 9102 }, "path": { "type": "string", "description": "prometheus metrics path", "default": "/metrics", "minLength": 1 }, "durationBuckets": { "type": "array", "description": "default buckets for microfleet request duration histogram", "default": [ 50, 100, 250, 500, 1000, 2000 ] } } } } }