Skip to content

Commit

Permalink
db: Correct the name of the db_exec_prepared span name
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker authored and vincenzopalazzo committed Nov 19, 2024
1 parent 1b2d5ac commit d27aa98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ bool db_step(struct db_stmt *stmt)

void db_exec_prepared_v2(struct db_stmt *stmt TAKES)
{
trace_span_start("db_query_prepared", stmt);
trace_span_start("db_exec_prepared", stmt);
trace_span_tag(stmt, "query", stmt->query->query);
bool ret = stmt->db->config->exec_fn(stmt);
trace_span_end(stmt);
Expand Down

0 comments on commit d27aa98

Please sign in to comment.