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.11.tar.gz (32.6 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.11-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cryoemmonitor-0.2.11.tar.gz
  • Upload date:
  • Size: 32.6 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.11.tar.gz
Algorithm Hash digest
SHA256 4bb83b26667c41e6126e4488cff1ca1f1c3d47d96ac4e27a607378016f4791d8
MD5 b3bd65d212d15a6512a73de6bcc11307
BLAKE2b-256 c84e9e009aa50cc29b2f9a3abf52a3edf1d098d55b3987c5bd09acfecb20a20f

See more details on using hashes here.

Provenance

The following attestation bundles were made for cryoemmonitor-0.2.11.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.11-py3-none-any.whl.

File metadata

  • Download URL: cryoemmonitor-0.2.11-py3-none-any.whl
  • Upload date:
  • Size: 22.3 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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 66c7b11c047df6799c432b59c347334e65fa28b4069913b251baa2ef45668703
MD5 517611862b0f9d5d3a8667b43dad2878
BLAKE2b-256 4a382ab75c87876326b9295b28b855e0d0fb007eea9121e1f163c7efbd8e9e45

See more details on using hashes here.

Provenance

The following attestation bundles were made for cryoemmonitor-0.2.11-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