• Miek Gieben's avatar
    Overloaded (#1364) · 48059a6c
    Miek Gieben authored
    * plugin/health: add 'overloaded metrics'
    
    Query our on health endpoint and record (and export as a metric) the
    time it takes. The Get has a 5s timeout, that, when reached, will set
    the metric duration to 5s. The actually call "I'm I overloaded" is left
    to an external entity.
    
    * README
    
    * golint and govet
    
    * and the tests
    48059a6c
setup.go 1.54 KB