GitLab与Jaeger在Azure kubernetes服务中的集成

问题描述

我已经在AKS集群中安装了Gitlab,并且还安装了Jaeger。这两个应用程序都已启动并正在运行。 我想将gitlab与jaeger集成。 我搜索了有关如何在AKS中进行操作的任何文档,但没有找到任何文档。

欢迎任何建议。

解决方法

GitLab Helm图表支持跟踪,您可以使用以下命令进行配置:

global:
  tracing:
    connection:
      string: 'opentracing://jaeger?http_endpoint=http%3A%2F%2Fjaeger.example.com%3A14268%2Fapi%2Ftraces&sampler=const&sampler_param=1'
    urlTemplate: 'http://jaeger-ui.example.com/search?service={{ service }}&tags=%7B"correlation_id"%3A"{{ correlation_id }}"%7D'

有关更多详细信息,请参见:https://docs.gitlab.com/charts/charts/globals.html#tracing