-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- rename lib name for naming collision - testcase for ut close #540
- Loading branch information
Showing
17 changed files
with
192 additions
and
87 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,6 +115,8 @@ jobs: | |
# ref https://github.com/pypa/setuptools/issues/3198 | ||
pip install -e . | ||
python -m unittest discover -s src/PY/test | ||
- if: matrix.python-version == '3.8' | ||
run : | | ||
pip install -r plugins/PY/requirements.txt | ||
python -m unittest discover -s plugins/PY/pinpointPy | ||
Collector-agent: | ||
|
@@ -137,5 +139,7 @@ jobs: | |
uses: arduino/[email protected] | ||
|
||
- run: | | ||
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest && go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest | ||
go install google.golang.org/protobuf/cmd/[email protected] | ||
go install google.golang.org/grpc/cmd/[email protected] | ||
export PATH="$PATH:$(go env GOPATH)/bin" | ||
cd collector-agent && make && go test ./... -v |
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
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
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
import importlib | ||
from pinpointPy.Fastapi.PinTranscation import PinTransaction, PinStarlettePlugin | ||
from pinpointPy.Fastapi.AsyCommonPlugin import CommonPlugin | ||
from pinpointPy.Fastapi.middleware import PinPointMiddleWare | ||
from pinpointPy.Fastapi.middleware import PinPointMiddleWare, FastAPIRequestPlugin | ||
from pinpointPy.Common import PinHeader, GenPinHeader | ||
|
||
|
||
|
@@ -38,7 +38,7 @@ def asyn_monkey_patch_for_pinpoint(AioRedis=True, MotorMongo=True, httpx=True): | |
__monkey_patch(aioredis=AioRedis, MotorMongo=MotorMongo, httpx=httpx) | ||
|
||
|
||
__version__ = '0.0.1' | ||
__version__ = '0.0.2' | ||
__author__ = '[email protected]' | ||
__all__ = ['asyn_monkey_patch_for_pinpoint', 'PinPointMiddleWare', | ||
__all__ = ['asyn_monkey_patch_for_pinpoint', 'FastAPIRequestPlugin', 'PinPointMiddleWare', | ||
'CommonPlugin', 'PinTransaction', 'PinHeader', 'GenPinHeader', 'PinStarlettePlugin'] |
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
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
Oops, something went wrong.