View Component has formally exposed .identifier as a part of their public API (PR). We should make use of this API for building metric names when it is available. To ensure instrumentation support for all versions, we will continue to check for .source_location and then .identifier. The use of .identifier generates log warns in some View Component versions, so we want to first check for .source_location
View Component has formally exposed
.identifier
as a part of their public API (PR). We should make use of this API for building metric names when it is available. To ensure instrumentation support for all versions, we will continue to check for.source_location
and then.identifier
. The use of.identifier
generates log warns in some View Component versions, so we want to first check for.source_location
Closes #2950