Skip to main content
Version: 0.34.0

Monitoring Enterprise

Weave GitOps Enterprise provides the following telemetry to use for monitoring.

Metrics

It generates Prometheus metrics for monitoring both performance and business operations.

Setup

info

This setup follows Flux Monitoring approach based on Prometheus Operator. Adapt it to your context as needed.

  1. Install Kube Prometheus Stack.
Expand to see manifest contents
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: weave-gitops-quickstart
namespace: flux-system
spec:
interval: 10m0s
ref:
branch: main
url: https://github.com/weaveworks/weave-gitops-quickstart
---
apiVersion: v1
kind: Namespace
metadata:
name: monitoring
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: kube-prometheus-stack
namespace: flux-system
spec:
interval: 10m0s
sourceRef:
kind: GitRepository
name: weave-gitops-quickstart
path: ./monitoring/kube-prometheus-stack
prune: true
targetNamespace: monitoring
wait: true
  1. Enable Prometheus Metrics Configuration happens during releasing as shown below.
Expand to see manifest contents
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: weave-gitops-enterprise
namespace: flux-system
spec:
values:
#### Metrics - Prometheus metrics configuration
metrics:
# Enables metrics generation and prometheus endpoint
enabled: true
  1. Deploy Weave GitOps Monitoring Config
Expand to see manifest contents
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: monitoring-config
namespace: flux-system
spec:
interval: 10m0s
sourceRef:
kind: GitRepository
name: weave-gitops-quickstart
path: ./monitoring/weave-gitops
dependsOn:
- name: kube-prometheus-stack
prune: true
targetNamespace: monitoring
  1. See the dashboards in Grafana

You could filter by tags flux or weave-gitops

weave gitops dashboard list

Dashboards

Weave Gitops Overview

Monitor Weave Gitops golden signals for API server and Controllers:

weave gitops dashboard list

Weave Gitops Runtime

Monitor Weave Gitops GO runtime metrics like Memory Usage, Memory Heap, Goroutines, etc ...

weave gitops dashboard list

Explorer

Monitor Explorer golden signals. More info here