prometheus-community / prometheus-community/PushProx
/clients behavior : fqdn disappear
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 811
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
Looking at the source I can't imagine a reason why the clients list is restricted to only fqdn that had a scrape connection (/poll) in less that the registrationTimeout interval ?
I really don't understand because the underlying channel between clients and proxy are still maintened and the client can still be reached by a scrapping command ( GET http://client:port/ ) even if it has disappeared from the list.
Moreover, to be able to use the /clients url as inventory this means that it is absolutely necessary to connect within the time interval (registrationTimeout) after stopping/restarting the proxy to have the list of all clients.
This is something historicall ?
I was planning to use this url to monitor the connection between proxy and clients (sometimes FW empties sessions, or something else is wrong), but it is not possible because host should disappear anyway!
So if someone has an idea ?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the /clients and /poll entry points and how registrationTimeout is applied to client records. Compare the observed disappearance with the intended proxy-client inventory behavior; done should define and verify consistent /clients behavior for clients whose scraping connection is no longer recent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100