feat: complete Loki query, insights, settings and deployment workflows
Add the Loki query UI, access policies, ingress insights, alert and registry settings, and their backend APIs. Include the related Kubernetes deployment and collector updates required by the integrated application. Validated with go test ./..., npm run build, and npm run lint.
This commit is contained in:
1 parent
f9c6c1d826
commit
2d73661dd1
127 files changed
+8117
-2876
No files matched your search
@@ -5,9 +5,11 @@ type CreateDeploymentRequest struct {
|
||||
Name string `json:"name" binding:"required"`
|
||||
Description string `json:"description"`
|
||||
Version string `json:"version"`
|
||||
Mode string `json:"mode" binding:"required,oneof=k8s-helm k8s-yaml host-binary"`
|
||||
Mode string `json:"mode" binding:"required,oneof=k8s-yaml host-binary host-docker"`
|
||||
ClusterID *uint `json:"clusterID"`
|
||||
HostID *uint `json:"hostID"`
|
||||
ListenIP string `json:"listenIP"`
|
||||
ListenPort int `json:"listenPort"`
|
||||
Namespace string `json:"namespace"`
|
||||
StorageConfigID uint `json:"storageConfigID"`
|
||||
AuthEnabled bool `json:"authEnabled"`
|
||||
@@ -19,3 +21,9 @@ type CreateDeploymentRequest struct {
|
||||
GrafanaEnabled bool `json:"grafanaEnabled"`
|
||||
GrafanaVersion string `json:"grafanaVersion"`
|
||||
}
|
||||
|
||||
// UpdateRetentionRequest 编辑 Loki limits_config 中的保留策略片段。
|
||||
type UpdateRetentionRequest struct {
|
||||
YAML string `json:"yaml" binding:"required"`
|
||||
Apply bool `json:"apply"`
|
||||
}
|
||||
Reference in new issue
Block a user