cw-infra-apps/grafana/charts/feature-integrations/schema-mods/definitions/mimir-integration.schema.json

89 lines
2.5 KiB
JSON

{
"type": "object",
"properties": {
"fieldSelectors": {
"type": "array"
},
"labelSelectors": {
"type": "object",
"properties": {
"app.kubernetes.io/name": {
"type": "string"
}
}
},
"logs": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"tuning": {
"type": "object",
"properties": {
"dropLogLevels": {
"type": "array",
"items": {
"type": "string"
}
},
"excludeLines": {
"type": "array"
},
"scrubTimestamp": {
"type": "boolean"
},
"structuredMetadata": {
"type": "object"
},
"timestampFormat": {
"type": "string"
}
}
}
}
},
"metrics": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"maxCacheSize": {
"type": "null"
},
"portName": {
"type": "string"
},
"scrapeInterval": {
"type": "null"
},
"tuning": {
"type": "object",
"properties": {
"excludeMetrics": {
"type": "array"
},
"includeMetrics": {
"type": "array"
},
"useDefaultAllowList": {
"type": "boolean"
}
}
}
}
},
"name": {
"type": "string"
},
"namespaces": {
"type": "array"
},
"type": {
"type": "string",
"const": "mimir"
}
}
}