"description":"Parameters to instantiate an agent collecting logs and metrics",
"description":"Parameters to instantiate an agent collecting logs and metrics",
"type":"object",
"type":"object",
"additionalProperties":false,
"additionalProperties":false,
"unevaluatedProperties":false,
"$defs":{
"$defs":{
"type":{
"type":{
"description":"Type of the application. With `SlapOS` type, some metrics are collected from supervisor and from some known partition types (for example: ERP5's mariadb or ERP5's zopes). With `system` type, only log files are ingested.",
"description":"Type of the application. With `SlapOS` type, some metrics are collected from supervisor and from some known partition types (for example: ERP5's mariadb or ERP5's zopes). With `system` type, only log files are ingested.",
"description":"Directory in telegraf partition where extra configuration file will be loaded. These files must match *.conf pattern",
"description":"Directory in telegraf partition where extra configuration file will be loaded. These files must match *.conf pattern",
"type":"string"
"type":"string"
},
"promtail-url":{
"description":"URL of embedded server from promtail",
"format":"uri",
"type":"string"
},
"facl-script":{
"description":"Path of a generated script to set ACL for the agent to access files and sockets. This might be needed depending on how slapos partitions were formatted",
"description":"SMTP server used by Grafana to send emails (in host:port format). Leaving this empty will disable email sending.",
"type":"object",
"type":"string"
"description":"Email configuration",
},
"additionalProperties":false,
"smtp-username":{
"properties":{
"description":"Username to connect to SMTP server",
"smtp-server":{
"type":"string"
"description":"SMTP server used by Grafana to send emails (in host:port format). Leaving this empty will disable email sending.",
},
"type":"string"
"smtp-password":{
},
"description":"Password to connect to SMTP server",
"smtp-username":{
"type":"string"
"description":"Username to connect to SMTP server",
},
"type":"string"
"smtp-verify-ssl":{
},
"description":"Verify SSL certificate of SMTP server",
"smtp-password":{
"type":"boolean"
"description":"Password to connect to SMTP server",
},
"type":"string"
"email-from-address":{
},
"description":"Email address used in From: header of emails",
"smtp-verify-ssl":{
"type":"string"
"description":"Verify certificate of SMTP server",
"type":"boolean",
"default":true
},
"email-from-address":{
"description":"Email address used in `From:` header of emails",
"type":"string"
},
"email-from-name":{
"description":"Name used in `From:` header of emails",
"default":"Grafana",
"type":"string"
}
}
},
},
"email-from-name":{
"frontend":{
"description":"Name used in From: header of emails",
"type":"object",
"default":"Grafana",
"additionalProperties":false,
"type":"string"
"properties":{
"custom-domain":{
"description":"Custom domain to use when requesting a rapid-cdn frontend",
"type":"string",
"format":"hostname"
}
}
},
},
"caucase-url":{
"caucase":{
"description":"URL of a caucase instance to manage all server and clients certificates",
"type":"object",
"type":"string",
"description":"Caucase configuration. To connect external agents, it's required to approve their client certificates, either using an external caucase referenced as `external-caucase-url` or registering a user with `user-auto-approve-count`",
"format":"uri"
"additionalProperties":false,
"properties":{
"external-caucase-url":{
"description":"URL of a caucase instance to manage all server and clients certificates, to use instead of embedding caucase",
"type":"string",
"format":"uri"
},
"user-auto-approve-count":{
"description":"Number of users to automatically approve in the embedded caucase",
"description":"Values returned by Grafana instantiation",
"description":"Values returned by Grafana instantiation",
"additionalProperties":false,
"properties":{
"properties":{
"url":{
"url":{
"description":"Shared frontend for this Grafana instance",
"description":"Shared frontend for this Grafana instance",
...
@@ -47,6 +46,15 @@
...
@@ -47,6 +46,15 @@
"description":"URL caucase service used by Loki",
"description":"URL caucase service used by Loki",
"format":"uri",
"format":"uri",
"type":"string"
"type":"string"
},
"agent-promtail-url":{
"description":"URL of embedded server from promtail",
"format":"uri",
"type":"string"
},
"agent-facl-script":{
"description":"Path of a generated script to set ACL for the agent to access files and sockets. This might be needed depending on how slapos partitions were formatted",