fix: add loki.format attribute for log ingestion and remove unnecessary labels from exporter configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
ed5c6a45af
commit
cf1506978f
@ -46,6 +46,9 @@ spec:
|
||||
- key: service.namespace
|
||||
value: "{{ .Release.Namespace }}"
|
||||
action: upsert
|
||||
- key: loki.format
|
||||
action: insert
|
||||
value: json
|
||||
batch:
|
||||
send_batch_size: 1000
|
||||
timeout: 10s
|
||||
@ -53,16 +56,6 @@ spec:
|
||||
exporters:
|
||||
loki:
|
||||
endpoint: {{ .Values.logIngest.lokiEndpoint }}
|
||||
labels:
|
||||
resource:
|
||||
service.name: "service.name"
|
||||
service.namespace: "service.namespace"
|
||||
k8s.pod.name: "k8s.pod.name"
|
||||
k8s.namespace.name: "k8s.namespace.name"
|
||||
k8s.node.name: "k8s.node.name"
|
||||
k8s.deployment.name: "k8s.deployment.name"
|
||||
record:
|
||||
severity: "severity"
|
||||
|
||||
logging:
|
||||
verbosity: detailed
|
||||
|
||||
Loading…
Reference in New Issue
Block a user