Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
Manan Gupta 02a20013c0
Introduce `servenv` status pages in VTOrc (#11263)
* docs: fix logging in vtorc http

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add servenv and required flags to vtorc

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add vtorc port to local and region sharding example

Signed-off-by: Manan Gupta <manan@planetscale.com>

* test: add vtorc to flag help test

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: simplify vtorc parsing of flags

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add redirect for unrecognized paths to /debug/status to vtorc

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add a component to debug/status page of vtorc to display recent recoveries

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: simplify a condition in vtorc

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: fix command used for invoking vtorc

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove adding help flag and let servenv handle it

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add vtorc servenv page to docker-compose example too

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add prometheus plugin like we do for other binaries

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: change vtorc debug port to not conflict with vttablet's port

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: fix year in file license

Signed-off-by: Manan Gupta <manan@planetscale.com>

* docs: add summary docs

Signed-off-by: Manan Gupta <manan@planetscale.com>

Signed-off-by: Manan Gupta <manan@planetscale.com>
2022-09-22 10:48:45 +05:30
Manan Gupta c0063166cd
Refactor: Rename Orchestrator to VTOrc in the codebase (#11231)
* feat: rename orchestrator package to vtorc

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: rename web/orchestrator to web/vtorc

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: changed usage of orchestrator to vtorc

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: changed usage of Orchestrator to VTOrc

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: refactor function names to move from orchestrator to vtorc

Signed-off-by: Manan Gupta <manan@planetscale.com>

* test: fix function name

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: change Vtorc to VTOrc

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: fix static check failures for not catching errors

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: create a symbolic link for web/vtorc

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add web/vtorc to docker images and use it in the examples

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: rename orchestrator to vtorc in examples

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: rename VtOrc to VTOrc

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove redundant retrun statements

Signed-off-by: Manan Gupta <manan@planetscale.com>

Signed-off-by: Manan Gupta <manan@planetscale.com>
2022-09-18 14:37:31 +05:30
Manan Gupta 1487772f3d
Fix vtcompose and docker-compose examples (#11188)
* feat: fix lvtctl script with the correct path to vtctlclient

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: fix client.go to use pflag

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: fix docker-compose examples to use double-dashed arguments

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: fix vtcompose to use plfags and set double dashed flags on vitess binaries

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: fix vtcompose test

Signed-off-by: Manan Gupta <manan@planetscale.com>

Signed-off-by: Manan Gupta <manan@planetscale.com>
2022-09-09 11:49:35 +05:30
jawabuu 62ac7a4708 Fix script executable permissions
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2020-11-11 14:31:22 +03:00
jawabuu 420ba22c4c add vtorc script to manage vtorc config file
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2020-11-10 12:00:49 +03:00