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

业务系统中的数据不通过categraf,直接推送到夜莺时序数据库中,这个有相关的开发介绍吗? #1085

Open
hellozcc opened this issue Nov 1, 2024 · 3 comments

Comments

@hellozcc
Copy link

hellozcc commented Nov 1, 2024

What would you like to be added:

Why is this needed:

Describe the solution you'd like

Additional context

@kongfei605
Copy link
Collaborator

这个业务数据值得是metrics 对吧? 这个看一下prometheus/vm-agent 如何处理的就好,categraf也是用的prometheus的方式去推送的。

@zzmark
Copy link
Contributor

zzmark commented Nov 5, 2024

三个套路

  1. 通过更传统的 prometheus/vm-agent 这种 scrape 刮取思路,需要业务暴露prom数据并由其它中间件刮取。
  2. 直接通过 pushgateway 协议推到 pushgateway上,再由pushgateway实现来 推/拉 到时序库
  3. 直接使用 prometheus remote-write 写入时序库。这个协议是protobuf的,版本兼容有些恼人,自行斟酌

@UlricQin
Copy link
Contributor

UlricQin commented Nov 5, 2024

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

4 participants