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

Struct Processor

modules/generator/processor/spanmetrics/spanmetrics.go:30–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28)
29
30type Processor struct {
31 Cfg Config
32
33 registry registry.Registry
34
35 spanMetricsCallsTotal registry.Counter
36 spanMetricsDurationSeconds registry.Histogram
37 spanMetricsSizeTotal registry.Counter
38 spanMetricsTargetInfo registry.Gauge
39
40 filter *spanfilter.SpanFilter
41 filteredSpansCounter prometheus.Counter
42 invalidUTF8Counter prometheus.Counter
43 sanitizeCache reclaimable.Cache[string, string]
44
45 // for testing
46 now func() time.Time
47}
48
49func New(cfg Config, reg registry.Registry, filteredSpansCounter, invalidUTF8Counter prometheus.Counter) (gen.Processor, error) {
50 var configuredIntrinsicDimensions []string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected