852 lines
29 KiB
JSON
852 lines
29 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"alloy": {
|
|
"type": "object",
|
|
"properties": {
|
|
"instances": {
|
|
"type": "array"
|
|
}
|
|
}
|
|
},
|
|
"cert-manager": {
|
|
"type": "object",
|
|
"properties": {
|
|
"instances": {
|
|
"type": "array"
|
|
}
|
|
}
|
|
},
|
|
"deployAsConfigMap": {
|
|
"type": "boolean"
|
|
},
|
|
"etcd": {
|
|
"type": "object",
|
|
"properties": {
|
|
"instances": {
|
|
"type": "array"
|
|
}
|
|
}
|
|
},
|
|
"fullnameOverride": {
|
|
"type": "string"
|
|
},
|
|
"global": {
|
|
"type": "object",
|
|
"properties": {
|
|
"alloyModules": {
|
|
"type": "object",
|
|
"properties": {
|
|
"branch": {
|
|
"type": "string"
|
|
},
|
|
"source": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"maxCacheSize": {
|
|
"type": "integer"
|
|
},
|
|
"scrapeInterval": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"grafana": {
|
|
"type": "object",
|
|
"properties": {
|
|
"instances": {
|
|
"type": "array"
|
|
}
|
|
}
|
|
},
|
|
"loki": {
|
|
"type": "object",
|
|
"properties": {
|
|
"instances": {
|
|
"type": "array"
|
|
}
|
|
}
|
|
},
|
|
"mimir": {
|
|
"type": "object",
|
|
"properties": {
|
|
"instances": {
|
|
"type": "array"
|
|
}
|
|
}
|
|
},
|
|
"mysql": {
|
|
"type": "object",
|
|
"properties": {
|
|
"instances": {
|
|
"type": "array"
|
|
}
|
|
}
|
|
},
|
|
"nameOverride": {
|
|
"type": "string"
|
|
},
|
|
"tempo": {
|
|
"type": "object",
|
|
"properties": {
|
|
"instances": {
|
|
"type": "array"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"definitions": {
|
|
"alloy-integration": {
|
|
"type": "object",
|
|
"properties": {
|
|
"fieldSelectors": {
|
|
"type": "array"
|
|
},
|
|
"jobLabel": {
|
|
"type": "string"
|
|
},
|
|
"labelSelectors": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"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": "alloy"
|
|
}
|
|
}
|
|
},
|
|
"cert-manager-integration": {
|
|
"type": "object",
|
|
"properties": {
|
|
"fieldSelectors": {
|
|
"type": "array"
|
|
},
|
|
"jobLabel": {
|
|
"type": "string"
|
|
},
|
|
"labelSelectors": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"logs": {
|
|
"type": "object",
|
|
"properties": {
|
|
"enabled": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"namespaces": {
|
|
"type": "array"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "cert-manager"
|
|
}
|
|
}
|
|
},
|
|
"etcd-integration": {
|
|
"type": "object",
|
|
"properties": {
|
|
"field_selectors": {
|
|
"type": "array"
|
|
},
|
|
"jobLabel": {
|
|
"type": "string"
|
|
},
|
|
"labelSelectors": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"logs": {
|
|
"type": "object",
|
|
"properties": {
|
|
"enabled": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"namespaces": {
|
|
"type": "array"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "etcd"
|
|
}
|
|
}
|
|
},
|
|
"grafana-integration": {
|
|
"type": "object",
|
|
"properties": {
|
|
"fieldSelectors": {
|
|
"type": "array"
|
|
},
|
|
"jobLabel": {
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"namespaces": {
|
|
"type": "array"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "grafana"
|
|
}
|
|
}
|
|
},
|
|
"loki-integration": {
|
|
"type": "object",
|
|
"properties": {
|
|
"fieldSelectors": {
|
|
"type": "array"
|
|
},
|
|
"labelSelectors": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app.kubernetes.io/name": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"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": "loki"
|
|
}
|
|
}
|
|
},
|
|
"mimir-integration": {
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"mysql-integration": {
|
|
"type": "object",
|
|
"properties": {
|
|
"exporter": {
|
|
"type": "object",
|
|
"properties": {
|
|
"collectors": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"dataSource": {
|
|
"type": "object",
|
|
"properties": {
|
|
"auth": {
|
|
"type": "object",
|
|
"properties": {
|
|
"password": {
|
|
"type": "string"
|
|
},
|
|
"passwordFrom": {
|
|
"type": "string"
|
|
},
|
|
"passwordKey": {
|
|
"type": "string"
|
|
},
|
|
"username": {
|
|
"type": "string"
|
|
},
|
|
"usernameFrom": {
|
|
"type": "string"
|
|
},
|
|
"usernameKey": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"host": {
|
|
"type": "string"
|
|
},
|
|
"port": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"dataSourceName": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"jobLabel": {
|
|
"type": "string"
|
|
},
|
|
"logs": {
|
|
"type": "object",
|
|
"properties": {
|
|
"enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"labelSelectors": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"namespaces": {
|
|
"type": "array"
|
|
}
|
|
}
|
|
},
|
|
"metrics": {
|
|
"type": "object",
|
|
"properties": {
|
|
"enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"maxCacheSize": {
|
|
"type": "null"
|
|
},
|
|
"scrapeInterval": {
|
|
"type": "null"
|
|
},
|
|
"tuning": {
|
|
"type": "object",
|
|
"properties": {
|
|
"excludeMetrics": {
|
|
"type": "array"
|
|
},
|
|
"includeMetrics": {
|
|
"type": "array"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"secret": {
|
|
"type": "object",
|
|
"properties": {
|
|
"create": {
|
|
"type": "null"
|
|
},
|
|
"embed": {
|
|
"type": "boolean"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"namespace": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "mysql"
|
|
}
|
|
}
|
|
},
|
|
"tempo-integration": {
|
|
"type": "object",
|
|
"properties": {
|
|
"fieldSelectors": {
|
|
"type": "array"
|
|
},
|
|
"labelSelectors": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app.kubernetes.io/name": {
|
|
"type": "array",
|
|
"items": {
|
|
"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": "tempo"
|
|
}
|
|
}
|
|
},
|
|
"integration-list": {
|
|
"type": "array",
|
|
"items": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/definitions/alloy-integration"
|
|
},
|
|
{
|
|
"$ref": "#/definitions/cert-manager-integration"
|
|
},
|
|
{
|
|
"$ref": "#/definitions/etcd-integration"
|
|
},
|
|
{
|
|
"$ref": "#/definitions/grafana-integration"
|
|
},
|
|
{
|
|
"$ref": "#/definitions/loki-integration"
|
|
},
|
|
{
|
|
"$ref": "#/definitions/mimir-integration"
|
|
},
|
|
{
|
|
"$ref": "#/definitions/mysql-integration"
|
|
},
|
|
{
|
|
"$ref": "#/definitions/tempo-integration"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|