# Is it possible to filter Kubernetes labels sent by OneAgent?

**URL:** <https://community.dynatrace.com/t/is-it-possible-to-filter-kubernetes-labels-sent-by-oneagent/50038>\
**Category:** Container platforms\
**Tags:** oneagent, kubernetes\
**Created:** [February 1, 2025, 6:39am UTC](https://community.dynatrace.com/t/is-it-possible-to-filter-kubernetes-labels-sent-by-oneagent/50038 "2025-02-01T06:39:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gopher](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gopher/32/5728_2.png) [@gopher](https://community.dynatrace.com/u/gopher)\
**Post date:** [February 2, 2025, 10:44pm UTC](https://community.dynatrace.com/t/is-it-possible-to-filter-kubernetes-labels-sent-by-oneagent/50038/2 "2025-02-02T22:44:06Z")

</div>

Hi Sergi,

Dynatrace scrapes all the labels / annotations.&nbsp; there is no option to filter these.&nbsp; It would make a good enhancement request.&nbsp; This is a common problem (I know we have this issue).&nbsp; &nbsp;  
Having a better way to display labels & annotations on k8s would be great.

It would be great if you posted one on this topic.

---

_[View the full topic](https://community.dynatrace.com/t/is-it-possible-to-filter-kubernetes-labels-sent-by-oneagent/50038)._
