Class HttpSource
java.lang.Object
com.arpnetworking.metrics.common.sources.BaseSource
com.arpnetworking.metrics.common.sources.ActorSource
com.arpnetworking.metrics.common.sources.HttpSource
- All Implemented Interfaces:
com.arpnetworking.commons.observer.Observable
,Source
- Direct Known Subclasses:
ClientHttpSourceV1
,ClientHttpSourceV2
,ClientHttpSourceV3
,CollectdHttpSourceV1
,PrometheusHttpSource
Source that uses HTTP POSTs as input.
- Author:
- Brandon Arp (brandon dot arp at inscopemetrics dot io)
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
HttpSource.Builder<B extends HttpSource.Builder<B,
S>, S extends HttpSource> HttpSourceBaseSource.Builder
implementation. -
Constructor Summary
ModifierConstructorDescriptionprotected
HttpSource
(HttpSource.Builder<?, ? extends HttpSource> builder) Protected constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected akka.actor.Props
Create a props for the actor to be created at the provided path.Methods inherited from class com.arpnetworking.metrics.common.sources.ActorSource
getActor, getActorSystem, start, stop
Methods inherited from class com.arpnetworking.metrics.common.sources.BaseSource
attach, detach, getMetricSafeName, getName, notify, toLogValue, toString
-
Constructor Details
-
HttpSource
Protected constructor.- Parameters:
builder
- Instance ofHttpSource.Builder
.
-
-
Method Details
-
createProps
protected akka.actor.Props createProps()Description copied from class:ActorSource
Create a props for the actor to be created at the provided path.- Specified by:
createProps
in classActorSource
- Returns:
- A props to create the actor with.
-