admin管理员组文章数量:1124550
I am working with grafana and am trying to allow a user to display a select number of fields/measurements to display.
I can do
from(bucket:"my-bucket")
|> range(...)
|> map(fn: (r) => ({
_value: r._measurement +":" + r._field
})
|> unique()
However, I don't like the idea of querying everything ideally I want to use
schema.measurements(bucket:"my-bucket")
and schema.fieldKeys(bucket:"my-bucket", measurement:<measure>)
but I can't figure out how to "chain" them together
本文标签: influxdbInflux Db Flux query to return all field values for every measurementStack Overflow
版权声明:本文标题:influxdb - Influx Db Flux query to return all _field values for every measurement - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736638455a1945936.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论