GithubHelp home page GithubHelp logo

ramius345 / mdt-quickstart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dora-metrics/pelorus

1.0 1.0 0.0 287 KB

Assets to rapidly demonstrate Metrics Driven Transformation (MDT) on the OpenShift Container Platform

Dockerfile 2.06% Python 77.32% Smarty 12.43% Shell 8.19%

mdt-quickstart's Introduction

Metrics Driven Transformation

This repository contains tooling to help organizations measure Software Delivery and Value Stream metrics.

Features

Software Delivery Metrics Dashboard

The Software Delivery Metrics Dashboard is a Grafana dashboard that can easily be deployed to an OpenShift cluster, and provides and organizational level view of the four critical measures of software delivery performance.

Software Delivery Metrics Dashboard

Installation

The following will walk through the deployment of the MDT tooling.

Prerequisites

Before deploying the tooling, you must have the following prepared

  • An OpenShift 3.11 or higher Environment
  • A machine from which to run the install (usually your laptop)
    • The OpenShift Command Line Tool (oc)
    • Helm 3

Deployment Instructions

To deploy pelorus, run the following script from within the root repository directory

./runhelm.sh

Pelorus also has additional (optional) exporters that can be deployed to gather additional data and integrate with external systems. Consult the docs for each exporter below:

Adding extra prometheus instances

By default, this tool will pull in data from the cluster in which it is running. The tool also supports collecting data across mulitple OpenShift clusters. In order to do this, we need to point the Pelorus instance at these other clusters.

To do this, create a new variables file , extra_prometheus_hosts.yaml. It is a yaml file with an array of entries with the following parameters:

  • id - a description of the prometheus host (this will be used as a label to select metrics in the federated instance).
  • hostname - the fully qualified domain name or ip address of the host with the extra prometheus instance
  • password - the password used for the 'internal' basic auth account (this is provided by the k8s metrics prometheus instances in a secret).

For example:

extra_prometheus_hosts:
  - id: "ci-1"
    hostname: "prometheus-k8s-openshift-monitoring.apps.ci-1.example.com"
    password: "<redacted>"

Once you are finished adding your extra hosts, you can update your stack by re-running the helm command above, passing your values file with --values extra-prometheus-hosts.yaml

./runhelm.sh --values extra-prometheus-hosts.yaml

Cleaning Up

Cleaning up Pelorus is very simple.

helm template --namespace pelorus pelorus ./charts/deploy/ | oc delete -f-

mdt-quickstart's People

Stargazers

 avatar

Watchers

 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.