Compare commits
8 Commits
feature/mo
...
e6cdae8e6b
| Author | SHA1 | Date | |
|---|---|---|---|
|
e6cdae8e6b
|
|||
|
6a22c3f815
|
|||
|
f9b0288038
|
|||
|
d8bef9a23d
|
|||
|
581346f019
|
|||
|
6504100cd5
|
|||
|
dd0330c85a
|
|||
|
40fbdc414e
|
16
.idea/jsonSchemas.xml
generated
16
.idea/jsonSchemas.xml
generated
@@ -39,6 +39,22 @@
|
|||||||
</SchemaInfo>
|
</SchemaInfo>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
|
<entry key="Loki">
|
||||||
|
<value>
|
||||||
|
<SchemaInfo>
|
||||||
|
<option name="name" value="Loki" />
|
||||||
|
<option name="relativePathToSchema" value="https://json.schemastore.org/loki.json" />
|
||||||
|
<option name="applicationDefined" value="true" />
|
||||||
|
<option name="patterns">
|
||||||
|
<list>
|
||||||
|
<Item>
|
||||||
|
<option name="path" value="roles/alpina/templates/services/monitoring/loki_config/loki-config.yaml.j2" />
|
||||||
|
</Item>
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</SchemaInfo>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
<entry key="Traefik v2">
|
<entry key="Traefik v2">
|
||||||
<value>
|
<value>
|
||||||
<SchemaInfo>
|
<SchemaInfo>
|
||||||
|
|||||||
@@ -100,6 +100,11 @@ services:
|
|||||||
image: gcr.io/cadvisor/cadvisor:latest
|
image: gcr.io/cadvisor/cadvisor:latest
|
||||||
container_name: cadvisor
|
container_name: cadvisor
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
command:
|
||||||
|
- --docker_only=true
|
||||||
|
- --store_container_labels=false
|
||||||
|
- --whitelisted_container_labels=com.docker.compose.project,com.docker.compose.service
|
||||||
|
- --enable_metrics=cpu,cpuLoad,diskIO,memory,network,oom_event,process
|
||||||
volumes:
|
volumes:
|
||||||
- /:/rootfs:ro
|
- /:/rootfs:ro
|
||||||
- /var/run:/var/run:rw
|
- /var/run:/var/run:rw
|
||||||
|
|||||||
@@ -17,13 +17,6 @@ common:
|
|||||||
|
|
||||||
schema_config:
|
schema_config:
|
||||||
configs:
|
configs:
|
||||||
- from: 2020-10-24
|
|
||||||
store: boltdb-shipper
|
|
||||||
object_store: filesystem
|
|
||||||
schema: v12
|
|
||||||
index:
|
|
||||||
prefix: index_
|
|
||||||
period: 24h
|
|
||||||
- from: 2024-10-18
|
- from: 2024-10-18
|
||||||
index:
|
index:
|
||||||
period: 24h
|
period: 24h
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ scrape_configs:
|
|||||||
- 'demo.promlabs.com:10002'
|
- 'demo.promlabs.com:10002'
|
||||||
|
|
||||||
rule_files:
|
rule_files:
|
||||||
- "/etc/prometheus/container.alerts.yml"
|
{# - "/etc/prometheus/container.alerts.yml"#}
|
||||||
- "/etc/prometheus/extra/rules/*.yml"
|
- "/etc/prometheus/extra/rules/*.yml"
|
||||||
- "/etc/prometheus/extra/rules/*.json"
|
- "/etc/prometheus/extra/rules/*.json"
|
||||||
|
|
||||||
|
|||||||
@@ -12,3 +12,4 @@
|
|||||||
networks: true
|
networks: true
|
||||||
volumes: true
|
volumes: true
|
||||||
builder_cache: true
|
builder_cache: true
|
||||||
|
when: false
|
||||||
|
|||||||
Reference in New Issue
Block a user