EventsConfiguration#
- pydantic settings safir.metrics.EventsConfiguration#
Configuration for emitting events.
- Parameters:
_nested_model_default_partial_update (
bool|None, default:None)_env_file (
Path|str|Sequence[Path|str] |None, default:PosixPath('.'))_cli_parse_args (
bool|list[str] |tuple[str,...] |None, default:None)_cli_settings_source (
Optional[CliSettingsSource[Any]], default:None)_cli_kebab_case (
Union[bool,Literal['all','no_enums'],None], default:None)_cli_shortcuts (
Mapping[str,str|list[str]] |None, default:None)_secrets_dir (
Path|str|Sequence[Path|str] |None, default:None)values (
Any)
Show JSON schema
{ "title": "EventsConfiguration", "description": "Configuration for emitting events.", "type": "object", "properties": { "topicPrefix": { "default": "lsst.square.metrics.events", "description": "You probably should use the default here. It could be useful in development scenarios to change this.", "title": "Metrics topic prefix", "type": "string" } }, "additionalProperties": false }
- Config:
env_prefix: str = METRICS_
populate_by_name: bool = True
validate_by_alias: bool = True
validate_by_name: bool = True
- Fields:
- field topic_prefix: str = 'lsst.square.metrics.events'#
You probably should use the default here. It could be useful in development scenarios to change this.