RepositoryPythonUSHoa Kỳ
WE

weaveworks/grafanalib

Python library for building Grafana dashboards

2.0ksao
320fork
64issue
2lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: edsl

#1 Repository của tuần

4
TINIX TRENDING·Chủ đề: dashboards

#4 Repository của tuần

1
TINIX TRENDING·Chủ đề: edsl

#1 Repository của tuần

🛠️ Dashboard Grafana bằng code Python

Biến cấu hình dashboard Grafana thành Python script — version được, lặp lại dễ dàng.

grafanalib của Weave Works là thư viện Python cho phép tạo dashboard Grafana từ các script Python đơn giản thay vì thao tác thủ công trên giao diện Grafana. Phù hợp khi cần version control cấu hình dashboard hoặc tái sử dụng các pattern hiển thị phổ biến.

✨ Điểm nổi bật

  • Dashboard bằng Python: Viết cấu hình dashboard bằng code thay vì thao tác thủ công trên UI Grafana.
  • Version control: Theo dõi lịch sử thay đổi cấu hình dashboard qua Git.
  • Tái sử dụng pattern: Rút trích các pattern phổ biến thành hàm, áp dụng lặp lại cho nhiều dashboard.
  • Ví dụ minh họa sẵn: Có ví dụ dashboard với QPS graph phân tách theo status code, latency graph median và 99th percentile.
  • Xuất JSON nhanh: Chạy generate-dashboard -o frontend.json example.dashboard.py để tạo file cấu hình.
  • Hỗ trợ Python 3.6–3.11: Tương thích với nhiều phiên bản Python.

💡 Vì sao đáng chú ý

Thay vì tạo dashboard thủ công trên Grafana rồi export thủ công, grafanalib cho phép định nghĩa toàn bộ cấu hình bằng Python. Các pattern hiển thị (QPS, latency, phân tách theo status code) có thể rút trích thành hàm dùng lại cho nhiều dashboard khác nhau.

Dự án phù hợp cho team DevOps/SRE đã dùng Grafana và muốn quản lý dashboard như code — đưa vào CI/CD, review diff, rollback khi cần. Lưu ý dự án hiện không có roadmap chính thức, maintainers đang bận dự án khác nên cộng đồng được khuyến khích tham gia đóng góp.


#Grafana #Monitoring #Python #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryGo
netdata/netdata

Full-stack observability · Metrics · Logs · Traces · Flows · Topology · Infrastructure · APM · NPM · DBM · RUM · Synthetics · Cloud · AI SRE · OpenTelemetry · SNMP · NetFlow/IPFIX/sFlow · IPMI · Redfish · 2000+ integrations

81.7k
Nov 30, 2026
RepositoryGo
grafana/grafana

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.

78.4k
Nov 30, 2026
RepositoryTypeScript
koala73/worldmonitor

Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface

91.3k
Nov 29, 2026
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

212.9k
Dec 2, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026
RepositoryPython
streamlit/streamlit

Streamlit — The agent-native framework for data apps and dashboards.

46.5k
Nov 26, 2026
RepositoryPython
microsoft/markitdown

Python tool for converting files and office documents to Markdown.

199.5k
Dec 2, 2026
RepositoryPython
harry0703/MoneyPrinterTurbo

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

147.3k
Dec 1, 2026
RepositoryRust
ruvnet/RuView

π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.

105.9k
Dec 2, 2026