MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / statement_logging_max_sample_rate

Method statement_logging_max_sample_rate

src/sql/src/session/vars.rs:2235–2237  ·  view source on GitHub ↗

Returns the `statement_logging_max_sample_rate` configuration parameter.

(&self)

Source from the content-addressed store, hash-verified

2233
2234 /// Returns the `statement_logging_max_sample_rate` configuration parameter.
2235 pub fn statement_logging_max_sample_rate(&self) -> Numeric {
2236 *self.expect_value(&STATEMENT_LOGGING_MAX_SAMPLE_RATE)
2237 }
2238
2239 /// Returns the `statement_logging_default_sample_rate` configuration parameter.
2240 pub fn statement_logging_default_sample_rate(&self) -> Numeric {

Callers 1

effective_sample_rateFunction · 0.80

Calls 1

expect_valueMethod · 0.80

Tested by

no test coverage detected