Skip to content

insomniacslk/prometheus-pun-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prometheus-pun-exporter

This is a prometheus exporter for PUN values. PUN is Prezzo Unico Nazionale, the single national price for electricity in Italy. This exporter requires the companion service punapi, that gets the PUN information from mercatoelettrico.org's XML files. punapi requires Chrome headless, so you may want to run it on a different host than the exporter.

It exports one metric:

  • mercatoelettrico_pun, a gauge with the value of the hour for one MWh of electricity
  • mercatoelettrico_pun_monthly_average, a gauge with the monthly average of all the PUN values of the requested month

Run it

go build
./prometheus-pun-exporter -A http://your-punapi-endpoint

About

Print power usage and cost, using TP-Links Tapo P110's energy metrics from insomniacslk/prometheus-tapo-exporter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages