diff options
Diffstat (limited to 'third_party/rust/glean/src/lib.rs')
-rw-r--r-- | third_party/rust/glean/src/lib.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/third_party/rust/glean/src/lib.rs b/third_party/rust/glean/src/lib.rs index 81899d42ee..7f7f2c48be 100644 --- a/third_party/rust/glean/src/lib.rs +++ b/third_party/rust/glean/src/lib.rs @@ -23,7 +23,7 @@ //! let cfg = ConfigurationBuilder::new(true, "/tmp/data", "org.mozilla.glean_core.example").build(); //! glean::initialize(cfg, ClientInfoMetrics::unknown()); //! -//! let prototype_ping = PingType::new("prototype", true, true, true, true, vec!()); +//! let prototype_ping = PingType::new("prototype", true, true, true, true, true, vec!(), vec!()); //! //! prototype_ping.submit(None); //! ``` @@ -187,9 +187,9 @@ pub fn test_get_experimentation_id() -> Option<String> { /// Set the remote configuration values for the metrics' disabled property /// -/// See [`glean_core::Glean::set_metrics_enabled_config`]. -pub fn glean_set_metrics_enabled_config(json: String) { - glean_core::glean_set_metrics_enabled_config(json) +/// See [`glean_core::Glean::glean_apply_server_knobs_config`]. +pub fn glean_apply_server_knobs_config(json: String) { + glean_core::glean_apply_server_knobs_config(json) } /// Performs the collection/cleanup operations required by becoming active. @@ -293,7 +293,7 @@ pub fn get_timestamp_ms() -> u64 { /// If Glean hasn't been initialized this will dispatch and return Ok(()), /// otherwise it will block until the persist is done and return its Result. pub fn persist_ping_lifetime_data() { - glean_core::persist_ping_lifetime_data(); + glean_core::glean_persist_ping_lifetime_data(); } #[cfg(test)] |