@@ -502,21 +502,27 @@ flightrec
502
502
503
503
Configuring ``flightrec `` parameters is available in the `Enterprise Edition <https://www.tarantool.io/compare/ >`_ only.
504
504
505
-
506
505
The ``flightrec `` section describes options related to the :ref: `flight recorder <enterprise-flight-recorder >` configuration.
507
- Note that all options are dynamic and can be changed at runtime.
508
506
509
507
.. NOTE ::
510
508
511
509
``flightrec `` can be defined in any :ref: `scope <configuration_scopes >`.
512
510
513
- To enable flight recorder, set the ``flightrec.enabled `` option to ``true`.
511
+ * :ref: `flightrec.enabled <configuration_reference_flightrec_enabled >`
512
+ * :ref: `flightrec.logs_size <configuration_reference_flightrec_logs_size >`
513
+ * :ref: `flightrec.logs_max_msg_size <configuration_reference_flightrec_logs_max_msg_size >`
514
+ * :ref: `flightrec.logs_log_level <configuration_reference_flightrec_logs_log_level >`
515
+ * :ref: `flightrec.metrics_period <configuration_reference_flightrec_metrics_period >`
516
+ * :ref: `flightrec.metrics_interval <configuration_reference_flightrec_metrics_interval >`
517
+ * :ref: `flightrec.requests_size <configuration_reference_flightrec_requests_size >`
518
+ * :ref: `flightrec.requests_max_req_size <configuration_reference_flightrec_requests_max_req_size >`
519
+ * :ref: `flightrec.requests_max_res_size <configuration_reference_flightrec_requests_max_res_size >`
514
520
515
521
.. _configuration_reference_flightrec_enabled :
516
522
517
523
.. confval :: flightrec.enabled
518
524
519
- Whether the :ref:`flight recorder <enterprise-flight-recorder>` is enabled .
525
+ Enable the :ref: `flight recorder <enterprise-flight-recorder >`.
520
526
521
527
| Type: boolean
522
528
| Default: false
@@ -533,22 +539,10 @@ To enable flight recorder, set the ``flightrec.enabled`` option to ``true`.
533
539
Specify the directory used to store flight recordings (``*.ttfr`` files).
534
540
535
541
| Type: string
536
- | Default: :ref:`memtx_dir <cfg_basic-memtx_dir>`
542
+ | Default: memtx.dir
537
543
| Environment variable: TT_FLIGHTREC_DIR
538
544
539
545
540
- .. _configuration_reference_flightrec_logs :
541
-
542
- Logs
543
- ~~~~
544
-
545
- This section describes the flight recorder settings related to :ref: `logging <cfg_logging-log >`.
546
- For example, you can configure a more detailed logging level in the flight recorder for deeper analysis.
547
-
548
- * :ref: `flightrec.logs_size <configuration_reference_flightrec_logs_size >`
549
- * :ref: `flightrec.logs_max_msg_size <configuration_reference_flightrec_logs_max_msg_size >`
550
- * :ref: `flightrec.logs_log_level <configuration_reference_flightrec_logs_log_level >`
551
-
552
546
.. _configuration_reference_flightrec_logs_size :
553
547
554
548
.. confval :: flightrec.logs_size
@@ -578,6 +572,7 @@ For example, you can configure a more detailed logging level in the flight recor
578
572
.. confval :: flightrec.logs_log_level
579
573
580
574
Specify the level of detail the log has.
575
+ The default value is 6 (``VERBOSE ``).
581
576
You can learn more about log levels from the :ref: `log_level <cfg_logging-log_level >`
582
577
option description.
583
578
Note that the ``flightrec.logs_log_level `` value might differ from ``log_level ``.
@@ -586,17 +581,6 @@ For example, you can configure a more detailed logging level in the flight recor
586
581
| Default: 6
587
582
| Environment variable: TT_FLIGHTREC_LOGS_LOG_LEVEL
588
583
589
- .. _configuration_reference_flightrec_metrics :
590
-
591
- Metrics
592
- ~~~~~~~
593
-
594
- This section describes the flight recorder settings related to collecting
595
- :ref: `metrics <metrics-reference >`.
596
-
597
- * :ref: `flightrec.metrics_period <configuration_reference_flightrec_metrics_period >`
598
- * :ref: `flightrec.metrics_interval <configuration_reference_flightrec_metrics_interval >`
599
-
600
584
.. _configuration_reference_flightrec_metrics_period :
601
585
602
586
.. confval :: flightrec.metrics_period
@@ -622,27 +606,15 @@ This section describes the flight recorder settings related to collecting
622
606
| Minimum: 0.001
623
607
| Environment variable: TT_FLIGHTREC_METRICS_INTERVAL
624
608
625
- .. NOTE ::
626
-
627
- Given that the average size of a metrics entry is 2 kB,
628
- you can estimate the size of the metrics storage as follows:
609
+ .. NOTE ::
629
610
630
- .. code-block :: console
611
+ Given that the average size of a metrics entry is 2 kB,
612
+ you can estimate the size of the metrics storage as follows:
631
613
632
- (flightrec_metrics_period / flightrec_metrics_interval) * 2 kB
614
+ .. code-block :: console
633
615
616
+ (flightrec_metrics_period / flightrec_metrics_interval) * 2 kB
634
617
635
- .. _configuration_reference_flightrec_requests :
636
-
637
- Requests
638
- ~~~~~~~~
639
-
640
- This section lists the flight recorder settings related to
641
- storing the :ref: `request and response <internals-requests_responses >` data.
642
-
643
- * :ref: `flightrec.requests_size <configuration_reference_flightrec_requests_size >`
644
- * :ref: `flightrec.requests_max_req_size <configuration_reference_flightrec_requests_max_req_size >`
645
- * :ref: `flightrec.requests_max_res_size <configuration_reference_flightrec_requests_max_res_size >`
646
618
647
619
.. _configuration_reference_flightrec_requests_size :
648
620
0 commit comments