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

Metrics for TLS resumes, DoH, and aggressive NSEC #53

Merged
merged 3 commits into from
Aug 23, 2023

Conversation

hanazuki
Copy link
Contributor

Aggressive NSEC stats

This patch maps unbound's num.query.agressive.* stats to query_aggressive_nsec metrics.
This counter tracks the number of queries that unbound synthesised answers based on the cached NSEC records.

See https://unbound.docs.nlnetlabs.nl/en/latest/topics/privacy/aggressive-nsec.html

Closes: #48

More transport stats: TLS resumes and DoH queries

This patch adds query_tls_resume_total and query_https_total metrics, which track the number of queries received using TLS resume and DNS-over-HTTPS transport, resp.

Also the descriptions for query_tcp_total and query_tls_total are clarified that these numbers include DoT and DoH queries.

This patch maps unbound's `num.query.agressive.*` stats to
`query_aggressive_nsec` metrics.
This counter tracks the number of queries that unbound synthesised answers
based on the cached NSEC records.

See <https://unbound.docs.nlnetlabs.nl/en/latest/topics/privacy/aggressive-nsec.html>

Closes: letsencrypt#48
This patch adds `query_tls_resume_total` and `query_https_total`
metrics, which track the number of queries received using TLS resume
and DNS-over-HTTPS transport, resp.

Also the descriptions for `query_tcp_total` and `query_tls_total` are
clarified that these numbers include DoT and DoH queries.
@raunz
Copy link

raunz commented Aug 21, 2023

👍 to this PR. Looking forward to query_https_total metrics to appear in next release. Unfortunately this PR didn't make it to 0.4.2

@pgporada
Copy link
Member

I'm taking a look at this now.

@pgporada pgporada self-assigned this Aug 21, 2023
unbound_exporter.go Outdated Show resolved Hide resolved
@pgporada pgporada requested review from a team and aarongable and removed request for a team August 21, 2023 16:22
@pgporada pgporada removed their assignment Aug 21, 2023
@codecov-commenter
Copy link

Codecov Report

Patch and project coverage have no change.

Comparison is base (1d05a27) 5.23% compared to head (f8e9507) 5.23%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@          Coverage Diff          @@
##            main     #53   +/-   ##
=====================================
  Coverage   5.23%   5.23%           
=====================================
  Files          1       1           
  Lines        191     191           
=====================================
  Hits          10      10           
  Misses       181     181           
Flag Coverage Δ
unbound_exporter_tests 5.23% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
unbound_exporter.go 5.23% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@aarongable aarongable merged commit 2faff03 into letsencrypt:main Aug 23, 2023
3 checks passed
@hanazuki
Copy link
Contributor Author

Thank you both for your reviews!

@hanazuki hanazuki deleted the more-stats branch August 24, 2023 07:17
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.

Add new metrics for aggressive NSEC caching (RFC8198)
5 participants