<commit_before>package app

import (
	"github.com/appscode/k8s-addons/pkg/events"
	"github.com/appscode/k8s-addons/pkg/stash"
	acw "github.com/appscode/k8s-addons/pkg/watcher"
	"github.com/appscode/log"
	"github.com/appscode/searchlight/pkg/client/icinga"
	"github.com/appscode/searchlight/pkg/controller"
)

type Watcher struct {
	acw.Watcher

	IcingaClient *icinga.IcingaClient
}

func (watch *Watcher) Run() {
	watch.Storage = &stash.Storage{}
	watch.Service()
	watch.StatefulSet()
	watch.DaemonSet()
	watch.ReplicaSet()
	watch.RC()
	watch.Pod()
	watch.Alert()
	watch.AlertEvent()
	watch.Node()
}
<commit_msg>Added Dispatch function<commit_after>package app

import (
	"github.com/appscode/k8s-addons/pkg/events"
	"github.com/appscode/k8s-addons/pkg/stash"
	acw "github.com/appscode/k8s-addons/pkg/watcher"
	"github.com/appscode/log"
	"github.com/appscode/searchlight/pkg/client/icinga"
	"github.com/appscode/searchlight/pkg/controller"
)

type Watcher struct {
	acw.Watcher

	IcingaClient *icinga.IcingaClient
}

func (watch *Watcher) Run() {
	watch.Watcher.Dispatch = watch.Dispatch
	watch.Storage = &stash.Storage{}
	watch.Service()
	watch.StatefulSet()
	watch.DaemonSet()
	watch.ReplicaSet()
	watch.RC()
	watch.Pod()
	watch.Alert()
	watch.AlertEvent()
	watch.Node()
}

{'fraction_non_alphanumeric': 0.15058823529411763, 'fraction_numerical': 0.004705882352941176, 'mean_word_length': 4.8, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4014934', 'n_tokens_mistral': 530, 'n_tokens_neox': 529, 'n_words': 66}