Skip to content

inutano/cwl-metrics-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CWL-metrics client

CWL-metrics is a framework to collect and analyze computational resource usage of workflow runs based on the Common Workflow Language (CWL). CWL-metrics client offers an easy access to the elasticsearch server that stores metrics and workflow metadata.

How to use

Easiest way to access your elasticsearch server of CWL-spec is to use cwl-metrics fetch command bundled in the CWL-metrics. See github pages for details.

Docker container is also available via quay.io.

$ cwl-metrics status
cwl-metrics is running.

# When the ES is running on the same host
$ docker run -it --rm --network=host quay.io/inutano/cwl-metrics-client:latest json

# When the ES is running somewhere else (meaning not on localhost)
$ docker run -it --rm -e ES_HOST=$ES_HOST -e ES_PORT=$ES_PORT quay.io/inutano/cwl-metrics-client:latest json

# Output tsv
docker run -it --rm --network=host quay.io/inutano/cwl-metrics-client:latest tsv