Skip to content

Commit

Permalink
fix missing commit file
Browse files Browse the repository at this point in the history
  • Loading branch information
mrproliu committed Sep 2, 2024
1 parent c7aea5a commit dc8d16c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/accesslog/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ package accesslog
import (
"context"
"fmt"
"strings"
"time"

process2 "github.com/shirou/gopsutil/process"
Expand Down Expand Up @@ -68,11 +69,12 @@ func NewRunner(mgr *module.Manager, config *common.Config) (*Runner, error) {
coreModule := mgr.FindModule(core.ModuleName).(core.Operator)
backendOP := coreModule.BackendOperator()
clusterName := coreModule.ClusterName()
monitorFilter := common.NewStaticMonitorFilter(strings.Split(config.ExcludeNamespaces, ","), strings.Split(config.ExcludeClusters, ","))
runner := &Runner{
context: &common.AccessLogContext{
BPF: bpfLoader,
Config: config,
ConnectionMgr: common.NewConnectionManager(config, mgr, bpfLoader),
ConnectionMgr: common.NewConnectionManager(config, mgr, bpfLoader, monitorFilter),
},
collectors: collector.Collectors(),
mgr: mgr,
Expand Down

0 comments on commit dc8d16c

Please sign in to comment.