Some checks failed
CD Preprod / Backend — Lint (push) Successful in 10m22s
CD Preprod / Frontend — Lint & Type-check (push) Successful in 10m55s
CD Preprod / Backend — Unit Tests (push) Successful in 10m12s
CD Preprod / Frontend — Unit Tests (push) Successful in 10m33s
CD Preprod / Backend — Integration Tests (push) Successful in 9m57s
CD Preprod / Build Backend (push) Successful in 7m51s
CD Preprod / Build Log Exporter (push) Successful in 34s
CD Preprod / Build Frontend (push) Successful in 19m46s
CD Preprod / Deploy to Preprod (push) Failing after 1s
CD Preprod / Notify Failure (push) Has been skipped
CD Preprod / Smoke Tests (push) Has been skipped
CD Preprod / Notify Success (push) Has been skipped
59 lines
1.5 KiB
YAML
59 lines
1.5 KiB
YAML
server:
|
|
http_listen_port: 9080
|
|
log_level: warn
|
|
|
|
positions:
|
|
filename: /tmp/positions.yaml
|
|
|
|
clients:
|
|
- url: http://xpeditis-loki:3100/loki/api/v1/push
|
|
batchwait: 1s
|
|
batchsize: 1048576
|
|
timeout: 10s
|
|
|
|
scrape_configs:
|
|
- job_name: docker
|
|
docker_sd_configs:
|
|
- host: unix:///var/run/docker.sock
|
|
refresh_interval: 5s
|
|
filters:
|
|
- name: label
|
|
values: ['logging=promtail']
|
|
|
|
relabel_configs:
|
|
- source_labels: ['__meta_docker_container_label_com_docker_compose_service']
|
|
target_label: service
|
|
- source_labels: ['__meta_docker_container_name']
|
|
regex: '/?(.*)'
|
|
replacement: '${1}'
|
|
target_label: container
|
|
- source_labels: ['__meta_docker_container_log_stream']
|
|
target_label: stream
|
|
|
|
pipeline_stages:
|
|
- drop:
|
|
older_than: 15m
|
|
drop_counter_reason: entry_too_old
|
|
|
|
- drop:
|
|
expression: 'GET /(health|metrics|minio/health)'
|
|
|
|
- json:
|
|
expressions:
|
|
level: level
|
|
msg: msg
|
|
context: context
|
|
reqId: reqId
|
|
|
|
- labels:
|
|
level:
|
|
context:
|
|
|
|
- template:
|
|
source: level
|
|
template: >-
|
|
{{ if eq .Value "10" }}trace{{ else if eq .Value "20" }}debug{{ else if eq .Value "30" }}info{{ else if eq .Value "40" }}warn{{ else if eq .Value "50" }}error{{ else if eq .Value "60" }}fatal{{ else }}{{ .Value }}{{ end }}
|
|
|
|
- labels:
|
|
level:
|