This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from heyanlong/master
release
- Loading branch information
Showing
61 changed files
with
94 additions
and
225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "sky-php7ext/protos"] | ||
path = sky-php7ext/src/protos | ||
[submodule "apache/incubator-skywalking-data-collect-protocol"] | ||
path = src/protos | ||
url = https://github.com/apache/incubator-skywalking-data-collect-protocol.git |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,17 @@ | ||
Sky Walking for php SDK| [中文](README_ZH.md) | ||
========== | ||
**SkyWalking php SDK**: A client tool developed for PHP using SkyWalking APM tools. (It is a pity that it only supports checking curl currently.) | ||
SkyWalking APM : https://github.com/apache/incubator-skywalking | ||
# SkyWalking PHP | ||
|
||
* Automatic probe for PHP. **You don't need to modify the application code.** | ||
* It is a PHP extension developed by zendAPI. | ||
* It can hook automatically for monnitoring nodes and collecting logs. | ||
* It transfers with header informations automatically. | ||
* Manual probe. | ||
* It is a php extension and contains some php classes. | ||
* It can compatible any versions of php.You can look over the codes in the class 'SkyWalking'. | ||
* You need to add business codes to monnitor. | ||
<img src="https://skywalkingtest.github.io/page-resources/3.0/skywalking.png" alt="Sky Walking logo" height="90px" align="right" /> | ||
|
||
# Dep | ||
* libuuid | ||
* gcc 4.9+ | ||
* pkg-config | ||
* grpc | ||
* protoc | ||
* php 7+ | ||
SkyWalking PHP is the PHP instrumentation agent, which is compatible with [Apache SkyWalking(Incubating) APM](https://github.com/apache/incubator-skywalking) backend and others compatible agents/SDKs | ||
|
||
## Documents | ||
* [Document in English](docs/README.md) | ||
|
||
# Install | ||
1. build php extension | ||
```shell | ||
git clone --recurse-submodules https://github.com/SkywalkingContrib/skywalking-php-sdk.git | ||
cd sky-php7ext | ||
phpize && ./configure && make && make install | ||
``` | ||
## Support List | ||
1. CURL | ||
|
||
2. make report_client | ||
```shell | ||
cd sky-php7ext/report | ||
make | ||
``` | ||
|
||
# Config | ||
* php.ini | ||
```shell | ||
extension=skywalking.so | ||
skywalking.app_code = app_code | ||
skywalking.grpc = 127.0.0.1:11800 | ||
``` | ||
|
||
# Run | ||
```shell | ||
php-fpm | ||
./report_client 120.0.0.1:11800 /tmp | ||
``` | ||
|
||
# Apply to | ||
* version 1.0 applies to Skywalking 3.1 . | ||
* version 2.0 applies to Skywalking 3.X . | ||
* version 5.0 applies to Skywalking 5.X . | ||
# In the future. | ||
* more php versions. | ||
* more os. | ||
# Contact Us | ||
* Submit an issue | ||
* QQ Group: 155841680 | ||
* Submit an issue | ||
* Mail list: dev@skywalking.apache.org | ||
* [Gitter](https://gitter.im/openskywalking/Lobby) | ||
* QQ Group: 155841680, 392443393 |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Documents | ||
|
||
* Quick Start | ||
* [Quick start](quick-start.md) | ||
* [Install php agent](install-agent.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
When building directly from Git sources or after custom modifications you might also need: | ||
* libuuid | ||
* gcc 4.9+ | ||
* pkg-config | ||
* grpc | ||
* protoc | ||
* php 7+ | ||
|
||
|
||
# Build | ||
|
||
1. build php extension | ||
```shell | ||
git clone --recurse-submodules https://github.com/SkywalkingContrib/skywalking-php-sdk.git | ||
phpize && ./configure && make && make install | ||
``` | ||
|
||
2. build report_client | ||
```shell | ||
cd src/report | ||
make | ||
``` | ||
|
||
# Config | ||
php.ini example | ||
```shell | ||
extension=skywalking.so | ||
skywalking.version = 5 | ||
skywalking.app_code = app_code | ||
skywalking.grpc = 127.0.0.1:11800 | ||
``` | ||
|
||
# Run | ||
restart and run report_client | ||
```shell | ||
./report_client 120.0.0.1:11800 /tmp | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# todo |
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Submodule protos
updated
from 000000 to c02c12
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.