**What this PR does / why we need it**:
In particular, dskit has changed the SpanLogger struct such that all
fields are unexported. This updates Loki to work with the new version
while preserving the existing Loki behavior.
**Which issue(s) this PR fixes**:
N/A
**Special notes for your reviewer**:
Required for Mimir vendor update job in `backend-enterprise` because
Reasons.
**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)
---------
Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>
f.DurationVar(&cfg.HTTPServerIdleTimeout,"server.http-idle-timeout",120*time.Second,"Idle timeout for HTTP server")
f.IntVar(&cfg.GPRCServerMaxRecvMsgSize,"server.grpc-max-recv-msg-size-bytes",4*1024*1024,"Limit on the size of a gRPC message this server can receive (bytes).")
f.IntVar(&cfg.GRPCServerMaxSendMsgSize,"server.grpc-max-send-msg-size-bytes",4*1024*1024,"Limit on the size of a gRPC message this server can send (bytes).")
f.UintVar(&cfg.GPRCServerMaxConcurrentStreams,"server.grpc-max-concurrent-streams",100,"Limit on the number of concurrent streams for gRPC calls (0 = unlimited)")
f.UintVar(&cfg.GPRCServerMaxConcurrentStreams,"server.grpc-max-concurrent-streams",100,"Limit on the number of concurrent streams for gRPC calls per client connection (0 = unlimited)")
f.DurationVar(&cfg.GRPCServerMaxConnectionIdle,"server.grpc.keepalive.max-connection-idle",infinty,"The duration after which an idle connection should be closed. Default: infinity")
f.DurationVar(&cfg.GRPCServerMaxConnectionAge,"server.grpc.keepalive.max-connection-age",infinty,"The duration for the maximum amount of time a connection may exist before it will be closed. Default: infinity")
f.DurationVar(&cfg.GRPCServerMaxConnectionAgeGrace,"server.grpc.keepalive.max-connection-age-grace",infinty,"An additive period after max-connection-age after which the connection will be forcibly closed. Default: infinity")