This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rule_files: | |
- '/tmp/prometheus/rules/prometheus.rules' | |
- '/tmp/prometheus/rules/rules-k8s-monitoring.yaml' | |
- '/tmp/prometheus/rules/rules-es-pushgateway.yaml' | |
- '/tmp/prometheus/rules/rules-infra-monitoring.yaml' | |
- '/tmp/prometheus/rules/rules-redis-exporter.yaml' | |
- '/tmp/prometheus/rules/rules-spark-blackbox.yaml' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- job_name: demo-blackbox | |
metrics_path: /probe | |
params: | |
module: [http_2xx] | |
# static_configs: | |
# - targets: | |
# - https://gmail.com | |
# - http://192.168.99.100:31240 | |
# - http://192.168.99.100:31891 | |
# - https://google.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scrape_configs: | |
- job_name: redis_exporter | |
static_configs: | |
- targets: | |
- 'redis-ha-exporter.devops:9121' | |
- 'redis-cluster-exporter.devops:9121' | |
- job_name: es_exporter | |
static_configs: | |
- targets: | |
- 'es-exporter:9114' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global: | |
scrape_interval: 30s | |
evaluation_interval: 60s | |
# Attach these labels to any time series or alerts when communicating with | |
# external systems (federation, remote storage, Alertmanager). | |
external_labels: | |
monitor: 'demo-monitor' | |
alerting: | |
alertmanagers: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Settings for root logger. | |
Log messages will be printed to console and also to log file (rotated, with | |
specified size). All log messages from used libraries will be also handled. | |
Three approaches for defining logging settings are used: | |
1. using logging classes directly (py25+, py30+) | |
2. using fileConfig (py26+, py30+) | |
3. using dictConfig (py27+, py32+) | |
Choose any variant as you like, but keep in mind python versions, that |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# | |
# /etc/rc.d/init.d/logstash | |
# | |
# Starts Logstash as a daemon | |
# | |
# chkconfig: 2345 20 80 | |
# description: Starts Logstash as a daemon | |
### BEGIN INIT INFO |
NewerOlder