diff --git a/core/endorser/metrics.go b/core/endorser/metrics.go index 8081132aa3e..183c83df760 100644 --- a/core/endorser/metrics.go +++ b/core/endorser/metrics.go @@ -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}", diff --git a/docs/source/metrics_reference.rst b/docs/source/metrics_reference.rst index e5eb49d7d3e..f6e7599217e 100644 --- a/docs/source/metrics_reference.rst +++ b/docs/source/metrics_reference.rst @@ -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 | @@ -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. |