mirror of
https://github.com/SigNoz/signoz.git
synced 2026-03-20 03:30:26 +00:00
chore: no need for Signal type in commons, only used once
This commit is contained in:
@@ -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_]*$"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user