EventsConfiguration¶
- pydantic settings safir.metrics.EventsConfiguration¶
Configuration for emitting events.
- Parameters:
_nested_model_default_partial_update (
bool
|None
, default:None
)_env_file (
Union
[Path
,str
,Sequence
[Union
[Path
,str
]],None
], default:PosixPath('.')
)_cli_parse_args (
bool
|list
[str
] |tuple
[str
,...
] |None
, default:None
)_cli_settings_source (
Optional
[CliSettingsSource
[Any
]], default:None
)_secrets_dir (
Union
[Path
,str
,Sequence
[Union
[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
- 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.