Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Contribution]: Export carbon intensity to Prometheus #400

Closed
2 tasks done
tiwatsuka opened this issue Oct 9, 2023 · 4 comments · Fixed by #422
Closed
2 tasks done

[Feature Contribution]: Export carbon intensity to Prometheus #400

tiwatsuka opened this issue Oct 9, 2023 · 4 comments · Fixed by #422
Assignees

Comments

@tiwatsuka
Copy link
Contributor

What happened?

Carbon Aware SDK can provide carbon intensity data. When the data are used combined with electricity consumption of the nodes that software are running on, the carbon emission can be calculated. This can be helpful for users to building and operating carbon-aware software.

Regarding the electricity consumption, there are several means to monitor with Prometheus. (e.g. node-exporter, redfish-exporter, kepler.) So it is convenient that also Carbon Aware SDK exports carbon intensity to Prometheus. It will be enable uses to monitoring the carbon emissions of software with the popular tools.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Feature Commitment

  • I commit to contributing this feature as a PR and working with the GSF to merge this feature into the Carbon Aware SDK.
@vaughanknight
Copy link
Contributor

An interesting aspect here is to have a container, that is in a "tools" folder, which runs in the kubernetes cluster, so people can just grab it, and it emits prometheus events, and is configured with the location of the CA SDK as environment parameters (or whatever) to the container.

Promeetheus emitter pod (maybe as a daemon) --> CA SDK in a pod--> <data souce i.e. ElectricityMaps/WattTime>

This allows for 1 cluster to 1 CA SDK pod in the clust,er or Many clusters to 1 CA deployment outside the cluster

@tiwatsuka tiwatsuka mentioned this issue Nov 26, 2023
6 tasks
@Sophietn Sophietn moved this to Blocked in Carbon Aware SDK Nov 28, 2023
@Sophietn
Copy link
Contributor

Blocked until #404 is done (.NET 8.0)

Copy link
Contributor

This issue has not had any activity in 120 days. Please review this issue and ensure it is still relevant. If no more activity is detected on this issue for the next 20 days, it will be closed automatically.

@github-actions github-actions bot added the stale label Mar 28, 2024
Copy link
Contributor

This issue has not had any activity for too long. If you believe this issue has been closed in error, please contact an administrator to re-open, or if absolutly relevant and necessary, create a new issue referencing this one.

@github-project-automation github-project-automation bot moved this from Blocked to Done in Carbon Aware SDK Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants