samber / chartjs-plugin-datasource-prometheus

📊 Chart.js plugin for Prometheus
https://www.npmjs.com/package/chartjs-plugin-datasource-prometheus
MIT License
107 stars 20 forks source link

Why this code doesn't display graphic ? #44

Closed elderwann closed 3 months ago

elderwann commented 3 months ago

Hello, thank you for nice tutorial, I try to apply it but the result in not perfect. The context :

Flask server & Prometheus works perfectly.

I want to import data into chartjs html page from prometheus (using chartjs-plugin-datasource-prometheus). Here is the code :

`

<!DOCTYPE html>

H M I

Tool

`

Thank for your help.

elderwann commented 3 months ago

Ok, I strongly suppose the .js file are the cause of my problem. So how can I change this :

`

Githubissues.
  • Githubissues is a development platform for aggregating issues.