ojob.io/httpServers/MetricsHTTPd

Usage

ojob ojob.io/httpServers/MetricsHTTPd port=12345 host=0.0.0.0 self=false 

Description

Creates a quick echo server for testing, with /metrics, that will output the request received and send as plain text back to the sender.

Expects

Name Description
port The port where the echo server will be listening for requests (defaults to 12345)
host To which host/listeners the echo server will be attached (defaults to 0.0.0.0)
self If self=false the echo server won't provided information about itself (defaults to true)