-
Notifications
You must be signed in to change notification settings - Fork 975
Closed
Description
- Program: dnsdist
- Issue type: Bug report
Short description
Typo in prometheus metrics:
is:
dnsdist_frontend_tlshandshakefailures{frontend="0.0.0.0:443",proto="TCP (DNS over HTTPS)",thread="0",error="unsupportedProtocol{"} 3
should be:
dnsdist_frontend_tlshandshakefailures{frontend="0.0.0.0:443",proto="TCP (DNS over HTTPS)",thread="0",error="unsupportedProtocol"} 3
Environment
- Operating system: FreeBSD
- Software version: 1.5.1
- Software source: FreeBSD ports
Steps to reproduce
enable DoH and webserver() and fetch metrics from /metrics
Expected behaviour
should be:
dnsdist_frontend_tlshandshakefailures{frontend="0.0.0.0:443",proto="TCP (DNS over HTTPS)",thread="0",error="unsupportedProtocol"} 3
Actual behaviour
dnsdist_frontend_tlshandshakefailures{frontend="0.0.0.0:443",proto="TCP (DNS over HTTPS)",thread="0",error="unsupportedProtocol{"} 3
Other information
Line 537 in 6eb9e49
| output << frontsbase << "tlshandshakefailures{frontend=\"" << frontName << "\",proto=\"" << proto << "\",thread=\"" << threadNumber << "\",error=\"unsupportedProtocol{\"} " << errorCounters->d_unsupportedProtocol << "\n"; |