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

how to use it ? #34

Open
hufeng903 opened this issue Mar 20, 2017 · 2 comments
Open

how to use it ? #34

hufeng903 opened this issue Mar 20, 2017 · 2 comments

Comments

@hufeng903
Copy link

i want to know how to use it in my php project ? and it must require pinba_engine is installed in mysql....?

@gggeek
Copy link

gggeek commented Dec 6, 2022

In order to use this, you will have to set up 3 things:

  1. the php extension which sends perf data to the server (let's call this ext-pinba)
  2. a pinba server, which is a mysql db with the pinba "plugin" installed
  3. a system/tool which will extract/summarize the data from the db and present it as nice graphs

For point 1, an easy installation is to use the php packages coming with your linux distro, if there are any available.
For point 2, you can use a Docker container, of either this project or from the Pinba2 project.
For point 3, check out https://github.com/intaro/pinboard, https://github.com/pinba-server/pinba-server or https://github.com/ClickHouse-Ninja/Proton

Note that, if you can not easily install the php extension at point 1, there is a pure-php implementation available of the same API at https://github.com/gggeek/pinba_php

@hufeng903
Copy link
Author

In order to use this, you will have to set up 3 things:

  1. the php extension which sends perf data to the server (let's call this ext-pinba)
  2. a pinba server, which is a mysql db with the pinba "plugin" installed
  3. a system/tool which will extract/summarize the data from the db and present it as nice graphs

For point 1, an easy installation is to use the php packages coming with your linux distro, if there are any available. For point 2, you can use a Docker container, of either this project or from the Pinba2 project. For point 3, check out https://github.com/intaro/pinboard, https://github.com/pinba-server/pinba-server or https://github.com/ClickHouse-Ninja/Proton

Note that, if you can not easily install the php extension at point 1, there is a pure-php implementation available of the same API at https://github.com/gggeek/pinba_php

thanks very much

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