mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-18 07:56:56 +00:00
16 lines
212 B
Go
16 lines
212 B
Go
|
|
package querybuilder
|
||
|
|
|
||
|
|
import (
|
||
|
|
"os"
|
||
|
|
"strings"
|
||
|
|
)
|
||
|
|
|
||
|
|
var QBV5Enabled = false
|
||
|
|
|
||
|
|
func init() {
|
||
|
|
v := os.Getenv("ENABLE_QB_V5")
|
||
|
|
if strings.ToLower(v) == "true" || strings.ToLower(v) == "1" {
|
||
|
|
QBV5Enabled = true
|
||
|
|
}
|
||
|
|
}
|