From b697be4040db68cf26d5c31532c07f00ab1f85cb Mon Sep 17 00:00:00 2001 From: Karsten Rohrbach Date: Sat, 9 Dec 2023 14:58:53 +0100 Subject: [PATCH] Add syntax highlighting --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6bd1bda..a075c77 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Monitor Linux system. Only requires the default job_name: node, add as many targets as you need in '/etc/prometheus/prometheus.yml'. -``` +```yaml - job_name: node static_configs: - targets: ['localhost:9100'] @@ -81,7 +81,7 @@ For prometheus-bind-exporter https://github.com/prometheus-community/bind_export Monitor Bind9 service. Required configuration in /etc/bind/named.conf.options: -``` +```c++ statistics-channels { inet 127.0.0.1 port 8053 allow { 127.0.0.1; }; }; @@ -89,7 +89,7 @@ statistics-channels { On Grafana, it only requires a configured target under any job_name. For example: -``` +```yaml - job_name: 'bind' static_configs: - targets: