Skip to content

Commit

Permalink
[FAB-15578] Fix typos on the endorser metric name
Browse files Browse the repository at this point in the history
This patch fixes typos on the endorser metric name from
"endorser_propsal_duration" to "endorser_proposal_duration"

Signed-off-by: Tatsuya Sato <[email protected]>
Change-Id: I1bcb45baf43d398e1ec91885146c198e539d6f59
  • Loading branch information
satota2 authored and denyeart committed Jan 28, 2020
1 parent 975cc00 commit bc3bb1a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion core/endorser/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import "github.com/hyperledger/fabric/common/metrics"
var (
proposalDurationHistogramOpts = metrics.HistogramOpts{
Namespace: "endorser",
Name: "propsal_duration",
Name: "proposal_duration",
Help: "The time to complete a proposal.",
LabelNames: []string{"channel", "chaincode", "success"},
StatsdFormat: "%{#fqname}.%{channel}.%{chaincode}.%{success}",
Expand Down
12 changes: 6 additions & 6 deletions docs/source/metrics_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,15 @@ The following metrics are currently exported for consumption by Prometheus.
| endorser_proposal_acl_failures | counter | The number of proposals that failed ACL checks. | channel |
| | | | chaincode |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| endorser_proposal_duration | histogram | The time to complete a proposal. | channel |
| | | | chaincode |
| | | | success |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| endorser_proposal_validation_failures | counter | The number of proposals that have failed initial | |
| | | validation. | |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| endorser_proposals_received | counter | The number of proposals received. | |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| endorser_propsal_duration | histogram | The time to complete a proposal. | channel |
| | | | chaincode |
| | | | success |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| endorser_successful_proposals | counter | The number of successful proposals. | |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| fabric_version | gauge | The active version of Fabric. | version |
Expand Down Expand Up @@ -391,13 +391,13 @@ associated with the metric.
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| endorser.proposal_acl_failures.%{channel}.%{chaincode} | counter | The number of proposals that failed ACL checks. |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| endorser.proposal_duration.%{channel}.%{chaincode}.%{success} | histogram | The time to complete a proposal. |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| endorser.proposal_validation_failures | counter | The number of proposals that have failed initial |
| | | validation. |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| endorser.proposals_received | counter | The number of proposals received. |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| endorser.propsal_duration.%{channel}.%{chaincode}.%{success} | histogram | The time to complete a proposal. |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| endorser.successful_proposals | counter | The number of successful proposals. |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| fabric_version.%{version} | gauge | The active version of Fabric. |
Expand Down

0 comments on commit bc3bb1a

Please sign in to comment.