Increment the push request counter.
(push_source: str, mode: str)
| 360 | |
| 361 | |
| 362 | def track_push(push_source: str, mode: str): |
| 363 | """Increment the push request counter.""" |
| 364 | if not _config.push: |
| 365 | return |
| 366 | push_request_count.labels(push_source=push_source, mode=mode).inc() |
| 367 | |
| 368 | |
| 369 | def track_online_store_read(duration_seconds: float): |