Skip to content
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

Track host resolution failure metrics #1582

Merged
merged 6 commits into from
Feb 11, 2022

Conversation

raiju
Copy link
Contributor

@raiju raiju commented Feb 11, 2022

Before this PR

After this PR

==COMMIT_MSG==
Track host resolution failure metrics
==COMMIT_MSG==

Possible downsides?

@changelog-app
Copy link

changelog-app bot commented Feb 11, 2022

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Track host resolution failure metrics

Check the box to generate changelog(s)

  • Generate changelog entry

@policy-bot policy-bot bot requested a review from carterkozak February 11, 2022 15:32
Copy link
Contributor

@carterkozak carterkozak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#1583 shows what is likely a better place for such logic to live

@raiju raiju force-pushed the sk/metric-for-dns-failures branch from e13221e to 5f89743 Compare February 11, 2022 17:54
@policy-bot policy-bot bot requested a review from carterkozak February 11, 2022 17:54
@raiju
Copy link
Contributor Author

raiju commented Feb 11, 2022

@carterkozak Can you take another look?

Do you have an opinion on separating the host -> IP address & canonical host name resolution? For my use-case they should be similar. Happy to add it as an arg to the meter/isolate it to IP resolution if you'd prefer.

@carterkozak
Copy link
Contributor

lgtm, let's fix up the assertion message before merging 👍

@carterkozak
Copy link
Contributor

Do you have an opinion on separating the host -> IP address & canonical host name resolution? For my use-case they should be similar. Happy to add it as an arg to the meter/isolate it to IP resolution if you'd prefer.

In practice I think we're only resolving host -> IP, not canonical host names. Looks good as written :-)

@raiju
Copy link
Contributor Author

raiju commented Feb 11, 2022

@carterkozak Should be fixed now

@bulldozer-bot bulldozer-bot bot merged commit 00adb43 into develop Feb 11, 2022
@bulldozer-bot bulldozer-bot bot deleted the sk/metric-for-dns-failures branch February 11, 2022 20:04
@svc-autorelease
Copy link
Collaborator

Released 3.44.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants