- Add Python exporter for ActivityWatch API metrics collection - Configure Prometheus to scrape ActivityWatch exporter - Create Grafana dashboard for ActivityWatch overview - Integrate ActivityWatch monitoring into existing docker-compose stack - Add Prometheus datasource for ActivityWatch metrics Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
22 lines
456 B
YAML
Executable File
22 lines
456 B
YAML
Executable File
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 15s
|
|
|
|
rule_files:
|
|
- /etc/prometheus/alerts.yml
|
|
- /etc/prometheus/recording_rules.yml
|
|
|
|
scrape_configs:
|
|
- job_name: prometheus
|
|
static_configs:
|
|
- targets: ["localhost:9090"]
|
|
|
|
- job_name: aw_activitywatch_exporter
|
|
static_configs:
|
|
- targets: ["aw-exporter:9398"]
|
|
scrape_interval: 30s
|
|
|
|
- job_name: onec_sql_exporter
|
|
static_configs:
|
|
- targets: ["sql-exporter:9399"]
|