简体   繁体   English

Python 依赖项中的 Google Stackdriver 快照

[英]Python Google Stackdriver Snapshots in dependencies

My app is deployed on the python 3.7 Google App Engine standard environment.我的应用程序部署在 python 3.7 Google App Engine 标准环境中。 It has a bug that causes it to silently fail when a certain library function gets called.当某个库 function 被调用时,它有一个错误会导致它静默失败。 I'd like to set some log points inside the library function, but I'm not seeing a way to do that.我想在库 function 中设置一些日志点,但我没有看到这样做的方法。 Is it possible to set log points inside external dependencies using Stackdriver?是否可以使用 Stackdriver 在外部依赖项中设置日志点? If so, how?如果是这样,怎么做?

You can use Stackdriver debugger .您可以使用Stackdriver 调试器 It allows you to inspect the state of an application, at any code location, without stopping or slowing down the running app and you can configure your Python application to use Stackdriver Debugger .它允许您在任何代码位置检查应用程序的 state,而无需停止或减慢正在运行的应用程序,您可以将 Python 应用程序配置为使用 Stackdriver Debugger

Also Stackdriver Trace is a distributed tracing system that collects latency data from your applications and displays it in the Google Cloud Platform Console. Stackdriver Trace也是一个分布式跟踪系统,它从您的应用程序中收集延迟数据并将其显示在 Google Cloud Platform Console 中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Stackdriver Debug不捕获快照 - Stackdriver Debug not capturing snapshots Stackdriver Debugger无法捕获快照 - Stackdriver Debugger doesn't capture snapshots 在App Engine Standard python中使用Google Stackdriver日志时出错 - Error using Google Stackdriver Logging in App Engine Standard python Google Stackdriver使用Redis队列登录App Engine(Python) - Google Stackdriver logging in App Engine (Python) using Redis queue Google Stackdriver不显示跟踪 - Google Stackdriver does not show trace 如何在Google Cloud Platform中清除Stackdriver日志? - How to clear Stackdriver logs in Google Cloud Platform? Google容器引擎记录到Stackdriver错误报告 - Google container engine logging to Stackdriver Error Reporting stackdriver 记录客户端库缺少 python 的严重性 - stackdriver logging client library missing severity with python 将 ext-stackdriver_debugger 添加到 composer 以在 Google App Engine 中启用 StackDriver 调试 - Adding ext-stackdriver_debugger to composer to enable StackDriver debugging in Google App Engine google-cloud 依赖项在 python 应用引擎中被覆盖 - google-cloud dependencies getting overriden in python app engine
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM