**Description:**
This PR allows filtering out metrics based on resource attributes. For
example:
```
resource_attributes:
k8s.pod.name:
enabled: true
exclude:
#- strict: "kube-apiserver-kind-control-plane"
- regexp: "kube-.*"
- regexp: "coredns-.*"
- strict: "coredns"
- strict: "kindnet-mpb2p"
```
Would remove metrics that match regex or strict rules on resource
attributes.
**Link to tracking Issue:**
https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/25134
**Testing:**
- Tested with k8scluster receiver in kind cluster.
- unit tests added
**Documentation:** <Describe the documentation added.>
---------
Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>