Refactors the attribute selection feature for network metrics and makes it portable for application-level metrics.
This required some deeper changes in the way we deal with attributes, as there are some differences between Prometheus and OTEL that needed to be handled:
All the attributes in prometheus are strings, while in OTEL might be also from other types.
In OTEL, some attributes are resource-level, while in Prometheus, all the attributes belong to the metric.
This PR lacks the extensive update of the documentation, which will be done in another PR
Refactors the attribute selection feature for network metrics and makes it portable for application-level metrics.
This required some deeper changes in the way we deal with attributes, as there are some differences between Prometheus and OTEL that needed to be handled:
This PR lacks the extensive update of the documentation, which will be done in another PR