path
fun path(path: String, url: String, username: String? = null, password: String? = null, labels: Map<String, String> = emptyMap()): EmbeddedAgentConfig.Builder(source)
Has the agent scrape the target at url, served to Prometheus at the proxy's path. A username and password are sent as Basic Auth; they're percent-encoded into the URL, which then mustn't carry credentials of its own. Both empty means none.