Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.3 KB

File metadata and controls

34 lines (25 loc) · 1.3 KB

MetricFieldValue

Configuration for a metric-based custom payload field

Properties

Name Type Description Notes
aggregation str The aggregation type to apply to the metric
entity_type str The entity type for the metric query [optional]
metric_id str The metric ID to retrieve
source str The source catalog the metric was selected from [optional]
time_window object The time window in milliseconds for metric aggregation [optional]

Example

from instana_client.models.metric_field_value import MetricFieldValue

# TODO update the JSON string below
json = "{}"
# create an instance of MetricFieldValue from a JSON string
metric_field_value_instance = MetricFieldValue.from_json(json)
# print the JSON string representation of the object
print(MetricFieldValue.to_json())

# convert the object into a dict
metric_field_value_dict = metric_field_value_instance.to_dict()
# create an instance of MetricFieldValue from a dict
metric_field_value_from_dict = MetricFieldValue.from_dict(metric_field_value_dict)

[Back to Model list] [Back to API list] [Back to README]