Skip to main content

Electron Microscope monitoring system using prometheus

Project description

CI Coverage

License

cryoem-monitor

Electron Microscope Monitoring System using Prometheus with an Visualisation using Grafana Endpoint

Source https://github.com/DiamondLightSource/cryoem-monitor
Releases https://github.com/DiamondLightSource/cryoem-monitor/releases
from cryoem_monitor import __version__

print(f"Hello cryoem_monitor {__version__}")

Run FastAPI Server

Before you create the FastAPI server, export the path variable where the XML file from the EM is stored.

export ${PATH_VARIABLE}
fastapi run src/cryoem_monitor/server/prometheus.py

Run Diagnostic Data Collection

  • XML_file_path is where you have HealthMonitor Data setup (It should be the same as the ${PATH_VARIABLE})
  • Sever port is the link to the FastAPI prometheus server which is interfaced with
cryoem_monitor.run --path ${XML_file_path} --server ${server_port}

Export Base Grafana Template

  • This creates a base Grafana Dashboard JSON file that can be imported containing all Parameters
cryoem_monitor.graf-export --device ${EM_device_name}

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

cryoemmonitor-0.2.10.tar.gz (32.5 kB view details)

Uploaded Source

Built Distribution

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

cryoemmonitor-0.2.10-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file cryoemmonitor-0.2.10.tar.gz.

File metadata

  • Download URL: cryoemmonitor-0.2.10.tar.gz
  • Upload date:
  • Size: 32.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cryoemmonitor-0.2.10.tar.gz
Algorithm Hash digest
SHA256 cfe67fcf7f14ad128590c7d603bcd976f61d8b8979fb082edca795bb1a282fad
MD5 bace87fa01f32f1abed21630b6efde38
BLAKE2b-256 9bc58e68cb5c1af8e9749e23496e5213d0a1750c5c3e155f027d4ebe5c08b67d

See more details on using hashes here.

Provenance

The following attestation bundles were made for cryoemmonitor-0.2.10.tar.gz:

Publisher: ci.yml on DiamondLightSource/cryoem-monitor

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

File details

Details for the file cryoemmonitor-0.2.10-py3-none-any.whl.

File metadata

  • Download URL: cryoemmonitor-0.2.10-py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cryoemmonitor-0.2.10-py3-none-any.whl
Algorithm Hash digest
SHA256 847988e2947b2fc1a231fa3d0b0f0874cc246a3b852791cc9331d4d65acc0acd
MD5 1e163f221cb3f5408b9ce22c341f19f0
BLAKE2b-256 ecaef8fb776586ca97a0d266d74ae88100c1860127f6c2686fb1f409d1ddc50a

See more details on using hashes here.

Provenance

The following attestation bundles were made for cryoemmonitor-0.2.10-py3-none-any.whl:

Publisher: ci.yml on DiamondLightSource/cryoem-monitor

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