prometheus/defaults/main.yml
2023-04-21 15:16:01 +02:00

83 lines
2.3 KiB
YAML

---
docker_compose_directory: "/opt/docker-compose"
prometheus_docker_network: prometheus
prometheus_docker_pull: "no"
exporter_upgrade: ""
prometheus_os: "linux"
prometheus_arch: "amd64"
## repos url
prometheus_repo: ""
prometheus_repo_apache: Lusitaniae
prometheus_repo_blackbox: prometheus
prometheus_repo_memcached: prometheus
prometheus_repo_mongodb: percona
prometheus_repo_mysqld: prometheus
prometheus_repo_nginx: tchivert
prometheus_repo_node: prometheus
prometheus_repo_opcache: tchivert
prometheus_repo_phpfpm: Lusitaniae
prometheus_repo_postgres: prometheus-community
prometheus_repo_redis: oliver006
prometheus_repo_varnish: tchivert
## server
prometheus_nodes_ip:
localhost: "127.0.0.1"
prometheus_retention_time: "15d"
prometheus_server_enable: false
prometheus_server_global_evaluation_interval: 15
prometheus_server_global_scrape_interval: 15
prometheus_server_job_name: "prometheus"
prometheus_server_scrape_interval: 5
prometheus_server_scrape_timeout: 5
prometheus_server_version: "latest"
## exporter
prometheus_exporter_packages: []
prometheus_apache_port: 8080
prometheus_blackbox_exporter_host: localhost
prometheus_mongodb_exporter_database: "admin"
prometheus_mongodb_exporter_host: "localhost"
prometheus_mongodb_exporter_port: 27017
prometheus_nginx_scrape_uri: "http://localhost/stub_status"
prometheus_opcache_exporter_fcgi_uri: "unix:///var/run/www.sock"
prometheus_phpfpm_sockets_directory: "/run/php/"
prometheus_phpfpm_sockets_directory_additional: "/var/run/php*.sock"
prometheus_postgres_exporter_systemd_user: "postgres"
prometheus_postgres_exporter_host: "/var/run/postgresql/"
prometheus_postgres_exporter_sslmode: "disable"
prometheus_postgres_exporter_user: "postgres"
prometheus_postgres_exporter_password: "changeme_"
prometheus_postgres_exporter_port: 5432
prometheus_redis_exporter_addr: "redis://localhost:6379"
prometheus_redis_exporter_user: ""
prometheus_redis_exporter_password: ""
## grafana
grafana_auth_anonymous_enabled: false
grafana_auth_anonymous_org_role: Editor # Viewer
grafana_auth_anonymous_org_name: 'Main Org.'
grafana_auth_disable_login_form: false
grafana_editors_can_admin: false
grafana_users_viewers_can_edit: false
grafana_log_level: error
grafana_router_logging: false
grafana_disable_sanitize_html: true
grafana_traefik_entrypoint: 'websecure'