Skip to content

Metrics

Latest metrics state as persisted by the encoder leader.

Properties

Name Type Description Notes
nodes Dict[str, NodeView] Map of node ID to node snapshot for all nodes that have reported within the expiry window [optional]

Example

from amgix_client.models.metrics import Metrics

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

# convert the object into a dict
metrics_dict = metrics_instance.to_dict()
# create an instance of Metrics from a dict
metrics_from_dict = Metrics.from_dict(metrics_dict)
[Back to Model list] [Back to API list] [Back to README]