Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why no have a binnary to exec in the linux when use npm install -g skywalking-agent-node? #1

Open
vihoyau opened this issue Aug 31, 2022 · 1 comment

Comments

@vihoyau
Copy link

vihoyau commented Aug 31, 2022

1.Why no have a binnary to exec in the linux when use “npm install -g skywalking-agent-node”?
ex:https://github.com/aliyun-node/agenthub/blob/master/bin/agenthub
Alibaba supply developer to deploy runtime .

2.Why no Support "import skywalking-agent-node from "skywalking-agent-node" "?
Can I supplement a PR about write index.d.ts?

@chzhuo
Copy link
Owner

chzhuo commented Sep 1, 2022

哈哈,真没想到有人会看到这个仓库。我写这个项目的动机是:

  1. skywalking-nodejs 功能稍弱,支持的组件少。
  2. opentelemetry-js 的 instrumentations 种类很多,支持的也很好。

skywalking 和 opentelemetry 两个协议是不兼容的。这个项目使用了 opentelemetry-js 的基础设施,但是使用的方式很不优雅,而且对 skywalking 的 tracing 协议支持也是不完善的。虽然能用,但若用到线上还是要慎重考虑。

1.Why no have a binnary to exec in the linux when use “npm install -g skywalking-agent-node”?
ex:https://github.com/aliyun-node/agenthub/blob/master/bin/agenthub
Alibaba supply developer to deploy runtime .

tracing 是要少量侵入应用程序的,这样才能注入 context,需要跟应用程序同一个进程。

2.Why no Support "import skywalking-agent-node from "skywalking-agent-node" "?
Can I supplement a PR about write index.d.ts?

可以

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants