Skip to content
Snippets Groups Projects

Add documentation for how to monitor customer apps with Prometheus using GDK.

1 unresolved thread

Include documentation and support files for how to monitor customer apps with Prometheus using GDK.

Closes #205 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1 # Using Prometheus with GDK
2
3 Testing the Prometheus integration with the GitLab Development Kit requires some additional components. This is because the Prometheus integration requires a CI/CD deploy on Kubernetes.
  • This surprises me. To have application metrics in GDK we depend on a container scheduler?

    Does this mean that GDK now depends on having a container scheduler? We don't even have a canonical (cross-platform) way to run GDK in a Docker container, let alone in a container scheduler.

  • Author Contributor

    @jacobvosmaer-gitlab GDK doesn't depend on it, you can run it just fine without. The only reason you need k8s is because at the present time those are the only metrics we retrieve. So if you want to run a test on your local network you will need something like minikube, alternatively you can making GDK internet facing and use something like GKE. (The runners need the inbound net access.)

    We have a stretch goal in 9.1, to support additional metric types other than those that come from k8s. So hopefully in 9.1 or 9.2 we will be able to support any metric types and remove the requirement for k8s.

  • OK so kubernetes is just something we can observe.

    What about workhorse and gitaly? Those are on by default and have prometheus listeners.

    @joshlambert To put it differently, if this is what 'Using Prometheus with GDK' means then that makes me feel like I don't understand what Prometheus is. My first thought would be that 'Using Prometheus with GDK' means observing GitLab application metrics during development.

  • Author Contributor

    @jacobvosmaer-gitlab You are correct, it should probably be named more clearly. The goal of this doc is to walk through folks who need to set up an environment to test out the Prometheus Service Integration, where we monitor a customer's deployed apps.

    Do you think there is value in trying to allow developers to pull metrics on the performance of GDK on their own personal laptop? Am wondering if that will be too noisy, and hard to make comparisons.

    Edited by Joshua Lambert
  • Please register or sign in to reply
  • added 1 commit

    • b997fba5 - Refactor Prometheus integration docs

    Compare with previous version

  • Achilleas Pipinellis enabled an automatic merge when the pipeline for b997fba5 succeeds

    enabled an automatic merge when the pipeline for b997fba5 succeeds

  • LGTM. I made some changes.

  • mentioned in commit 0b1aaffd

  • Joshua Lambert changed title from Add documentation for how to use Prometheus with GDK. to Add documentation for how to monitor customer apps with Prometheus using GDK.

    changed title from Add documentation for how to use Prometheus with GDK. to Add documentation for how to monitor customer apps with Prometheus using GDK.

  • Please register or sign in to reply
    Loading