Fix trash in documentation

This commit is contained in:
Alexey Milovidov 2024-04-07 21:32:40 +02:00
parent 658a8e9a9b
commit 53a3ad609a
4 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ slug: /en/operations/system-tables/asynchronous_metric_log
--- ---
# asynchronous_metric_log # asynchronous_metric_log
Contains the historical values for `system.asynchronous_metrics`, which are saved once per minute. Enabled by default. Contains the historical values for `system.asynchronous_metrics`, which are saved once per time interval (one second by default). Enabled by default.
Columns: Columns:

View File

@ -56,7 +56,7 @@ static std::unique_ptr<ReadBufferFromFilePRead> openFileIfExists(const std::stri
AsynchronousMetrics::AsynchronousMetrics( AsynchronousMetrics::AsynchronousMetrics(
int update_period_seconds, unsigned update_period_seconds,
const ProtocolServerMetricsFunc & protocol_server_metrics_func_) const ProtocolServerMetricsFunc & protocol_server_metrics_func_)
: update_period(update_period_seconds) : update_period(update_period_seconds)
, log(getLogger("AsynchronousMetrics")) , log(getLogger("AsynchronousMetrics"))

View File

@ -44,7 +44,7 @@ struct ProtocolServerMetrics
size_t current_threads; size_t current_threads;
}; };
/** Periodically (by default, each minute, starting at 30 seconds offset) /** Periodically (by default, each second)
* calculates and updates some metrics, * calculates and updates some metrics,
* that are not updated automatically (so, need to be asynchronously calculated). * that are not updated automatically (so, need to be asynchronously calculated).
* *
@ -64,7 +64,7 @@ public:
using ProtocolServerMetricsFunc = std::function<std::vector<ProtocolServerMetrics>()>; using ProtocolServerMetricsFunc = std::function<std::vector<ProtocolServerMetrics>()>;
AsynchronousMetrics( AsynchronousMetrics(
int update_period_seconds, unsigned update_period_seconds,
const ProtocolServerMetricsFunc & protocol_server_metrics_func_); const ProtocolServerMetricsFunc & protocol_server_metrics_func_);
virtual ~AsynchronousMetrics(); virtual ~AsynchronousMetrics();

View File

@ -291,7 +291,7 @@ SystemLogs::SystemLogs(ContextPtr global_context, const Poco::Util::AbstractConf
global_context, "system", "filesystem_read_prefetches_log", config, "filesystem_read_prefetches_log", "Contains a history of all prefetches done during reading from MergeTables backed by a remote filesystem."); global_context, "system", "filesystem_read_prefetches_log", config, "filesystem_read_prefetches_log", "Contains a history of all prefetches done during reading from MergeTables backed by a remote filesystem.");
asynchronous_metric_log = createSystemLog<AsynchronousMetricLog>( asynchronous_metric_log = createSystemLog<AsynchronousMetricLog>(
global_context, "system", "asynchronous_metric_log", config, global_context, "system", "asynchronous_metric_log", config,
"asynchronous_metric_log", "Contains the historical values for system.asynchronous_metrics, which are saved once per minute."); "asynchronous_metric_log", "Contains the historical values for system.asynchronous_metrics, once per time interval (one second by default).");
opentelemetry_span_log = createSystemLog<OpenTelemetrySpanLog>( opentelemetry_span_log = createSystemLog<OpenTelemetrySpanLog>(
global_context, "system", "opentelemetry_span_log", config, global_context, "system", "opentelemetry_span_log", config,
"opentelemetry_span_log", "Contains information about trace spans for executed queries."); "opentelemetry_span_log", "Contains information about trace spans for executed queries.");