Skip to content

Commit

Permalink
[FAB-17068] Add doc for /version endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Brett Logan <Brett.T.Logan@ibm.com>
Change-Id: I81e26dde3169096c2951ae69953733f6cb545b98
  • Loading branch information
Brett Logan authored and denyeart committed Nov 14, 2019
1 parent 95ffcdc commit a3a9485
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/source/operations_service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The API exposes the following capabilities:
- Log level management
- Health checks
- Prometheus target for operational metrics (when configured)
- Version information

Configuring the Operations Service
----------------------------------
Expand Down Expand Up @@ -304,5 +305,12 @@ metrics.
For a look at the different metrics that are generated, check out
:doc:`metrics_reference`.

Version
-------

The orderer and peer both expose a ``/version`` endpoint. This endpoint
serves a JSON document containing the orderer or peer version and the commit
SHA on which the release was cut.

.. Licensed under Creative Commons Attribution 4.0 International License
https://creativecommons.org/licenses/by/4.0/
3 changes: 3 additions & 0 deletions docs/source/whatsnew.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ is the recommended release for production operations.
* The ``/metrics`` endpoint allows operators to utilize Prometheus to pull operational
metrics from peer and orderer nodes. Metrics can also be pushed to StatsD.

* As of v1.4.4, the ``/version`` endpoint allows operators to query the release version
of the peer and orderer and the commit SHA from which the release was cut.

Improved programming model for developing applications
------------------------------------------------------

Expand Down

0 comments on commit a3a9485

Please sign in to comment.