Skip to content

typo in prometheus dnsdist_frontend_tlshandshakefailures #9728

@appliedprivacy

Description

@appliedprivacy
  • 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

output << frontsbase << "tlshandshakefailures{frontend=\"" << frontName << "\",proto=\"" << proto << "\",thread=\"" << threadNumber << "\",error=\"unsupportedProtocol{\"} " << errorCounters->d_unsupportedProtocol << "\n";

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions