Sustainability Measurement Agent - A tool for collecting and analyzing sustainability metrics in cloud native enviroments.
Project description
Sustainability Measurements Agent (SMA)
SMA is an open-source tool designed to help deploy, collect and report sustainability measurements on cloud-native applications. It is not itself a measurement tool, but rather a framework to orchestrate, combine and aggregate results from emerging suite of sustainability measurement tools.
Use / Install
pip install sustainability-measurement-agent
touch main.py
import sys
from sma import SustainabilityMeasurementAgent, Config, SMAObserver
config = Config.from_file("examples/minimal.yaml")
sma = SustainabilityMeasurementAgent(config)
sma.connect()
def wait_for_user() -> None:
input("Hit Enter to to Stop Measuring...")
sma.run(wait_for_user)
sma.teardown()
report_location = config.report.get("location")
if report_location:
print(f"Report written to {report_location}")
$ python main.py
$ Hit Enter to to Stop Measuring...
Capabilities (planned)
- Configuration driven deployment and operation
- Support for multiple measurement tools
- Kepler
- Scraphandre
- cAdvisor
- KubeWatt
- Cloud Provider APIs (AWS, GCP, Azure)
- KubeMetrics
- Support for multiple scenarios
- Continuous monitoring and reporting
- Experiment Measurements / Benchmarking
- Ad-hoc measurements
- Programmatic measurements via API
- Kubernetes Operator
- Multiple report formats
- CSV
- HDF5
- Post processing and aggregation
- Pandas
- Grafana Dashboards
Contributing
Acknowledgements
This project builds upon prior work done in the OXN project, GOXN project and CLUE and is part of the research at ISE-TU Berlin.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sustainability_measurement_agent-0.1.5.tar.gz.
File metadata
- Download URL: sustainability_measurement_agent-0.1.5.tar.gz
- Upload date:
- Size: 25.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbd2e9bd9ef05eedf3837de68101ac91d6f58c935ba72aba1f037d813aaf8f3a
|
|
| MD5 |
14216dcf01d095c72d04952a1a494fff
|
|
| BLAKE2b-256 |
62c0915d6bed2e204adbbf370efa8b613050578210047fa52822a2eceaaf2937
|
Provenance
The following attestation bundles were made for sustainability_measurement_agent-0.1.5.tar.gz:
Publisher:
python-publish.yml on ISE-TU-Berlin/sustainability-measurement-agent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sustainability_measurement_agent-0.1.5.tar.gz -
Subject digest:
cbd2e9bd9ef05eedf3837de68101ac91d6f58c935ba72aba1f037d813aaf8f3a - Sigstore transparency entry: 705382262
- Sigstore integration time:
-
Permalink:
ISE-TU-Berlin/sustainability-measurement-agent@44fce5d6d8e2887f8e52ddde361b79ec2777fba3 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/ISE-TU-Berlin
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@44fce5d6d8e2887f8e52ddde361b79ec2777fba3 -
Trigger Event:
release
-
Statement type:
File details
Details for the file sustainability_measurement_agent-0.1.5-py3-none-any.whl.
File metadata
- Download URL: sustainability_measurement_agent-0.1.5-py3-none-any.whl
- Upload date:
- Size: 26.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afd9c20e9dbb5973e25184dab9bea44e9e826f31ada7afe79645d9abdfe6ccc6
|
|
| MD5 |
a406d361e6acb27cda85725c86151ea7
|
|
| BLAKE2b-256 |
fde57a19e5e04843a1482e94e3324d7345dd87f2624de3df7a647d01d29626bf
|
Provenance
The following attestation bundles were made for sustainability_measurement_agent-0.1.5-py3-none-any.whl:
Publisher:
python-publish.yml on ISE-TU-Berlin/sustainability-measurement-agent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sustainability_measurement_agent-0.1.5-py3-none-any.whl -
Subject digest:
afd9c20e9dbb5973e25184dab9bea44e9e826f31ada7afe79645d9abdfe6ccc6 - Sigstore transparency entry: 705382267
- Sigstore integration time:
-
Permalink:
ISE-TU-Berlin/sustainability-measurement-agent@44fce5d6d8e2887f8e52ddde361b79ec2777fba3 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/ISE-TU-Berlin
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@44fce5d6d8e2887f8e52ddde361b79ec2777fba3 -
Trigger Event:
release
-
Statement type: