开发者社区 > 云原生 > Serverless > 正文

函数计算高级日志里能看到,但是函数日志里看不到请求,怎么回事?

[{"time":1710134506927,"level":"Normal","type":"fc:Instance:Creating","message":"Start to create instance c-65ee94ea-15fa2aa8-1e77938b98be of function prisma","children":[{"time":1710134508094,"level":"Normal","type":"fc:Instance:PrepareCodeSuccess","message":"Successfully prepared code for instance c-65ee94ea-15fa2aa8-1e77938b98be in 1166.28 ms after optimizations"},{"time":1710134508094,"level":"Normal","type":"fc:Instance:PrepareLayerSuccess","message":"Successfully prepared layers (68MB) for instance c-65ee94ea-15fa2aa8-1e77938b98be in 42.31 ms after optimizations"},{"time":1710134509591,"level":"Normal","type":"fc:Instance:RuntimeInitializationSuccess","message":"Successfully started the instance c-65ee94ea-15fa2aa8-1e77938b98be and performed health check in 1496.78 ms"}]},{"time":1710134509591,"level":"Normal","type":"fc:Instance:CreateSuccess","message":"Successfully created instance c-65ee94ea-15fa2aa8-1e77938b98be of function prisma totally in 2663.63 ms"}]
这个是启动日志,冷启动花了2.6s,healthcheck花了1.5s,前面还有一次健康检查花了6s 函数计算高级日志里能看到,但是函数日志里看不到请求,怎么回事?

展开
收起
三分钟热度的鱼 2024-03-19 21:49:26 21 0
0 条回答
写回答
取消 提交回答

快速交付实现商业价值。

相关产品

  • 函数计算
  • 相关电子书

    更多
    All in Serverless 阿里云核心产品全面升级 立即下载
    AIGC 浪潮之上,森马的 Serverless 实践之旅 立即下载
    极氪大数据 Serverless 应用实践 立即下载