我正在尝试使用cloud run通过HTTPS (流)接收数百万条日志消息,并将它们发送到云日志。 但我发现有一些数据丢失,云日志中的消息数量少于云运行接收。 这是我尝试过的示例代码, # unzip data
data = gzip.decompress(request.data)
# split by lines
logs = data.decode('UTF-8').split('\n')
# output the logs
log_cnt = 0
for log in logs:
try:
# output to jsonP
我的云构建在npm test上超时失败,没有任何有用的信息被发送到stdout。可以在文件中找到完整的日志,但我无法找到在云构建环境中使用ssh的方法。
Already have image: node
> project-client@v3.0.14 test
> jest
ts-jest[versions] (WARN) Version 4.1.0-beta of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a