Skip to content

Commit

Permalink
ruler: Register custom discovery config (#10043)
Browse files Browse the repository at this point in the history
Signed-off-by: Arve Knudsen <[email protected]>
  • Loading branch information
aknuds1 authored Nov 29, 2024
1 parent 37d5e00 commit c0d7a20
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/ruler/service_discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ const (
mechanismName = "dns_sd"
)

func init() {
discovery.RegisterConfig(dnsServiceDiscovery{})
}

type dnsServiceDiscovery struct {
refreshMetrics discovery.RefreshMetricsInstantiator

Expand Down

0 comments on commit c0d7a20

Please sign in to comment.