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
23 lines
583 B
YAML
23 lines
583 B
YAML
# Configuración de Prometheus - Solo remote write desde Alloy
|
|
# Alloy es la única puerta de entrada para métricas
|
|
|
|
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 15s
|
|
external_labels:
|
|
cluster: 'development'
|
|
replica: 'prometheus-01'
|
|
|
|
# Configuración de reglas de alertas
|
|
rule_files:
|
|
- "rules/*.yml"
|
|
|
|
# Sin scrapers directos - Todo viene desde Alloy via remote_write
|
|
scrape_configs: []
|
|
|
|
# Configuración de Alertmanager (descomenta si tienes Alertmanager)
|
|
# alerting:
|
|
# alertmanagers:
|
|
# - static_configs:
|
|
# - targets:
|
|
# - alertmanager:9093 |