promtail: Remove default scrape jobs varlogs, nginx and postfix-bounces

This commit is contained in:
Julian Rother 2024-11-23 02:09:14 +01:00
parent ba32c8ee83
commit 59a76a526b
No known key found for this signature in database
GPG key ID: 8F9B6AE9BAAE4899

View file

@ -57,13 +57,6 @@ prometheus_agent:
# the default scrape configs. Items with an empty value are ignored. # the default scrape configs. Items with an empty value are ignored.
# The "job_name" field defaults to the item key. # The "job_name" field defaults to the item key.
scrape_jobs: scrape_jobs:
system:
static_configs:
- targets:
- localhost
labels:
job: varlogs
__path__: /var/log/*log
journal: journal:
journal: journal:
max_age: 12h max_age: 12h
@ -77,20 +70,6 @@ prometheus_agent:
pipeline_stages: pipeline_stages:
- structured_metadata: - structured_metadata:
level: level:
nginx:
static_configs:
- targets:
- localhost
labels:
job: nginx
__path__: /var/log/nginx/access-promtail.log
postfix-bounces:
static_configs:
- targets:
- localhost
labels:
job: postfix-bounces
__path__: /var/log/mailman3/bounce.log
snmp: snmp:
enable: False enable: False
mib_path: /usr/share/snmp/mibs mib_path: /usr/share/snmp/mibs