MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / convertHelpToSingleLine

Function convertHelpToSingleLine

src/Server/PrometheusMetricsWriter.cpp:68–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void convertHelpToSingleLine(std::string & help)
69{
70 std::replace(help.begin(), help.end(), '\n', ' ');
71}
72
73constexpr auto profile_events_prefix = "ClickHouseProfileEvents_";
74constexpr auto current_metrics_prefix = "ClickHouseMetrics_";

Callers 5

writeEventFunction · 0.85
writeMetricFunction · 0.85
writeAsyncMetricsFunction · 0.85
writeHistogramMetricMethod · 0.85

Calls 3

replaceFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected