# The node that has already been deleted is shown in grafana node list

**URL:** <https://forums.percona.com/t/the-node-that-has-already-been-deleted-is-shown-in-grafana-node-list/27570>\
**Category:** Percona Monitoring and Management (PMM)\
**Created:** [January 4, 2024, 1:34am UTC](https://forums.percona.com/t/the-node-that-has-already-been-deleted-is-shown-in-grafana-node-list/27570 "2024-01-04T01:34:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmmChobo](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@pmmChobo](https://forums.percona.com/u/pmmChobo)\
**Post date:** [January 4, 2024, 1:34am UTC](https://forums.percona.com/t/the-node-that-has-already-been-deleted-is-shown-in-grafana-node-list/27570/1 "2024-01-04T01:34:16Z")

</div>

## Description:

[Detailed description of the issue or question]

In grafana, The node that has already been deleted is shown in the list.  
The node has been deleted from the inventory and is invisible.

## Steps to Reproduce:

[Step-by-step instructions on how to reproduce the issue, including any specific settings or configurations]

## Version:

[Insert the version number of the software]  
v2.41.0

## Logs:

[If applicable, include any relevant log files or error messages]

## Expected Result:

[What the user expected to see or happen before the issue occurred]

Deleted node not visible in list

## Actual Result:

[What actually happened when the user encountered the issue]

Deleted node seen in list

## Additional Information:

[Include any additional information that could be helpful to diagnose the issue, such as browser or device information]

 ![image](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/4/4d515ea388843e9844ac6e635a770f28b3a091e0.png)

 ![image](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/a/aa1b5fa1b6e38e153d2f95938e663ad03255f674.png)

---

<div class="post-metadata">

**Author:** ![Vadim\_Yalovets](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vadim_yalovets/32/43_2.png) [@Vadim\_Yalovets](https://forums.percona.com/u/Vadim_Yalovets)\
**Post date:** [January 4, 2024, 8:24am UTC](https://forums.percona.com/t/the-node-that-has-already-been-deleted-is-shown-in-grafana-node-list/27570/2 "2024-01-04T08:24:57Z")

</div>

Hi @pmmChobo

Metrics are not deleted automatically if an instance is deleted.  
You may remove metrics manually by api request _ **delete\_series** _  
Please set service\_name that was used on the dropped node.

e.g.

 ![Screenshot 2024-01-04 at 10.08.37](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/8/802e977dc1c4fe99bf35d192eed978b866cc9b84.png)

---

<div class="post-metadata">

**Author:** ![pmmChobo](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@pmmChobo](https://forums.percona.com/u/pmmChobo)\
**Post date:** [January 4, 2024, 9:00am UTC](https://forums.percona.com/t/the-node-that-has-already-been-deleted-is-shown-in-grafana-node-list/27570/3 "2024-01-04T09:00:37Z")

</div>

thank you for your reply

 ![image](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/9/90caf30138384eb5e03b8e75aaa9d6eb2bc692cb.png)

but result is 0

---

<div class="post-metadata">

**Author:** ![pmmChobo](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@pmmChobo](https://forums.percona.com/u/pmmChobo)\
**Post date:** [January 4, 2024, 9:01am UTC](https://forums.percona.com/t/the-node-that-has-already-been-deleted-is-shown-in-grafana-node-list/27570/4 "2024-01-04T09:01:21Z")

</div>

I executed this command in a container

---

<div class="post-metadata">

**Author:** ![Roma\_Novikov](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/roma_novikov/32/1161_2.png) [@Roma\_Novikov](https://forums.percona.com/u/Roma_Novikov)\
**Post date:** [January 4, 2024, 9:08am UTC](https://forums.percona.com/t/the-node-that-has-already-been-deleted-is-shown-in-grafana-node-list/27570/5 "2024-01-04T09:08:18Z")

</div>

@pmmChobo, if you select a smaller time interval (currently you have 12 hours) then you should see only present Services, and the data about deleted services will be in PMM until the retention time (30 days by default)  
Can I ask you - why you need to remove data from PMM? this is not a recommended operation for monitoring tools (this is why this is not done with a Service removal)

---

<div class="post-metadata">

**Author:** ![pmmChobo](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@pmmChobo](https://forums.percona.com/u/pmmChobo)\
**Post date:** [January 4, 2024, 9:12am UTC](https://forums.percona.com/t/the-node-that-has-already-been-deleted-is-shown-in-grafana-node-list/27570/6 "2024-01-04T09:12:41Z")

</div>

Thank you for your answer.  
I tried to adjust the time to 5 minutes, but I still see the service and node that I erased before.

This is to make the service and node deleted from inventory invisible to grafana.

---

<div class="post-metadata">

**Author:** ![Vadim\_Yalovets](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vadim_yalovets/32/43_2.png) [@Vadim\_Yalovets](https://forums.percona.com/u/Vadim_Yalovets)\
**Post date:** [January 4, 2024, 10:18am UTC](https://forums.percona.com/t/the-node-that-has-already-been-deleted-is-shown-in-grafana-node-list/27570/7 "2024-01-04T10:18:53Z")

</div>

> [@pmmChobo](#):
>
> but result is 0

Please remove space in the match block.

 ![Screenshot 2024-01-04 at 12.17.28](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/a/adde0ca2740068e02cad856101e3dbd91e887d2e.png)

---

<div class="post-metadata">

**Author:** ![pmmChobo](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@pmmChobo](https://forums.percona.com/u/pmmChobo)\
**Post date:** [January 5, 2024, 1:26am UTC](https://forums.percona.com/t/the-node-that-has-already-been-deleted-is-shown-in-grafana-node-list/27570/8 "2024-01-05T01:26:42Z")

</div>

thank you god

i can use that command when service\_name is “pmm-server-postgresql”.  
but still result 0, when service\_name is other service name

 ![image](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/d/da854dc1f1c5c0374e92983baf6906002d2ff08e.png)

its ip is not 127.0.0.1  
is it okay?

 ![image](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/2/269c1a1ed748c8d809f295e96c2ab29001ca379a.png)
