flytekit.core.mock_stats
class MockStats(
scope = '',
tags = None,
)
Initializes a new mock stats object
| Parameter |
Type |
Description |
scope |
|
|
tags |
|
|
def current_tags(
metric,
)
| Parameter |
Type |
Description |
metric |
|
|
def current_value(
metric,
)
| Parameter |
Type |
Description |
metric |
|
|
def decr(
metric,
count = 1,
tags = None,
**kwargs,
)
| Parameter |
Type |
Description |
metric |
|
|
count |
|
|
tags |
|
|
**kwargs |
|
|
def gauge(
metric,
value,
tags = None,
**kwargs,
)
| Parameter |
Type |
Description |
metric |
|
|
value |
|
|
tags |
|
|
**kwargs |
|
|
def incr(
metric,
count = 1,
tags = None,
**kwargs,
)
| Parameter |
Type |
Description |
metric |
|
|
count |
|
|
tags |
|
|
**kwargs |
|
|
def timer(
metric,
tags = None,
**kwargs,
)
| Parameter |
Type |
Description |
metric |
|
|
tags |
|
|
**kwargs |
|
|
| Parameter |
Type |
Description |
metric |
|
|