Skip to content

Add hook to set custom span name in django instrumentation #138

@lzchen

Description

@lzchen

Similar to wsgi, accept a callback function in DjangoInstrumentor().instrument to be able to pass custom span name.

The specs say "MAY" for this feature, but we should be consistent across our instrumentations.

Part of open-telemetry/opentelemetry-python#1297

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions