MCPcopy
hub / github.com/grafana/tempo / toPrometheusAgentOptions

Method toPrometheusAgentOptions

modules/generator/storage/config.go:77–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75}
76
77func (a *agentOptions) toPrometheusAgentOptions() *agent.Options {
78 return &agent.Options{
79 WALSegmentSize: a.WALSegmentSize,
80 WALCompression: a.WALCompression,
81 StripeSize: a.StripeSize,
82 TruncateFrequency: a.TruncateFrequency,
83 MinWALTime: a.MinWALTime,
84 MaxWALTime: a.MaxWALTime,
85 NoLockfile: a.NoLockfile,
86 }
87}

Callers 1

NewFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected