Giter VIP home page Giter VIP logo

pghero's Introduction

pghero in Docker

RSpec DeepSource Ruby Style Guide

Service container for running pghero.

Configure

Environment variable Description Default Default in container
RAILS_ENV Rails environment development production
SECRET_KEY_BASE Rails secret not set not set
RAILS_LOG_TO_STDOUT Log everything to stdout not set true
RAILS_SERVE_STATIC_FILES Serve static assets from /public not set true
RAILS_MAX_THREADS Rails max threads 2 as default
RAILS_MIN_THREADS Rails min threads 2 as default
DATABASE_URL Database configuration. Example: postgres://user:password@localhost/database not set not set
PGHERO_USERNAME User name for auth. Always set! not set not set
PGHERO_PASSWORD User password for auth. Always set! not set not set
PGHERO_STATS_DATABASE_URL When pghero_query_stats table in another database not set not set
PGHERO_LONG_RUNNING_QUERY_SEC Minimum time for long running queries. In seconds. 60 as default
PGHERO_SLOW_QUERY_MS Minimum average time for slow queries. In milliseconds. 20 as default
PGHERO_SLOW_QUERY_CALLS Minimum calls for slow queries 100 as default
PGHERO_EXPLAIN_TIMEOUT_SEC Statement timeout for explain. In seconds. 10 as default
PGHERO_TOTAL_CONNECTIONS_THRESHOLD Minimum connections for high connections warning 500 as default
PGHERO_CONFIG_PATH Path to config config/pghero.yml as default
PGHERO_FILTER_DATA Filter data not set as default

Example docker-compose.yml

# TODO: write

pghero's People

Contributors

biow0lf avatar dependabot[bot] avatar dependabot-preview[bot] avatar deepsourcebot 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.