Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.8 KB

File metadata and controls

34 lines (25 loc) · 1.8 KB

MetricInstance

Properties

Name Type Description Notes
custom bool [optional]
description str
formatter str * NUMBER: Generic number * BYTES: Number of bytes * KILO_BYTES: Number of kilobytes * MEGA_BYTES: Number of megabytes * PERCENTAGE: Percentage in scale [0,1] * PERCENTAGE_100: Percentage in scale [0,100] * PERCENTAGE_NO_CAPPING: Percentage in scale [0,1] but value could exceed 1 for example when metric is aggregated * PERCENTAGE_100_NO_CAPPING: Percentage in scale [0,100] but value could exceed 100 for example when metric is aggregated * LATENCY: Time in milliseconds, with value of 0 should not be considered a a strict 0, but considered as < 1ms * NANOS: Time in nanoseconds * MILLIS: Time in milliseconds * MICROS: Time in microseconds * SECONDS: Time in seconds * RATE: Number of occurrences per second * BYTE_RATE: Number of bytes per second * UNDEFINED: Metric value unit is not known
label str
metric_id str
plugin_id str

Example

from instana_client.models.metric_instance import MetricInstance

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

# convert the object into a dict
metric_instance_dict = metric_instance_instance.to_dict()
# create an instance of MetricInstance from a dict
metric_instance_from_dict = MetricInstance.from_dict(metric_instance_dict)

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