github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/packages/logging-pgl/pgl-values.yaml (about)

     1  grafana:
     2    enabled: true
     3    adminUser: "jackal-admin"
     4    adminPassword: "###JACKAL_LOGGING_AUTH###"
     5    # K8s 1.25+ compatibility until loki stack upgrades the grafana chart to 6.36.1
     6    rbac:
     7      pspEnabled: false
     8    grafana.ini:
     9      server:
    10        root_url: "%(protocol)s://%(domain)s/monitor"
    11        serve_from_sub_path: true
    12  promtail:
    13    extraScrapeConfigs:
    14      - job_name: journal
    15        journal:
    16          max_age: 12h
    17          labels:
    18            job: systemd-journal
    19        relabel_configs:
    20          - source_labels: ["__journal__systemd_unit"]
    21            target_label: "unit"
    22          - source_labels: ["__journal__hostname"]
    23            target_label: "hostname"
    24  
    25    # Mount journal directory into promtail pods
    26    extraVolumes:
    27      - name: journal
    28        hostPath:
    29          path: /var/log/journal
    30  
    31    extraVolumeMounts:
    32      - name: journal
    33        mountPath: /var/log/journal
    34        readOnly: true