EventsConfiguration

pydantic settings safir.metrics.EventsConfiguration

Configuration for emitting events.

Parameters:

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.