public class CinnamonAttributes$
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static CinnamonAttributes$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
| Constructor and Description |
|---|
CinnamonAttributes$() |
| Modifier and Type | Method and Description |
|---|---|
akka.stream.Attributes |
instrumented(boolean reportByName,
boolean reportByInstance,
java.lang.String name,
scala.collection.immutable.Map<java.lang.String,java.lang.String> tags,
boolean perOperator,
boolean perConnection,
boolean perBoundary,
boolean perFlow,
boolean substreams,
boolean traceable)
Create Instrumented Attributes for Cinnamon instrumentation settings.
|
akka.stream.Attributes |
instrumentedByInstance()
Java API: create Instrumented attribute with report by instance setting.
|
akka.stream.Attributes |
instrumentedByName()
Java API: create Instrumented attribute with report by name setting (using name attribute on graph).
|
akka.stream.Attributes |
instrumentedByName(java.lang.String name)
Java API: create Instrumented attribute with report by name setting.
|
akka.stream.Attributes |
instrumentedByNameAndInstance()
Java API: create Instrumented attribute with both report by name and report by instance settings.
|
akka.stream.Attributes |
instrumentedByNameAndInstance(java.lang.String name)
Java API: create Instrumented attribute with both report by name and report by instance settings.
|
<Out,Mat1,Mat2> |
instrumentedRunWith(akka.stream.Graph<akka.stream.SourceShape<Out>,Mat1> source,
akka.stream.Graph<akka.stream.SinkShape<Out>,Mat2> sink,
akka.stream.Materializer materializer,
CinnamonAttributes.Instrumented instrumented)
Java API: call runWith on a Source and Sink with instrumentation settings.
|
CinnamonAttributes.Instrumented |
instrumentedWith(boolean reportByName,
boolean reportByInstance,
java.lang.String name,
scala.collection.immutable.Map<java.lang.String,java.lang.String> tags,
boolean perOperator,
boolean perConnection,
boolean perBoundary,
boolean perFlow,
boolean substreams,
boolean traceable)
Create Instrumented attribute for Cinnamon instrumentation settings.
|
CinnamonAttributes.Instrumented |
isInstrumented()
Java API: create a new Instrumented attribute with default settings (telemetry not enabled).
|
public static final CinnamonAttributes$ MODULE$
public akka.stream.Attributes instrumented(boolean reportByName,
boolean reportByInstance,
java.lang.String name,
scala.collection.immutable.Map<java.lang.String,java.lang.String> tags,
boolean perOperator,
boolean perConnection,
boolean perBoundary,
boolean perFlow,
boolean substreams,
boolean traceable)
reportByName - whether to report metrics by name (using name attribute on graph by default)reportByInstance - whether to report metrics by instancename - set reportByName and the reporting name directly (when non-null)tags - extra tags to be added to stream identityperOperator - whether to record metrics per-operator (throughput and processing time)perConnection - whether to record metrics per-connection (throughput and processing time)perBoundary - whether to record metrics per-boundary (throughput)perFlow - whether to record metrics per-flow (end-to-end flow time)substreams - whether to also instrument substreams materialized by this streamtraceable - whether to include the stream in tracespublic CinnamonAttributes.Instrumented instrumentedWith(boolean reportByName, boolean reportByInstance, java.lang.String name, scala.collection.immutable.Map<java.lang.String,java.lang.String> tags, boolean perOperator, boolean perConnection, boolean perBoundary, boolean perFlow, boolean substreams, boolean traceable)
reportByName - whether to report metrics by name (using name attribute on graph by default)reportByInstance - whether to report metrics by instancename - set reportByName and the reporting name directly (when non-null)tags - extra tags to be added to stream identityperOperator - whether to record metrics per-operator (throughput and processing time)perConnection - whether to record metrics per-connection (throughput and processing time)perBoundary - whether to record metrics per-boundary (throughput)perFlow - whether to record metrics per-flow (end-to-end flow time)substreams - whether to also instrument substreams materialized by this streamtraceable - whether to include the stream in tracespublic CinnamonAttributes.Instrumented isInstrumented()
public akka.stream.Attributes instrumentedByName()
public akka.stream.Attributes instrumentedByName(java.lang.String name)
name - name of graph to use for instrumentationpublic akka.stream.Attributes instrumentedByInstance()
public akka.stream.Attributes instrumentedByNameAndInstance()
public akka.stream.Attributes instrumentedByNameAndInstance(java.lang.String name)
name - name of graph to use for instrumentationpublic <Out,Mat1,Mat2> Mat2 instrumentedRunWith(akka.stream.Graph<akka.stream.SourceShape<Out>,Mat1> source,
akka.stream.Graph<akka.stream.SinkShape<Out>,Mat2> sink,
akka.stream.Materializer materializer,
CinnamonAttributes.Instrumented instrumented)
Out - type of element for Source and SinkMat1 - type of materialized value for SourceMat2 - type of materialized value for Sinksource - the Source graph to be connected and runsink - the Sink graph to be connected using runWithmaterializer - the stream Materializerinstrumented - the Instrumented attribute providing instrumentation settingsCinnamon API. Copyright (c) 2015–2021 Lightbend.