Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
remove multiple langues version
  • Loading branch information
eeliu committed Aug 13, 2024
1 parent 76f26b6 commit 61c6b10
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 12 deletions.
37 changes: 36 additions & 1 deletion .github/workflows/publish-collector-agent.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: publish-collector-agent

on:
workflow_dispatch:
release:
types: [created]

env:
REGISTRY_IMAGE: ghcr.io/${{ github.repository }}/collector-agent
Expand Down Expand Up @@ -110,3 +111,37 @@ jobs:
- name: Inspect image
run: |
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}
Release-Collector-agent:
runs-on: ubuntu-latest
strategy:
matrix:
# build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64
goos: [linux, windows, darwin]
goarch: ["386", amd64, arm64]
exclude:
- goarch: "386"
goos: darwin
- goarch: arm64
goos: windows
steps:
- name: Show environment
run: export
- uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.51
id: release-ca
with:
goversion: "https://dl.google.com/go/go1.18.10.linux-amd64.tar.gz"
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
project_path: "collector-agent"
binary_name: "collector-agent"
# build_command: "make"
# build_flags: "server TAG=v0.6.4"
# extra_files: LICENSE CHANGES.md

# - name: Release collector-agent-package
# id: rel_php_pak
# uses: softprops/action-gh-release@v2
# with:
# files: ${{ steps.release-ca.outputs.release_asset_dir }}/*
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ Our advantage:
### Blogs

- [Intro pinpoint php aop](https://github.com/pinpoint-apm/pinpoint-php-aop/wiki/Intro-pinpoint-php-aop)
- [pinpoint php aop 内部原理](https://github.com/pinpoint-apm/pinpoint-php-aop/wiki/pinpoint-php-aop-%E5%86%85%E9%83%A8%E5%8E%9F%E7%90%86)
- [pinpoint php aop 내부 원리](https://github.com/pinpoint-apm/pinpoint-php-aop/wiki/pinpoint-php-aop-%EB%82%B4%EB%B6%80-%EC%9B%90%EB%A6%AC)
- [pinpoint php on phpmyadmin](https://github.com/pinpoint-apm/pinpoint-c-agent/wiki/phpmyadmin_en)


Expand Down
2 changes: 1 addition & 1 deletion collector-agent/makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

TAG ?=v0.5.2
TAG ?=v0.6.4

.PHONY: default
default: server ;
Expand Down
12 changes: 5 additions & 7 deletions collector-agent/server.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package main

import (
"net/http"
_ "net/http/pprof"
"runtime"
// _ "net/http/pprof"

"flag"

Expand All @@ -30,10 +28,10 @@ func main() {
server.InitServerConfig()
spanServer := server.SpanServer{}
// disable performance profile
go func() {
log.Println(http.ListenAndServe("0.0.0.0:8081", nil))
runtime.SetBlockProfileRate(1)
}()
// go func() {
// log.Println(http.ListenAndServe("0.0.0.0:8081", nil))
// runtime.SetBlockProfileRate(1)
// }()

if _, err := spanServer.Run(); err != nil {
log.Warn("SpanServer is exit ....")
Expand Down
2 changes: 1 addition & 1 deletion collector-agent/server/SpanServer.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
log "github.com/sirupsen/logrus"
)

var Version = "v0.5.3"
var Version = "v0.6.4"

type SpanServer struct {
listener net.Listener
Expand Down

0 comments on commit 61c6b10

Please sign in to comment.