Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[NDMII-3058] Add synchronous rDNS lookup to rdnsquerier component #30002
[NDMII-3058] Add synchronous rDNS lookup to rdnsquerier component #30002
Changes from 4 commits
28291f0
6fdcbf4
14d6fd0
e33a05e
b186c38
96d868f
44a9d29
13be360
050bda0
03aeb57
8630743
0327484
05da484
1638c35
64ebedf
d2f57ae
a456375
d115431
0f734f1
b2c0cca
4d29545
5df33c0
4da5e29
f9978d9
66e64d8
6073f3f
c69817b
312a20c
de28955
92fcea3
2ebb1ae
a77b6c9
c704f60
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function calls
GetHostname
which also increments this value, so every use ofGetHostnameSync
will be counted twice. Same for theprivate
counter.Is there any reason to duplicate the telemetry and address verification from GetHostname here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, thinking about this maybe it makes sense to have the public endpoints call a helper function that just contains the logic. That way the metrics can be incremented separately for each one more easily.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to return the error here?