chore: no need for Signal type in commons, only used once

This commit is contained in:
Naman Verma
2026-03-18 13:05:32 +05:30
parent 1e279e6193
commit c950d7e784
2 changed files with 1 additions and 4 deletions

View File

@@ -1,8 +1,5 @@
package common
// Signal is the telemetry signal type for a builder query.
#Signal: "metrics" | "logs" | "traces"
// QueryName is a valid identifier for a query (e.g., "A", "B1", "my_query").
#QueryName: =~"^[A-Za-z][A-Za-z0-9_]*$"

View File

@@ -6,7 +6,7 @@ import "github.com/signoz/signoz/schemas/common"
kind: "SigNozBuilderQuery"
spec: close({
name: common.#QueryName
signal: common.#Signal
signal: "metrics" | "logs" | "traces"
expression: string
disabled?: bool | *false