metrics: Add diagnostics to console error metric
metrics: Add diagnostics to console error metric

https://crrev.com/c/2302837 adds extra details (message and url) to
ConsoleError trace events. This CL adds these info as diagnositcs to
the console error metric so the metric is easier to debug. Additionally,
the pid of the slice is added as a diagnostic since that's also quite
useful for debugging.

The code safely skips adding these details if we're using an older
chrome version and the extra trace arguments are not available on the
ConsoleError slice.

Bug: chromium:1086962
Change-Id: I50403d59e812b42ee68afbd62083c6922d104756
Reviewed-on: https://chromium-review.googlesource.com/c/catapult/+/2304259
Reviewed-by: Ulan Degenbaev <56dd103d017ceadb708086e2f118997b62b54fda@chromium.org>
Commit-Queue: Deep Roy <196de8ecef43ff77ba1a773ccd52374e3849c302@chromium.org>

catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult