Skip to main content

Sustainability Measurement Agent - A tool for collecting and analyzing sustainability metrics in cloud native enviroments.

Project description

Sustainability Measurements Agent (SMA)

PyPI - Version | Upload Python Package

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

sustainability_measurement_agent-0.1.5.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file sustainability_measurement_agent-0.1.5.tar.gz.

File metadata

File hashes

Hashes for sustainability_measurement_agent-0.1.5.tar.gz
Algorithm Hash digest
SHA256 cbd2e9bd9ef05eedf3837de68101ac91d6f58c935ba72aba1f037d813aaf8f3a
MD5 14216dcf01d095c72d04952a1a494fff
BLAKE2b-256 62c0915d6bed2e204adbbf370efa8b613050578210047fa52822a2eceaaf2937

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sustainability_measurement_agent-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for sustainability_measurement_agent-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 afd9c20e9dbb5973e25184dab9bea44e9e826f31ada7afe79645d9abdfe6ccc6
MD5 a406d361e6acb27cda85725c86151ea7
BLAKE2b-256 fde57a19e5e04843a1482e94e3324d7345dd87f2624de3df7a647d01d29626bf

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page