Skip to content

[FEATURE]: Support profiling when using Granian #16093

@d33kayyy

Description

@d33kayyy

Package Name

granian

Package Version(s)

2.6.1

Describe the goal of the feature

I would like to have datadog profiler to work with my ASGI application using Granian

# even with DD_PROFILING_ENABLED=true in environment

ddtrace-run --profiling granian \
        --interface asginl \
        --host 0.0.0.0 \
        --port $PORT \
        --no-ws \
        --log-level info \
        --loop uvloop \
        --workers-kill-timeout 30 \
        --workers ${HTTP_WORKER_COUNT:-1} \
        --backlog 1024 \
        my_project.asgi:application

While tracing work, profiling does not works at all. Someone already mentioned in a previous issue #12756

ddtrace 4.0.0
granian 2.6.1

Is your feature request related to a problem?

No response

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions