9966851e75
- Create .gitignore to exclude Python-generated files and virtual environments - Add .python-version for Python version management - Initialize README.md with project description and usage instructions - Implement alloy.river configuration for Grafana Alloy observability - Set up grafana.ini for Grafana configuration - Configure dashboards.yml for automatic dashboard loading in Grafana - Define datasources.yml for connecting Grafana to Prometheus, Loki, and Tempo - Establish loki.yaml configuration for Loki logging - Set up prometheus.yml for Prometheus metrics collection - Configure tempo.yaml for Tempo tracing - Create docker-compose.yml for orchestrating services - Develop init.sh script for initializing project directories and services - Implement main.py as the entry point for the application - Define pyproject.toml for project metadata and dependencies - Update uv.lock for dependency management
46 lines
809 B
YAML
46 lines
809 B
YAML
server:
|
|
http_listen_port: 3200
|
|
grpc_listen_port: 9095
|
|
|
|
distributor:
|
|
receivers:
|
|
otlp:
|
|
protocols:
|
|
grpc:
|
|
endpoint: 0.0.0.0:4317
|
|
http:
|
|
endpoint: 0.0.0.0:4318
|
|
|
|
ingester:
|
|
max_block_duration: 5m
|
|
|
|
compactor:
|
|
compaction:
|
|
block_retention: 1h
|
|
|
|
storage:
|
|
trace:
|
|
backend: local
|
|
local:
|
|
path: /tmp/tempo/traces
|
|
wal:
|
|
path: /tmp/tempo/wal
|
|
pool:
|
|
max_workers: 100
|
|
queue_depth: 10000
|
|
|
|
query_frontend:
|
|
search:
|
|
duration_slo: 5s
|
|
throughput_bytes_slo: 1.073741824e+09
|
|
trace_by_id:
|
|
duration_slo: 5s
|
|
|
|
metrics_generator:
|
|
registry:
|
|
external_labels:
|
|
source: tempo
|
|
cluster: docker-compose
|
|
storage:
|
|
path: /tmp/tempo/generator/wal
|
|
# Sin remote_write directo - las métricas van a través de Alloy |