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.
docker build -t electricitymap_exporter:latest .
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
The carbon_intensity_fr
should be available in Prometheus.