Comments (2)
It's better to provide the logs to show the details for your scenario, as:
goc profile
vs goc profile --output output.txt
from goc.
Use goc profile
. if an error occurs, the terminal shows
{"error":"Get http://10.100.10.13:32413/v1/cover/profile: dial tcp 10.100.10.13:32413: connect: connection refused"}
Use goc profile -o output.txt
. If an error occurs , there's nothing print the terminal. We found that the error info would write into the output.txt directly.
Errors should show in terminal before writing them into the output file.
from goc.
Related Issues (20)
- fatal error: concurrent map iteration and map write HOT 4
- goc build failure due to declaration conflict
- fatal goc build error : 不支持新版go范型
- unknown block type: retract HOT 1
- goc --agentport 多网卡模式下编译指定端口编译后启动失效
- 目前goc支持的go版本是多少? HOT 2
- k8s部署微服务,如果要重新发版,那是不是要提前手动在goc server上执行goc profile,才能把重启前实例上的覆盖率数据保存
- Instrumented binary in container
- 支持统计go.mod中依赖的其他包的覆盖率吗
- go profile 收集覆盖率两次出现的数据不一样 HOT 3
- 项目还在维护么?以及v2啥时候会有呀 我看已经一年没更新了 HOT 1
- gocv2 can't complie not go file ,how this issues be resolved? HOT 1
- stat goc-cover-agent-apis-auto-generated-11111-22222-bridge.go: no such file or directory HOT 1
- 通过在main()方法的首行插入defer DoWhenClose()实现优雅重启
- goc build的时候考虑加个标记的tag吗?因为如果项目的启动命令都是一样的,没有明显的标记,goc service查看就很难区分项目
- 是否考虑增加类调试器的采集模式? HOT 1
- /v1/cover/coverage这个接口建议添加一下说明,获取的是语句块的覆盖率 HOT 6
- 请问有展示报告的 HTML 网页等 GUI 吗?或者输出 JSON 文本也行 HOT 5
- Proposal: support Generics
- go cover不能生成可编译的打桩代码 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goc.