InfluxDB: Flux - Analyze Query (Profiler): Unterschied zwischen den Versionen

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
K
Zeile 1: Zeile 1:
[[Datei:01-influxdb2 profiler.png|right|500px]]<br>
+
[[Datei:01-influxdb2 profiler.png|right|600px]]
 
+
 
''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.''
 
''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.''
  

Version vom 12. Juli 2021, 12:24 Uhr

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/