parca ingestion 模式说明

parca ingestion 模式

 

 


从上图可以看出parca 支持的模式,包含了pull以及push

模式说明

  • push 模式
    基于agent 进行push 处理,利用ebpf 进行获取处理,然后转换为pprof,然后push 到后端存储
  • pull 模式
    核心是基于pprof client 生成对应的文件内容,然后利用parca 支持类似prometheus pull 模式的数据拉取,比较依赖client,不同语言支持的情况不一样

可选模式

因为对于perf 的数据可以通过perf_data_converter转换为pprof 格式文件,然后通过一个静态文件的拉取模式(fgprof),基于yaml 配置文件就可以了

 
scrape_configs:
  - job_name: "default"
    scrape_interval: "60s"
    scrape_timeout: "45s"
    static_configs:
      - targets: [ '127.0.0.1:7070' ]
    profiling_config:
      pprof_config:
        fgprof:
          enabled: true
          path: /debug/pprof/fgprof

参考资料

https://www.parca.dev/docs/ingestion
https://github.com/google/<wiz_tmp_highlight_tag class="cm-searching">perf_<wiz_tmp_highlight_tag class="cm-searching">data_<wiz_tmp_highlight_tag class="cm-searching">converter

posted on   荣锋亮  阅读(39)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2021-09-11 dremio v18.0 软件包可以使用了
2019-09-11 kuma 学习四 策略
2019-09-11 kuma 学习三 组件说明
2019-09-11 kuma 学习二 centos 安装
2019-09-11 Load Testing Socket.IO Web Applications and Infrastructure
2019-09-11 artillery 学习一 简单使用
2019-09-11 kuma 学习一 minikube 安装

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示