Details regarding the metric to be configured, including the metric name, threshold, and aggregation method
| Name | Type | Description | Notes |
|---|---|---|---|
| metric_aggregation | str | Specifies the types of aggregations that can be applied to a series of values. For example, `P25` refers to the 25th percentile. Note that not all aggregation methods are available for every metric. For instance, the `Call count` metric supports only the `SUM` aggregation, whereas the `Error rate` metric only supports the `MEAN` aggregation. | [optional] |
| metric_name | str | Defines the name of the metric to be monitored. Examples include `calls` and `latency` | |
| threshold | float | Specifies the threshold value for the metric being monitored | [optional] |
from instana_client.models.metric_configuration import MetricConfiguration
# TODO update the JSON string below
json = "{}"
# create an instance of MetricConfiguration from a JSON string
metric_configuration_instance = MetricConfiguration.from_json(json)
# print the JSON string representation of the object
print(MetricConfiguration.to_json())
# convert the object into a dict
metric_configuration_dict = metric_configuration_instance.to_dict()
# create an instance of MetricConfiguration from a dict
metric_configuration_from_dict = MetricConfiguration.from_dict(metric_configuration_dict)