Skip to content

Using @Trace for a separate service #1043

@jakubclark

Description

@jakubclark

Hi,

I was wondering if there is an easy way of Using the @Trace annotation to make a method be part of a separate service.

For example, using the python's dd-trace-py, it is possible to write:

@tracer.wrap(name='expensive_http_call', service='http_backend')
def expensive_http_call():
    pass

This would make this span be considered to be in a separate service called "http_backend".

Would this also be possible using dd-trace-java?

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