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

Extend version.Print with platform info #258

Merged
merged 2 commits into from Sep 23, 2020

Conversation

dstdfx
Copy link
Contributor

@dstdfx dstdfx commented Sep 22, 2020

Signed-off-by: Daniil Rutskiy <dstdfx@gmail.com>
Signed-off-by: Daniil Rutskiy <dstdfx@gmail.com>
@brian-brazil
Copy link
Contributor

From context, I think @roidelapluie wants this in the logs so we can easily see it when users post issues. Having it only show on an extra command run doesn't really help.

@dstdfx
Copy link
Contributor Author

dstdfx commented Sep 23, 2020

From context, I think @roidelapluie wants this in the logs so we can easily see it when users post issues. Having it only show on an extra command run doesn't really help.

In the referenced issue the output looks exactly like from prometheus --version command. Moreover the output of this command is mentioned in the issue template.

@roidelapluie
Copy link
Member

Yes it is in prometheus --version as that is what we ask users to provide

@roidelapluie
Copy link
Member

We often only get the tail of the logs for users.

@brian-brazil brian-brazil merged commit 317b7b1 into prometheus:master Sep 23, 2020
@brian-brazil
Copy link
Contributor

Thanks!

@dstdfx dstdfx deleted the add-platform-info branch September 23, 2020 12:54
alanprot pushed a commit to alanprot/common that referenced this pull request Mar 15, 2023
Update CI build to Go 1.17; drop BUILD_IN_CONTAINER
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 this pull request may close these issues.

None yet

3 participants