GithubHelp home page GithubHelp logo

mikeisen1 / identity-idva-monitoring Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gsa-tts/identity-idva-monitoring

0.0 0.0 0.0 425 KB

Monitoring for IDVA microservices in cloud.gov using Prometheus

License: Other

Shell 25.55% Python 74.45%

identity-idva-monitoring's Introduction

IDVA Monitoring Service

Monitoring for IDVA microservices in cloud.gov

Why this project

The IDVA project is composed of many different microservices, each needing to be monitored for performance, stability, and uptime. The monitoring microservice has the following goals:

  • Provide monitoring capabilities for IDVA microservices
  • Alert IDVA operators/admins on specified metric thresholds

Architecture Overview

architecture-diagram

Implementation

IDVA monitoring is a set of monitoring tools that get deployed together to enable monitoring of the IDVA system. The repo is broken down by tool and contains:

  • Prometheus: an HA Prometheus setup to monitor applications based on DNS querying of the application routes.
    • For all applications we wish to monitor, adding a dns_sd_config within the prometheus-config.yml adds the application to prometheus's monitoring. By using the dns_sd_config we are able to see and query all instances of the application, and are not load balanced to random instances every query.
  • Grafana: A simple dashboard setup to view some of the IDVA metrics in real-time
  • Alertmanager: an HA Alertmanager cluster that handles alert deduplication and routing.
  • Cortex: A single-binary-mode Cortex instance for shipping metrics to S3 for long-term storage.
  • Watchtower: A run-anywhere, Cloud Foundry drift detection service (designed to be scraped by Prometheus).
  • Kibana: Basic Kibana setup for quickly querying elasticsearch data in cloud.gov
  • Elasticsearch: A Prometheus exporter for Elasticsearch metrics on cloud.gov
  • Redis: A Prometheus Exporter for Redis metrics on cloud.gov

Generating the config files

The config files are generic to prevent having to have multiple configuration files per space (dev, test, prod, etc). The -config.yml files are intended to be fed to envsubst after the appropriate environment variable has been set. The config should be output to the appropriate named files (see examples below).

# Examples of config file generation using envsubst
envsubst < prometheus/prometheus-config.yml > prometheus/prometheus.yml
envsubst < alertmanager/alert-config.yml > alertmanager/alertmanager.yml

CI/CD Workflows with GitHub Actions

The most up-to-date information about the CI/CD flows for this repo can be found in the GitHub workflows directory

Public domain

This project is in the worldwide public domain. As stated in CONTRIBUTING:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

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.