Skip to content

Exporter to create carbon intensity metric for France in Prometheus ⚡️🌱

Notifications You must be signed in to change notification settings

airKlizz/electricitymap_prometheus_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electricitymap Prometheus Exporter

Exporter to create carbon intensity metric for France in Prometheus ⚡️🌱

It uses the electricitymap api.

The api token is expected in the AUTH_TOKEN env variable.

Build image

docker build -t electricitymap_exporter:latest .

Deploy in Kubernetes

kubectl create namespace observability
kubectl create secret -n observability generic electricitymap-exporter-secret --from-literal=AUTH_TOKEN=<token>
kubectl apply -f electricitymap_exporter/kube.yaml

Metric

The carbon_intensity_fr should be available in Prometheus.

About

Exporter to create carbon intensity metric for France in Prometheus ⚡️🌱

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published