# AWX metrics endpoint retain old data

**URL:** <https://forum.ansible.com/t/awx-metrics-endpoint-retain-old-data/7062>\
**Category:** Get Help\
**Tags:** awx\
**Created:** [July 5, 2024, 3:30am UTC](https://forum.ansible.com/t/awx-metrics-endpoint-retain-old-data/7062 "2024-07-05T03:30:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![betty](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@betty](https://forum.ansible.com/u/betty)\
**Post date:** [July 5, 2024, 3:30am UTC](https://forum.ansible.com/t/awx-metrics-endpoint-retain-old-data/7062/1 "2024-07-05T03:30:24Z")

</div>

1. Why does the `/api/v2/metrics` endpoint in AWX retain old data, e.g. awx\_instance\_info showing duplicate hostnames with different uuid, even though I’m interested in only the current active nodes? Is there a way to only show the current active nodes (without scraping using the uuid label)?

2. I’ve noticed that when a node is removed from the AWX GUI & `/api/v2/instances`, it doesn’t get removed from the `/metrics` endpoint. Why does this happen and how can I ensure that removed nodes are also deleted from the `/metrics` endpoint?
