Skip to main content

SingleHostDiscovery

Home > @backstage/backend-common > SingleHostDiscovery

Warning: This API is now obsolete.

Use HostDiscovery instead

SingleHostDiscovery is a basic PluginEndpointDiscovery implementation that assumes that all plugins are hosted in a single deployment.

The deployment may be scaled horizontally, as long as the external URL is the same for all instances. However, internal URLs will always be resolved to the same host, so there won't be any balancing of internal traffic.

Signature:

SingleHostDiscovery: typeof _HostDiscovery