LastAutomaticOperationNameEdit

kamon.instrumentation.akka.http.LastAutomaticOperationNameEdit
See theLastAutomaticOperationNameEdit companion object
class LastAutomaticOperationNameEdit(var operationName: String, var allowAutomaticChanges: Boolean)

Tracks the last operation name that was automatically assigned to an operation via instrumentation. The instrumentation might assign a name to the operations via settings on the HTTP Server instrumentation instance or via the Path directives instrumentation, but might never reassign a name if the user somehow assigned their own name to the operation. Users chan change operation names by:

  • Using operation mappings via configuration of the HTTP Server.
  • Providing a custom HTTP Operation Name Generator for the server.
  • Using the "operationName" directive.
  • Directly accessing the Span for the current operation and changing the name on it.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete fields

var allowAutomaticChanges: Boolean
var operationName: String