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

feat(telemetry): add zetaclientd :8123/version endpoint #636

Merged
merged 4 commits into from May 23, 2023

Conversation

brewmaster012
Copy link
Collaborator

@brewmaster012 brewmaster012 commented May 23, 2023

This endpoint returns the version string specified at build time, the same output as the zetaclientd version command (#541).

Example

# curl http://localhost:8123/version
v1.0.0-3-g93b7b230

closes #615

brewmaster012 and others added 4 commits May 17, 2023 12:07
to make it less confusing. btcd library expects IP:PORT
or HOSTNAME:PORT as the RPCHost format.
as the build rule in Makefile uses .git/ to find tags and
generate version string.
Copy link
Contributor

@aldapp7 aldapp7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@brewmaster012 brewmaster012 merged commit 5157b8b into develop May 23, 2023
14 checks passed
CharlieMc0 pushed a commit that referenced this pull request Jun 27, 2023
* refactor: rename bitcoin RPCEndpoint to RPCHost

to make it less confusing. btcd library expects IP:PORT
or HOSTNAME:PORT as the RPCHost format.

* chore: remove .git from dockerignore file

as the build rule in Makefile uses .git/ to find tags and
generate version string.

* zetaclient: add :8123/version endpoint

---------

Co-authored-by: brewmaster012 <>
CharlieMc0 pushed a commit that referenced this pull request Jun 27, 2023
* refactor: rename bitcoin RPCEndpoint to RPCHost

to make it less confusing. btcd library expects IP:PORT
or HOSTNAME:PORT as the RPCHost format.

* chore: remove .git from dockerignore file

as the build rule in Makefile uses .git/ to find tags and
generate version string.

* zetaclient: add :8123/version endpoint

---------

Co-authored-by: brewmaster012 <>
@lumtis lumtis deleted the telemetry-client-version branch October 27, 2023 23:14
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.

telemetry: client version
3 participants