**What this PR does / why we need it**:
This is a small update to dskit that includes
https://github.com/grafana/dskit/pull/406 which will allow us to
intercept gRPC request in call clients.
**Checklist**
- [ ] Reviewed the
[`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md)
guide (**required**)
- [ ] Documentation added
- [ ] Tests updated
- [ ] `CHANGELOG.md` updated
- [ ] If the change is worth mentioning in the release notes, add
`add-to-release-notes` label
- [ ] Changes that require user attention or interaction to upgrade are
documented in `docs/sources/setup/upgrade/_index.md`
- [ ] For Helm chart changes bump the Helm chart version in
`production/helm/loki/Chart.yaml` and update
`production/helm/loki/CHANGELOG.md` and
`production/helm/loki/README.md`. [Example
PR](d10549e3ec)
---------
Co-authored-by: Michel Hollands <42814411+MichelHollands@users.noreply.github.com>
f.DurationVar(&cfg.GRPCServerTimeout,"server.grpc.keepalive.timeout",time.Second*20,"After having pinged for keepalive check, the duration after which an idle connection should be closed, Default: 20s")
f.DurationVar(&cfg.GRPCServerTimeout,"server.grpc.keepalive.timeout",time.Second*20,"After having pinged for keepalive check, the duration after which an idle connection should be closed, Default: 20s")
f.DurationVar(&cfg.GRPCServerMinTimeBetweenPings,"server.grpc.keepalive.min-time-between-pings",5*time.Minute,"Minimum amount of time a client should wait before sending a keepalive ping. If client sends keepalive ping more often, server will send GOAWAY and close the connection.")
f.DurationVar(&cfg.GRPCServerMinTimeBetweenPings,"server.grpc.keepalive.min-time-between-pings",5*time.Minute,"Minimum amount of time a client should wait before sending a keepalive ping. If client sends keepalive ping more often, server will send GOAWAY and close the connection.")
f.BoolVar(&cfg.GRPCServerPingWithoutStreamAllowed,"server.grpc.keepalive.ping-without-stream-allowed",false,"If true, server allows keepalive pings even when there are no active streams(RPCs). If false, and client sends ping when there are no active streams, server will send GOAWAY and close the connection.")
f.BoolVar(&cfg.GRPCServerPingWithoutStreamAllowed,"server.grpc.keepalive.ping-without-stream-allowed",false,"If true, server allows keepalive pings even when there are no active streams(RPCs). If false, and client sends ping when there are no active streams, server will send GOAWAY and close the connection.")
f.IntVar(&cfg.GRPCServerNumWorkers,"server.grpc.num-workers",0,"If non-zero, configures the amount of GRPC server workers used to serve the requests.")
f.StringVar(&cfg.PathPrefix,"server.path-prefix","","Base path to serve all API routes from (e.g. /v1/)")
f.StringVar(&cfg.PathPrefix,"server.path-prefix","","Base path to serve all API routes from (e.g. /v1/)")
f.StringVar(&cfg.LogFormat,"log.format",log.LogfmtFormat,"Output log messages in the given format. Valid formats: [logfmt, json]")
f.StringVar(&cfg.LogFormat,"log.format",log.LogfmtFormat,"Output log messages in the given format. Valid formats: [logfmt, json]")