Git Product home page Git Product logo

multiregional-monitoring-using-observatorium's Introduction

Multi-regional monitoring using Observatorium

Overview

This proof-of-concept (POC) deploys Observatorium + Prometheus + Grafana. See also architecture diagrams.

Components used:

Deploying

You will need TLS certificates for Observatorium API, Prometheus and Grafana. See Creating TLS certificates for more details on how to generate them. Alternatively, Observatorium also supports OIDC (OpenID Connect) for authentication.

Create observatorium namespace. Everything else will be deployed into this namespace:

$ oc apply --kustomize observatorium-namespace/base

Observatorium requires an S3-compatible storage. If you don't have an existing S3 storage, you can leverage MinIO. Deploy MinIO S3 compatible object storage:

$ oc apply --kustomize minio/base

Install Observatorium operator:

$ oc apply --kustomize observatorium-operator/base

Deploy Observatorium. Search for REPLACE_ME string and customize manifests before deploying:

$ oc apply --kustomize observatorium-instance/base

Deploy Prometheus operator:

$ oc apply --kustomize prometheus-operator/base

Deploy Prometheus instance. Search for REPLACE_ME string and customize the manifests before deploying.

$ kustomize build prometheus-instance/base | oc apply --filename -

Deploy Grafana operator:

$ oc apply --kustomize grafana-operator/base

Deploy Grafana instance:

$ oc apply --kustomize grafana-instance/base

Further tips

For testing purposes, you can expose some of the endpoints. Note that the commands below create OpenShift routes which expose unprotected services to the outside of the cluster. If this is an issue, use oc port-forward instead.

Create route for Prometheus UI:

$ oc expose svc prometheus-operated

Create route for Thanos Query UI:

$ oc expose svc observatorium-thanos-query --port http

Create route for Thanos Alerts Web UI (inactive, pending, firing alerts):

$ oc expose svc observatorium-thanos-rule --port http

Video

How to Build Multi-regional Monitoring Based on Prometheus

Related documentation

multiregional-monitoring-using-observatorium's People

Contributors

noseka1 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.