promtail references replaces with alloy in dashboard_loki_container.yaml
This commit is contained in:
parent
b462804f29
commit
75f40e070c
3 changed files with 2 additions and 76 deletions
|
@ -110,12 +110,12 @@ data:
|
||||||
"uid": "P8E80F9AEF21F6940"
|
"uid": "P8E80F9AEF21F6940"
|
||||||
},
|
},
|
||||||
"editorMode": "builder",
|
"editorMode": "builder",
|
||||||
"expr": "{container=\"promtail\"} |= ``",
|
"expr": "{container=\"alloy\"} |= ``",
|
||||||
"queryType": "range",
|
"queryType": "range",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"title": "Logs: Container promtail",
|
"title": "Logs: Container alloy",
|
||||||
"type": "logs"
|
"type": "logs"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
|
|
@ -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
|
|
Loading…
Reference in a new issue