metrics-processor

module
v0.0.0-...-d5fa8a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2024 License: MIT

README

Metrics Processor

This project contains a go program that queries prometheus metrics and saves the result matrix as json in S3 object storage. It also includes example deployemnt to Kubernetes as Job using Kustomize.

Building the program

make prod TAG=[insert tag here]

Running the program

Prerequisite
  • Kubernetes cluster with following installed
    • Prometheus
    • Linkerd (if you want linkerd metrics)
    • Sealed secrets
  • AWS account with S3 Bucket
# prepare aws secrets
bash prepare_aws_secret.sh

# copy the example env and add values
cp _k8s/overlays/example/metrics-processor.env.example _k8s/overlays/example/metrics-processor.env
vi _k8s/overlays/example/metrics-processor.env

# apply with kustomize
kubectl apply -k _k8s/overlays/example

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL