Giter Site home page Giter Site logo

Comments (4)

cleptric avatar cleptric commented on June 10, 2024

The profiler will only work inside a transaction, as they are both tied together.
So you would need to instrument your application to create at least a transaction and the profiler will start doing its thing. (*If your transaction is longer than 20ms, as we require at least two samples for a profile).

from sentry-php.

pyr0hu avatar pyr0hu commented on June 10, 2024

@cleptric When using the official PHP integrations (Laravel/Symfony), it should automatically create the transactions, right?

from sentry-php.

cleptric avatar cleptric commented on June 10, 2024

If you enable it, by setting a traces_sample_rate greater than 0.0, it does, yes.

from sentry-php.

g-balas avatar g-balas commented on June 10, 2024

Same problem here : profiling does not seems to receive any data.

Symfony 5.4
sentry/sdk: ^3.6
sentry/sentry: ^3.22.1
sentry/sentry-symfony: ^4.13

sentry:
    options:
        sample_rate: 1.0
        traces_sample_rate: 1.0
        profiles_sample_rate: 1.0
        release: '%env(VERSION)%'
    tracing:
        enabled: true
        dbal: # DB queries
            enabled: true
        cache: # cache pools
            enabled: true
        twig: # templating engine
            enabled: true
        http_client: # Symfony HTTP client
            enabled: true

Any suggestion on how to debug this?

Edit : fixed by adding docker-php-ext-enable excimer below pecl install -o -f excimer

from sentry-php.

Related Issues (20)

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.