public class Monitoring
extends java.lang.Object
Constructor and Description |
---|
Monitoring(RestClient client) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getEventsForHourAsStream(java.util.Date date)
Gets the events for the hour of the given date.
|
java.io.InputStream |
getEventsForMinuteAsStream(java.util.Date date)
Gets the events for the hour of the given date.
|
java.io.InputStream |
getEventsForTimeBucketAsStream(java.util.Date date)
Gets the event for the given time bucket, as a stream.
|
public Monitoring(RestClient client)
public java.io.InputStream getEventsForHourAsStream(java.util.Date date)
date
- the date to format as an hour time bucket.getEventsForTimeBucketAsStream(Date)
,
TimeBucketUtils.forHour(Date)
public java.io.InputStream getEventsForMinuteAsStream(java.util.Date date)
date
- the date to format as an hour time bucket.getEventsForTimeBucketAsStream(Date)
,
TimeBucketUtils.forHour(Date)
public java.io.InputStream getEventsForTimeBucketAsStream(java.util.Date date)
API Call: GET /monitoring/events?time_bucket={timeBucket}
date
- the time bucket for which to retrieve the events.