Skip to content

Commit

Permalink
add profile agent for gittar,collector etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
chengjoey committed Sep 1, 2023
1 parent 1643def commit a6250cd
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/cluster-manager/bootstrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ etcd:
tls:
cert_file: "${ETCD_CERT_FILE:/certs/etcd-client.pem}"
cert_key_file: "${ETCD_CERT_KEY_FILE:/certs/etcd-client-key.pem}"
ca_file: "${ETCD_CA_FILE:/certs/etcd-ca.pem}"
ca_file: "${ETCD_CA_FILE:/certs/etcd-ca.pem}"
profile-agent:
1 change: 1 addition & 0 deletions cmd/cluster-manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
_ "github.com/erda-project/erda-infra/providers/serviceregister"
_ "github.com/erda-project/erda-proto-go/core/org/client"
_ "github.com/erda-project/erda-proto-go/core/token/client"
_ "github.com/erda-project/erda/internal/pkg/profileagent"
)

//go:embed bootstrap.yaml
Expand Down
1 change: 1 addition & 0 deletions cmd/gittar/bootstrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ erda.core.org: {}
[email protected]:
addr: "${ERDA_SERVER_GRPC_ADDR:erda-server:8096}"
erda.core.user-client: {}
profile-agent:
1 change: 1 addition & 0 deletions cmd/gittar/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
_ "github.com/erda-project/erda-proto-go/core/org/client"
_ "github.com/erda-project/erda-proto-go/core/token/client"
_ "github.com/erda-project/erda-proto-go/core/user/client"
_ "github.com/erda-project/erda/internal/pkg/profileagent"
_ "github.com/erda-project/erda/internal/tools/gittar"
)

Expand Down
1 change: 1 addition & 0 deletions cmd/hepa/bootstrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,4 @@ [email protected]:
addr: "${ERDA_SERVER_GRPC_ADDR:erda-server:8096}"
erda.core.org-client: {}
erda.core.org: {}
profile-agent:
1 change: 1 addition & 0 deletions cmd/hepa/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
_ "github.com/erda-project/erda-proto-go/core/clustermanager/cluster/client"
_ "github.com/erda-project/erda-proto-go/core/org/client"
_ "github.com/erda-project/erda-proto-go/msp/tenant/client"
_ "github.com/erda-project/erda/internal/pkg/profileagent"
_ "github.com/erda-project/erda/internal/tools/orchestrator/hepa"
_ "github.com/erda-project/erda/internal/tools/orchestrator/hepa/providers/api_policy"
_ "github.com/erda-project/erda/internal/tools/orchestrator/hepa/providers/domain"
Expand Down
1 change: 1 addition & 0 deletions cmd/monitor/collector/bootstrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -481,3 +481,4 @@ http-server@admin:
addr: ":7098"
pprof:
prometheus:
profile-agent:
1 change: 1 addition & 0 deletions cmd/monitor/collector/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (
_ "github.com/erda-project/erda-infra/providers/pprof"
_ "github.com/erda-project/erda-infra/providers/prometheus"
_ "github.com/erda-project/erda-infra/providers/serviceregister"
_ "github.com/erda-project/erda/internal/pkg/profileagent"
_ "github.com/erda-project/erda/internal/tools/monitor/oap/collector/lib/kafka"

// providers
Expand Down

0 comments on commit a6250cd

Please sign in to comment.