> Having a quick look at the binary, it seems, that netgo build tag was 
> applied:
>
> $ strings blackbox_exporter-0.24.0.linux-amd64/blackbox_exporter | egrep 
> '\-tags.*net.*'
> build   -tags=netgo
> build   -tags=netgo

As a side note: if you have the Go toolchain available, you can use 'go
version -m <binary>' to conveniently dump out all of this information
(among other things). Taken from the current blackbox_exporter binary
release:

        build   -tags=netgo
        build   CGO_ENABLED=0

(In the case of standard Prometheus exporters like node_exporter and
blackbox_exporter, it looks like the tags information is reported in
their '--version' output, although not the CGO setting. But 'go version
-m' is authoritative for all Go binaries.)

        - cks

-- 
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/285787.1711035177%40apps0.cs.toronto.edu.

Reply via email to