Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

fix(alert): added querier v5 in test notify (#8749)

aniketio-ctrl8e5cb9046d26
diff --git a/pkg/query-service/rules/manager.go b/pkg/query-service/rules/manager.go
index c9ff9923b2..341bac7429 100644
--- a/pkg/query-service/rules/manager.go
+++ b/pkg/query-service/rules/manager.go
@@ -971,7 +971,9 @@ func (m *Manager) TestNotification(ctx context.Context, orgID valuer.UUID, ruleS
RuleStore: m.ruleStore,
MaintenanceStore: m.maintenanceStore,
Logger: m.logger,
+ SLogger: m.opts.SLogger,
Reader: m.reader,
+ Querier: m.opts.Querier,
Cache: m.cache,
ManagerOpts: m.opts,
NotifyFunc: m.prepareTestNotifyFunc(),