flytekit.configuration.StatsConfig#

class flytekit.configuration.StatsConfig(host='localhost', port=8125, disabled=False, disabled_tags=False)[source]#

Configuration for sending statsd.

Parameters
  • host (str) – The statsd host

  • port (int) – statsd port

  • disabled (bool) – Whether or not to send

  • disabled_tags (bool) – Turn on to reduce cardinality.

Return type

None

Methods

classmethod auto(config_file=None)[source]#

Reads from environment variable, followed by ConfigFile provided :param config_file: :return:

Parameters

config_file (Optional[Union[str, flytekit.configuration.file.ConfigFile]]) –

Return type

flytekit.configuration.StatsConfig

Attributes

disabled: bool = False
disabled_tags: bool = False
host: str = 'localhost'
port: int = 8125