Dynatrace OneAgent SDK for C/C++  1.7.1.1
Functions
onesdk_metrics.h File Reference

Defines functions for metrics, see Metric API. More...

Go to the source code of this file.

Functions

void onesdk_metric_delete (onesdk_metric_handle_t metric_handle)
 DEPRECATED. Releases a metric object. More...
 
onesdk_metric_handle_t onesdk_integercountermetric_create (onesdk_string_t metric_key, onesdk_string_t unit, onesdk_string_t dimension_name)
 DEPRECATED. Creates a metric to count (sum up) some 64 bit integer values, e.g., number of records inserted in a database. More...
 
onesdk_metric_handle_t onesdk_floatcountermetric_create (onesdk_string_t metric_key, onesdk_string_t unit, onesdk_string_t dimension_name)
 DEPRECATED. Creates a metric to count (sum up) some double precision floating point values, e.g., liters pumped into a tank. More...
 
onesdk_metric_handle_t onesdk_integergaugemetric_create (onesdk_string_t metric_key, onesdk_string_t unit, onesdk_string_t dimension_name)
 DEPRECATED. Creates a metric to sample (periodically measure) some 64 bit integer value, e.g., number of records in a database sampled every 30 minutes. More...
 
onesdk_metric_handle_t onesdk_floatgaugemetric_create (onesdk_string_t metric_key, onesdk_string_t unit, onesdk_string_t dimension_name)
 DEPRECATED. Creates a metric to sample (periodically measure) some double precision floating point value, e.g., number of liters in a tank, sampled every 30 minutes. More...
 
onesdk_metric_handle_t onesdk_integerstatisticsmetric_create (onesdk_string_t metric_key, onesdk_string_t unit, onesdk_string_t dimension_name)
 DEPRECATED. Creates a metric to track (measure on each change, event-driven) some 64 bit integer value, e.g., number of records in a database after each insert/delete/merge/etc. More...
 
onesdk_metric_handle_t onesdk_floatstatisticsmetric_create (onesdk_string_t metric_key, onesdk_string_t unit, onesdk_string_t dimension_name)
 DEPRECATED. Creates a metric to track (measure on each change, event-driven) some double precision floating point value, e.g., number of liters in a tank after each refilling and (discrete) consumption. More...
 
void onesdk_integercountermetric_increase_by (onesdk_metric_handle_t metric_handle, onesdk_int64_t delta, onesdk_string_t dimension)
 DEPRECATED. Increase the counter metric_handle for dimension by the given delta. More...
 
void onesdk_floatcountermetric_increase_by (onesdk_metric_handle_t metric_handle, double delta, onesdk_string_t dimension)
 DEPRECATED. Increase the counter metric_handle for dimension by the given delta. More...
 
void onesdk_integergaugemetric_set_value (onesdk_metric_handle_t metric_handle, onesdk_int64_t value, onesdk_string_t dimension)
 DEPRECATED. Set the last sampled value for the metric_handle for dimension to value. More...
 
void onesdk_floatgaugemetric_set_value (onesdk_metric_handle_t metric_handle, double value, onesdk_string_t dimension)
 DEPRECATED. Set the last sampled value for the metric_handle for dimension to value. More...
 
void onesdk_integerstatisticsmetric_add_value (onesdk_metric_handle_t metric_handle, onesdk_int64_t value, onesdk_string_t dimension)
 DEPRECATED. Records the current value for the metric_handle for dimension to value. More...
 
void onesdk_floatstatisticsmetric_add_value (onesdk_metric_handle_t metric_handle, double value, onesdk_string_t dimension)
 DEPRECATED. Records the current value for the metric_handle for dimension to value. More...
 

Detailed Description

Defines functions for metrics, see Metric API.

Since
This header is available since version 1.5.