Giter Site home page Giter Site logo

mgartner / pg_flame Goto Github PK

View Code? Open in Web Editor NEW
1.6K 20.0 37.0 73 KB

A flamegraph generator for Postgres EXPLAIN ANALYZE output.

License: Apache License 2.0

Go 99.16% Dockerfile 0.84%
flamegraph postgres performance performance-visualization postgresql postgresql-tool database

pg_flame's People

Contributors

h3nnn4n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pg_flame's Issues

Update module path

Due to the way the mod file is written, currently is not possible to import the code provided and generate graphs on demand, like on a web server or other similar applications.

The tool is excellent, and helps a lot when doing some analysis from time to time, but the possibility to include in third party applications would be appreciated, and the only change needed is the modification of one line in the mod file.

Invalid Homebrew formula

I tried to install pg_flame using the specified tap, but I got this error:

$ brew install mgartner/tap/pg_flame
==> Tapping mgartner/tap
Cloning into '/usr/local/Homebrew/Library/Taps/mgartner/homebrew-tap'...
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 4 (delta 0), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (4/4), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/mgartner/homebrew-tap/Formula/pg_flame.rb
pg_flame: wrong number of arguments (given 1, expected 0)
Error: Cannot tap mgartner/tap: invalid syntax in tap!

Please publish pre-built docker images on Docker Hub

It would be much easier to use your absolutely awesome tool if you publish Docker images for every release into any public Docker registry (it doesn't really matter will it be hub.docker.com or quay.io), and provide links to it in the README, like this:

docker pull mgartner/pg_flame # or docker pull quay.io/mgartner/pg_flame
psql dbname -qAtc 'EXPLAIN (…) SELECT …'  | docker run --rm -i mgartner/pg_flame > flamegraph.html

Flamegraphs are the best! Thank you for creating pg_flame!

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.