REST API  14
REST API for Luna Network HSMs
HSM Metrics

HSM Metrics

Object
    metrics:  Object
        type:  array
        items:  Object
            bins:  Object
                type:  array
                description:  metrics is a list of utilization metrics information on every partition associated with the hsm of interest. Each item contains utilization metrics information
                for one partition on the hsm.
                itmes:  Object
                    binId:  Object
                        type:  string
                        description:  the name of the bin. The utlization metrics are organized in bins.
                    counters:  Object
                        type:  array
                        description:  each bin may have serveral counters associated with it.
                        itmes:  Object
                            count:  Object
                            type:  integer
                            description:  the current value of this counter.

                            counterId:  Object
                            type:  string
                            description:  the name of this counter.
            lable:  Object
                type:  string
                description:  the label of the partition.
            partitionId: Object
                type: integer
                description:  the partition id. If it is the admin partition, the value of partitionId equals to the result of hsm serial number multiplied by 2328306.
    actions:  Object
        type:  string
        description:  the url to the actions of utilization metrics.
    resetTime:  Object
        type:  string
        description:  the value of time when the latest reset was performed.