File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Instrumentation/Laravel/src/Watchers/RedisCommand Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public function register(Application $app): void
3838 }
3939
4040 /**
41- * Record a query .
41+ * Record a Redis command .
4242 */
4343 /** @psalm-suppress UndefinedThisPropertyFetch */
4444 public function recordRedisCommand (CommandExecuted $ event ): void
@@ -59,7 +59,7 @@ public function recordRedisCommand(CommandExecuted $event): void
5959 TraceAttributes::DB_SYSTEM => TraceAttributeValues::DB_SYSTEM_REDIS ,
6060 TraceAttributes::DB_NAME => $ this ->fetchDbIndex ($ event ->connection ),
6161 TraceAttributes::DB_OPERATION => $ operationName ,
62- TraceAttributes::DB_QUERY_TEXT => Serializer::serializeCommand ($ event ->command , $ event ->parameters ),
62+ TraceAttributes::DB_STATEMENT => Serializer::serializeCommand ($ event ->command , $ event ->parameters ),
6363 TraceAttributes::SERVER_ADDRESS => $ this ->fetchDbHost ($ event ->connection ),
6464 ];
6565
You can’t perform that action at this time.
0 commit comments