--- title: Summary weight: 3 --- Summaries track the size and number of events. ```python from prometheus_client import Summary s = Summary('request_latency_seconds', 'Description of summary') s.observe(4.7) # Observe 4.7 (seconds in this case) ``` There are utilities for timing code: ```python @s.time() def f(): pass with s.time(): pass ``` The Python client doesn't store or expose quantile information at this time.