Skip to content

Commit

Permalink
perf: add nec and facelive loki log
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeEirc committed Nov 27, 2024
1 parent 9c3085b commit e207a08
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion config_init/loki/promtail.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,24 @@ scrape_configs:
job_name: magnus
__path__: /data/jumpserver/magnus/data/logs/*.log

- job_name: nec
static_configs:
- targets:
- localhost
labels:
component: nec
job_name: nec
__path__: /data/jumpserver/nec/data/logs/*.log

- job_name: facelive
static_configs:
- targets:
- localhost
labels:
component: facelive
job_name: facelive
__path__: /data/jumpserver/facelive/data/logs/*.log

- job_name: docker
docker_sd_configs:
- host: unix:///var/run/docker.sock
Expand All @@ -90,7 +108,8 @@ scrape_configs:
- name: name
values: [jms_web, jms_core, jms_koko, jms_lion,
jms_chen, jms_magnus, jms_xrdp, jms_razor,
jms_receptor]
jms_receptor, jms_nec, jms_facelive,
]
relabel_configs:
- source_labels: ["__meta_docker_container_name"]
regex: "/(.*)"
Expand Down

0 comments on commit e207a08

Please sign in to comment.