Git Product home page Git Product logo

cat-go's People

Contributors

terencefan avatar wangyapu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cat-go's Issues

获取路由使用端口问题

`
for _, server := range config.httpServerAddresses {
u.Host = fmt.Sprintf("%s:%d", server.host, config.httpServerPort)
logger.Info("Getting router config from %s", u.String())

	resp, err := client.Get(u.String())
	if err != nil {
		logger.Warning("Error occurred while getting router config from url %s", u.String())
		continue
	}

	c.parse(resp.Body)
	return
}

`

u.Host = fmt.Sprintf("%s:%d", server.host, config.httpServerPort) 这个怎么是使用了默认端口,不是应该使用 server.port吗

编译报错

../../../../pkg/mod/github.com/!meituan-!dianping/[email protected]+incompatible/cat/monitor_collector.go:115:16: currentTime.Stolen undefined (type cpu.TimesStat has no field or method Stolen)

看了一下应该是因为依赖的github.com/shirou/[email protected]+incompatible/cpu/cpu.go 这个库导致的。

可能是因为版本不兼容的问题?

Expect to customize the httpServerPort configuration

According to

httpServerPort: 8080,
, it is shown that the http server port for router endpoint is hardcoded and no any way to modify it.

That is, in my project, I have specified http-port="443"attribute for <server>, but it still log something like:

2019/05/05 18:59:24 [Info] Getting router config from http://xxxxxx.com:8080/cat/s/router?domain=Foo-Test&env=dev&hostname=martin-MacBook-Pro.local&ip=xx.xxx.xxx.xx&op=xml

Is this hardcode intentional?

有支持cat 2.0的打算么

应该是 cat 2.0 不兼容吧,有打算支持老版本么? 如果没有就继续使用原来的客户端。

不能进行链路追踪

使用下来,消息不能串起来,是我用法不对吗,没看到sdk里有传递上下文的方法

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.