404 lines
25 KiB
Plaintext
404 lines
25 KiB
Plaintext
|
||
level
|
||
timestamp
|
||
caller
|
||
msg
|
||
request_id
|
||
|
||
method
|
||
path
|
||
status
|
||
duration
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
15:42:02.294 [DubboServerHandler-172.24.16.10:20884-thread-200] INFO c.f.p.s.i.PlanConfigServiceImpl - [getPlanConfigFromNacos,78] - 成功从Nacos获取套餐配置,Data ID: plan.config, 配置长度: 19882
|
||
15:44:18.360 [Dubbo-framework-registry-notification-2-thread-1] WARN o.a.d.r.n.NacosRegistry - [warn,76] - [DUBBO] Received empty url address list and empty protection is disabled, will clear current available addresses, dubbo version: 3.2.9, current host: 172.24.16.10, error code: 1-37. This may be caused by , go to https://dubbo.apache.org/faq/1/37 to find instructions.
|
||
00:09:03.709 [DubboServerHandler-172.24.16.10:20884-thread-10] ERROR o.a.d.r.f.ExceptionFilter - [error,101] - [DUBBO] Got unchecked and undeclared exception which called by 172.24.16.10. service: com.flymoon.payment.api.IAgentUserPoints, method: getCurrentUserPoints, exception: org.mybatis.spring.MyBatisSystemException: null, dubbo version: 3.2.9, current host: 172.24.16.10, error code: 5-36. This may be caused by , go to https://dubbo.apache.org/faq/5/36 to find instructions.
|
||
org.mybatis.spring.MyBatisSystemException: null
|
||
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:97)
|
||
错误堆栈信息
|
||
以上的我的日志格式,我用filebast收集日志。
|
||
1、换行判断怎么写?比如下边的配置应该这么改
|
||
fields_under_root: true
|
||
multiline.pattern: '^\d{2}:\d{2}:\d{2}\.\d{3}' # 针对info的日志格式
|
||
multiline.negate: true
|
||
multiline.match: after
|
||
|
||
2、处理器部分怎么拆字段,比如下边的配置应该怎么改:
|
||
- dissect:
|
||
when:
|
||
equals:
|
||
log_type: payment-log
|
||
tokenizer: '%{timestamp} %{level} - [%{method},%{line}] - %{message}'
|
||
field: "message"
|
||
target_prefix: "mylog"
|
||
ignore_missing: true
|
||
overwrite_keys: true
|
||
|
||
|
||
|
||
|
||
5分钟 50条error 告警
|
||
|
||
系统日志:
|
||
时间 - 函数 - 日志等级 - 普通信息
|
||
|
||
2025-07-30 17:04:18,018 - 函数 - INFO - 从Nacos获取配置 agent.coordinator.prompt
|
||
|
||
2025-07-30 17:13:50,252 - main - WARNING - source_platform 不存在或格式错误: []
|
||
|
||
2025-07-30 17:13:50,252 - main - error - 详细错误信息: Traceback (most recent call last):
|
||
File "/data/webapps/lessie_sourcing_agents/dialogue/app.py", line 512, in wrapper
|
||
event = await next_event
|
||
^^^^^^^^^^^^^^^^
|
||
File "/data/webapps/lessie_sourcing_agents/dialogue/app.py", line 674, in _astream_workflow_generator
|
||
async for agent, _, event_data in graph.astream(
|
||
File "/root/miniconda3/envs/lessie/lib/python3.12/site-packages/langgraph/pregel/__init__.py", line 2767, in astream
|
||
async for _ in runner.atick(
|
||
File "/data/webapps/lessie_sourcing_agents/agents/nodes/complete_task.py", line 35, in complete_task_node
|
||
search_summary = search_ids.get(current_search_id)
|
||
^^^^^^^^^^^^^^
|
||
AttributeError: 'str' object has no attribute 'get'
|
||
During task with name 'complete_task' and id 'c38ca0b9-f430-62d5-b9e7-880621bc2b39'
|
||
|
||
2025-07-30 17:13:50,252 - main - error - tokens过多: Too many tokens, please wait before trying again.
|
||
|
||
|
||
业务日志:
|
||
时间 - 业务日志关键字 - 函数 - 日志等级 - 用户邮箱 - 会话id - 普通信息
|
||
正常的info
|
||
异常的Warning
|
||
|
||
1、检查积分
|
||
2025-06-16 17:40:28,252 - business - info - [user_email: chendinxin@gmail.com] [conversation_id: 123456-1234-1234-1234-123456789] [event: 检查积分 | msg: 用户积分充足 | 99925]
|
||
2025-06-16 17:40:28,252 - business - warn - [user_email: chendinxin@gmail.com] [conversation_id: 123456-1234-1234-1234-123456789] [event: 检查积分 | msg: 用户积分不足 | 9]
|
||
|
||
2、对话
|
||
2025-06-16 17:40:28,252 - business - info - [user_email: chendinxin@gmail.com] [conversation_id: 123456-1234-1234-1234-123456789] [event: 用户输入 | msg: 帮我找社媒上所有发布过 flowith 内容帖子的达人,仅限 Twitter 渠道 | 语言: zh-CN]
|
||
2025-06-16 17:40:28,252 - business - info - [user_email: chendinxin@gmail.com] [conversation_id: 123456-1234-1234-1234-123456789] [event: 用户意图识别 | msg: 解析后的模式: B2B | 对话名称: 搜索网红公司 | 语言: zh-CN]
|
||
2025-06-16 17:40:28,252 - business - info - [user_email: chendinxin@gmail.com] [conversation_id: 123456-1234-1234-1234-123456789] [event: 创建达人列表 | msg: 召回50 | 其他]
|
||
|
||
2025-06-16 17:40:28,252 - business - info - [user_email: chendinxin@gmail.com] [conversation_id: 123456-1234-1234-1234-123456789] [event: Reviewing | msg: 召回50,通过10 | 其他]
|
||
|
||
|
||
3、解锁
|
||
2025-06-16 17:40:28,252 - business - info - [user_email: chendinxin@gmail.com] [conversation_id: 123456-1234-1234-1234-123456789] [event: 解锁邮箱 | msg: | 其他]
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
#========================================
|
||
首页直接进
|
||
|
||
1、登录
|
||
2、输入prompt 检查积分、积分足or不足、会话id、对话名称
|
||
(引导对话)
|
||
3、意图识别 意图判断场景:达人搜索 or b2b or 更多;用户第一次输入的 prompt文本
|
||
4、Searching web
|
||
5、Create a new list
|
||
6、Callingapollo for search
|
||
7、Reviewing influencer homepages 好多
|
||
8、搜索结果总结
|
||
|
||
|
||
8.1 查看邮箱、查看手机 当前积分、需要扣、查缓存 调用api返回邮箱手机 缓存、成功扣积分
|
||
8.2 勾选\全量导出解锁邮件手机
|
||
8.3 发送创email_list 解锁邮箱
|
||
|
||
|
||
|
||
|
||
进Process
|
||
获取对话
|
||
成功获取对话名称: 【已出表单】AI C-level Executives
|
||
|
||
|
||
|
||
进收件箱
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
#========================================
|
||
1、tokens过多:Too many tokens, please wait before trying again.【这个报错会直接出现在web对话界面】
|
||
2、解锁电子邮件扣除积分失败:
|
||
|
||
|
||
|
||
|
||
#========================================
|
||
|
||
|
||
|
||
|
||
28771 - 139647866873600 - 2025-07-30 17:13:58,115 - ERROR - node.py:44 - table_operation_node - 表格操作失败: 不支持的操作类型: complete_search_task
|
||
2025-07-30 17:13:58,115 - /data/webapps/lessie_sourcing_agents/logs/node.py.log - ERROR - 表格操作失败: 不支持的操作类型: complete_search_task
|
||
|
||
2025-07-30 17:13:50,252 - agents.nodes.search.influencer_search - WARNING - source_platform 不存在或格式错误: []
|
||
2025-07-30 17:13:50,252 - agents.nodes.search.influencer_search - WARNING - source_platform 不存在或格式错误: []
|
||
|
||
|
||
2025-07-30 17:04:23,678 - dialogue.app - ERROR - 生成器处理事件时发生异常 - conversation_id: b3350fed-43c2-49cf-9dea-26565d218d39, 错误: AttributeError, 详情: 'str' object has no attribute 'get'
|
||
2025-07-30 17:06:32,822 - agents.nodes.supervisor_b2b_customers - ERROR - ❌ Supervisor Node 执行失败: An error occurred (ThrottlingException) when calling the ConverseStream operation (reached max retries: 4): Too many tokens, please wait before trying again.
|
||
|
||
|
||
INFO: 162.158.186.140:0 - "POST /api/chat/stream HTTP/1.1" 200 OK
|
||
2025-07-30 17:04:17,648 - utils.points_config - INFO - 积分检查开关状态: True
|
||
28771 - 139649554802496 - 2025-07-30 17:04:18,011 - INFO - points_manager.py:58 - check_user_points - 用户积分充足: 99925
|
||
2025-07-30 17:04:18,011 - /data/webapps/lessie_sourcing_agents/logs/points_manager.log - INFO - 用户积分充足: 99925
|
||
2025-07-30 17:04:18,017 - agents.nodes.coordinator - INFO - 🎯 意图识别节点开始执行
|
||
2025-07-30 17:04:18,018 - agents.nodes.coordinator - INFO - 意图识别与会话id b3350fed-43c2-49cf-9dea-26565d218d39,分析用户输入: This is the user input: 搜索在过去7天内发布过内容、在过去30天内每个视频平均观看量超过5,000次、并且在Twitter上互动率超过2%的网红。...
|
||
28771 - 139648270366464 - 2025-07-30 17:04:18,018 - INFO - nacos_config.py:101 - get_config - 从Nacos获取配置 agent.coordinator.prompt
|
||
2025-07-30 17:04:18,018 - /data/webapps/lessie_sourcing_agents/logs/nacos_config.log - INFO - 从Nacos获取配置 agent.coordinator.prompt
|
||
2025-07-30 17:04:18,138 - agents.nodes.coordinator - INFO - 🔧 成功从Nacos获取意图识别系统提示词
|
||
2025-07-30 17:04:19,982 - agents.nodes.coordinator - INFO - 🔍 LLM原始响应: result='influencer' language='zh-CN' conversation_name='搜索网红' ai_resp=''
|
||
2025-07-30 17:04:19,982 - agents.nodes.coordinator - INFO - 📊 解析后的意图: influencer,对话名称: 搜索网红, 语言: zh-CN
|
||
2025-07-30 17:04:19,982 - agents.nodes.coordinator - INFO - 🌟 智能识别为Influencer模式
|
||
2025-07-30 17:04:19,985 - agents.nodes.coordinator - INFO - ✅ 已更新数据库中的对话名称: 搜索网红
|
||
2025-07-30 17:04:19,991 - langgraph - WARNING - Task coordinator with path ('__pregel_pull', 'coordinator') wrote to unknown channel is_last_step, ignoring it.
|
||
2025-07-30 17:04:19,991 - langgraph - WARNING - Task coordinator with path ('__pregel_pull', 'coordinator') wrote to unknown channel remaining_steps, ignoring it.
|
||
2025-07-30 17:04:19,993 - agents.nodes.supervisor_influencer - INFO - 🎯 Supervisor Node 开始执行, b3350fed-43c2-49cf-9dea-26565d218d39
|
||
2025-07-30 17:04:19,993 - agents.nodes.supervisor_influencer - INFO - 当前处理阶段: intent_classified
|
||
2025-07-30 17:04:19,994 - agents.nodes.supervisor_influencer - INFO - 🔄 开始流式调用 Supervisor Agent, b3350fed-43c2-49cf-9dea-26565d218d39
|
||
28771 - 139649554802496 - 2025-07-30 17:04:19,994 - INFO - nacos_config.py:101 - get_config - 从Nacos获取配置 agent.supervisor.influencer.system.prompt
|
||
2025-07-30 17:04:19,994 - /data/webapps/lessie_sourcing_agents/logs/nacos_config.log - INFO - 从Nacos获取配置 agent.supervisor.influencer.system.prompt
|
||
✅ 创建新对话记录成功: 对话 b3350fed
|
||
✅ 同时保存了 1 条消息
|
||
✅ 更新用户 1917431619678040066 的对话列表,添加 b3350fed-43c2-49cf-9dea-26565d218d39
|
||
✅ 用户消息已保存到数据库,共 1 条
|
||
✅ 成功获取对话名称: 搜索网红
|
||
INFO: 162.158.186.141:0 - "GET /api/conversation/conversation_name/b3350fed-43c2-49cf-9dea-26565d218d39 HTTP/1.1" 200 OK
|
||
2025-07-30 17:04:23,674 - agents.nodes.complete_task - INFO - 🎯 任务完成节点开始执行
|
||
2025-07-30 17:04:23,678 - dialogue.app - ERROR - 详细错误信息: Traceback (most recent call last):
|
||
File "/data/webapps/lessie_sourcing_agents/dialogue/app.py", line 512, in wrapper
|
||
event = await next_event
|
||
^^^^^^^^^^^^^^^^
|
||
File "/data/webapps/lessie_sourcing_agents/dialogue/app.py", line 674, in _astream_workflow_generator
|
||
async for agent, _, event_data in graph.astream(
|
||
File "/root/miniconda3/envs/lessie/lib/python3.12/site-packages/langgraph/pregel/__init__.py", line 2767, in astream
|
||
async for _ in runner.atick(
|
||
File "/data/webapps/lessie_sourcing_agents/agents/nodes/complete_task.py", line 35, in complete_task_node
|
||
search_summary = search_ids.get(current_search_id)
|
||
^^^^^^^^^^^^^^
|
||
AttributeError: 'str' object has no attribute 'get'
|
||
During task with name 'complete_task' and id 'c38ca0b9-f430-62d5-b9e7-880621bc2b39'
|
||
|
||
2025-07-30 17:04:23,678 - dialogue.app - ERROR - 生成器处理事件时发生异常 - conversation_id: b3350fed-43c2-49cf-9dea-26565d218d39, 错误: AttributeError, 详情: 'str' object has no attribute 'get'
|
||
2025-07-30 17:04:23,678 - dialogue.app - INFO - 会话流处理结束 - conversation_id: b3350fed-43c2-49cf-9dea-26565d218d39
|
||
2025-07-30 17:04:23,678 - dialogue.app - INFO - 取消已完成的事件任务 - conversation_id: b3350fed-43c2-49cf-9dea-26565d218d39
|
||
2025-07-30 17:04:23,678 - dialogue.app - INFO - 生成器正常结束 - conversation_id: b3350fed-43c2-49cf-9dea-26565d218d39
|
||
|
||
|
||
2025-07-30 15:09:59,309 - agents.nodes.search.business_search_customer - INFO - 🔄 开始调用 Business Search Graph,搜索状态: {'search_content': '寻找100-500人规模的科技公司中的营销决策者和关键联系人,重点关注那些正在寻求营销自动化解决方案的公司。目标职位包括CMO、营销总监、数字营销经理、增长营销经理、营销运营经理等。这些公司应该在SaaS、电商技术、营销技术、金融科技等领域,并且最近在营销岗位上有招聘活动,表明他们正在扩展营销团队并可能需要更好的营销自动化工具。', 'mode': 'b2b', 'target_cnt': 30, 'organization_domains_list': [], 'search_id': '94508aaf-4d1d-4778-b703-1a0796ab065b', 'search_round': 1, 'tool_call_id': 'tooluse_i2yphXZPQVOqsET-5U2WMQ'}, 搜索id: 94508aaf-4d1d-4778-b703-1a0796ab065b, 搜索轮次: 1
|
||
|
||
3601965 - 139638219982400 - 2025-07-30 15:09:59,311 - INFO - node_impls.py:239 - init_node_impl - init_node_impl state --> {'messages': [], 'search_content': '寻找100-500人规模的科技公司中的营销决策者和关键联系人,重点关注那些正在寻求营销自动化解决方案的公司。目标职位包括CMO、营销总监、数字营销经理、增长营销经理、营销运营经理等。这些公司应该在SaaS、电商技术、营销技术、金融科技等领域,并且最近在营销岗位上有招聘活动,表明他们正在扩展营销团队并可能需要更好的营销自动化工具。', 'search_id': '94508aaf-4d1d-4778-b703-1a0796ab065b', 'tool_call_id': 'tooluse_i2yphXZPQVOqsET-5U2WMQ', 'mode': 'b2b', 'target_cnt': 30, 'organization_domains_list': [], 'conversation_id': '605c6318-a630-433f-868c-ebd1caaadcfc'}
|
||
|
||
2025-07-30 15:09:59,311 - /data/webapps/lessie_sourcing_agents/logs/apollo_search_agent.log - INFO - init_node_impl state --> {'messages': [], 'search_content': '寻找100-500人规模的科技公司中的营销决策者和关键联系人,重点关注那些正在寻求营销自动化解决方案的公司。目标职位包括CMO、营销总监、数字营销经理、增长营销经理、营销运营经理等。这些公司应该在SaaS、电商技术、营销技术、金融科技等领域,并且最近在营销岗位上有招聘活动,表明他们正在扩展营销团队并可能需要更好的营销自动化工具。', 'search_id': '94508aaf-4d1d-4778-b703-1a0796ab065b', 'tool_call_id': 'tooluse_i2yphXZPQVOqsET-5U2WMQ', 'mode': 'b2b', 'target_cnt': 30, 'organization_domains_list': [], 'conversation_id': '605c6318-a630-433f-868c-ebd1caaadcfc'}
|
||
|
||
2025-07-30 15:09:59,314 - utils.points_config - INFO - 积分检查开关状态: True
|
||
|
||
3601965 - 139637305636416 - 2025-07-30 15:09:59,515 - INFO - points_manager.py:58 - check_user_points - 用户积分充足: 99925
|
||
|
||
2025-07-30 15:09:59,515 - /data/webapps/lessie_sourcing_agents/logs/points_manager.log - INFO - 用户积分充足: 99925
|
||
|
||
3601965 - 139637305636416 - 2025-07-30 15:09:59,516 - INFO - nacos_config.py:101 - get_config - 从Nacos获取配置 agent.search.business.apollo.param.prompt
|
||
|
||
2025-07-30 15:09:59,516 - /data/webapps/lessie_sourcing_agents/logs/nacos_config.log - INFO - 从Nacos获取配置 agent.search.business.apollo.param.prompt
|
||
|
||
|
||
3601965 - 139637305636416 - 2025-07-30 15:10:04,510 - INFO - node_impls.py:280 - apollo_node_impl - 生成apollo的API参数成功,耗时5秒, apollo_req:{"person_titles": ["chief marketing officer", "marketing director", "digital marketing manager", "growth marketing manager", "marketing operations manager", "cmo"], "person_seniorities": ["c_suite", "director", "manager"], "include_similar_titles": true, "organization_num_employees_ranges": ["100,500"], "revenue_range": {"min": 0, "max": 999999999}, "person_locations": [], "organization_locations": [], "currently_using_all_of_technology_uids": [], "currently_using_any_of_technology_uids": [], "currently_not_using_any_of_technology_uids": [], "contact_email_status": [], "q_keywords": "automation", "q_organization_job_titles": ["marketing manager", "digital marketing manager", "growth marketing manager", "marketing operations manager", "marketing director"], "organization_job_locations": [], "organization_num_jobs_range": {"min": 1, "max": 999},
|
||
"organization_job_posted_at_range": {"min": "2024-01-01", "max": "2025-07-31"}, "q_organization_domains_list": []}
|
||
|
||
2025-07-30 15:10:04,510 - /data/webapps/lessie_sourcing_agents/logs/apollo_search_agent.log - INFO - 生成apollo的API参数成功,耗时5秒, apollo_req:{"person_titles": ["chief marketing officer", "marketing director", "digital marketing manager", "growth marketing manager", "marketing operations manager", "cmo"], "person_seniorities": ["c_suite", "director", "manager"], "include_similar_titles": true, "organization_num_employees_ranges": ["100,500"], "revenue_range": {"min": 0, "max": 999999999}, "person_locations": [], "organization_locations": [], "currently_using_all_of_technology_uids": [], "currently_using_any_of_technology_uids": [], "currently_not_using_any_of_technology_uids": [], "contact_email_status": [], "q_keywords": "automation", "q_organization_job_titles": ["marketing manager", "digital marketing manager", "growth marketing manager", "marketing operations manager", "marketing director"], "organization_job_locations": [], "organization_num_jobs_range": {"min": 1, "max": 999}, "organization_job_posted_at_range": {"min": "2024-01-01", "max": "2025-07-31"}, "q_organization_domains_list": []}
|
||
|
||
|
||
3601965 - 139637691504192 - 2025-07-30 15:10:05,343 - INFO - apollo_search.py:364 - process_single_user - SUCCESS:search_ops.collection.upsert inserted, person_id:59962e91a6da987d5f90ebe3
|
||
3601965 - 139637297243712 - 2025-07-30 15:10:05,343 - INFO - apollo_search.py:364 - process_single_user - SUCCESS:search_ops.collection.upsert inserted, person_id:60ba08e085fec900018fc1e4
|
||
3601965 - 139637699896896 - 2025-07-30 15:10:05,343 - INFO - apollo_search.py:364 - process_single_user - SUCCESS:search_ops.collection.upsert inserted, person_id:64de2fdd236df0000101d5d5
|
||
|
||
2025-07-30 15:10:05,343 - /data/webapps/lessie_sourcing_agents/logs/mongo_store_record.log - INFO - SUCCESS:search_ops.collection.upsert inserted, person_id:59962e91a6da987d5f90ebe3
|
||
2025-07-30 15:10:05,343 - /data/webapps/lessie_sourcing_agents/logs/mongo_store_record.log - INFO - SUCCESS:search_ops.collection.upsert inserted, person_id:60ba08e085fec900018fc1e4
|
||
2025-07-30 15:10:05,343 - /data/webapps/lessie_sourcing_agents/logs/mongo_store_record.log - INFO - SUCCESS:search_ops.collection.upsert inserted, person_id:64de2fdd236df0000101d5d5
|
||
|
||
2025-07-30 15:19:23,188 - utils.points_config - INFO - 积分检查开关状态: True
|
||
3601965 - 139638778885696 - 2025-07-30 15:19:24,022 - ERROR - points_manager.py:110 - deduct_points - 积分扣除失败: org.springframework.dao.DataIntegrityViolationException:
|
||
### Error updating database. Cause: java.sql.SQLException: Field 'user_id' doesn't have a default value
|
||
### The error may exist in com/flymoon/payment/provider/mapper/AgentUserPointsMapper.java (best guess)
|
||
### The error may involve com.flymoon.payment.provider.mapper.AgentUserPointsMapper.insert-Inline
|
||
### The error occurred while setting parameters
|
||
### SQL: INSERT INTO agent_user_points ( current_points, total_obtained_points, total_used_points, package_type ) VALUES ( ?, ?, ?, ? )
|
||
### Cause: java.sql.SQLException: Field 'user_id' doesn't have a default value
|
||
; Field 'user_id' doesn't have a default value
|
||
org.springframework.dao.DataIntegrityViolationException:
|
||
### Error updating database. Cause: java.sql.SQLException: Field 'user_id' doesn't have a default value
|
||
### The error may exist in com/flymoon/payment/provider/mapper/AgentUserPointsMapper.java (best guess)
|
||
### The error may involve com.flymoon.payment.provider.mapper.AgentUserPointsMapper.insert-Inline
|
||
### The error occurred while setting parameters
|
||
### SQL: INSERT INTO agent_user_points ( current_points, total_obtained_points, total_used_points, package_type ) VALUES ( ?, ?, ?, ? )
|
||
### Cause: java.sql.SQLException: Field 'user_id' doesn't have a default value
|
||
; Field 'user_id' doesn't have a default value
|
||
|
||
🚀 开始并行存储 30 个审核结果...
|
||
📊 存储完成统计: 成功 30 条,失败 0 条
|
||
📊 审核结果统计: 通过 24 条,失败 6 条,未知 0 条
|
||
📊 基于实际数据的统计: {'search_count': 30, 'reviewed_pass_count': 24, 'reviewed_fail_count': 6, 'reviewed_unknown_count': 0}
|
||
✅ search_record统计更新成功 (基于实际数据)
|
||
- 总计: 30
|
||
- 通过: 24
|
||
- 失败: 6
|
||
- 未知: 0
|
||
- 未审核: 0
|
||
💰 积分扣除计算:
|
||
- Review前通过数: 0
|
||
- Review后通过数: 24
|
||
- 新增通过数: 24
|
||
✅ 已扣除 24 个积分(仅针对新增通过的审核)
|
||
|
||
🔍 正在通过Apollo API搜索B端用户...
|
||
📝 搜索参数: {
|
||
"per_page": 50,
|
||
"page": 1,
|
||
"person_titles": [
|
||
"founder",
|
||
"full stack developer",
|
||
"marketing specialist",
|
||
"product manager",
|
||
"ai engineer",
|
||
"software engineer",
|
||
"developer",
|
||
"marketing manager",
|
||
"ceo",
|
||
"cto"
|
||
],
|
||
"include_similar_titles": true,
|
||
"person_seniorities": [
|
||
"founder",
|
||
"c_suite",
|
||
"director",
|
||
"manager",
|
||
"senior",
|
||
"entry"
|
||
],
|
||
"q_keywords": "Superlinear",
|
||
"person_locations": [
|
||
"singapore"
|
||
],
|
||
"organization_locations": [
|
||
"singapore"
|
||
],
|
||
"revenue_range": {
|
||
"min": 0,
|
||
"max": 999999999
|
||
},
|
||
"organization_num_jobs_range": {
|
||
"min": 0,
|
||
"max": 999
|
||
},
|
||
"organization_job_posted_at_range": {
|
||
"min": "2020-01-01",
|
||
"max": "2025-12-31"
|
||
}
|
||
}
|
||
✅ Apollo搜索完成,找到 0 个B端用户
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
2025-09-22 20:20:26,353 - ERROR - kafka_client.py:231 - _send - 异步发送消息失败: KafkaError{code=_UNKNOWN_TOPIC,val=-188,str="Unable to produce message: Local: Unknown topic"}
|
||
|
||
日志格式大体是:
|
||
时间戳 - 日志等级 - 函数 - 方法名 - 日志信息
|
||
比如:2025-09-22 20:20:26,353 - ERROR - kafka_client.py:231 - _send - 异步发送消息失败: KafkaError{code=_UNKNOWN_TOPIC,val=-188,str="Unable to produce message: Local: Unknown topic"}
|
||
但是有的日志的“日志信息”部分会有格式,如 [event: Review通过率过低 | msg: Review通过率过低: 80.0% | context: conversation_id:47677e65-eccf-42b5-886a-5956d3e13d8a,search_id:6720e77c-efae-42eb-bbf9-485879121c1e,pass_rate_percent:80.0,threshold_percent:30,total_approved:28,total_reviewed:35]
|
||
处理器要切割日志,字段如下:
|
||
timestamp
|
||
level
|
||
module
|
||
function
|
||
message
|
||
event (如果有)
|
||
msg (如果有)
|
||
context (如果有)
|
||
|
||
以前别日志的配置是:
|
||
处理器怎么采集
|
||
# 处理器
|
||
processors:
|
||
- dissect:
|
||
when:
|
||
equals:
|
||
log_type: email-log
|
||
tokenizer: '%{timestamp} [%{thread}] %{level} %{class} - [%{method_line}] - %{message}'
|
||
field: "message"
|
||
target_prefix: "mylog"
|
||
ignore_missing: true
|
||
overwrite_keys: true
|
||
|
||
|
||
|
||
echo '2025-09-23 14:06:53,817 - WARNING - logger.py:116 - log_business_event - [level: S0 | event: 任务耗时超限 | msg: 任务执行耗时超过20分钟: 57.35分钟 | context: conversation_id:c0c54feb-343f-46b7-ade8-a0c775260a23,task_duration_minutes:57.35,threshold_minutes:20]' >> /data/webapps/prod_lessie_sourcing_agents/logs/lessie_sourcing_agents_20250922_235514.log
|
||
|
||
|
||
echo '2025-09-22 15:37:51,343 - WARNING - logger.py:107 - log_business_event - [level: S0 | event: Review通过率过低 | msg: Review通过率过低: 80.0% | context: conversation_id:47677e65-eccf-42b5-886a-5956d3e13d8a,search_id:6720e77c-efae-42eb-bbf9-485879121c1e,pass_rate_percent:80.0,threshold_percent:30,total_approved:28,total_reviewed:35]' >> /data/webapps/prod_lessie_sourcing_agents/logs/lessie_sourcing_agents_20250922_235514.log
|
||
|
||
|
||
|
||
|
||
2025-09-23 14:17:36,576 - WARNING - logger.py:116 - log_business_event - [level: S1 | event: Review通过率过低 | msg: Review通过率过低: 6.1%,低于配置阈值10.0% | context: conversation_id:52498bc9-edbb-4684-bc88-d0323aeb3e2f,search_id:5be3f91f-6fd9-4587-b4e4-e2ea74bf664a,pass_rate_percent:6.1,threshold_percent:10.0,total_approved:10,total_reviewed:164]
|
||
|
||
|
||
2025-09-23 14:06:53,817 - WARNING - logger.py:116 - log_business_event - [level: S0 | event: 任务耗时超限 | msg: 任务执行耗时超过20分钟: 57.35分钟 | context: conversation_id:c0c54feb-343f-46b7-ade8-a0c775260a23,task_duration_minutes:57.35,threshold_minutes:20]
|
||
|
||
|
||
|
||
🔗 平台: s2.jennie.im
|
||
🕒 触发时间:2025-09-23 00:02:31
|
||
🔢 警告数量: 6
|
||
|
||
业务日志:
|
||
📊 事件等级 : S0
|
||
🔍 事件: 结果人数不足
|
||
⏱️ 时间戳: 2025-09-22 15:37:51,343
|
||
💬 msg: 搜索结果人数不足: 28人
|
||
📝 context: conversation_id:47677e65-eccf-42b5-886a-5956d3e13d8a,search_id:6720e77c-efae-42eb-bbf9-485879121c1e,approved_count:28,threshold_count:100,total_reviewed:35
|
||
|
||
📊 事件等级 : S0
|
||
🔍 事件: 结果人数不足
|
||
⏱️ 时间戳: 2025-09-22 15:37:51,343
|
||
💬 msg: 搜索结果人数不足: 26人
|
||
📝 context: conversation_id:47677e65-eccf-42b5-886a-5956d3e13d8a,search_id:6720e77c-efae-42eb-bbf9-485879121c1e,approved_count:28,threshold_count:100,total_reviewed:35
|
||
|
||
📊 事件等级 : S0
|
||
🔍 事件: 结果人数不足
|
||
⏱️ 时间戳: 2025-09-22 15:37:51,343
|
||
💬 msg: 搜索结果人数不足: 27人
|
||
📝 context: conversation_id:47677e65-eccf-42b5-886a-5956d3e13d8a,search_id:6720e77c-efae-42eb-bbf9-485879121c1e,approved_count:28,threshold_count:100,total_reviewed:35
|