Giter Site home page Giter Site logo

sidoruka / cromwell-monitor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from broadinstitute/cromwell-monitor-deprecated

0.0 1.0 1.0 38 KB

Generate stats for Cromwell task calls including resource utilization & estimated costs

Dockerfile 5.17% WDL 12.49% Python 82.34%

cromwell-monitor's Introduction

Cromwell task monitor

This repo contains code for monitoring resource utilization in Cromwell tasks running on Google Genomics Pipelines API v2alpha1.

The monitoring script is indended to be used through a Docker image (as part of an associated "monitoring action"), currently built as quay.io/broadinstitute/cromwell-monitor.

It uses psutil to continuously measure CPU, memory and disk utilization and disk IOPS, and periodically report them as distinct metrics to Stackdriver Monitoring API.

The labels for each time point contain

  • Cromwell-specific values, such as workflow ID, task call name, index and attempt.
  • GCP instance values such as instance name, zone, number of CPU cores, total memory and disk size.

This approach enables:

  1. Users to easily plot real-time resource usage statistics across all tasks in a workflow, or for a single task call across many workflow runs, etc.

    This can be very powerful to quickly determine the outlier tasks that could use optimization, without the need for any configuration or code.

  2. Scripts to easily get aggregate statistics on resource utilization and to produce suggestions based on those.

TestMonitoring.wdl can be used to verify that the monitoring action/container is working as intended.

cromwell-monitor's People

Contributors

dinvlad avatar sidoruka avatar ekazachkova avatar

Watchers

James Cloos avatar

Forkers

ekazachkova

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.