Open stefan-b-b opened 1 year ago
the dashboard is created in Grafana , so not sure how you would use it in HA directly. Generically, i think you would have to run the docker container somewhere (on a machine or in kubernetes) and then somehow expose the prometheus scrape endpoint to whatever is collecting the metrics in HA. The easier way might be to just implement something directly for HA using my exporter as a guide/starting point.
hi thanks. I got a grafana server but still struggle to get the stuff into the datasource? Any help on this ?
Stefan Burri | Mobile +41 76 564 44 49
On 25 Nov 2022 at 20:45 +0200, brendanobra @.***>, wrote:
the dashboard is created in Grafana , so not sure how you would use it in HA directly. Generically, i think you would have to run the docker container somewhere (on a machine or in kubernetes) and then somehow expose the prometheus scrape endpoint to whatever is collecting the metrics in HA. The easier way might be to just implement something directly for HA using my exporter as a guide/starting point.
— Reply to this email directly, view it on GitHubhttps://github.com/brendanobra/ecoflow-prometheus-exporter/issues/1#issuecomment-1327784736, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANRRGQEJITWBN76NW7J575LWKECNRANCNFSM6AAAAAASKIO3OM. You are receiving this because you authored the thread.Message ID: @.***>
There are alot of things here, sorry (I'll give it a try). Are you running in kubernetes (with grafana and the docker container?) If you are , then (depending on kubernetes version), you'd need to make sure prometheus is setup correctly (probably using the operator). If you are NOT running in kubernetes, then I can only guess that you would need to add some sort of datasource to grafana and configure it to access the collector docker container (assuming you are using it) to be scraped by grafana. If your end goal is to us HA, it will probably just be easier to use my code as a starting point and integrate directly with HA. I use grafana because I run a kubernetes cluster at home (and use kubernetes for production things in my day job), so it's convenient for me. If i did not, i would probably just integrate directly with Home Assistant.
Hi Brendan - Thanks for this great manual for the setup of Docker. Are you able to share how to create the dashboard? I am struggling to use the Data in Home assistant. Your help is really appreciated. Thanks.