ServerFlowWrapper

kamon.instrumentation.akka.http.ServerFlowWrapper

Wraps a Flow[HttpRequest,HttpResponse] with the necessary infrastructure to provide HTTP Server metrics, tracing and Context propagation.

Credits to @jypma.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class Settings(component: String, configPath: String)

Attributes

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

Value members

Concrete methods

def apply(flow: Flow[HttpRequest, HttpResponse, NotUsed], interface: String, port: Int): Flow[HttpRequest, HttpResponse, NotUsed]
def changeSettings(component: String, configPath: String): Unit
def defaultOperationName(listenPort: Int): String
def resetSettings(): Unit
def wrapStage(settings: Settings, interface: String, port: Int): GraphStage[BidiShape[HttpRequest, HttpRequest, HttpResponse, HttpResponse]]