Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-micro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
without authentication
meibuyu-micro
Commits
a5e70106
Commit
a5e70106
authored
Apr 26, 2022
by
Liu lu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
异步批日志记录
parent
6c5633a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
LogTraceQueue.php
src/Handler/LogTrace/LogTraceQueue.php
+1
-1
No files found.
src/Handler/LogTrace/LogTraceQueue.php
View file @
a5e70106
...
@@ -26,7 +26,7 @@ class LogTraceQueue extends RedisQueueBatchHandler
...
@@ -26,7 +26,7 @@ class LogTraceQueue extends RedisQueueBatchHandler
private
function
createLogTraceTable
()
private
function
createLogTraceTable
()
{
{
Db
::
insert
(
"
Db
::
insert
(
"
create table
if not exist
`trace_logs` (
create table
IF NOT EXISTS
`trace_logs` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`request_id` varchar(32) NOT NULL COMMENT '一次http或rpc请求调用的唯一key',
`request_id` varchar(32) NOT NULL COMMENT '一次http或rpc请求调用的唯一key',
`source` varchar(255) NOT NULL COMMENT '来源,包含调用类命名空间及方法',
`source` varchar(255) NOT NULL COMMENT '来源,包含调用类命名空间及方法',
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment