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

plugin/metrics: support HTTPS qType in requests count metric label #4934

Merged
merged 1 commit into from Oct 28, 2021
Merged

plugin/metrics: support HTTPS qType in requests count metric label #4934

merged 1 commit into from Oct 28, 2021

Conversation

plieskovsky
Copy link
Contributor

1. Why is this pull request needed and what does it do?

Since iOS14, apple devices are standardly using the HTTPS query (type 65). It would be beneficial to be able to distinguish the amount of these requests based on the metrics. Therefore I would like to add the HTTPS query type support into the metric labels.

2. Which issues (if any) are related?

none

3. Which documentation changes (if any) need to be made?

none

4. Does this introduce a backward incompatible change or deprecation?

no

@SuperQ
Copy link
Collaborator

SuperQ commented Oct 25, 2021

This needs a DCO sign-off. You can use git commit -s --amend to add it.

Signed-off-by: Pavol Lieskovský <pavol.lieskovsky@wandera.com>
@plieskovsky
Copy link
Contributor Author

plieskovsky commented Oct 25, 2021

@SuperQ added, thank you for the info 👍

Copy link
Collaborator

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

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

LGTM

@miekg
Copy link
Member

miekg commented Oct 25, 2021

happy to add this, but isn't the HTTPS still in draft? Might be prudent to wait until RFC.

yeah it still draft: https://datatracker.ietf.org/doc/draft-ietf-dnsop-svcb-https/

@plieskovsky
Copy link
Contributor Author

@miekg ah, that's interesting site/fact. Didn't know about it.
On the other hand, iOS has been already using it for about 4 months. We can see a non-trivial amount (~18%) of HTTPS requests sent to our CoreDNS instance that faces the internet. So I guess we cannot go wrong with enabling the computation of it into the metric label.

But as you guys are the owners/maintainers of the repo, the decision is totally up to you :)

@miekg
Copy link
Member

miekg commented Oct 28, 2021 via email

Copy link

@corbot corbot bot left a comment

Choose a reason for hiding this comment

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

Approved by miekg

@corbot corbot bot merged commit 5934c7e into coredns:master Oct 28, 2021
jinglina pushed a commit to jinglina/coredns that referenced this pull request Dec 23, 2021
…oredns#4934)

Automatically submitted.

Signed-off-by: jinglinax@163.com <jinglinax@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants