Giter Site home page Giter Site logo

prom-on-ecs-example's Introduction

prom_services_example

概要

ECSでgit管理されたprometheus/alertmanagerを動かす。

システム構成図

適用方法

# 1
# ./alertconf/config.yamlの${webhook_url}を任意の値に修正する
# 2
# .template.docker-compose.yamlからdocker-compose.yamlを作成してクレデンシャルを適用する

参考情報

Prometheus - overview

Build & Deployment

# prometheus
$ cd /path/to/repository/
$ docker build -t prom . -f _prom.dockerfile

# alert managerの場合
$ docker build -t alert-manager . -f _alert.dockerfile

開発手順

ディレクトリ構成

├── _alert.dockerfile // alertmanagerのコンテナ
├── _prom.dockerfile  // promethuesのコンテナ
├── alert_manager
│   └── template.config.yaml // alertの通知先の設定
└── prom
    ├── rules.yml // アラートの設定
    └── template.prometheus.yml // メトリクス取得の設定, Service Discoveryの設定

開発 / 動作確認

$ cd /path/to/repository/

# ソースコードを変更した後に
$ docker-compose build
$ docker-compose up

prom-on-ecs-example's People

Contributors

wadason 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.