Code Monkey home page Code Monkey logo

pinba-bundle's People

Contributors

1on avatar adapik avatar addfs avatar gwinn avatar linniksa avatar muxx avatar vkhramtsov avatar

Stargazers

 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

pinba-bundle's Issues

doctrine configuration

в процессе конфигурации столкнулся с проблемой.

например в нашем проекте настройки dbal находятся в файле config.yml и он уже подключается в config_prod.yml и config_dev.yml
добавление параметров для dbal в config_prod.yml в таком случае не работает.

потом обнаружилось что определить logging: true, для конфига с многими connections: нельзя сразу в секцию dbal: нужно определять для каждого connection: отдельно.

все это может казаться очевидным для тех кто плотно работал с doctrine, но у меня заняло какое то время на осмысление того почему не работает логирование запросов в пинбу.

Measure overhead

Привет.

Очень интересный бандл, пользуемся пинбой около года, но вот так детально замерять по подсистемам еще не пробовали. Получается что-то наподобие newrelic для бедных).

Укажите пожалуйста в документации, какой оверхед на продакшене? rps с бандлом и без.

Drop twig requirement

Hi!

I'm using Symfony 3.x as json-api without need for twig at all.

After installing this bundle i see error Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The service "fos_rest.exception.twig_controller" has a dependency on a non-existent service "twig".

So, why? And how to disable this requirement? I don't need any rendering stuff from Pinba – only send "smart timers" to see queries, correct routes etc.


After some digging into, i just drop these lines and everything works good.

./vendor/intaro/pinba-bundle/Intaro/PinbaBundle/Resources/config/services.yml:

services:
    templating.engine.twig:
        class: "%intaro_pinba.templating.engine.twig.class%"
        public: false
        arguments:
            - "@twig"
            - "@templating.name_parser"
            - "@templating.locator"
            - "@intaro_pinba.stopwatch"

[NFR] Console command timers support

It will be good to see timers from console commands, especially if project has many cronjobs.

But right now i see in ScriptNameConfigureListener.php:17 that cli is strictly denied. Why? Is there any hard problem or just waiting for implementation (no comments there)?

After installing Pinba on my server, in dashboard i see cli commands as "unknown"-host and only memory stuff – will be great to see doctrine there too like in regular requests. Maybe, setting pinba_script_name_set(gethostname()) will be informative enough?

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.