ਨਿਗਰਾਨੀ
ਮੈਟ੍ਰਿਕਸ ਵਿਜ਼ੂਅਲਾਈਜ਼ੇਸ਼ਨ ਲਈ ਸੁੰਦਰ ਡੈਸ਼ਬੋਰਡਾਂ ਵਾਲਾ ਵਿਸ਼ਲੇਸ਼ਣ ਅਤੇ ਨਿਗਰਾਨੀ ਪਲੇਟਫਾਰਮ
Query Prometheus, InfluxDB, Elasticsearch, MySQL, PostgreSQL, CloudWatch, and 100+ more
Rich visualization library with graphs, gauges, heatmaps, tables, and custom panels
Flexible alerting with Slack, PagerDuty, email, webhooks, and more
Ad-hoc queries and log exploration with intuitive query builders
Dynamic dashboards that adapt to different environments and filters
Extensive plugin ecosystem for data sources, panels, and applications
# Add APT repository
sudo apt-get install -y apt-transport-https software-properties-common
sudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
# Install
sudo apt-get update
sudo apt-get install grafana
# Start service
sudo systemctl start grafana-server
sudo systemctl enable grafana-server
# Access at http://localhost:3000
# Default login: admin/adminDocker Installation:docker run -d --name=grafana -p 3000:3000 \
-v grafana-storage:/var/lib/grafana \
grafana/grafana-oss:latestDocker Compose (with Prometheus):version: '3'
services:
grafana:
image: grafana/grafana-oss:latest
ports:
- "3000:3000"
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_INSTALL_PLUGINS=grafana-clock-panel
volumes:
- grafana-data:/var/lib/grafana
prometheus:
image: prom/prometheus:latest
ports:
- "9090:9090"
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- prometheus-data:/prometheus
volumes:
grafana-data:
prometheus-data:
[server]
http_port = 3000
domain = grafana.yourdomain.com
root_url = https://grafana.yourdomain.com
[database]
type = postgres
host = localhost:5432
name = grafana
user = grafana
password = password
[security]
admin_user = admin
admin_password = secure_password
[smtp]
enabled = true
host = smtp.gmail.com:587
user = your-email@gmail.com
password = your-app-password
from_address = grafana@yourdomain.comAdd Prometheus Data Source (API):curl -X POST http://admin:password@localhost:3000/api/datasources \
-H "Content-Type: application/json" \
-d '{
"name": "Prometheus",
"type": "prometheus",
"url": "http://localhost:9090",
"access": "proxy",
"isDefault": true
}'Dashboard JSON (Simple CPU Dashboard):{
"dashboard": {
"title": "CPU Monitoring",
"panels": [{
"title": "CPU Usage",
"type": "graph",
"targets": [{
"expr": "100 - (avg(irate(node_cpu_seconds_total{mode=\"idle\"}[5m])) * 100)"
}]
}]
}
}Best Practices:ਸਾਡੇ ਸਧਾਰਨ VPS ਡਿਸਪਲੇਅ ਪ੍ਰਕਿਰਿਆ ਨਾਲ ਮਿੰਟਾਂ ਵਿੱਚ ਸ਼ੁਰੂ ਕਰੋ
ਲਗਭਗ2ਮਿੰਟ ਵਿੱਚ ਡਿਪੋਜ਼ਿਟ ਕਰੋ • ਪੂਰਾ ਰੂਟ ਪਹੁੰਚ • ਟਿਕਟਾਂ ਅਤੇ ਈ- ਮੇਲ ਰਾਹੀਂ ਸਹਿਯੋਗ