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

Improve Startup Friendliness of Binary #178

Closed
matttproud opened this Issue Apr 24, 2013 · 3 comments

Comments

Projects
None yet
3 participants
@matttproud
Copy link
Member

matttproud commented Apr 24, 2013

Easy project:

  1. I'd like to have the Prometheus instance, upon start up, print out some information about itself.
    1. Current version. We presently don't have this embedded in the build.
    2. What port it is serving on, including address it is bound to.
    3. What the flags are presently set to. Maybe via http://golang.org/pkg/flag/#VisitAll?
  2. I'd like some of the information from above presented on a web handler.
    1. /flags
    2. /status includes the version?

For the version, a version controlled monotonically increasing integer for build is OK or even the revision SHA1. Up to you.

@ghost ghost assigned bernerdschaefer Apr 24, 2013

@juliusv

This comment has been minimized.

Copy link
Member

juliusv commented Apr 24, 2013

+1, especially the version would be helpful if you only have a binary and don't know from which source version it was built.

@matttproud

This comment has been minimized.

Copy link
Member Author

matttproud commented Apr 24, 2013

Additional information:

  • Branch name.
  • Build time.
  • Build hostname.
  • Build user.
  • Go version data.
    Am 24.04.2013 14:46 schrieb "juliusv" notifications@github.com:

+1, especially the version would be helpful if you only have a binary and
don't know from which source version it was built.


Reply to this email directly or view it on GitHubhttps://github.com//issues/178#issuecomment-16923961
.

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 25, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 25, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.