Dynatrace OneAgent SDK for C/C++  1.7.1.1
Deprecated List
Module ex_metrics

From 1.6 on, all metrics-related APIs are deprecated and will be removed in a future release. Refer to https://github.com/Dynatrace/OneAgent-SDK-for-c#metrics for details.

Member onesdk_agent_set_logging_callback (onesdk_agent_logging_callback_t *agent_logging_callback)
From 1.5 on, use onesdk_agent_set_warning_callback instead, which has a return code but is otherwise the same (onesdk_agent_set_logging_callback, like onesdk_agent_set_warning_callback, can fail but it has no way to report errors).
Member ONESDK_DYNATRACE_MESSAGE_PROPERTYNAME
Use ONESDK_DYNATRACE_MESSAGE_PROPERTY_NAME instead.
Member onesdk_floatcountermetric_create (onesdk_string_t metric_key, onesdk_string_t unit, onesdk_string_t dimension_name)
From 1.6 on, all metrics-related APIs are deprecated and will be removed in a future release. Refer to https://github.com/Dynatrace/OneAgent-SDK-for-c#metrics for details.
Member onesdk_floatcountermetric_increase_by (onesdk_metric_handle_t metric_handle, double delta, onesdk_string_t dimension)
From 1.6 on, all metrics-related APIs are deprecated and will be removed in a future release. Refer to https://github.com/Dynatrace/OneAgent-SDK-for-c#metrics for details.
Member onesdk_floatgaugemetric_create (onesdk_string_t metric_key, onesdk_string_t unit, onesdk_string_t dimension_name)
From 1.6 on, all metrics-related APIs are deprecated and will be removed in a future release. Refer to https://github.com/Dynatrace/OneAgent-SDK-for-c#metrics for details.
Member onesdk_floatgaugemetric_set_value (onesdk_metric_handle_t metric_handle, double value, onesdk_string_t dimension)
From 1.6 on, all metrics-related APIs are deprecated and will be removed in a future release. Refer to https://github.com/Dynatrace/OneAgent-SDK-for-c#metrics for details.
Member onesdk_floatstatisticsmetric_add_value (onesdk_metric_handle_t metric_handle, double value, onesdk_string_t dimension)
From 1.6 on, all metrics-related APIs are deprecated and will be removed in a future release. Refer to https://github.com/Dynatrace/OneAgent-SDK-for-c#metrics for details.
Member onesdk_floatstatisticsmetric_create (onesdk_string_t metric_key, onesdk_string_t unit, onesdk_string_t dimension_name)
From 1.6 on, all metrics-related APIs are deprecated and will be removed in a future release. Refer to https://github.com/Dynatrace/OneAgent-SDK-for-c#metrics for details.
Member onesdk_integercountermetric_create (onesdk_string_t metric_key, onesdk_string_t unit, onesdk_string_t dimension_name)
From 1.6 on, all metrics-related APIs are deprecated and will be removed in a future release. Refer to https://github.com/Dynatrace/OneAgent-SDK-for-c#metrics for details.
Member onesdk_integercountermetric_increase_by (onesdk_metric_handle_t metric_handle, onesdk_int64_t delta, onesdk_string_t dimension)
From 1.6 on, all metrics-related APIs are deprecated and will be removed in a future release. Refer to https://github.com/Dynatrace/OneAgent-SDK-for-c#metrics for details.
Member onesdk_integergaugemetric_create (onesdk_string_t metric_key, onesdk_string_t unit, onesdk_string_t dimension_name)
From 1.6 on, all metrics-related APIs are deprecated and will be removed in a future release. Refer to https://github.com/Dynatrace/OneAgent-SDK-for-c#metrics for details.
Member onesdk_integergaugemetric_set_value (onesdk_metric_handle_t metric_handle, onesdk_int64_t value, onesdk_string_t dimension)
From 1.6 on, all metrics-related APIs are deprecated and will be removed in a future release. Refer to https://github.com/Dynatrace/OneAgent-SDK-for-c#metrics for details.
Member onesdk_integerstatisticsmetric_add_value (onesdk_metric_handle_t metric_handle, onesdk_int64_t value, onesdk_string_t dimension)
From 1.6 on, all metrics-related APIs are deprecated and will be removed in a future release. Refer to https://github.com/Dynatrace/OneAgent-SDK-for-c#metrics for details.
Member onesdk_integerstatisticsmetric_create (onesdk_string_t metric_key, onesdk_string_t unit, onesdk_string_t dimension_name)
From 1.6 on, all metrics-related APIs are deprecated and will be removed in a future release. Refer to https://github.com/Dynatrace/OneAgent-SDK-for-c#metrics for details.
Member onesdk_metric_delete (onesdk_metric_handle_t metric_handle)
From 1.6 on, all metrics-related APIs are deprecated and will be removed in a future release. Refer to https://github.com/Dynatrace/OneAgent-SDK-for-c#metrics for details.