{"repo":"samber/chartjs-plugin-datasource-prometheus","free":true,"listed":false,"github":"https://github.com/samber/chartjs-plugin-datasource-prometheus","clone":"git clone https://github.com/samber/chartjs-plugin-datasource-prometheus.git","description":"📊 Chart.js plugin for Prometheus","language":"TypeScript","stars":123,"topics":["chartjs","graph","chartjs-plugin","datasource","grafana","plugin","prometheus","query","javascript","timeseries"],"license":"MIT","category":"analytics","readme_excerpt":"Welcome to chartjs-plugin-datasource-prometheus 👋 A Prometheus datasource for ChartJS. Sponsored by: 100% OpenTelemetry-native observability platform Simple to use, built on open standards, and designed for full cost control Dependencies: - requires chart.js 4.0 or later. - requires a chart.js date provider to be registered, one of: - chartjs-adapter-date-fns - chartjs-adapter-moment - chartjs-adapter-luxon - if unsure, chartjs-adapter-date-fns is a good pick - requires prometheus-query 3.0 or later. Demonstration: https://samber.github.io/chartjs-plugin-datasource-prometheus/example/ I would be happy to add links to charts using this library. Feel free to reach me by creating an issue ;) ✨ Features - Loads time-series from Prometheus into Chart.js. - Similar to Grafana , but ported to Chart.js for public-facing web applications. - UMD compatible , you can use it with any module loader - Have been tested with line chart and (stacked) bar chart . The library should be compatible with more chart types. - Graph auto-refresh - Date interval can be absolute or relative to now - Multiple Prometheus queries into the same chart - Stacked series - Custom backend requests (useful for multitenant apps) - Hooks available (styling, labeling, data presentation...) - Custom chart messages for errors or empty Prometheus responses - Break or continuous lines when gap in data - Line styling - Send queries with your own Prometheus driver ⚠️ This project is not intended to replace Grafana. For ","default_branch":null,"files":null,"tree":[],"storefront":"/r/samber","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/samber/chartjs-plugin-datasource-prometheus/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}