INNER CODE UNIT · Go
main
aquasecurity/tracee · cmd/tracee-bench/main.go:53
func main() {
app := cli.App{
Name: "tracee-bench",
Usage: "A prometheus based performance probe for tracee",
Flags: []cli.Flag{
&cli.StringFlag{
Name: prometheusAddressFlag,
Usage: "address of a prometheus instance tracking tracee",
Value: "http://localhost:9090",
},
&cli.IntFlag{
Name: periodFlag,
Usage: "period of scraping in seconds",
Value: 5,
},
&cli.StringFlag{
Name: outputFlag,
Usage: "set output format (options: pretty, json)",