Skip to content

SummarizedCounter

Source code in docs_src/capo_shield/types/summarized_counter.py
class SummarizedCounter(TypedDict, closed=True):
    name: NotRequired["capo_shield.types.string.String"]
    """<p>The counter name.</p>"""
    max: "capo_shield.types.double.Double"
    """<p>The maximum value of the counter for a specified time period.</p>"""
    average: "capo_shield.types.double.Double"
    """<p>The average value of the counter for a specified time period.</p>"""
    sum: "capo_shield.types.double.Double"
    """<p>The total of counter values for a specified time period.</p>"""
    n: "capo_shield.types.integer.Integer"
    """<p>The number of counters for a specified time period.</p>"""
    unit: NotRequired["capo_shield.types.string.String"]
    """<p>The unit of the counters.</p>"""

average instance-attribute

average: Double

The average value of the counter for a specified time period.

max instance-attribute

max: Double

The maximum value of the counter for a specified time period.

n instance-attribute

The number of counters for a specified time period.

name instance-attribute

name: NotRequired[String]

The counter name.

sum instance-attribute

sum: Double

The total of counter values for a specified time period.

unit instance-attribute

unit: NotRequired[String]

The unit of the counters.