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

exporter to dataway #17

Closed
songlonqi-java opened this issue Jun 15, 2023 · 3 comments
Closed

exporter to dataway #17

songlonqi-java opened this issue Jun 15, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@songlonqi-java
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.

Describe the solution you'd like
将链路数据转成行协议,发送到dataway

@songlonqi-java songlonqi-java added the enhancement New feature or request label Jun 15, 2023
@songlonqi-java songlonqi-java self-assigned this Jun 15, 2023
@songlonqi-java
Copy link
Collaborator Author

songlonqi-java commented Jun 29, 2023

需要做的几件事

  • guance-exporter JAVA agent
  • 独立的一个项目,并将编译的 jar 包发送都 maven 仓库。
  • otel-collector 添加exporter 并使用 go 语言。
  • 支持 Trace,Metric,log 三种数据结构
  • 支持采样
  • 支持添加 tag

如果还有需要补充的,编辑 追加!

@songlonqi-java
Copy link
Collaborator Author

@songlonqi-java
Copy link
Collaborator Author

agent 使用方式 {#agent}

java  -javaagent:/usr/local/opentelemetry-javaagent-1.26.3-guance.jar \
-Dotel.traces.exporter=guance \
-Dotel.metrics.exporter=guance \ 
-Dotel.exporter.guance.endpoint=https://openway.guance.com \ 
-Dotel.exporter.guance.token=tkn_0d9ebb474xxxxxxxxxx \
-jar app.jar

如果是 k8s :

export OTEL_TRACES_EXPORTER=guance
export OTEL_METRICS_EXPORTER=guance
export OTEL_EXPORTER_GUANCE_ENDPOINT=https://openway.guance.com
export OTEL_EXPORTER_GUANCE_TOKEN=tkn_0d9ebb474xxxxxxxxxx

参数说明:

  • guance exporter 名称。
  • endpoint 观测云中心地址,通常为 https://openway.guance.com
  • token 观测云用户空间 token。

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

No branches or pull requests

1 participant