📊

ဂရပ်ဖစ်

စောင့်ကြည့်ခြင်း

မက်ထရစ်မြင်ယောင်မှုအတွက် လှပသော ဒက်ရှ်ဘုတ်များပါရှိသော ခွဲခြမ်းစိတ်ဖြာမှုနှင့် စောင့်ကြည့်ခြင်းပလက်ဖောင်း

ဖြန့်ချိမှုဆိုင်ရာ အချက်အလက်များ

ဖြန့်ကျက်ခြင်း: ၂-၅ မိနစ်
အမျိုးအစား: စောင့်ကြည့်ခြင်း
အနည်းဆုံး RAM: 512MB
ပံ့ပိုးမှု: မှတ်ပုံတင်နှင့်အီးမေးလ်

ဒီလမ်းညွှန်ကိုမျှဝေပါ

အကျဉ်းချုပ်

Grafana သည် time-series ဒေတာကို လှပပြီး အပြန်အလှန်ဆက်သွယ်နိုင်သော dashboard နှင့် visualization များအဖြစ် ပြောင်းလဲပေးသော စောင့်ကြည့်ရေးနှင့် observability အတွက် ထိပ်တန်း open-source platform ဖြစ်သည်။ Grafana သည် Prometheus၊ InfluxDB၊ Elasticsearch၊ PostgreSQL၊ MySQL၊ CloudWatch နှင့် အခြားအများအပြား data source ဒါဇင်ပေါင်းများစွာနှင့် ချိတ်ဆက်ပြီး interface တစ်ခုတည်းမှ သင်၏ metric၊ log နှင့် trace များကို query၊ visualize၊ alert နှင့် explore လုပ်ခွင့်ပေးသည်။ infrastructure၊ application၊ IoT စက်ပစ္စည်း သို့မဟုတ် စီးပွားရေး metric များကို စောင့်ကြည့်သည်ဖြစ်စေ Grafana သည် သင့်ဒေတာကို တစ်ချက်ကြည့်ဖြင့် နားလည်စေမည့် လှပသော dashboard များ ဖန်တီးရန် ကိရိယာများကို ပေးသည်။

အဓိကအင်္ဂါရပ်များ

Multi-Data Source ပံ့ပိုးမှု

Prometheus၊ InfluxDB၊ Elasticsearch၊ MySQL၊ PostgreSQL၊ CloudWatch နှင့် အခြား 100+ ကို query လုပ်ပါ

လှပသော Dashboard များ

ဂရပ်၊ ဂိတ်ဂျ်၊ ဟိတ်မက်ပ်၊ ဇယား နှင့် စိတ်ကြိုက် ပန်နယ်များပါဝင်သော ကြွယ်ဝသည့် ဗီဇွမ်လိုင်ဇေးရှင် လိုက်ဘရီ

Alerting နှင့် Notification

Slack၊ PagerDuty၊ email၊ webhook နှင့် အခြားအရာများဖြင့် ပြောင်းလွယ်ပြင်လွယ် alerting

Explore နှင့် Query

intuitive query builder များဖြင့် ad-hoc query နှင့် log စူးစမ်းခြင်း

Templating နှင့် Variable များ

မတူညီသော ပတ်ဝန်းကျင်နှင့် filter များနှင့် ကိုက်ညီအောင် ပြောင်းလဲသော dynamic dashboard များ

Plugin နှင့် Extension များ

ဒေတာအရင်းအမြစ်၊ panel နှင့် အက်ပလီကေးရှင်းများအတွက် ကျယ်ပြန့်သော ပလပ်အင် နယ်ပယ်

အသုံးပြုမှုအခြေအနေများ

• Infrastructure စောင့်ကြည့်ခြင်း (server၊ container၊ Kubernetes)
• အက်ပ်လီကေးရှင်း စွမ်းဆောင်ရည် စောင့်ကြည့်ခြင်း (APM)
• IoT နှင့် sensor ဒေတာ visualization
• စီးပွားရေး analytics နှင့် KPI dashboard များ
• Log စုစည်းခြင်းနှင့် analysis
• Network monitoring နှင့် traffic analysis
• Database စွမ်းဆောင်ရည် စောင့်ကြည့်ခြင်း

သွင်းနည်းလမ်းညွှန်

Ubuntu တွင် တပ်ဆင်ခြင်း:
# 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/admin
Docker ဖြင့် တပ်ဆင်ခြင်း:
docker run -d --name=grafana -p 3000:3000 \
  -v grafana-storage:/var/lib/grafana \
  grafana/grafana-oss:latest
Docker Compose (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:

ပြုပြင်ထိန်းသိမ်းမှု အကြံပြုချက်များ

grafana.ini ဖွဲ့စည်းမှု:
[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.com
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 (ရိုးရှင်းသော 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)"
      }]
    }]
  }
}
အကောင်းဆုံးလေ့ကျင့်မှုများ:
- dashboard များကို စုစည်းရန် folder များကို အသုံးပြုပါ
- ပြောင်းလွယ်ပြင်လွယ်ရှိစေရန် dashboard variable များကို အကောင်အထည်ဖော်ပါ
- သင့်လျော်သော threshold များဖြင့် alerting rule များကို သတ်မှတ်ပါ
- production တွင် PostgreSQL/MySQL ကို အသုံးပြုပါ (SQLite မသုံးပါနှင့်)
- reverse proxy (Nginx/Caddy) ဖြင့် HTTPS ကို ဖွင့်ပါ
- authentication ကို configure လုပ်ပါ (OAuth၊ LDAP၊ SAML)
- dashboard များနှင့် config များကို ပုံမှန် backup လုပ်ပါ
- Grafana ကိုယ်တိုင်ကို Prometheus ဖြင့် စောင့်ကြည့်ပါ

နည်းပညာဆိုင်ရာလိုအပ်ချက်များ

စနစ်လိုအပ်ချက်များ

  • မှတ်ဉာဏ်: 512RAM 1MB

ဤဆောင်းပါးကို အဆင့်သတ်မှတ်ပါ

★★★★★
-
ဖွင့်နေသည်...

သင့်အပလီကေးရှင်းကို ဖြန့်ကျက်ရန် အဆင်သင့်ဖြစ်ပြီလား။ ဂရပ်ဖစ်?

ကျွန်တော်တို့ရဲ့ရိုးရှင်းတဲ့ VPS ဖြန့်ချိလုပ်ငန်းစဉ်နှင့်အတူမိနစ်အနည်းငယ်အတွင်းစတင်

Deploy in about 2 minutes • Full root access • Support by ticket and email