InfluxDB: Flux - Analyze Query (Profiler)

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
01-influxdb2 profiler.png

The Flux Profiler package provides performance profiling tools for Flux queries and operations. Each enabled profiler appends a table to the output stream of tables containing data returned by the profiler.

import "profiler"
option profiler.enabledProfilers = ["query", "operator"]

...<your query>...


More information's: https://docs.influxdata.com/influxdb/cloud/reference/flux/stdlib/profiler/