Grafana-agent --help
Jump to navigation
Jump to search
-server.grpc.address string gRPC server listen host:port. Takes precedence over YAML listen flags when set. (default "127.0.0.1:12346") -server.grpc.conn-limit int Maximum number of simultaneous gRPC connections (0 = unlimited) -server.grpc.enable-tls Enable TLS for the gRPC server. -server.grpc.in-memory-addr string Address used to internally make in-memory requests to the gRPC server. Override if it collides with a real URL. (default "agent.internal:12346") -server.grpc.keepalive.max-connection-age duration Maximum age for any gRPC connection for a graceful shutdown (default 2562047h47m16.854775807s) -server.grpc.keepalive.max-connection-age-grace duration Grace period to forcibly close connections after a graceful shutdown starts (default 2562047h47m16.854775807s) -server.grpc.keepalive.max-connection-idle duration Time to wait before closing idle gRPC connections (default 2562047h47m16.854775807s) -server.grpc.keepalive.min-time-between-pings duration Maximum frequency that clients may send pings at (default 5m0s) -server.grpc.keepalive.ping-without-stream-allowed Allow clients to send pings without having a gRPC stream -server.grpc.keepalive.time duration Frequency to send keepalive pings from the server (default 2h0m0s) -server.grpc.keepalive.timeout duration How long to wait for a keepalive pong before closing the connection (default 20s) -server.grpc.max-concurrent-streams uint Maximum number of concurrent gRPC streams (0 = unlimited) (default 100) -server.grpc.max-recv-msg-size-bytes int Maximum size in bytes for received gRPC messages (default 4194304) -server.grpc.max-send-msg-size-bytes int Maximum size in bytes for send gRPC messages (default 4194304) -server.grpc.network string gRPC server listen network (default "tcp") -server.http.address string HTTP server listen host:port. Takes precedence over YAML listen flags when set. (default "127.0.0.1:12345") -server.http.conn-limit int Maximum number of simultaneous HTTP connections (0 = unlimited) -server.http.enable-tls Enable TLS for the HTTP server. -server.http.idle-timeout duration HTTP server idle timeout (default 2m0s) -server.http.in-memory-addr string Address used to internally make in-memory requests to the HTTP server. Override if it collides with a real URL. (default "agent.internal:12345") -server.http.network string HTTP server listen network (default "tcp") -server.http.read-timeout duration HTTP server read timeout (default 30s) -server.http.write-timeout duration HTTP server write timeout (default 30s) -server.log.source-ips.enabled Log IP address of client for incoming requests -server.log.source-ips.header string Header field storing the source IPs. Only used if server.log-source-ips-enabled is true. Defaults to Forwarded, X-Real-IP, and X-Forwarded-For -server.log.source-ips.regex string Regex for extracting the source IPs from the matched header. The first capture group will be used for the extracted IP address. Only used if server.log-source-ips-enabled is true. -server.register-instrumentation Register the instrumentation handlers (e.g., /metrics) (default true) -version Print this build's version information.
Grafana, Grafana datasources, Grafana Alerting, Grafana installation, Grafana Labs, Grafana Changelog, Grafana logs
, docker-compose.yml (Grafana)
, Grafana Loki, Grafana Tanka, StatsD and Graphite, grafana-cli
, Loki, LogQL, Grafana Enterprise, Grafana Cloud, Grafana alerts, Amazon Grafana, Grafana OnCall, Grafana Tempo, Grafana Mimir, Grafana agent, plugins, Terraform, Grafana dashboards, /etc/grafana/grafana.ini
, Grafana Pyroscope
Advertising: