Giter Club home page Giter Club logo

Comments (19)

zhuhuaiyu-nn avatar zhuhuaiyu-nn commented on June 9, 2024

apache/skywalking

from oceanbase.

hnwyllmm avatar hnwyllmm commented on June 9, 2024

现在的obagent支持普罗米修斯,是不是可以直接对接skywalking?

from oceanbase.

caifeizhi avatar caifeizhi commented on June 9, 2024

可以具体描述一下你的想法么?在哪些场景,遇到了什么问题,希望引入Apache Skywalking?

from oceanbase.

zhuhuaiyu-nn avatar zhuhuaiyu-nn commented on June 9, 2024

打算引入Apache Skywalking进行链路分析,目前看没有采集到ob的sql信息,查看了一些资料表示需要一个【apm-oceanbase的plugin包】,不知道大佬们有啥好办法不

from oceanbase.

zhuhuaiyu-nn avatar zhuhuaiyu-nn commented on June 9, 2024

现在的obagent支持普罗米修斯,是不是可以直接对接skywalking?

您是说 普罗米修斯可以从ob agent采集到具体的执行sql信息么

from oceanbase.

hnwyllmm avatar hnwyllmm commented on June 9, 2024

现在的obagent支持普罗米修斯,是不是可以直接对接skywalking?

您是说 普罗米修斯可以从ob agent采集到具体的执行sql信息么

obgent就是与oceanbase配套的,采集了一些OceanBase的指标数据。他可以支持普罗米修斯,理论上可以直接对接skywalking。但是你要求的更具体的统计信息,要具体分析。
不用那么客气,不用称呼您。

from oceanbase.

hnwyllmm avatar hnwyllmm commented on June 9, 2024

如果需要采集SQL执行的信息,需要考虑sql_audit数据。
不过还是先看下你们具体的业务场景吧

from oceanbase.

zhuhuaiyu-nn avatar zhuhuaiyu-nn commented on June 9, 2024

现在的obagent支持普罗米修斯,是不是可以直接对接skywalking?

您是说 普罗米修斯可以从ob agent采集到具体的执行sql信息么

obgent就是与oceanbase配套的,采集了一些OceanBase的指标数据。他可以支持普罗米修斯,理论上可以直接对接skywalking。但是你要求的更具体的统计信息,要具体分析。 不用那么客气,不用称呼您。

obagent我理解主要是负责路由数据库的请求,向业务层屏蔽ob的分片逻辑和路由规则。skywalking可以直接对接么。

【场景】我们计划使用skywalking做链路追踪,同时实现controller的下钻一直到sql这样可以做性能分析

from oceanbase.

hnwyllmm avatar hnwyllmm commented on June 9, 2024

你说的不是obagent是obproxy。obagent是采集OceanBase和主机运行指标数据的,做监控用的。
但是obagent无法做具体的SQL性能分析。OCP 是一个OceanBase 运维、监控一体的管控平台,应该是可以满足你的需求的。

from oceanbase.

zhuhuaiyu-nn avatar zhuhuaiyu-nn commented on June 9, 2024

嗯嗯 明白您的意思了OCP 确实是个不错的平台 这是数据库层面的统一分析平台。
其实我这不知道 obagent的监控信息不知道能不能整合到调用链路。

你说的不是obagent是obproxy。obagent是采集OceanBase和主机运行指标数据的,做监控用的。 但是obagent无法做具体的SQL性能分析。OCP 是一个OceanBase 运维、监控一体的管控平台,应该是可以满足你的需求的。

from oceanbase.

hnwyllmm avatar hnwyllmm commented on June 9, 2024

obagent的数据格式是标准的,集成起来比较容易。

from oceanbase.

hnwyllmm avatar hnwyllmm commented on June 9, 2024

数据库的性能问题,SQL运行慢是一个方面,还有整体的性能问题。
OB提供了ASH和WR功能,帮助诊断性能问题,在4.2.2版本上可用:
https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000000749938
https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000000749935

from oceanbase.

zhuhuaiyu-nn avatar zhuhuaiyu-nn commented on June 9, 2024

数据库的性能问题,SQL运行慢是一个方面,还有整体的性能问题。 OB提供了ASH和WR功能,帮助诊断性能问题,在4.2.2版本上可用: https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000000749938 https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000000749935

感谢大佬的回复。我这看下来这个主要是数据库整体层面的性能分析,没法通过traceid在skywalking的调用链路显示具体某个请求的sql,这样理解是对的不

from oceanbase.

hnwyllmm avatar hnwyllmm commented on June 9, 2024

是的,只是给你介绍另一个工具

from oceanbase.

hnwyllmm avatar hnwyllmm commented on June 9, 2024

https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000000749332
OB本身也是有全链路跟踪的,可以看这个

from oceanbase.

zhuhuaiyu-nn avatar zhuhuaiyu-nn commented on June 9, 2024

https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000000749332 OB本身也是有全链路跟踪的,可以看这个

这个看下来是针对从开始obproxy往后到OBServer的数据库内部的trace是不。这样还是没法和skywalking这样的应用apm工具进行联动,我这样理解对不

from oceanbase.

hnwyllmm avatar hnwyllmm commented on June 9, 2024

全链路诊断覆盖了两条主要的数据流路径。

一条是请求从应用出发,通过客户端(比如 JDBC 或 OCI)传递至 ODP(代理服务器),然后由 ODP 转发至 OBServer,最终结果返回给应用程序。
另一条则是请求直接从应用程序通过客户端发送至 OBServer,然后结果直接返回。

不是的,是从客户端发出去,到客户端收到。这个是OB自身的。应该不能与skywalking直接对接。说实话我对skywalking不太了解。不过看起来能解决你的问题,而且可能成本更低。你的需求对接skywalking的话,你还要开发蛮多东西

from oceanbase.

zhuhuaiyu-nn avatar zhuhuaiyu-nn commented on June 9, 2024

https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000000749332 OB本身也是有全链路跟踪的,可以看这个

再次感谢大佬,我们研究一下这个。

from oceanbase.

hnwyllmm avatar hnwyllmm commented on June 9, 2024

我把 issue 关掉了,后面有新的问题,随时开issue讨论。

from oceanbase.

Related Issues (20)

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.