From f2c7cb73c2520279bd0562339318703fda6b7c1b Mon Sep 17 00:00:00 2001 From: Jane Losare-Lusby Date: Mon, 12 Aug 2024 16:21:07 -0700 Subject: [PATCH 1/3] Add announcement for metrics initiative --- ...024-08-12-announcing-metrics-initiative.md | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 posts/inside-rust/2024-08-12-announcing-metrics-initiative.md diff --git a/posts/inside-rust/2024-08-12-announcing-metrics-initiative.md b/posts/inside-rust/2024-08-12-announcing-metrics-initiative.md new file mode 100644 index 000000000..0f8b0b5b8 --- /dev/null +++ b/posts/inside-rust/2024-08-12-announcing-metrics-initiative.md @@ -0,0 +1,23 @@ +--- +layout: post +title: "Announcing the Metrics Initiative" +author: Jane Losare-Lusby and Esteban Kuber +team: The Rust Compiler Team +--- + +We ([Jane](https://github.com/yaahc/) and [Esteban](https://github.com/estebank)) are excited to announce the start of the Metrics initiative. + +We're envisioning three use cases for metrics within rustc. + +* Supporting feature development + * e.g., answering specific questions such as when the old and new trait solvers diverge or helping identify and resolve bugs before impacting users +* Guiding improvements to User Experience, + * e.g., knowing which compiler errors are causing the most confusion or are hit the most frequently, focusing on improving those first, and verifying that the improvements help +* Improving perf feedback loops and insight, + * e.g., helping identify pathological edge cases, similar to work @nnethercote has done manually in the past + +We're at the point of the initiative where we would like to inform the project members about it and start implementing the metrics infrastructure in collaboration with their real-world needs. + +For more information about the initiative, please check out the tracking issue and related links: https://github.com/rust-lang/rust/issues/128914. + +**Please reach out with any use cases you have in mind!** From ff9654fe61f4ab4e4baa3e1f90700e8c3c498cd5 Mon Sep 17 00:00:00 2001 From: Jane Losare-Lusby Date: Thu, 15 Aug 2024 11:45:15 -0700 Subject: [PATCH 2/3] Update posts/inside-rust/2024-08-12-announcing-metrics-initiative.md --- posts/inside-rust/2024-08-12-announcing-metrics-initiative.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posts/inside-rust/2024-08-12-announcing-metrics-initiative.md b/posts/inside-rust/2024-08-12-announcing-metrics-initiative.md index 0f8b0b5b8..653297985 100644 --- a/posts/inside-rust/2024-08-12-announcing-metrics-initiative.md +++ b/posts/inside-rust/2024-08-12-announcing-metrics-initiative.md @@ -14,7 +14,7 @@ We're envisioning three use cases for metrics within rustc. * Guiding improvements to User Experience, * e.g., knowing which compiler errors are causing the most confusion or are hit the most frequently, focusing on improving those first, and verifying that the improvements help * Improving perf feedback loops and insight, - * e.g., helping identify pathological edge cases, similar to work @nnethercote has done manually in the past + * e.g., helping identify pathological edge cases, similar to [work](https://nnethercote.github.io/2022/02/25/how-to-speed-up-the-rust-compiler-in-2022.html) @nnethercote has done manually in the past We're at the point of the initiative where we would like to inform the project members about it and start implementing the metrics infrastructure in collaboration with their real-world needs. From 1b0f4370096e2c2aedb6376bfe609d54de1295f6 Mon Sep 17 00:00:00 2001 From: Jane Losare-Lusby Date: Thu, 15 Aug 2024 11:45:25 -0700 Subject: [PATCH 3/3] Update posts/inside-rust/2024-08-12-announcing-metrics-initiative.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jakub Beránek --- posts/inside-rust/2024-08-12-announcing-metrics-initiative.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posts/inside-rust/2024-08-12-announcing-metrics-initiative.md b/posts/inside-rust/2024-08-12-announcing-metrics-initiative.md index 653297985..694c288b6 100644 --- a/posts/inside-rust/2024-08-12-announcing-metrics-initiative.md +++ b/posts/inside-rust/2024-08-12-announcing-metrics-initiative.md @@ -5,7 +5,7 @@ author: Jane Losare-Lusby and Esteban Kuber team: The Rust Compiler Team --- -We ([Jane](https://github.com/yaahc/) and [Esteban](https://github.com/estebank)) are excited to announce the start of the Metrics initiative. +We ([Jane](https://github.com/yaahc/) and [Esteban](https://github.com/estebank)) are excited to announce the start of the Metrics initiative, an **opt-in** and privacy-preserving system for recording various metrics and metadata from Rust compiler invocations. These metrics can then be optionally uploaded by Rust users to provide us with useful information about how Rust is being used in the wild. We're envisioning three use cases for metrics within rustc.