Dynatrace OneAgent SDK for C/C++
1.7.1.1
|
Defines agent functions. More...
Go to the source code of this file.
Functions | |
onesdk_xchar_t const * | onesdk_agent_get_version_string (void) |
Returns the version string of the loaded SDK agent module. More... | |
onesdk_int32_t | onesdk_agent_get_current_state (void) |
Returns the current agent state. More... | |
void | onesdk_agent_set_logging_callback (onesdk_agent_logging_callback_t *agent_logging_callback) |
DEPRECATED. Sets the agent warning callback function. More... | |
onesdk_result_t | onesdk_agent_set_warning_callback (onesdk_agent_logging_callback_t *agent_logging_callback) |
Sets the agent warning callback function. More... | |
onesdk_result_t | onesdk_agent_set_verbose_callback (onesdk_agent_logging_callback_t *agent_logging_callback) |
Sets the verbose agent logging callback function. More... | |
onesdk_int32_t | onesdk_agent_get_fork_state (void) |
Returns the current agent fork state. Only relevant if you used ONESDK_INIT_FLAG_FORKABLE. See Agent forking state constants. More... | |
void | onesdk_tracer_start (onesdk_tracer_handle_t tracer_handle) |
Starts a tracer. More... | |
void | onesdk_tracer_end (onesdk_tracer_handle_t tracer_handle) |
Ends and releases a tracer. More... | |
void | onesdk_tracer_error (onesdk_tracer_handle_t tracer_handle, onesdk_string_t error_class, onesdk_string_t error_message) |
Sets error information for a tracer. More... | |
onesdk_size_t | onesdk_tracer_get_outgoing_dynatrace_string_tag (onesdk_tracer_handle_t tracer_handle, char *buffer, onesdk_size_t buffer_size, onesdk_size_t *required_buffer_size) |
Retrieves the string representation of the tag from an "outgoing taggable" tracer. More... | |
onesdk_size_t | onesdk_tracer_get_outgoing_dynatrace_byte_tag (onesdk_tracer_handle_t tracer_handle, unsigned char *buffer, onesdk_size_t buffer_size, onesdk_size_t *required_buffer_size) |
Retrieves the binary representation of the tag from an "outgoing taggable" tracer. More... | |
void | onesdk_tracer_set_incoming_dynatrace_string_tag (onesdk_tracer_handle_t tracer_handle, onesdk_string_t string_tag) |
Sets the tag of an "incoming taggable" tracer using the string representation. More... | |
void | onesdk_tracer_set_incoming_dynatrace_byte_tag (onesdk_tracer_handle_t tracer_handle, unsigned char const *byte_tag, onesdk_size_t byte_tag_size) |
Sets the tag of an "incoming taggable" tracer using the binary representation. More... | |
void | onesdk_customrequestattribute_add_integer (onesdk_string_t key, onesdk_int64_t value) |
Adds a custom request attribute integer to the active tracer. More... | |
void | onesdk_customrequestattribute_add_float (onesdk_string_t key, double value) |
Adds a custom request attribute floating point value to the active tracer. More... | |
void | onesdk_customrequestattribute_add_string (onesdk_string_t key, onesdk_string_t value) |
Adds a custom request attribute string to the active tracer. More... | |
onesdk_size_t | onesdk_inprocesslink_create (unsigned char *buffer, onesdk_size_t buffer_size, onesdk_size_t *required_buffer_size) |
Creates an in-process link. More... | |
onesdk_tracer_handle_t | onesdk_inprocesslinktracer_create (unsigned char const *in_process_link, onesdk_size_t in_process_link_size) |
Creates a tracer for tracing asynchronous related processing in the same process. More... | |
onesdk_tracer_handle_t | onesdk_outgoingremotecalltracer_create (onesdk_string_t service_method, onesdk_string_t service_name, onesdk_string_t service_endpoint, onesdk_int32_t channel_type, onesdk_string_t channel_endpoint) |
Creates a tracer for tracing outgoing remote calls. More... | |
void | onesdk_outgoingremotecalltracer_set_protocol_name (onesdk_tracer_handle_t tracer_handle, onesdk_string_t protocol_name) |
Sets the name of the remoting protocol. More... | |
onesdk_tracer_handle_t | onesdk_incomingremotecalltracer_create (onesdk_string_t service_method, onesdk_string_t service_name, onesdk_string_t service_endpoint) |
Creates a tracer for tracing incoming remote calls. More... | |
void | onesdk_incomingremotecalltracer_set_protocol_name (onesdk_tracer_handle_t tracer_handle, onesdk_string_t protocol_name) |
Sets the name of the remoting protocol. More... | |
onesdk_databaseinfo_handle_t | onesdk_databaseinfo_create (onesdk_string_t name, onesdk_string_t vendor, onesdk_int32_t channel_type, onesdk_string_t channel_endpoint) |
Creates a database info object. More... | |
void | onesdk_databaseinfo_delete (onesdk_databaseinfo_handle_t databaseinfo_handle) |
Releases a database info object. More... | |
onesdk_tracer_handle_t | onesdk_databaserequesttracer_create_sql (onesdk_databaseinfo_handle_t databaseinfo_handle, onesdk_string_t statement) |
Creates a tracer for tracing SQL database requests. More... | |
void | onesdk_databaserequesttracer_set_returned_row_count (onesdk_tracer_handle_t tracer_handle, onesdk_int32_t returned_row_count) |
Sets the number of returned rows for a database request. More... | |
void | onesdk_databaserequesttracer_set_round_trip_count (onesdk_tracer_handle_t tracer_handle, onesdk_int32_t round_trip_count) |
Sets the number of round trips for a database request. More... | |
onesdk_webapplicationinfo_handle_t | onesdk_webapplicationinfo_create (onesdk_string_t web_server_name, onesdk_string_t application_id, onesdk_string_t context_root) |
Creates a web application info object. More... | |
void | onesdk_webapplicationinfo_delete (onesdk_webapplicationinfo_handle_t webapplicationinfo_handle) |
Releases a web application info object. More... | |
onesdk_tracer_handle_t | onesdk_incomingwebrequesttracer_create (onesdk_webapplicationinfo_handle_t webapplicationinfo_handle, onesdk_string_t url, onesdk_string_t method) |
Creates a tracer for tracing an incoming web request. More... | |
void | onesdk_incomingwebrequesttracer_set_remote_address (onesdk_tracer_handle_t tracer_handle, onesdk_string_t remote_address) |
Sets the remote address of an incoming web request. More... | |
void | onesdk_incomingwebrequesttracer_add_request_header (onesdk_tracer_handle_t tracer_handle, onesdk_string_t name, onesdk_string_t value) |
Adds an HTTP request header of an incoming web request. More... | |
void | onesdk_incomingwebrequesttracer_add_parameter (onesdk_tracer_handle_t tracer_handle, onesdk_string_t name, onesdk_string_t value) |
Adds an HTTP POST parameter of an incoming web request. More... | |
void | onesdk_incomingwebrequesttracer_add_response_header (onesdk_tracer_handle_t tracer_handle, onesdk_string_t name, onesdk_string_t value) |
Adds an HTTP response header for an incoming web request. More... | |
void | onesdk_incomingwebrequesttracer_set_status_code (onesdk_tracer_handle_t tracer_handle, onesdk_int32_t status_code) |
Sets the HTTP status code for an incoming web request. More... | |
onesdk_tracer_handle_t | onesdk_outgoingwebrequesttracer_create (onesdk_string_t url, onesdk_string_t method) |
Creates a tracer for tracing an outgoing web request. More... | |
void | onesdk_outgoingwebrequesttracer_add_request_header (onesdk_tracer_handle_t tracer_handle, onesdk_string_t name, onesdk_string_t value) |
Adds an HTTP request header of an outgoing web request. More... | |
void | onesdk_outgoingwebrequesttracer_add_response_header (onesdk_tracer_handle_t tracer_handle, onesdk_string_t name, onesdk_string_t value) |
Adds an HTTP response header for an outgoing web request. More... | |
void | onesdk_outgoingwebrequesttracer_set_status_code (onesdk_tracer_handle_t tracer_handle, onesdk_int32_t status_code) |
Sets the HTTP status code for an outgoing web request. More... | |
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... | |
onesdk_messagingsysteminfo_handle_t | onesdk_messagingsysteminfo_create (onesdk_string_t vendor_name, onesdk_string_t destination_name, onesdk_int32_t destination_type, onesdk_int32_t channel_type, onesdk_string_t channel_endpoint) |
Creates a messaging system info object. More... | |
void | onesdk_messagingsysteminfo_delete (onesdk_messagingsysteminfo_handle_t messagingsysteminfo_handle) |
Releases a messaging system info object. More... | |
onesdk_tracer_handle_t | onesdk_outgoingmessagetracer_create (onesdk_messagingsysteminfo_handle_t messagingsysteminfo_handle) |
Creates a tracer for tracing an outgoing message. More... | |
void | onesdk_outgoingmessagetracer_set_vendor_message_id (onesdk_tracer_handle_t tracer_handle, onesdk_string_t vendor_message_id) |
Sets the vendor message ID of an outgoing message. More... | |
void | onesdk_outgoingmessagetracer_set_correlation_id (onesdk_tracer_handle_t tracer_handle, onesdk_string_t correlation_id) |
Sets the corrrelation ID of an outgoing message. More... | |
onesdk_tracer_handle_t | onesdk_incomingmessagereceivetracer_create (onesdk_messagingsysteminfo_handle_t messagingsysteminfo_handle) |
Creates a tracer for tracing the receipt of an incoming message. More... | |
onesdk_tracer_handle_t | onesdk_incomingmessageprocesstracer_create (onesdk_messagingsysteminfo_handle_t messagingsysteminfo_handle) |
Creates a tracer for tracing the processing of an incoming message. More... | |
void | onesdk_incomingmessageprocesstracer_set_vendor_message_id (onesdk_tracer_handle_t tracer_handle, onesdk_string_t vendor_message_id) |
Sets the vendor message ID of an incoming message. More... | |
void | onesdk_incomingmessageprocesstracer_set_correlation_id (onesdk_tracer_handle_t tracer_handle, onesdk_string_t correlation_id) |
Sets the corrrelation ID of an incoming message. More... | |
onesdk_result_t | onesdk_tracecontext_get_current (char *trace_id_buffer, onesdk_size_t trace_id_buffer_size, char *span_id_buffer, onesdk_size_t span_id_buffer_size) |
Retrieves the current W3C trace context's span and trace ID. More... | |
Defines agent functions.