SyntheticDataSource

com.netflix.atlas.eval.stream.SyntheticDataSource

Helper for generating arbitrary data for a stream. Can be used to easily simulate a lot of load without needing actual data. Just change the scheme to be synthetic:, for example:

synthetic://host/api/v1/graph?q=name,sps,:eq,(,nf.cluster,),:by

The following URL parameters can be added to control the data volume:

  • numStepIntervals: how many time intervals to generate data. The source stream will stop once it has reached that amount.

  • inputDataSize: number of input data points to generate for each data expr.

  • outputDataSize: number of output data points to generate for each grouped data expr.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class Settings(step: Long, numStepIntervals: Int, inputDataSize: Int, outputDataSize: Int)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def apply(interpreter: ExprInterpreter, uri: Uri): Source[ByteString, Future[IOResult]]