com.jprofiler.api.agent.probe
Interface TelemetryProbe
- All Superinterfaces:
- Probe
public interface TelemetryProbe
- extends Probe
Base class for deriving a probe that publishes telemetries. A telemetry probe is queried periodically
for telemetry values.
Probes are added to the profiled process with a ProbeProvider.
- See Also:
ProbeProvider
| Methods inherited from interface com.jprofiler.api.agent.probe.Probe |
getMetaData |
fillTelemetryData
void fillTelemetryData(ProbeContext probeContext,
int[] data)
- Fills in a sample for all published telemetries. This method is called
once every second. The data argument receives the sample data for all publishes telemetries.
The indices in the array correspond to the invocations of
ProbeMetaData.addCustomTelemetry(String, Unit, float) in the meta-data
configuration.
- Parameters:
probeContext - the probe context that can be used to publish probe eventsdata - the data array for the current sample