@@ -29,22 +29,26 @@ Definition
29
29
30
30
- Description
31
31
32
- * - `` level` `
32
+ * - :ref:` level <set-profiling-level-level> `
33
33
34
34
- integer
35
35
36
- - Configures the profiler level.
36
+ - .. _set-profiling-level-level:
37
+
38
+ Configures the profiler level.
37
39
The following profiler levels are available:
38
40
39
41
.. include:: /includes/database-profiler-levels.rst
40
42
41
43
42
44
43
- * - `` options` `
45
+ * - :ref:` options <set-profiling-level-options> `
44
46
45
47
- document or integer
46
48
47
- - Optional. Accepts an integer or an options document. If an integer value is
49
+ - .. _set-profiling-level-options:
50
+
51
+ Optional. Accepts an integer or an options document. If an integer value is
48
52
passed as the ``options`` argument instead of a document, the value is
49
53
assigned to ``slowms``.
50
54
The following options are available:
@@ -53,8 +57,11 @@ Definition
53
57
:stub-columns: 1
54
58
:widths: 15 85
55
59
56
- * - slowms
57
- - | Default: 100
60
+ * - :ref:`slowms <set-profiling-level-options-slowms>`
61
+
62
+ - .. _set-profiling-level-options-slowms:
63
+
64
+ | Default: 100
58
65
| Type: integer
59
66
60
67
.. include:: /includes/dbcommand-slowms-definition.rst
@@ -63,8 +70,11 @@ Definition
63
70
This argument affects the same setting as the configuration
64
71
file option :setting:`~operationProfiling.slowOpThresholdMs`.
65
72
66
- * - sampleRate
67
- - | Default: 1.0
73
+ * - :ref:`sampleRate <set-profiling-level-options-sampleRate>`
74
+
75
+ - .. _set-profiling-level-options-sampleRate:
76
+
77
+ | Default: 1.0
68
78
| Type: double
69
79
70
80
The fraction of *slow* operations that should be profiled.
0 commit comments