Proxy
constructor(options: ProxyOptions, proxyPort: Int = options.proxyPort, inProcessServerName: String = "", testMode: Boolean = false, initBlock: Proxy.() -> Unit? = null)(source)
Parameters
options
Configuration options for the proxy, typically loaded from command line or config files
proxy Port
Port for the HTTP service that Prometheus scrapes. Defaults to value in options.
in Process Server Name
Optional in-process server name for testing scenarios. When specified, the proxy will create an in-process gRPC server instead of a network server.
test Mode
Whether to run in test mode. Test mode may disable certain features or use different defaults suitable for testing environments.
init Block
Optional initialization block executed after construction but before startup. Useful for custom configuration or testing setup.