public class DefaultExports extends Object
This is intended to avoid users having to add in new registrations every time a new exporter is added.
Example usage:
DefaultExports.initialize();
| Constructor and Description |
|---|
DefaultExports() |
| Modifier and Type | Method and Description |
|---|---|
static void |
initialize()
Register the default Hotspot collectors with the default
registry.
|
static void |
register(io.prometheus.client.CollectorRegistry registry)
Register the default Hotspot collectors with the given registry.
|
public DefaultExports()
public static void initialize()
public static void register(io.prometheus.client.CollectorRegistry registry)
Copyright © 2019. All rights reserved.