Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: grafana/alloy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 47650ee9b33e2740a3e9c6d9fd2a62f00333ca45
Choose a base ref
..
head repository: grafana/alloy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e864cc2bba5efc80700d9bdd619f1210bf946bec
Choose a head ref
Showing with 14 additions and 13 deletions.
  1. +14 −13 internal/component/prometheus/relabel/relabel.go
27 changes: 14 additions & 13 deletions internal/component/prometheus/relabel/relabel.go
Original file line number Diff line number Diff line change
@@ -72,19 +72,20 @@ type Exports struct {

// Component implements the prometheus.relabel component.
type Component struct {
mut sync.RWMutex
opts component.Options
mrc []*relabel.Config
receiver *prometheus.Interceptor
metricsProcessed prometheus_client.Counter
metricsOutgoing prometheus_client.Counter
cacheHits prometheus_client.Counter
cacheMisses prometheus_client.Counter
cacheSize prometheus_client.Gauge
cacheDeletes prometheus_client.Counter
fanout *prometheus.Fanout
exited atomic.Bool
ls labelstore.LabelStore
mut sync.RWMutex
opts component.Options
mrc []*relabel.Config
receiver *prometheus.Interceptor
metricsProcessed prometheus_client.Counter
metricsOutgoing prometheus_client.Counter
cacheHits prometheus_client.Counter
cacheMisses prometheus_client.Counter
cacheSize prometheus_client.Gauge
cacheDeletes prometheus_client.Counter
fanout *prometheus.Fanout
exited atomic.Bool
ls labelstore.LabelStore

debuggingStreamHandler livedebugging.DebugStreamHandler

cacheMut sync.RWMutex