Skip to content

Commit

Permalink
add docs for smartbft metrics (hyperledger#4434)
Browse files Browse the repository at this point in the history
Signed-off-by: Fedor Partanskiy <[email protected]>
  • Loading branch information
pfi79 authored Nov 20, 2023
1 parent 4ae74f3 commit efc0062
Show file tree
Hide file tree
Showing 3 changed files with 285 additions and 178 deletions.
3 changes: 2 additions & 1 deletion common/metrics/gendoc/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ func FileOptions(f *ast.File) ([]interface{}, error) {
if !ok {
continue
}
if imports[ident.Name] != "github.com/hyperledger/fabric/common/metrics" {
if imports[ident.Name] != "github.com/hyperledger/fabric/common/metrics" &&
imports[ident.Name] != "github.com/SmartBFT-Go/consensus/pkg/metrics" {
continue
}
option, err := createOption(literalType)
Expand Down
Loading

0 comments on commit efc0062

Please sign in to comment.