【发布时间】:2022-01-18 10:03:19
【问题描述】:
我对 GitLab 比较陌生,并且难以使用 GitLab 提供的指标。
我按照GitLab documentation 中描述的步骤激活了/admin/application_settings/metrics_and_profiling 下的嵌入式Prometheus 端点。
当我从 GitLab docker 容器中 curl /-/metrics 端点时,Prometheus 正在工作并提供可用指标的子集。
问题是,Prometheus 没有提供所有可用的指标。例如,以下指标不起作用:
gitlab.unicorn.workersgitlab.transaction.event_push_branch_total
但指标 gitlab.puma.max_threads 工作正常。
我是否必须以某种方式激活其他指标?
谢谢
【问题讨论】:
标签: docker gitlab prometheus metrics