port: HTTP port for the server (default:9090).
Endpoints
metricsServer() serves four HTTP endpoints on the configured port. They are all also useful for ad-hoc inspection with curl.
Custom metrics
Register counters, gauges, histograms, and summaries viactx.metrics in whole-pipe transformers, targets, or when consuming the pipe as an async iterator. See the Metrics guide.