Git telemetry (#26222)
Release Notes: - git: Adds telemetry to git actions
This commit is contained in:
parent
219d36f589
commit
9c054f207e
7 changed files with 25 additions and 0 deletions
|
@ -418,6 +418,8 @@ impl Telemetry {
|
|||
|
||||
fn report_event(self: &Arc<Self>, event: Event) {
|
||||
let mut state = self.state.lock();
|
||||
// RUST_LOG=telemetry=trace to debug telemetry events
|
||||
log::trace!(target: "telemetry", "{:?}", event);
|
||||
|
||||
if !state.settings.metrics {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue