mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-06-04 11:25:52 +08:00

* feat: added license manager and feature flags * feat: completed org domain api * chore: checking in saml auth handler code * feat: added signup with sso * feat: added login support for admins * feat: added pem support for certificate * ci(build-workflow): 👷 include EE query-service * fix: 🐛 update package name * chore(ee): 🔧 LD_FLAGS related changes Signed-off-by: Prashant Shahi <prashant@signoz.io> Co-authored-by: Prashant Shahi <prashant@signoz.io> Co-authored-by: nityanandagohain <nityanandagohain@gmail.com>
22 lines
652 B
Go
22 lines
652 B
Go
package rules
|
|
|
|
import (
|
|
"github.com/ClickHouse/clickhouse-go/v2"
|
|
pqle "go.signoz.io/signoz/pkg/query-service/pqlEngine"
|
|
)
|
|
|
|
// Queriers register the options for querying metrics or event sources
|
|
// which return a condition that results in a alert. Currently we support
|
|
// promql engine and clickhouse queries but in future we may include
|
|
// api readers for Machine Learning (ML) use cases.
|
|
// Note: each rule will pick up the querier it is interested in
|
|
// and use it. This allows rules to have flexibility in choosing
|
|
// the query engines.
|
|
type Queriers struct {
|
|
// promql engine
|
|
PqlEngine *pqle.PqlEngine
|
|
|
|
// metric querier
|
|
Ch clickhouse.Conn
|
|
}
|