-
Notifications
You must be signed in to change notification settings - Fork 373
Open
Labels
communityIssues or PRs opened by an external contributorIssues or PRs opened by an external contributor
Description
I upgraded from v1.3.0 to v1.5.1, using Docker image:
# old one
nginx/nginx-prometheus-exporter:1.3.0
#new one
nginx/nginx-prometheus-exporter:1.5.1
When running v1.5.1, the first line in log is
time=2025-10-23T04:53:33.971Z level=INFO source=exporter.go:126 msg=nginx-prometheus-exporter version="(version=0.0.0-SNAPSHOT-bae43bc, branch=main, revision=bae43bc818cd6e47a08163a7b31f355f454e9ecb)"
When running older v1.3.0, the first line in log is
ts=2025-07-28T01:08:36.828Z caller=exporter.go:124 level=info msg="Starting nginx-prometheus-exporter" version="(version=1.3.0, branch=HEAD, revision=9522f4e39ee1aed817d7d70a89514ccc0ae1594a)"
Seems like a builder issue, which prevents builder from knowing actual version on docker iamge build.
Metadata
Metadata
Assignees
Labels
communityIssues or PRs opened by an external contributorIssues or PRs opened by an external contributor