Skip to content

Commit ffcbe13

Browse files
PMM-12078 HA phase 3 active active PoC (#2247)
* PMM-9374 support of external victoria metrics. * PMM-9374 update version number of victoria metrics. * PMM-9374 vmalert. * PMM-9374 use pmm-clients vmagent instead of a separate one. * PMM-9374 Fix linters. * PMM-9374 Fix tests. * PMM-9374 Improve work with VM Proxy. * PMM-9374 Fix tests. * PMM-9374 Fix tests. * PMM-9374 Fix tests. * PMM-9374 Fix linters. * PMM-9374 Add new tests. * PMM-9374 use interfaces instead of real object. * PMM-9374 Fix the test. * PMM-9374 Fix the linter. * PMM-9374 Fix the linter. * PMM-11952 docker configuration for external PostgreSQL usage. * PMM-11952 docker configuration for external PostgreSQL usage. * PMM-11924 PMM HA Phase 3. * PMM-11924 PMM HA Phase 3 PoC. * PMM-11924 PMM HA Phase 3 PoC. * PMM-11924 PMM HA Phase 3 PoC. * PMM-11924 Fix tests. * PMM-11924 Fix tests and linters. * PMM-11924 Fix tests. * PMM-11924 Fix linter. * Update pmm_config.go * Update pmm-db_disabled.ini * PMM-12078 HA Phase 3 Active-Active PoC. * PMM-12078 HA Phase 3 Active-Active PoC. * PMM-12182 use interface. * PMM-12078 fix go.sum. * PMM-12078 fix build. * PMM-12078 Improve the code * PMM-12078 Fix docker-compose config * PMM-12078 HAProxy configuration * PMM-12078 Format * PMM-12078 haproxy certificates * PMM-12078 fix configuration * PMM-12078 fix configuration * PMM-12078 fix tests * PMM-12078 fix tests * PMM-12078 fix supervisord * PMM-12078 fix supervisord * PMM-12078 fix linters * PMM-12078 fix listen port for grafana gossip protocol * PMM-12078 Some cleanup. * PMM-12078 fix license headers. * PMM-12293 fix linters. * PMM-12078 go mod tidy * PMM-12078 Fix linters * PMM-12078 Fix linters. * PMM-12078 revert changes. * PMM-12078 don't run pmm-agent on passive nodes. * PMM-12078 Fix tests and linters. * PMM-12078 Fix tests and linters. * PMM-12078 Fix starlark test. * PMM-9374 fix supervisord for external VM. * PMM-9374 Fix linters. * PMM-9374 Don't run victoria metrics if it's external. * PMM-12078 revert changes made for active-active connection. * PMM-12078 fix linter. * Update log_level.go * Update managed/services/highavailability/highavailability.go Co-authored-by: Artem Gavrilov <[email protected]> * Update managed/services/highavailability/leaderservice.go Co-authored-by: Artem Gavrilov <[email protected]> * PMM-12078 address comments. * PMM-12078 fix linter. * PMM-12078 fix license headers. * PMM-12078 Some improvements regarding env variables. * PMM-12078 Some improvements regarding env variables. * PMM-12078 Some improvements regarding env variables. * PMM-12078 Don't create grafana DB for external DB. * PMM-12078 Update db versions. * PMM-12078 fix go mod. --------- Co-authored-by: Artem Gavrilov <[email protected]>
1 parent 8642894 commit ffcbe13

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+3066
-701
lines changed

agent/cmd/pmm-agent-entrypoint/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ var (
7373
var pmmAgentProcessID = 0
7474

7575
func runPmmAgent(ctx context.Context, commandLineArgs []string, restartPolicy restartPolicy, l *logrus.Entry, pmmAgentSidecarSleep int) int {
76-
pmmAgentFullCommand := "pmm-admin " + strings.Join(commandLineArgs, " ")
76+
pmmAgentFullCommand := "pmm-agent " + strings.Join(commandLineArgs, " ")
7777
for {
7878
select {
7979
case <-ctx.Done():
8080
return 1
8181
default:
8282
}
8383
var exitCode int
84-
l.Infof("Starting 'pmm-admin %s'...", strings.Join(commandLineArgs, " "))
84+
l.Infof("Starting 'pmm-agent %s'...", strings.Join(commandLineArgs, " "))
8585
cmd := commandPmmAgent(commandLineArgs)
8686
if err := cmd.Start(); err != nil {
8787
l.Errorf("Can't run: '%s', Error: %s", commandLineArgs, err)

api/serverpb/json/client/server/leader_health_check_parameters.go

+146
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)