0.1.dev2184+g1e0cbe7.d20250401
flytekit.core.mock_stats
Directory
Classes
flytekit.core.mock_stats.MockStats
class MockStats(
scope,
tags,
)
Initializes a new mock stats object
Parameter |
Type |
scope |
|
tags |
|
Methods
def current_tags(
metric,
)
current_value()
def current_value(
metric,
)
decr()
def decr(
metric,
count,
tags,
kwargs,
)
Parameter |
Type |
metric |
|
count |
|
tags |
|
kwargs |
**kwargs |
gauge()
def gauge(
metric,
value,
tags,
kwargs,
)
Parameter |
Type |
metric |
|
value |
|
tags |
|
kwargs |
**kwargs |
incr()
def incr(
metric,
count,
tags,
kwargs,
)
Parameter |
Type |
metric |
|
count |
|
tags |
|
kwargs |
**kwargs |
timer()
def timer(
metric,
tags,
kwargs,
)
Parameter |
Type |
metric |
|
tags |
|
kwargs |
**kwargs |
timing()