diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2020-02-17 21:15:35 +0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2020-04-02 18:16:31 +0300 |
commit | ee5458707dd04093fbac5894c58f211e90eaed0f (patch) | |
tree | 5314abd6e5134e7aa34abe3518599befe99ce27f /README.md | |
parent | bde2f8c1850e49d3fa488e2be426e10586321a7f (diff) |
Add stackdriver profiler support with LabKit
Bumps Labkit version in order to be able to start
Gitaly / Praefect with the Go Profiler.
Once Gitaly is compiled with continuous profiling,
the profiler configuration can be set via GITLAB_CONTINUOUS_PROFILING
environment variable:
```shell
GITLAB_CONTINUOUS_PROFILING="stackdriver?service=gitaly&service_version=1.0.1&project_id=test-123 ./binary"
```
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -160,6 +160,12 @@ For example, to configure Jaeger, you could use the following command: GITLAB_TRACING=opentracing://jaeger ./gitaly config.toml ``` +## Continuous Profiling + +Gitaly supports Continuous Profiling through [LabKit][] using [Stackdriver Profiler](https://cloud.google.com/profiler). + +For more information on how to set it up, see the [LabKit monitoring docs](https://gitlab.com/gitlab-org/labkit/-/blob/master/monitoring/doc.go). + ## Presentations - [How Gitaly fits into GitLab (Youtube)](https://www.youtube.com/playlist?list=PL05JrBw4t0KqoFUiX42JG7BAc7pipMBAy) - a series of 1-hour training videos for contributors new to GitLab and Gitaly. @@ -227,3 +233,4 @@ GITLAB_TRACING=opentracing://jaeger ./gitaly config.toml - [Git Paris meetup, 2017-02-22](https://docs.google.com/presentation/d/19OZUalFMIDM8WujXrrIyCuVb_oVeaUzpb-UdGThOvAo/edit?usp=sharing) a high-level overview of what our plans are and where we are. [roadmap]: https://gitlab.com/groups/gitlab-org/-/roadmap?label_name%5B%5D=Gitaly&scope=all&sort=start_date_asc&state=opened +[LabKit]: https://gitlab.com/gitlab-org/labkit/ |