You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* If granularity is not specified an aggregated value for the selected timeframe is returned. * If granularity is specified data points are returned with the specified granularity * The granularity should not be greater than the `windowSize` (important: `windowSize` is expressed in milliseconds) * The granularity should not be set too small relative to the `windowSize` to avoid creating an excessively large number of data points (max 600)
frominstana_client.models.simple_metric_configurationimportSimpleMetricConfiguration# TODO update the JSON string belowjson="{}"# create an instance of SimpleMetricConfiguration from a JSON stringsimple_metric_configuration_instance=SimpleMetricConfiguration.from_json(json)
# print the JSON string representation of the objectprint(SimpleMetricConfiguration.to_json())
# convert the object into a dictsimple_metric_configuration_dict=simple_metric_configuration_instance.to_dict()
# create an instance of SimpleMetricConfiguration from a dictsimple_metric_configuration_from_dict=SimpleMetricConfiguration.from_dict(simple_metric_configuration_dict)