Skip to content

Commit

Permalink
enable pprof
Browse files Browse the repository at this point in the history
Signed-off-by: David Wertenteil <[email protected]>
  • Loading branch information
David Wertenteil committed Jun 3, 2024
1 parent dd255f4 commit 649291f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ package main

import (
"context"
"node-agent/pkg/healthmanager"
"strings"

"net/http"
_ "net/http/pprof"
"net/url"
"node-agent/internal/validator"
"node-agent/pkg/applicationprofilemanager"
Expand All @@ -15,6 +13,7 @@ import (
"node-agent/pkg/dnsmanager"
"node-agent/pkg/exporters"
"node-agent/pkg/filehandler/v1"
"node-agent/pkg/healthmanager"
"node-agent/pkg/malwaremanager"
malwaremanagerv1 "node-agent/pkg/malwaremanager/v1"
"node-agent/pkg/metricsmanager"
Expand All @@ -41,6 +40,7 @@ import (
"node-agent/pkg/watcher/dynamicwatcher"
"os"
"os/signal"
"strings"
"syscall"

utilsmetadata "github.com/armosec/utils-k8s-go/armometadata"
Expand Down

0 comments on commit 649291f

Please sign in to comment.