-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
why does the target_info still have values after a pod is evicted ? #34378
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Does it stick around for about 5 mintues? If so, this sounds like we are missing staleness markers when a pod is evicted. |
@dashpole Yes,thanks for your reply, how should I modify the parameters to solve this issue? |
Does this happen only when a pod is evicted? Or also when a pod is deleted? |
Yes, it happens when a pod is evicted or deleted. |
my best guess is that when we apply the new config to the service manager and discovery manager, it removes the targets without generating a staleness marker. But fixing it will probably be a change in the prometheus server (promethues/prometheus). We need to reproduce this with the prometheus server (updating the config file to remove a static target), and see if the series is marked stale (if the line correctly stops) in the graph. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This is still relevant, but needs a reproduction with pure prometheus before we can file an issue there. |
Component(s)
receiver/prometheus
exporter/prometheusremotewrite
Describe the issue you're reporting
Actual Result
The text was updated successfully, but these errors were encountered: