Reads from environment variable, followed by ConfigFile provided
Parameter
Type
config_file
typing.Union[str, ConfigFile]
flytekit.interfaces.stats.taggable.TaggableStats
A Proxy object for an underlying statsd client.
Adds a new call, scope(prefix), which returns a new proxy to the same
client which will prefix all calls to underlying methods with the scoped prefix:
new_client = client.get_stats(‘a’)
new_client.incr(‘b’) # Metric name = a.b
This can be nested:
newer_client = new_client.get_stats(‘subsystem’)
newer_client.incr(‘bad’) # Metric name = a.subsystem.bad