All Projects → criteo → defcon

criteo / defcon

Licence: GPL-3.0 license
DefCon - Status page and API for production status

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to defcon

covid19-datafetcher
Fetch COVID19 data published by US states.
Stars: ✭ 32 (+166.67%)
Mutual labels:  production
pug-symfony
Pug (Jade) template engine for Symfony
Stars: ✭ 40 (+233.33%)
Mutual labels:  production
express-sls-app
How to deploy a Node.js application to AWS Lambda using Serverless, a quick start.
Stars: ✭ 20 (+66.67%)
Mutual labels:  production
prosemirror-elements
A ProseMirror plugin for adding user-defined 'elements' containing arbitrary fields to a document.
Stars: ✭ 26 (+116.67%)
Mutual labels:  production
pwptemp
pwptemp
Stars: ✭ 54 (+350%)
Mutual labels:  production
duing
😱 The progress bar / status badge of SVG generator service
Stars: ✭ 68 (+466.67%)
Mutual labels:  status
mobile-apps-article-templates
Templates for articles on The Guardian iOS and Android apps
Stars: ✭ 35 (+191.67%)
Mutual labels:  production
eaf-linter
🤪 A linter, prettier, and test suite that does everything as-simple-as-possible.
Stars: ✭ 17 (+41.67%)
Mutual labels:  production
live-platform
Add breakpoints, logs, metrics, and spans to live production applications
Stars: ✭ 37 (+208.33%)
Mutual labels:  production
terranetes
Terraform boilerplate for production-grade Kubernetes clusters on AWS (optionally includes kube-system components, OpenVPN, an ingress controller, monitoring services...)
Stars: ✭ 15 (+25%)
Mutual labels:  production
security-hq
Centralised security information for AWS accounts
Stars: ✭ 12 (+0%)
Mutual labels:  production
ssm-scala
ssh replacement: CLI program that wraps SSM's EC2 Run Command
Stars: ✭ 18 (+50%)
Mutual labels:  production
old nesta daps
[archived]
Stars: ✭ 16 (+33.33%)
Mutual labels:  production
statuscheck
Tool to check PAAS/SAAS status pages (API+CLI)
Stars: ✭ 33 (+175%)
Mutual labels:  status
twitter-d
TypeScript types for Twitter API objects
Stars: ✭ 54 (+350%)
Mutual labels:  status
Generation
⭐ A Private, Secure, End-to-End Encrypted Messaging app made in Flutter(With Firebase and SQLite) that helps you to connect with your connections without any Ads, promotion. No other third-party person, organization, or even Generation Team can't read your messages. 💝
Stars: ✭ 18 (+50%)
Mutual labels:  status
cyberevents
The protocol for EVENTs and TICKETs
Stars: ✭ 16 (+33.33%)
Mutual labels:  status
huebot
Changes a Phillips Hue light's color and flashes based on GitHub's status
Stars: ✭ 34 (+183.33%)
Mutual labels:  status
rest-api-node-typescript
This is a simple REST API with node and express with typescript
Stars: ✭ 154 (+1183.33%)
Mutual labels:  production
out
Monitor services in your menu bar
Stars: ✭ 155 (+1191.67%)
Mutual labels:  status

DefCon

Build Status Coverage Status PyPI version

UI and API to show an aggregate status of your services. The idea of defcon is that it gathers the status of various components of your infrastructure and exposes them to both humans and machines. Humans (👫) will go to the UI to see if something is known to be wrong, and machines (💻) will consume the API. This could be used to automatically pause Jenkins job or Chef runs when the production looks unstable.

DefCon screenshot

This is currently under active development and not ready for production.

API

Simply go to /api/defcon/<COMPONENT_ID>/.

GET /api/defcon/observability/
HTTP 200 OK
Allow: GET, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://defcon/api/components/observability/",
    "plugins": [
        {
            "url": "http://defcon/api/plugin_instance/4/",
            "statuses": [],
            "name": "alertmanager-page",
            "config": "{'receiver': 'observability-page', 'defcon': 2, 'api': 'https://alertmanager/'}",
            "plugin": "http://defcon/api/plugin/alertmanager/"
        },
        {
            "url": "http://defcon/api/plugin_instance/5/",
            "name": "alertmanager-ticket",
            "description": "",
            "config": "{'receiver': 'observability-ticket', 'defcon': 4, 'api': 'https://alertmanager/'}",
            "plugin": "http://defcon/api/plugin/alertmanager/"
        }
    ],
    "statuses": [],
    "defcon": 5,
    "name": "Observability",
    "description": "",
    "link": "https://confluence/display/OBS",
    "contact": "[email protected]"
}

There are also more things available on /api/.

Plugins

See defcon/plugins/README.md

Quickstart

virtualenv venv -p python3
source venv/bin/activate
cp examples/local_settings.py defcon/
pip install -r requirements.txt
./manage.py migrate
./manage.py migrate --run-syncdb
./manage.py createsuperuser
./manage.py loadplugins
./manage.py loadcomponents
./manage.py runplugins
./manage.py runserver
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].