Skip to content

[opentelemetry-php-contrib] Add Twig instrumentation #1815

@cmelius

Description

@cmelius

in my company we needed a deeper look at how it used twig templates and where it's wasting time.
It is a website running on CraftCMS / PHP 8.4.

I could not really find good traces with the standard instrumentations so I built my own
https://github.com/cmelius/opentelemetry-auto-twig

I am not really sure if this is needed here, if everything was done right. I coded it fast. There may be things missing, but it's working for me.
Just wanted to drop it here in case somebody could use it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions