Send names instead of IDs to diagnostics

Names are more user friendly, since diagnostics data is read by
humans.  This should also fix the roller.

Bug: b/225067035
Test: Unit tests pass.
Test: cobalt_testapp_no_network passes.
Change-Id: I86f624d4e139b5aef4fbb6bd2c9ece91bae1a849
Reviewed-on: https://fuchsia-review.googlesource.com/c/cobalt/+/659769
Fuchsia-Auto-Submit: Steve Fung <stevefung@google.com>
Reviewed-by: Cameron Dale <camrdale@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
diff --git a/src/logger/internal_metrics.cc b/src/logger/internal_metrics.cc
index 008a34c..ab8c468 100644
--- a/src/logger/internal_metrics.cc
+++ b/src/logger/internal_metrics.cc
@@ -90,7 +90,9 @@
     }
 
     if (diagnostics_ != nullptr) {
-      diagnostics_->LoggerCalled(method, component.str());
+      std::ostringstream diagnostics_component;
+      diagnostics_component << project.customer_name() << '/' << project.project_name();
+      diagnostics_->LoggerCalled(method, diagnostics_component.str());
     }
   });
 }