Dynatrace OneAgent SDK for C/C++  1.7.1.1
Functions
Custom Service Tracers

Trace services that are important but for which there is no more specific tracer. More...

Functions

onesdk_tracer_handle_t onesdk_customservicetracer_create (onesdk_string_t service_method, onesdk_string_t service_name)
 Creates a tracer for tracing a custom service. More...
 

Detailed Description

Trace services that are important but for which there is no more specific tracer.

Custom service tracers are used to trace service calls for which there is no other suitable tracer.

To create a custom service tracer, an application can simply call onesdk_customservicetracer_create.

For further information, see the high level SDK documentation at https://github.com/Dynatrace/OneAgent-SDK/#customservice

Since
Custom service tracers were added in version 1.4.0.

Function Documentation

◆ onesdk_customservicetracer_create()

onesdk_tracer_handle_t onesdk_customservicetracer_create ( onesdk_string_t  service_method,
onesdk_string_t  service_name 
)
inline

Creates a tracer for tracing a custom service.

Parameters
service_methodThe name of the service method.
service_nameThe name of the service.
Returns
A handle for the newly created custom service tracer or ONESDK_INVALID_HANDLE.
Since
This function was added in version 1.4.0.