Skip to content

Commit

Permalink
[frinx-machine-monitoring] Update promtail (#420)
Browse files Browse the repository at this point in the history
Signed-off-by: JumasJM <[email protected]>
  • Loading branch information
JumasJM authored Sep 6, 2024
1 parent 464357d commit b8033da
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
9 changes: 8 additions & 1 deletion charts/frinx-machine-monitoring/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: frinx-machine-monitoring
description: A Helm chart for Kubernetes monitoring
icon: https://avatars.githubusercontent.com/u/23452093?s=200&v=4
type: application
version: 0.1.0
version: 0.1.1
appVersion: "1.16.0"
maintainers:
- name: FRINX
Expand All @@ -24,3 +24,10 @@ dependencies:
repository: https://grafana.github.io/helm-charts
version: 6.15.5
condition: loki.enabled
annotations:
artifacthub.io/changes: |
- kind: changed
description: Update promtail configuration
links:
- name: GitHub PR
url: https://github.com/FRINXio/helm-charts/pull/420
15 changes: 14 additions & 1 deletion charts/frinx-machine-monitoring/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,20 @@ promtail:
- url: http://loki:3100/loki/api/v1/push
snippets:
pipelineStages:
- cri: {}
- match:
selector: '{container="uniconfig"}'
stages:
- cri: {}
- docker: {}
- multiline:
# Identify timestamps as first line of a multiline block.
firstline: '^\d{4}-\d{1,2}-\d{1,2} \d{1,2}:\d{2}:\d{2}.\d{3}'
max_lines: 128
max_wait_time: 3s
- regex:
expression: '.*DeviceName:(?P<deviceName>[^\t\n\f\r ]+)'
- labels:
deviceName:
# @ignore
scrapeConfigs: |
- job_name: kubernetes-pods
Expand Down

0 comments on commit b8033da

Please sign in to comment.