Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.16 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.16 KB

cmsweb-exporters

This repository contains collection of prometheus exporters for various cmsweb data-services. So far we have implementation for das2go and WMCore exporters. The former is based on gopsutil metrics available in das2go code. The later is based on metrics available in wmcore code.

The exporters are written in Go language and we can build and call them as following:

# build das2go exporter
go build das2go_exporter.go

# call das2go exporter, default port 7200
das2go_exporter -uri https://host.cern.ch/das/status

# build wmcore exporter
go build wmcore_exporter.go

# call wmcore exporter, replace app with your favorite WMCore data-services
# e.g. dbs or reqmgr2, default port 7300
wmcore_exporter -uri https://host.cern.ch/app/status -namespace app

# build process_exporter to monitor specific PID
go build process_exporter.go

# call process_exporter
process_exporter -pid <PID> -prefix <my_favorite_process>

References

  1. Prometheus setup