InfluxDB: Flux - Analyze Query (Profiler)

Aus Wiki-WebPerfect
Version vom 12. Juli 2021, 12:24 Uhr von Admin (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
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/