Skip to content

Add a More Flexible System for Enabling Profiling #1

@chrisguitarguy

Description

@chrisguitarguy

But still keep the {enable/disable}Profiling methods on ProfilingConsumer.

I'm thinking something more along the lines of a criteria pattern where the ProfilingConsumer would do something like...

$this->setHandlerOptions([
  self::FLAG => $this->isProfilingEnabled() || $this->profileCriteria->matches($message),
]);

On profile criteria might do the already provided signal handling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions