Slackbot
02/16/2023, 12:14 PMVishal Sharma
02/16/2023, 2:33 PMAnkit Nayan
Ankit Nayan
Ankit Nayan
Srikanth Chekuri
02/16/2023, 4:37 PM{{.SIGNOZ_START_TIME}}
and {{.SIGNOZ_END_TIME}}
for dashboards. This is in millis so you need to make sure the types match by transforming it. We haven’t documented this because there is no consistent way to work with time values in the system.Harshith.R.S
02/17/2023, 7:34 AMSrikanth Chekuri
02/17/2023, 8:02 AMexample I want these values to change based on the time dropdownWhich values are you referring to? There are dropdown values and panel values, all are coming from the ClickHouse. It’s not obvious which ones are you talking about.
Harshith.R.S
02/17/2023, 8:13 AMSrikanth Chekuri
02/17/2023, 10:14 AMHarshith.R.S
02/17/2023, 10:22 AMSrikanth Chekuri
02/17/2023, 10:25 AMHarshith.R.S
02/17/2023, 10:38 AMSelect avg(durationNano)/1000000 from signoz_traces.signoz_index_v2
Srikanth Chekuri
02/17/2023, 11:49 AMSELECT
avg(durationNano) / 1000000
FROM signoz_traces.signoz_index_v2
WHERE timestamp >= toDateTime({{.SIGNOZ_START_TIME}} / 1e3) AND timestamp <= toDateTime({{.SIGNOZ_END_TIME}} / 1e3)
The / 1e3
exists because the global filter timestamp is in millis precision in the request.Harshith.R.S
02/17/2023, 11:50 AM