Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab FOSS
GitLab FOSS
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Packages
    • Packages
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issues
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #29118

Closed
Open
Opened Mar 07, 2017 by Kevin Lyda@lyda4 of 8 tasks completed4/8 tasks
  • Report abuse
  • New issue
Report abuse New issue

Adding prometheus instrumenting to gitlab webapp

Description

Instrument Gitlab using the prometheus API to make it easier to track, detect and manage issues with Gitlab.

Once instrumenting is added it becomes possible to scrape Gitlab in order to detect performance issues, changes in performance, reliability issues, debug problems, spot performance trends across versions or over uptime.

Proposal

Steps to integrating this:

  • Create a multi-proccess mode for the existing ruby prometheus library.
  • Update the existing ruby prometheus library to current standards. Being tracked in: client_ruby issue 9.
  • Have a way to set the prometheus_multiproc_dir environment variable within unicorn.
  • Document 'prometheus_multiproc_dir' usage
  • Link 'prometheus_multiproc_dir' in config.ru and Application Settings in Rails app
  • Metrics endpoint name.
  • There's some existing influx instrumentation - make use of that.
  • Work with gitlab.com production engineering to find important metrics that are required.

Links / references

Edited Jul 25, 2017 by Paweł Chojnacki

Linked issues

  • Discussion
  • Designs
Assignee
Assign to
9.4
Milestone
9.4
Assign milestone
Time tracking
None
Due date
None
1
Labels
devopsmonitor
Assign labels
  • View project labels
Reference: gitlab-org/gitlab-foss#29118