Skip to content

Commit

Permalink
Merge pull request #490 from raghu-nandan-bs/feat/add-metrics
Browse files Browse the repository at this point in the history
Add Metrics
  • Loading branch information
ese authored Oct 21, 2022
2 parents 94d7492 + ddc51cc commit c224cad
Show file tree
Hide file tree
Showing 36 changed files with 3,272 additions and 189 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.bash_history
.vscode
.idea/
/tmp
/tmp
vendor
5 changes: 3 additions & 2 deletions cmd/redisoperator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"fmt"
"io/ioutil"
"net/http"
_ "net/http/pprof"
"os"
"os/signal"
"strings"
Expand Down Expand Up @@ -82,10 +83,10 @@ func (m *Main) Run() error {
}

// Create kubernetes service.
k8sservice := k8s.New(k8sClient, customClient, aeClientset, m.logger)
k8sservice := k8s.New(k8sClient, customClient, aeClientset, m.logger, metricsRecorder)

// Create the redis clients
redisClient := redis.New()
redisClient := redis.New(metricsRecorder)

// Get lease lock resource namespace
lockNamespace := getNamespace()
Expand Down
Loading

0 comments on commit c224cad

Please sign in to comment.