Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Measurement with Prometheus and Grafana

Автор: theurbanpenguin

Загружено: 2025-08-03

Просмотров: 1039

Описание:

/etc/systemd/system/node_exporter.service
Node Exporter systemd service file

[Unit]
Description=Node Exporter
Documentation=https://prometheus.io/docs/guides/nod...
Wants=network-online.target
After=network-online.target

[Service]
Type=simple
User=node_exporter
Group=node_exporter
ExecStart=/usr/local/bin/node_exporter \
--web.listen-address=:9100 \
--path.procfs=/proc \
--path.sysfs=/sys \
--collector.filesystem.mount-points-exclude="^/(dev|proc|sys|var/lib/docker/.+)($|/)" \
--collector.filesystem.fs-types-exclude="^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$"

SyslogIdentifier=node_exporter
Restart=always
RestartSec=1
StandardOutput=journal
StandardError=journal

[Install]
WantedBy=multi-user.target



prometheus.yml

global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_timeout: 10s

scrape_configs:
Prometheus monitoring itself
job_name: 'prometheus'
static_configs:
targets: ['localhost:9090']

Node Exporter
job_name: 'node-exporter'
static_configs:
targets: ['172.16.247.133:9100']

docker-compose.yml - Complete monitoring stack

services:
prometheus:
image: prom/prometheus:latest
container_name: prometheus
ports:
"9090:9090"
volumes:
./prometheus.yml:/etc/prometheus/prometheus.yml
prometheus_data:/prometheus
command:
'--config.file=/etc/prometheus/prometheus.yml'
'--storage.tsdb.path=/prometheus'
'--web.console.libraries=/etc/prometheus/console_libraries'
'--web.console.templates=/etc/prometheus/consoles'
'--storage.tsdb.retention.time=200h'
'--web.enable-lifecycle'
restart: unless-stopped

grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
"3000:3000"
volumes:
grafana_data:/var/lib/grafana
environment:
GF_SECURITY_ADMIN_PASSWORD=admin123
restart: unless-stopped
depends_on:
prometheus

volumes:
prometheus_data:
grafana_data:


Additionally you can find my video courses on Pluralsight: http://pluralsight.com/training/Autho... and take time to see my own site http://www.theurbanpenguin.com

Measurement with Prometheus and Grafana

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

eBPF: Unlocking the Kernel [OFFICIAL DOCUMENTARY]

eBPF: Unlocking the Kernel [OFFICIAL DOCUMENTARY]

Мониторинг сертификатов TLS с помощью Prometheus и Grafana

Мониторинг сертификатов TLS с помощью Prometheus и Grafana

Inside the Modern Data Center! SuperClusters at Applied Digital

Inside the Modern Data Center! SuperClusters at Applied Digital

Apache Iceberg: что это такое и почему все о нем говорят.

Apache Iceberg: что это такое и почему все о нем говорят.

Более практичные узлы Ubuntu: создание центра сертификации в лабораториях моделирования Cisco.

Более практичные узлы Ubuntu: создание центра сертификации в лабораториях моделирования Cisco.

Школа мониторинга 3:

Школа мониторинга 3: "История одного перехода: Как Victoria Metrics делает жизнь лучше?"

Open Source Observability Explained - The Grafana Stack

Open Source Observability Explained - The Grafana Stack

MCP vs API: Simplifying AI Agent Integration with External Data

MCP vs API: Simplifying AI Agent Integration with External Data

Начало работы с Prometheus Grafana и экспортером Node — Часть 1

Начало работы с Prometheus Grafana и экспортером Node — Часть 1

the FrankeNAS - (Raspberry Pi, Zima Board, Dell Server, Ugreen) // a CEPH Tutorial

the FrankeNAS - (Raspberry Pi, Zima Board, Dell Server, Ugreen) // a CEPH Tutorial

Introduction to the Linux Bash Shell Ubuntu 24.04 LTS

Introduction to the Linux Bash Shell Ubuntu 24.04 LTS

Grafana Dashboard📊: мониторинг ЦП, памяти, диска и сетевого трафика с помощью Prometheus и Node E...

Grafana Dashboard📊: мониторинг ЦП, памяти, диска и сетевого трафика с помощью Prometheus и Node E...

Server Monitoring // Prometheus and Grafana Tutorial

Server Monitoring // Prometheus and Grafana Tutorial

What is a Vector Database? Powering Semantic Search & AI Applications

What is a Vector Database? Powering Semantic Search & AI Applications

You NEED to Use n8n RIGHT NOW!! (Free, Local, Private)

You NEED to Use n8n RIGHT NOW!! (Free, Local, Private)

Proxy vs Reverse Proxy vs Load Balancer | Simply Explained

Proxy vs Reverse Proxy vs Load Balancer | Simply Explained

Prometheus Tutorial | Monitoring with Prometheus And Grafana | Prometheus Grafana Tutorial | Edureka

Prometheus Tutorial | Monitoring with Prometheus And Grafana | Prometheus Grafana Tutorial | Edureka

Я попробовал Zorin OS, будучи пользователем Windows 11 (это оказалось не тем, чего я ожидал).

Я попробовал Zorin OS, будучи пользователем Windows 11 (это оказалось не тем, чего я ожидал).

Grafana Weather Dashboard on a Raspberry Pi using InfluxDB and an ESP32 - In-Depth Tutorial

Grafana Weather Dashboard on a Raspberry Pi using InfluxDB and an ESP32 - In-Depth Tutorial

How Prometheus Monitoring works | Prometheus Architecture explained

How Prometheus Monitoring works | Prometheus Architecture explained

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com