list_influxdb_labels#

lsst.rsp.list_influxdb_labels(*, local=None)#

List the available InfluxDB labels in this environment.

Parameters:

local (bool | None, default: None) – If set to True, return only InfluxDB databases hosted in the local Phalanx environment (the one whose service discovery service is being queried). If set to False, return only InfluxDB databases that are hosted outside this Phalanx environment. The default, None, lists all accessible databases, local or not. This parameter is primarily for testing and should normally not be provided.

Returns:

Labels for InfluxDB databases suitable for passing to get_influxdb_location or get_influxdb_credentials.

Return type:

list of str

Raises:

DiscoveryNotAvailableError – Raised if no service discovery information is available.