Skip to content

add commands that call the inspector API #57

@tacman

Description

@tacman

I'd like to be able to configure inspector without using the UI. So I can envision something like

symfony new MyTestProject --webapp && cd MyTestProject
composer require inspector-apm/inspector-bundle # my preferred name!
bin/console inspector:create 

At this point, the message is something like

Add the following environment variable
INSPECTOR_INGEST_KEY=abcd
INSPECTOR_APP_ID=4567

now I should be able to also run

bin/console inspector:stop
bin/console inspector:start
bin/console inspector:transactions

create is the hardest one, because it requires an account api key. I do something similar with https://packagist.org/packages/survos/bunny-bundle, where each zone has it's own keys, but you need a master key to create zones.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions