Skip to content

SamplingStatisticsDocument

Source code in docs_src/capo_xray/types/sampling_statistics_document.py
class SamplingStatisticsDocument(TypedDict, closed=True):
    rule_name: "capo_xray.types.rule_name.RuleName"
    """<p>The name of the sampling rule.</p>"""
    client_id: "capo_xray.types.client_id.ClientID"
    """<p>A unique identifier for the service in hexadecimal.</p>"""
    timestamp: "capo_xray.types.timestamp.Timestamp"
    """<p>The current time.</p>"""
    request_count: "capo_xray.types.request_count.RequestCount"
    """<p>The number of requests that matched the rule.</p>"""
    sampled_count: "capo_xray.types.sampled_count.SampledCount"
    """<p>The number of requests recorded.</p>"""
    borrow_count: "capo_xray.types.borrow_count.BorrowCount"
    """<p>The number of requests recorded with borrowed reservoir quota.</p>"""

borrow_count instance-attribute

borrow_count: BorrowCount

The number of requests recorded with borrowed reservoir quota.

client_id instance-attribute

client_id: ClientID

A unique identifier for the service in hexadecimal.

request_count instance-attribute

request_count: RequestCount

The number of requests that matched the rule.

rule_name instance-attribute

rule_name: RuleName

The name of the sampling rule.

sampled_count instance-attribute

sampled_count: SampledCount

The number of requests recorded.

timestamp instance-attribute

timestamp: Timestamp

The current time.