-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1445 from ydb-platform/trace
trace changes
- Loading branch information
Showing
14 changed files
with
927 additions
and
937 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,3 @@ | ||
package pool | ||
|
||
const DefaultLimit = 50 | ||
|
||
var defaultTrace = &Trace{ | ||
OnNew: func(info *NewStartInfo) func(info *NewDoneInfo) { | ||
return func(info *NewDoneInfo) { | ||
} | ||
}, | ||
OnClose: func(info *CloseStartInfo) func(info *CloseDoneInfo) { | ||
return func(info *CloseDoneInfo) { | ||
} | ||
}, | ||
OnTry: func(info *TryStartInfo) func(info *TryDoneInfo) { | ||
return func(info *TryDoneInfo) { | ||
} | ||
}, | ||
OnWith: func(info *WithStartInfo) func(info *WithDoneInfo) { | ||
return func(info *WithDoneInfo) { | ||
} | ||
}, | ||
OnPut: func(info *PutStartInfo) func(info *PutDoneInfo) { | ||
return func(info *PutDoneInfo) { | ||
} | ||
}, | ||
OnGet: func(info *GetStartInfo) func(info *GetDoneInfo) { | ||
return func(info *GetDoneInfo) { | ||
} | ||
}, | ||
OnChange: func(info ChangeInfo) {}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
package pool | ||
|
||
type Stats struct { | ||
Limit int | ||
Idle int | ||
Limit int | ||
Index int | ||
Idle int | ||
Wait int | ||
CreateInProgress int | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.