Defines the controller api metrics and registers them at controller startup (#1917)

Co-authored-by: Hugo Vieira <hugoamvieira@users.noreply.github.com>
This commit is contained in:
ToddandHugo Vieira authored and GitHub committed 2022-03-31 08:48:50 -07:00
1 parent 1bb2c5983d
commit 3eb22b073a
16 files changed
+1128 -16

No files matched your search

@@ -10,4 +10,11 @@ func Test_TestController(t *testing.T) {
tc := NewTestController(t, nil)
defer tc.Shutdown()
})
t.Run("start 2 controllers", func(t *testing.T) {
t.Parallel()
tc1 := NewTestController(t, nil)
tc2 := NewTestController(t, nil)
defer tc1.Shutdown()
defer tc2.Shutdown()
})
}