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.12.tar.gz (32.8 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.12-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cryoemmonitor-0.2.12.tar.gz
Algorithm Hash digest
SHA256 3c03a2f95da502e66038c1a3f14aad3db4ff98950fb228a68a249b28c5f8f1e8
MD5 091c16f871620b0cb0e3433b93eece3f
BLAKE2b-256 93e4281e297f3fa64ece3a35ab98ceb949de40e903c7cf5a8a1bef6e4a898cd6

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for cryoemmonitor-0.2.12-py3-none-any.whl
Algorithm Hash digest
SHA256 19f39faf3234f3495406d6ce4af0e2834a81c4925f8e8d3bdd221f4c3238ccc2
MD5 813b0473c478218c2e61e0fcdd09b671
BLAKE2b-256 b9f7b08cc297400a18c6f2f8c042833458097bd338599bd5b096885161248253

See more details on using hashes here.

Provenance

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