Versions in this module Expand all Collapse all v0 v0.3.0 Feb 14, 2019 v0.2.0 Jan 21, 2019 Changes in this version + type LatencyReport struct + Endpoint string + Target Target + TimeTaken time.Duration + URL string + func NewLatencyReport(endpoint string, duration time.Duration, url string, target Target) LatencyReport + type Reporter struct + func NewMetricsReporter(reportMetrics bool, serveOnPort int) *Reporter + func (r *Reporter) IncrementCacheHits() + func (r *Reporter) IncrementTotalRequests() + func (r *Reporter) ObserveLatency(serviceID string, l LatencyReport) error + func (r *Reporter) ReportMetrics(serviceID string, l LatencyReport, s StatusReport) + func (r *Reporter) ReportStatus(serviceID string, s StatusReport) error + func (r *Reporter) Serve() + type StatusReport struct + Code int + Endpoint string + Target Target + URL string + func NewStatusReport(endpoint string, code int, url string, target Target) StatusReport + type Target string + const Backend + const System