Package io.prometheus.metrics.config
Class PrometheusPropertiesLoader
Object
PrometheusPropertiesLoader
The Properties Loader is early stages.
It would be great to implement a subset of Spring Boot's Externalized Configuration, like support for YAML, Properties, and env vars, or support for Spring's naming conventions for properties.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PrometheusPropertiesLoader
public PrometheusPropertiesLoader()
-
-
Method Details
-
load
- Throws:
PrometheusPropertiesException
-
load
public static PrometheusProperties load(Map<Object, Object> externalProperties) throws PrometheusPropertiesException- Throws:
PrometheusPropertiesException
-