Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 43,170
    • Issues 43,170
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,401
    • Merge requests 1,401
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLabGitLab
  • Merge requests
  • !55244

Add (BYO) Prometheus as cluster integration

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Thong Kuah requested to merge byo_prom into master Feb 25, 2021
  • Overview 98
  • Commits 2
  • Pipelines 40
  • Changes 38

What does this MR do?

Adds (BYO) Prometheus as cluster integration

Related: #292460 (closed)

Screenshots (strongly suggested)

Screen_Recording_2021-03-12_at_12.24.01_PM

Video showing how it works. Not shown (but documented) was installing Prometheus manually.

How to test locally

I was able to test this locally with a kind cluster

  1. Install https://kind.sigs.k8s.io/
  2. Create a new kind cluster.
  3. In the admin section, enable local connections for webhooks and services (https://docs.gitlab.com/ee/security/webhooks.html)
  4. Setup a new certificate cluster for a project.
  5. Follow the newly added docs to install Prometheus, and enable Prometheus integration

Does this MR meet the acceptance criteria?

Conformity

  • Changelog entry
  • Documentation (if required)
  • Code review guidelines
  • Merge request performance guidelines
  • Style guides
  • [-] Database guides
  • Separation of EE specific content

Availability and Testing

  • Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process.
  • Tested in all supported browsers
Edited Mar 18, 2021 by Thong Kuah
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: byo_prom