Module io.helidon.webserver.observe
Package io.helidon.webserver.observe.spi
Interface ObserveProvider
- All Superinterfaces:
- ConfiguredProvider<Observer>
- All Known Implementing Classes:
- ConfigObserveProvider,- HealthObserveProvider,- InfoObserveProvider,- LogObserveProvider,- MetricsObserveProvider,- TracingObserveProvider
ServiceLoader provider interface for observability services.- 
Method Details- 
configKeyString configKey()Configuration key of this provider. The following keys must be honored by Observe support:- enabled- enable/disable the service
- endpoint- endpoint, if starts with- /then absolute, otherwise relative to observe endpoint
- cors- CORS setup for this endpoint
 - Specified by:
- configKeyin interface- ConfiguredProvider<Observer>
- Returns:
- configuration key of this provider (such as health)
 
- 
typeType of this observe provider, to map toObserverwhen explicitly configured by user (so we do not duplicate observers).- Returns:
- type of this observer, defaults to configKey()
 
- 
createCreate a new observer from the provided configuration.- Specified by:
- createin interface- ConfiguredProvider<Observer>
- Parameters:
- config- configuration of this provider
- name- name of the instance
- Returns:
- a new observer to be registered with routing
 
 
-