Documentation ¶
Index ¶
- type Alerter
- func (alerter *Alerter) HandleBenchmarkResult(benchmarkKey, benchmarkName string, output qpb.QuickstoreOutput, err error) error
- func (alerter *Alerter) SetupGitHub(org, repo, githubTokenPath string)
- func (alerter *Alerter) SetupSlack(userName, readTokenPath, writeTokenPath string, channels []config.Channel)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alerter ¶
type Alerter struct {
// contains filtered or unexported fields
}
Alerter controls alert for performance regressions detected by Mako.
func (*Alerter) HandleBenchmarkResult ¶
func (alerter *Alerter) HandleBenchmarkResult( benchmarkKey, benchmarkName string, output qpb.QuickstoreOutput, err error) error
HandleBenchmarkResult will handle the benchmark result which returns from `q.Store()`
func (*Alerter) SetupGitHub ¶
SetupGitHub will setup SetupGitHub for the alerter.
Click to show internal directories.
Click to hide internal directories.