LoggingConfig
Summary​
Configuration used to describe feature and request logging for Feature Services.Example
from tecton import FeatureService, LoggingConfig# LoggingConfig is normally used as a named argument parameter to a FeatureService instance definition.my_feature_service = FeatureService(name="An example of Feature Service"# Other named arguments...# A LoggingConfig instancelogging=LoggingConfig(sample_rate=0.5,log_effective_times=False,)...)
Attributes​
The attributes are the same as the __init__
method parameters. See below.
Methods​
__init__(...)​
Parameters
sample_rate
(float
) - The rate of logging features. Must be between (0, 1]. Default:1
log_effective_times
(bool
) - Whether to log the timestamps of the last update of the logged feature values. Default:False