[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]
[Insert the version number of the software]
[If applicable, include any relevant log files or error messages]
[What the user expected to see or happen before the issue occurred]
Deleted node not visible in list
[What actually happened when the user encountered the issue]
Deleted node seen in list
[Include any additional information that could be helpful to diagnose the issue, such as browser or device information]
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.
I executed this command in a container
@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)
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.
but result is 0
Please remove space in the match block.
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
its ip is not 127.0.0.1
is it okay?