Export License-DB GCP metrics to license-db Prometheus server

Goal

The goal is to export all GCP metrics in ext-license-db-dev-d6ba6f35 and ext-license-db-prd-43e2753d to the Reliability's team Thanos server.

Proposed approach

image

Implementation Plan

  • Make a list of all the metrics that need to be sent to the Reliability team.

    • You can find a list of all available metrics in GCP here
    • We need to make sure that we include all metrics around the defined alerts and any GCP resource in use.
  • Introduce a GKE cluster in the deployment project --> Draft MR

  • Deploy new infra changes on dev and prod

  • Connect dev and prod clusters to the deployment project. Environments should be named accordingly.

  • Extend deployment file with the helmfiles required to install Prometheus and Stackdriver exporter. You can find an example in this sample project.

  • Update .gitlab-ci.yml to perform helm sync as part of the main pipeline. This should be a manual step. More information can be found in the sample project.

/cc @knottos @jarv @gonzoyumo

Edited by Nick Ilieskou