Skip to content

Commit

Permalink
Fix header propagation in PromRemoteWriteSink (#98) (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
dariuspie committed Feb 5, 2024
1 parent 098e4ac commit 6619f6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exporter/sinks/prom.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import (
"strconv"
"time"

"github.com/castai/promwrite"
"github.com/sirupsen/logrus"
"inet.af/netaddr"

"github.com/castai/egressd/exporter/config"
"github.com/castai/egressd/pb"
"github.com/castai/promwrite"
)

type promWriter interface {
Expand All @@ -25,6 +25,7 @@ func NewPromRemoteWriteSink(log logrus.FieldLogger, sinkName string, cfg config.
}),
client: promwrite.NewClient(cfg.URL),
timeGetter: timeGetter,
cfg: cfg,
}
}

Expand Down

0 comments on commit 6619f6b

Please sign in to comment.