Browse Source

fix docker-compose

main
matthew 2 years ago
parent
commit
600aa424a1
  1. 2
      searching-front/services/modules/influxdb/helpers.ts

2
searching-front/services/modules/influxdb/helpers.ts

@ -37,7 +37,7 @@ export const influxQuery = (field: InfluxField, fetchPeriod: InfluxPeriod) => {
|> filter(fn: (r) => r["host"] == "${influxHost}") |> filter(fn: (r) => r["host"] == "${influxHost}")
|> filter(fn: (r) => r["_field"] == "${field}") |> filter(fn: (r) => r["_field"] == "${field}")
|> filter(fn: (r) => r["_measurement"] == "${influxPointName}") |> filter(fn: (r) => r["_measurement"] == "${influxPointName}")
|> aggregateWindow(every: ${period}, fn: mean, createEmpty: false) |> aggregateWindow(every: ${period}, fn: last, createEmpty: false)
|> yield(name: "last")` |> yield(name: "last")`
return query return query

Loading…
Cancel
Save