From 75f40e070cd1866e520701e425c590d1b165237f Mon Sep 17 00:00:00 2001 From: miwr Date: Wed, 12 Mar 2025 15:55:41 +0100 Subject: [PATCH] promtail references replaces with alloy in dashboard_loki_container.yaml --- .../dashboards/dashboard_loki_container.yaml | 4 +- template/stacks/monitoring/promtail.yaml | 29 ------------ .../stacks/monitoring/promtail/values.yaml | 45 ------------------- 3 files changed, 2 insertions(+), 76 deletions(-) delete mode 100644 template/stacks/monitoring/promtail.yaml delete mode 100644 template/stacks/monitoring/promtail/values.yaml diff --git a/template/stacks/monitoring/kube-prometheus/dashboards/dashboard_loki_container.yaml b/template/stacks/monitoring/kube-prometheus/dashboards/dashboard_loki_container.yaml index 267bd90..e38896e 100644 --- a/template/stacks/monitoring/kube-prometheus/dashboards/dashboard_loki_container.yaml +++ b/template/stacks/monitoring/kube-prometheus/dashboards/dashboard_loki_container.yaml @@ -110,12 +110,12 @@ data: "uid": "P8E80F9AEF21F6940" }, "editorMode": "builder", - "expr": "{container=\"promtail\"} |= ``", + "expr": "{container=\"alloy\"} |= ``", "queryType": "range", "refId": "A" } ], - "title": "Logs: Container promtail", + "title": "Logs: Container alloy", "type": "logs" }, { diff --git a/template/stacks/monitoring/promtail.yaml b/template/stacks/monitoring/promtail.yaml deleted file mode 100644 index 4769ead..0000000 --- a/template/stacks/monitoring/promtail.yaml +++ /dev/null @@ -1,29 +0,0 @@ -# apiVersion: argoproj.io/v1alpha1 -# kind: Application -# metadata: -# name: promtail -# namespace: argocd -# labels: -# env: dev -# finalizers: -# - resources-finalizer.argocd.argoproj.io -# spec: -# project: default -# syncPolicy: -# automated: -# selfHeal: true -# syncOptions: -# - CreateNamespace=true -# destination: -# name: in-cluster -# namespace: monitoring -# sources: -# - repoURL: https://github.com/grafana/helm-charts -# path: charts/promtail -# targetRevision: HEAD -# helm: -# valueFiles: -# - $values/stacks/monitoring/promtail/values.yaml -# - repoURL: https://{{{ .Env.DOMAIN_GITEA }}}/giteaAdmin/edfbuilder -# targetRevision: HEAD -# ref: values \ No newline at end of file diff --git a/template/stacks/monitoring/promtail/values.yaml b/template/stacks/monitoring/promtail/values.yaml deleted file mode 100644 index 49faadc..0000000 --- a/template/stacks/monitoring/promtail/values.yaml +++ /dev/null @@ -1,45 +0,0 @@ -# -- Overrides the chart's name -nameOverride: null - -# -- Overrides the chart's computed fullname -fullnameOverride: null - -global: - # -- Allow parent charts to override registry hostname - imageRegistry: "" - # -- Allow parent charts to override registry credentials - imagePullSecrets: [] - -daemonset: - # -- Deploys Promtail as a DaemonSet - enabled: true - autoscaling: - # -- Creates a VerticalPodAutoscaler for the daemonset - enabled: false - -deployment: - # -- Deploys Promtail as a Deployment - enabled: false - -config: - enabled: true - logLevel: info - logFormat: logfmt - serverPort: 3101 - clients: - - url: http://loki-loki-distributed-gateway/loki/api/v1/push - scrape_configs: - - job_name: authlog - static_configs: - - targets: - - authlog - labels: - job: authlog - __path__: /logs/auth.log - - job_name: syslog - static_configs: - - targets: - - syslog - labels: - job: syslog - __path__: /logs/syslog \ No newline at end of file