Add Audit target metrics (#16044)

This commit is contained in:
Klaus Post authored and GitHub committed 2022-11-10 10:20:21 -08:00
1 parent 34d28dd79f
commit 5b242f1d11
8 files changed
+233 -32

No files matched your search

+5
View File
@@ -62,6 +62,11 @@ func (t *testingLogger) Type() types.TargetType {
return types.TargetHTTP
}
// Stats returns the target statistics.
func (t *testingLogger) Stats() types.TargetStats {
return types.TargetStats{}
}
func (t *testingLogger) Send(entry interface{}) error {
t.mu.Lock()
defer t.mu.Unlock()