A B C D G H L M N P S T V 

A

addCounterMeasurement(String, Long) - Method in class com.librato.metrics.LibratoBatch
 
addCounterMeasurement(String, String, Long) - Method in class com.librato.metrics.LibratoBatch
 
addCounterMeasurement(String, Number, String, Long) - Method in class com.librato.metrics.LibratoBatch
 
addGaugeMeasurement(String, Number) - Method in class com.librato.metrics.LibratoBatch
 
addGaugeMeasurement(String, String, Number) - Method in class com.librato.metrics.LibratoBatch
 
addGaugeMeasurement(String, Number, String, Number) - Method in class com.librato.metrics.LibratoBatch
 
addMeasurement(Measurement) - Method in class com.librato.metrics.LibratoBatch
for advanced measurement fu
apply(String) - Method in interface com.librato.metrics.Sanitizer
Apply the sanitizer to the input
Authorization - Class in com.librato.metrics
 

B

BatchResult - Class in com.librato.metrics
Composes the results of processing a batch.
BatchResult() - Constructor for class com.librato.metrics.BatchResult
 
build() - Method in class com.librato.metrics.CounterMeasurementBuilder
 
build() - Method in class com.librato.metrics.MultiSampleGaugeMeasurementBuilder
 
build() - Method in class com.librato.metrics.SingleValueGaugeMeasurementBuilder
 
buildAuthHeader(String, String) - Static method in class com.librato.metrics.Authorization
Builds a new HTTP Authorization header for Librato API requests
builder(String, Long) - Static method in class com.librato.metrics.CounterMeasurement
 
builder(String) - Static method in class com.librato.metrics.MultiSampleGaugeMeasurement
 
builder(String, Number) - Static method in class com.librato.metrics.SingleValueGaugeMeasurement
 

C

close() - Method in class com.librato.metrics.NingHttpPoster
 
com.librato.metrics - package com.librato.metrics
 
CounterMeasurement - Class in com.librato.metrics
Represents a reading from a counter
CounterMeasurement(String, Long) - Constructor for class com.librato.metrics.CounterMeasurement
 
CounterMeasurement(String, String, Long) - Constructor for class com.librato.metrics.CounterMeasurement
 
CounterMeasurement(String, Number, String, Long) - Constructor for class com.librato.metrics.CounterMeasurement
 
CounterMeasurement(String, Number, String, Long, Map<String, Object>, Long) - Constructor for class com.librato.metrics.CounterMeasurement
 
CounterMeasurementBuilder - Class in com.librato.metrics
 
CounterMeasurementBuilder(String, Long) - Constructor for class com.librato.metrics.CounterMeasurementBuilder
 

D

DEFAULT_BATCH_SIZE - Static variable in class com.librato.metrics.LibratoBatch
 

G

getBody() - Method in interface com.librato.metrics.HttpPoster.Response
 
getData() - Method in class com.librato.metrics.PostResult
 
getException() - Method in class com.librato.metrics.PostResult
 
getFailedPosts() - Method in class com.librato.metrics.BatchResult
 
getMeasureTime() - Method in class com.librato.metrics.CounterMeasurement
 
getMeasureTime() - Method in interface com.librato.metrics.Measurement
 
getMeasureTime() - Method in class com.librato.metrics.MultiSampleGaugeMeasurement
 
getMeasureTime() - Method in class com.librato.metrics.SingleValueGaugeMeasurement
 
getMetricAttributes() - Method in class com.librato.metrics.CounterMeasurement
 
getMetricAttributes() - Method in interface com.librato.metrics.Measurement
 
getMetricAttributes() - Method in class com.librato.metrics.MultiSampleGaugeMeasurement
 
getMetricAttributes() - Method in class com.librato.metrics.SingleValueGaugeMeasurement
 
getName() - Method in class com.librato.metrics.CounterMeasurement
 
getName() - Method in interface com.librato.metrics.Measurement
 
getName() - Method in class com.librato.metrics.MultiSampleGaugeMeasurement
 
getName() - Method in class com.librato.metrics.SingleValueGaugeMeasurement
 
getPeriod() - Method in class com.librato.metrics.CounterMeasurement
 
getPeriod() - Method in interface com.librato.metrics.Measurement
 
getPeriod() - Method in class com.librato.metrics.MultiSampleGaugeMeasurement
 
getPeriod() - Method in class com.librato.metrics.SingleValueGaugeMeasurement
 
getPosts() - Method in class com.librato.metrics.BatchResult
 
getSource() - Method in class com.librato.metrics.CounterMeasurement
 
getSource() - Method in interface com.librato.metrics.Measurement
 
getSource() - Method in class com.librato.metrics.MultiSampleGaugeMeasurement
 
getSource() - Method in class com.librato.metrics.SingleValueGaugeMeasurement
 
getStatusCode() - Method in interface com.librato.metrics.HttpPoster.Response
 
getStatusCode() - Method in class com.librato.metrics.PostResult
 
getVersion(String, Class<?>) - Static method in class com.librato.metrics.Versions
Attempts to get a version property from a specified resource

H

HttpPoster - Interface in com.librato.metrics
Posts data to an HTTP endpoint.
HttpPoster.Response - Interface in com.librato.metrics
A generic interface to represent an HTTP response

L

LAST_PASS - Static variable in interface com.librato.metrics.Sanitizer
Metric names restrictions are described here.
LibratoBatch - Class in com.librato.metrics
A class that represents an aggregation of metric data from a given run
LibratoBatch(int, Sanitizer, long, TimeUnit, String, HttpPoster) - Constructor for class com.librato.metrics.LibratoBatch
Constructor

M

Measurement - Interface in com.librato.metrics
Represents a Librato measurement
measurements - Variable in class com.librato.metrics.LibratoBatch
 
MultiSampleGaugeMeasurement - Class in com.librato.metrics
A class for representing a gauge reading that might come from multiple samples

See http://dev.librato.com/v1/post/metrics for why some fields are optional

MultiSampleGaugeMeasurement(String, Number, String, Long, Number, Number, Number, Number, Map<String, Object>, Long) - Constructor for class com.librato.metrics.MultiSampleGaugeMeasurement
 
MultiSampleGaugeMeasurementBuilder - Class in com.librato.metrics
 
MultiSampleGaugeMeasurementBuilder(String) - Constructor for class com.librato.metrics.MultiSampleGaugeMeasurementBuilder
 

N

newPoster(String, String, String) - Static method in class com.librato.metrics.NingHttpPoster
Return a new poster with the correct authentication header.
newPoster(String, String, String, AsyncHttpClientConfig) - Static method in class com.librato.metrics.NingHttpPoster
Return a new poster with the correct authentication header.
NingHttpPoster - Class in com.librato.metrics
An HTTPPoster which uses ning's HTTP client
NingHttpPoster(String, String) - Constructor for class com.librato.metrics.NingHttpPoster
 
NingHttpPoster(String, String, AsyncHttpClientConfig) - Constructor for class com.librato.metrics.NingHttpPoster
 
NO_OP - Static variable in interface com.librato.metrics.Sanitizer
Performs an identity transform on the input

P

post(String, String) - Method in interface com.librato.metrics.HttpPoster
POST the payload as JSON to librato.
post(String) - Method in class com.librato.metrics.LibratoBatch
 
post(String, Long) - Method in class com.librato.metrics.LibratoBatch
 
post(String, String) - Method in class com.librato.metrics.NingHttpPoster
 
PostResult - Class in com.librato.metrics
Contains the status of a batch
PostResult(Map<String, Object>, int, String) - Constructor for class com.librato.metrics.PostResult
 
PostResult(Map<String, Object>, Exception) - Constructor for class com.librato.metrics.PostResult
 

S

Sanitizer - Interface in com.librato.metrics
Filters out unwanted characters
setCount(Long) - Method in class com.librato.metrics.MultiSampleGaugeMeasurementBuilder
 
setMax(Number) - Method in class com.librato.metrics.MultiSampleGaugeMeasurementBuilder
 
setMeasureTime(Long) - Method in class com.librato.metrics.CounterMeasurementBuilder
 
setMeasureTime(Long) - Method in class com.librato.metrics.MultiSampleGaugeMeasurementBuilder
 
setMeasureTime(Long) - Method in class com.librato.metrics.SingleValueGaugeMeasurementBuilder
 
setMetricAttribute(String, Object) - Method in class com.librato.metrics.CounterMeasurementBuilder
 
setMetricAttribute(String, Object) - Method in class com.librato.metrics.MultiSampleGaugeMeasurementBuilder
 
setMetricAttribute(String, Object) - Method in class com.librato.metrics.SingleValueGaugeMeasurementBuilder
 
setMin(Number) - Method in class com.librato.metrics.MultiSampleGaugeMeasurementBuilder
 
setPeriod(Number) - Method in class com.librato.metrics.CounterMeasurementBuilder
 
setPeriod(Number) - Method in class com.librato.metrics.MultiSampleGaugeMeasurementBuilder
 
setPeriod(Number) - Method in class com.librato.metrics.SingleValueGaugeMeasurementBuilder
 
setSource(String) - Method in class com.librato.metrics.CounterMeasurementBuilder
 
setSource(String) - Method in class com.librato.metrics.MultiSampleGaugeMeasurementBuilder
 
setSource(String) - Method in class com.librato.metrics.SingleValueGaugeMeasurementBuilder
 
setSum(Number) - Method in class com.librato.metrics.MultiSampleGaugeMeasurementBuilder
 
setSumSquares(Number) - Method in class com.librato.metrics.MultiSampleGaugeMeasurementBuilder
 
SingleValueGaugeMeasurement - Class in com.librato.metrics
A class representing a single gauge reading

See http://dev.librato.com/v1/post/metrics for an explanation of basic vs multi-sample gauge

SingleValueGaugeMeasurement(String, Number) - Constructor for class com.librato.metrics.SingleValueGaugeMeasurement
 
SingleValueGaugeMeasurement(String, String, Number) - Constructor for class com.librato.metrics.SingleValueGaugeMeasurement
 
SingleValueGaugeMeasurement(String, Number, String, Number) - Constructor for class com.librato.metrics.SingleValueGaugeMeasurement
 
SingleValueGaugeMeasurement(String, Number, String, Number, Map<String, Object>, Long) - Constructor for class com.librato.metrics.SingleValueGaugeMeasurement
 
SingleValueGaugeMeasurementBuilder - Class in com.librato.metrics
 
SingleValueGaugeMeasurementBuilder(String, Number) - Constructor for class com.librato.metrics.SingleValueGaugeMeasurementBuilder
 
success() - Method in class com.librato.metrics.BatchResult
 
success() - Method in class com.librato.metrics.PostResult
 

T

toMap() - Method in class com.librato.metrics.CounterMeasurement
 
toMap() - Method in interface com.librato.metrics.Measurement
 
toMap() - Method in class com.librato.metrics.MultiSampleGaugeMeasurement
 
toMap() - Method in class com.librato.metrics.SingleValueGaugeMeasurement
 
toString() - Method in class com.librato.metrics.BatchResult
 
toString() - Method in class com.librato.metrics.PostResult
 

V

Versions - Class in com.librato.metrics
Encapsulates logic about versions found in POM files
A B C D G H L M N P S T V 

Copyright © 2015. All rights reserved.