Compare commits
No commits in common. "044fd84696c9b0ffa72eb4c7d76f52399bcb30ee" and "38387eae5020e564cb8373fe83022e3339f70fda" have entirely different histories.
044fd84696
...
38387eae50
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +0,0 @@
|
|||||||
loki-data
|
|
||||||
loki-wal
|
|
||||||
34
compose.yml
34
compose.yml
@ -106,40 +106,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- teacinema
|
- teacinema
|
||||||
|
|
||||||
jaeger:
|
|
||||||
container_name: jaeger
|
|
||||||
image: jaegertracing/all-in-one:1.47
|
|
||||||
ports:
|
|
||||||
- "16686:16686"
|
|
||||||
- "4317:4317"
|
|
||||||
- "4318:4318"
|
|
||||||
networks:
|
|
||||||
- teacinema
|
|
||||||
|
|
||||||
loki:
|
|
||||||
container_name: loki
|
|
||||||
image: grafana/loki:2.9.1
|
|
||||||
volumes:
|
|
||||||
- ./loki-config.yml:/etc/loki/config.yaml
|
|
||||||
- ./loki-data:/loki
|
|
||||||
- ./loki-wal:/wal
|
|
||||||
command:
|
|
||||||
- -config.file=/etc/loki/config.yaml
|
|
||||||
ports:
|
|
||||||
- "3100:3100"
|
|
||||||
networks:
|
|
||||||
- teacinema
|
|
||||||
|
|
||||||
promatail:
|
|
||||||
container_name: promtail
|
|
||||||
image: grafana/promtail:2.9.1
|
|
||||||
volumes:
|
|
||||||
- ./promtail-config.yml:/etc/promtail/config.yml
|
|
||||||
- ../logs:/var/log/services
|
|
||||||
command: -config.file=/etc/promtail/config.yml
|
|
||||||
networks:
|
|
||||||
- teacinema
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
redis_data:
|
redis_data:
|
||||||
|
|||||||
@ -1,41 +0,0 @@
|
|||||||
auth_enabled: false
|
|
||||||
|
|
||||||
server:
|
|
||||||
http_listen_port: 3100
|
|
||||||
|
|
||||||
ingester:
|
|
||||||
lifecycler:
|
|
||||||
address: 127.0.0.1
|
|
||||||
ring:
|
|
||||||
kvstore:
|
|
||||||
store: inmemory
|
|
||||||
replication_factor: 1
|
|
||||||
chunk_idle_period: 5m
|
|
||||||
max_chunk_age: 1h
|
|
||||||
|
|
||||||
schema_config:
|
|
||||||
configs:
|
|
||||||
- from: 2020-10-24
|
|
||||||
store: tsdb
|
|
||||||
object_store: filesystem
|
|
||||||
schema: v12
|
|
||||||
index:
|
|
||||||
prefix: index_
|
|
||||||
period: 24h
|
|
||||||
|
|
||||||
storage_config:
|
|
||||||
tsdb_shipper:
|
|
||||||
active_index_directory: /loki/index
|
|
||||||
cache_location: /loki/cache
|
|
||||||
shared_store: filesystem
|
|
||||||
filesystem:
|
|
||||||
directory: /loki/chunks
|
|
||||||
|
|
||||||
limits_config:
|
|
||||||
ingestion_rate_mb: 10
|
|
||||||
ingestion_burst_size_mb: 20
|
|
||||||
max_cache_freshness_per_query: 10m
|
|
||||||
|
|
||||||
compactor:
|
|
||||||
working_directory: /loki/compactor
|
|
||||||
shared_store: filesystem
|
|
||||||
@ -1,18 +0,0 @@
|
|||||||
server:
|
|
||||||
http_listen_port: 9080
|
|
||||||
grpc_listen_port: 0
|
|
||||||
|
|
||||||
positions:
|
|
||||||
filename: /tmp/positions.yaml
|
|
||||||
|
|
||||||
clients:
|
|
||||||
- url: http://loki:3100/loki/api/v1/push
|
|
||||||
|
|
||||||
scrape_configs:
|
|
||||||
- job_name: auth-logs
|
|
||||||
static_configs:
|
|
||||||
- targets: [localhost]
|
|
||||||
labels:
|
|
||||||
job: auth
|
|
||||||
service: auth-service
|
|
||||||
__path__: /var/log/services/auth/*.log
|
|
||||||
Loading…
x
Reference in New Issue
Block a user