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

Exporter does not show its version #64

Closed
Dmitry-Eremeev opened this issue Jan 28, 2025 · 0 comments · Fixed by #65
Closed

Exporter does not show its version #64

Dmitry-Eremeev opened this issue Jan 28, 2025 · 0 comments · Fixed by #65

Comments

@Dmitry-Eremeev
Copy link

  1. download exporter from
    https://github.com/inovex/prometheus-libvirt-exporter/releases/download/v1.6.0/prometheus-libvirt-exporter-1.6.0.linux-amd64.tar.gz

  2. extract from archive

  3. check its version

$ ./prometheus-libvirt-exporter --version
libvirt_exporter, version (branch: , revision: unknown)
build user:
build date:
go version: go1.22.1
platform: linux/amd64
tags: netgo

  1. check log messages about its version

$ ./prometheus-libvirt-exporter
ts=2025-01-28T16:27:58.402Z caller=main.go:44 level=info msg="Starting libvirt_exporter" version="(version=, branch=, revision=unknown)"
ts=2025-01-28T16:27:58.402Z caller=main.go:45 level=info msg="Build context" build_context="(go=go1.22.1, platform=linux/amd64, user=, date=, tags=netgo)"
ts=2025-01-28T16:27:58.402Z caller=tls_config.go:313 level=info msg="Listening on" address=[::]:9177
ts=2025-01-28T16:27:58.402Z caller=tls_config.go:316 level=info msg="TLS is disabled." http2=false address=[::]:9177

Expected:
to see exporter version

Actual:
No exporter version

Dmitry-Eremeev added a commit to Dmitry-Eremeev/prometheus-libvirt-exporter that referenced this issue Jan 28, 2025
@Knalltuete5000 Knalltuete5000 linked a pull request Feb 18, 2025 that will close this issue
frittentheke pushed a commit that referenced this issue Feb 18, 2025
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 a pull request may close this issue.

1 participant