Non-docker images are lacking version info
kuskoman opened this issue · 0 comments
kuskoman commented
Description of the Issue
Built binaries are not reporting version
Version of logstash-exporter, or logstash-exporter Image
v2.0.0-pre4
Version of Chart (if applicable)
No response
Operating System/Environment
centos 7
Logs
[root@logstash--ops admin]# systemctl status logstash-exporter -l
● logstash-exporter.service - logstash-exporter agent
Loaded: loaded (/etc/systemd/system/logstash-exporter.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2024-03-04 11:08:36 UTC; 43s ago
Main PID: 30996 (logstash-export)
CGroup: /system.slice/logstash-exporter.service
└─30996 /usr/bin/logstash-exporter -config /etc/logstash-exporter/config.yml
Mar 04 11:08:36 logstash--ops.dc02.appetize.internal systemd[1]: Started logstash-exporter agent.
Mar 04 11:08:36 logstash--ops.dc02.appetize.internal logstash-exporter[30996]: time=2024-03-04T11:08:36.490Z level=WARN msg="failed to load .env file" error="open .env: no such file or directory"
Mar 04 11:08:36 logstash--ops.dc02.appetize.internal logstash-exporter[30996]: time=2024-03-04T11:08:36.490Z level=INFO msg="Version: unknown, SemanticVersion: unknown, GitCommit: unknown, GoVersion: go1.22.0, BuildArch: amd64, BuildOS: linux, BuildDate: unknown"
Mar 04 11:08:36 logstash--ops.dc02.appetize.internal logstash-exporter[30996]: time=2024-03-04T11:08:36.490Z level=INFO msg="starting server on" host=0.0.0.0 port=9198