You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
listenAddress=flag.String("web.listen-address", ":9108", "Address to listen on for web interface and telemetry.")
21
23
metricsPath=flag.String("web.telemetry-path", "/metrics", "Path under which to expose metrics.")
22
24
esURI=flag.String("es.uri", "http://localhost:9200", "HTTP API address of an Elasticsearch node.")
@@ -26,9 +28,15 @@ func main() {
26
28
esCA=flag.String("es.ca", "", "Path to PEM file that conains trusted CAs for the Elasticsearch connection.")
27
29
esClientPrivateKey=flag.String("es.client-private-key", "", "Path to PEM file that conains the private key for client auth when connecting to Elasticsearch.")
28
30
esClientCert=flag.String("es.client-cert", "", "Path to PEM file that conains the corresponding cert for the private key to connect to Elasticsearch.")
31
+
showVersion=flag.Bool("version", false, "Show version and exit")
0 commit comments