feat: CI/CD pipeline setup complete - Ansible playbooks updated, secrets configured, workflow ready

This commit is contained in:
2025-10-31 01:39:24 +01:00
parent 55c04e4fd0
commit e26eb2aa12
601 changed files with 44184 additions and 32477 deletions

View File

@@ -0,0 +1,12 @@
apiVersion: 1
providers:
- name: 'Default'
orgId: 1
folder: ''
type: file
disableDeletion: false
updateIntervalSeconds: 10
allowUiUpdates: true
options:
path: /etc/grafana/provisioning/dashboards

View File

@@ -0,0 +1,11 @@
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
access: proxy
url: http://prometheus:9090
isDefault: true
editable: true
jsonData:
timeInterval: "15s"

View File

@@ -0,0 +1,44 @@
global:
scrape_interval: 15s
evaluation_interval: 15s
external_labels:
environment: 'production'
project: 'michaelschiemer-framework'
# Alerting configuration
alerting:
alertmanagers:
- static_configs:
- targets: []
# Scrape configurations
scrape_configs:
# Prometheus self-monitoring
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
# Framework application metrics (if exposed)
- job_name: 'framework-app'
static_configs:
- targets: ['web:80']
metrics_path: '/metrics'
scrape_interval: 30s
# PostgreSQL metrics (via postgres_exporter if configured)
- job_name: 'postgres'
static_configs:
- targets: ['db:5432']
scrape_interval: 30s
# Redis metrics (via redis_exporter if configured)
- job_name: 'redis'
static_configs:
- targets: ['redis:6379']
scrape_interval: 30s
# Docker metrics (via cAdvisor if configured)
- job_name: 'docker'
static_configs:
- targets: ['host.docker.internal:8080']
scrape_interval: 30s