epicsarchiver.statistics.configuration
Module for getting the PVs which have been requested to be submitted to the archiver.
Also calculates if a PV is being archived with no configuration left over, common when a PV name has changed.
Attributes
Classes
Options in how a PV can be configured. |
Functions
|
|
|
|
|
Return list of pvs archived but not in config or configured but not archived. |
|
Get the aliases for a list of pvs. |
Module Contents
- epicsarchiver.statistics.configuration.LOG: logging.Logger[source]
- class epicsarchiver.statistics.configuration.ConfigOptions[source]
Options in how a PV can be configured.
gitlab_repo: Repository where archive config files ly archiver_alias: Tag used in ChannelFinder to select an archiver cluster.
- gitlab_repo: pathlib.Path | None[source]
- async epicsarchiver.statistics.configuration._fetch_configured_pvs_channelfinder(channelfinder: epicsarchiver.statistics.services.channelfinder.ChannelFinder, archiver_alias: str, filter_pvs: set[str] | None = None) set[str][source]
- async epicsarchiver.statistics.configuration._fetch_configured_pvs_gitlab(config_gitlab_repo: pathlib.Path) set[str][source]
- async epicsarchiver.statistics.configuration.get_not_configured(archiver: epicsarchiver.statistics.services.archiver_statistics.ArchiverWrapper, channelfinder: epicsarchiver.statistics.services.channelfinder.ChannelFinder, config_options: ConfigOptions, ioc_name: str | None = None, filter_pvs: set[str] | None = None) list[epicsarchiver.statistics.models.stat_responses.NoConfigResponse][source]
Return list of pvs archived but not in config or configured but not archived.
- Parameters:
archiver (ArchiverAppliance) – archiver
channelfinder (ChannelFinder) – channelfinder
config_options (ConfigOptions) – Options on how submit PV to be archived
ioc_name (str) – Name of an ioc to filter by
- Returns:
Details of pvs.
- Return type:
- async epicsarchiver.statistics.configuration._get_configuration_responses(channelfinder: epicsarchiver.statistics.services.channelfinder.ChannelFinder, all_pvs: set[str], pvs: set[str], status: epicsarchiver.statistics.models.stat_responses.ConfiguredStatus, ioc_name: str | None = None) list[epicsarchiver.statistics.models.stat_responses.NoConfigResponse][source]