Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
fc::zipkin_span::span_data Struct Reference

#include <zipkin.hpp>

Collaboration diagram for fc::zipkin_span::span_data:

Public Member Functions

 span_data (std::string name, uint64_t parent_id=0)
 
 span_data (uint64_t id, std::string name, uint64_t parent_id=0)
 
 span_data (const span_data &)=delete
 
span_dataoperator= (const span_data &)=delete
 
span_dataoperator= (span_data &&)=delete
 
 span_data (span_data &&rhs)=default
 

Public Attributes

uint64_t id
 
const uint64_t parent_id
 
const fc::time_point start
 
fc::time_point stop
 
std::string name
 
fc::mutable_variant_object tags
 

Detailed Description

Definition at line 126 of file zipkin.hpp.

Constructor & Destructor Documentation

◆ span_data() [1/4]

fc::zipkin_span::span_data::span_data ( std::string name,
uint64_t parent_id = 0 )
inlineexplicit

Definition at line 127 of file zipkin.hpp.

129 start( time_point::now() ), name( std::move( name ) ) {}
static time_point now()
Definition time.cpp:14
static uint64_t get_next_unique_id()
Starts with a random id and increments on each call, will not return 0.
Definition zipkin.cpp:39
const uint64_t parent_id
Definition zipkin.hpp:142
const fc::time_point start
Definition zipkin.hpp:143

◆ span_data() [2/4]

fc::zipkin_span::span_data::span_data ( uint64_t id,
std::string name,
uint64_t parent_id = 0 )
inlineexplicit

Definition at line 131 of file zipkin.hpp.

132 : id( id ), parent_id( parent_id ), start( time_point::now() ), name( std::move( name ) ) {}

◆ span_data() [3/4]

fc::zipkin_span::span_data::span_data ( const span_data & )
delete

◆ span_data() [4/4]

fc::zipkin_span::span_data::span_data ( span_data && rhs)
default

Member Function Documentation

◆ operator=() [1/2]

span_data & fc::zipkin_span::span_data::operator= ( const span_data & )
delete

◆ operator=() [2/2]

span_data & fc::zipkin_span::span_data::operator= ( span_data && )
delete

Member Data Documentation

◆ id

uint64_t fc::zipkin_span::span_data::id

Definition at line 139 of file zipkin.hpp.

◆ name

std::string fc::zipkin_span::span_data::name

Definition at line 145 of file zipkin.hpp.

◆ parent_id

const uint64_t fc::zipkin_span::span_data::parent_id

Definition at line 142 of file zipkin.hpp.

◆ start

const fc::time_point fc::zipkin_span::span_data::start

Definition at line 143 of file zipkin.hpp.

◆ stop

fc::time_point fc::zipkin_span::span_data::stop

Definition at line 144 of file zipkin.hpp.

◆ tags

fc::mutable_variant_object fc::zipkin_span::span_data::tags

Definition at line 146 of file zipkin.hpp.


The documentation for this struct was generated from the following file: