summaryrefslogtreecommitdiff
path: root/internal/tools
diff options
context:
space:
mode:
Diffstat (limited to 'internal/tools')
-rw-r--r--internal/tools/profile/profile.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/tools/profile/profile.go b/internal/tools/profile/profile.go
index 34dfc7e..d87662c 100644
--- a/internal/tools/profile/profile.go
+++ b/internal/tools/profile/profile.go
@@ -198,7 +198,7 @@ func runFullProfile(cfg *Config) error {
"-query", "from STATS select sum($goroutines),avg($cgocalls),max(lifetimeConnections)",
"-files", filepath.Join(cfg.TestDataDir, "dtail_format.log")}},
{"dmap", "csv_query", []string{"-profile", "-profiledir", cfg.ProfileDir, "-plain", "-cfg", "none",
- "-query", `select user,action,count(*) where status="success" group by user,action logformat csv`,
+ "-query", `select count($line),count($user),count($action) group by $user,$action where $status eq "success" logformat csv`,
"-files", filepath.Join(cfg.TestDataDir, "test.csv")}},
}