ok nvm, I figured it out
On Saturday, September 10, 2022 at 1:52:22 PM UTC+10 terrible person wrote:
> Hi. Started to use bind_exporter in my environment, and I see it is
> lacking some metrics, that should be availiable (judging on source code).
> I'm taking about xml/v3/server endpoint and nsstat counters.
> [image: 2022-09-10_13-44-02.png]
> thou I can't see them in exporter output. Am I missing out on something?
> I'm not a Go expert and it's hard for me to analyze source code, but I see
> some indications that they must be there
>
> for _, s := range c.stats.Server.NameServerStats {
> if desc, ok := serverLabelStats[s.Name]; ok {
> r := strings.TrimPrefix(s.Name, "Qry")
> ch <- prometheus.MustNewConstMetric(
> desc, prometheus.CounterValue, float64(s.Counter), r,
> )
> }
>
> Personally, I need QryUDP, QryTCP and ReqTCP metrics. I guess there is
> trimming of "Qry" and I can see Recursion and Dropped metrics, but where
> are the others?
>
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/540cdef6-63aa-4225-8762-efa9f30fd5aan%40googlegroups.com.