Documentation ¶
Index ¶
- Variables
- type LibraryInfo
- func (*LibraryInfo) Descriptor() ([]byte, []int)
- func (m *LibraryInfo) GetCoreLibraryVersion() string
- func (m *LibraryInfo) GetExporterVersion() string
- func (m *LibraryInfo) GetLanguage() LibraryInfo_Language
- func (*LibraryInfo) ProtoMessage()
- func (m *LibraryInfo) Reset()
- func (m *LibraryInfo) String() string
- func (m *LibraryInfo) XXX_DiscardUnknown()
- func (m *LibraryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LibraryInfo) XXX_Merge(src proto.Message)
- func (m *LibraryInfo) XXX_Size() int
- func (m *LibraryInfo) XXX_Unmarshal(b []byte) error
- type LibraryInfo_Language
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetAttributes() map[string]string
- func (m *Node) GetIdentifier() *ProcessIdentifier
- func (m *Node) GetLibraryInfo() *LibraryInfo
- func (m *Node) GetServiceInfo() *ServiceInfo
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) String() string
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type ProcessIdentifier
- func (*ProcessIdentifier) Descriptor() ([]byte, []int)
- func (m *ProcessIdentifier) GetHostName() string
- func (m *ProcessIdentifier) GetPid() uint32
- func (m *ProcessIdentifier) GetStartTimestamp() *timestamp.Timestamp
- func (*ProcessIdentifier) ProtoMessage()
- func (m *ProcessIdentifier) Reset()
- func (m *ProcessIdentifier) String() string
- func (m *ProcessIdentifier) XXX_DiscardUnknown()
- func (m *ProcessIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProcessIdentifier) XXX_Merge(src proto.Message)
- func (m *ProcessIdentifier) XXX_Size() int
- func (m *ProcessIdentifier) XXX_Unmarshal(b []byte) error
- type ServiceInfo
- func (*ServiceInfo) Descriptor() ([]byte, []int)
- func (m *ServiceInfo) GetName() string
- func (*ServiceInfo) ProtoMessage()
- func (m *ServiceInfo) Reset()
- func (m *ServiceInfo) String() string
- func (m *ServiceInfo) XXX_DiscardUnknown()
- func (m *ServiceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceInfo) XXX_Merge(src proto.Message)
- func (m *ServiceInfo) XXX_Size() int
- func (m *ServiceInfo) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type LibraryInfo ¶
type LibraryInfo struct { // Language of OpenCensus Library. Language LibraryInfo_Language `` /* 129-byte string literal not displayed */ // Version of Agent exporter of Library. ExporterVersion string `protobuf:"bytes,2,opt,name=exporter_version,json=exporterVersion,proto3" json:"exporter_version,omitempty"` // Version of OpenCensus Library. CoreLibraryVersion string `protobuf:"bytes,3,opt,name=core_library_version,json=coreLibraryVersion,proto3" json:"core_library_version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Information on OpenCensus Library.
func (*LibraryInfo) Descriptor ¶
func (*LibraryInfo) Descriptor() ([]byte, []int)
func (*LibraryInfo) GetCoreLibraryVersion ¶
func (m *LibraryInfo) GetCoreLibraryVersion() string
func (*LibraryInfo) GetExporterVersion ¶
func (m *LibraryInfo) GetExporterVersion() string
func (*LibraryInfo) GetLanguage ¶
func (m *LibraryInfo) GetLanguage() LibraryInfo_Language
func (*LibraryInfo) ProtoMessage ¶
func (*LibraryInfo) ProtoMessage()
func (*LibraryInfo) Reset ¶
func (m *LibraryInfo) Reset()
func (*LibraryInfo) String ¶
func (m *LibraryInfo) String() string
func (*LibraryInfo) XXX_DiscardUnknown ¶
func (m *LibraryInfo) XXX_DiscardUnknown()
func (*LibraryInfo) XXX_Marshal ¶
func (m *LibraryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LibraryInfo) XXX_Merge ¶
func (m *LibraryInfo) XXX_Merge(src proto.Message)
func (*LibraryInfo) XXX_Size ¶
func (m *LibraryInfo) XXX_Size() int
func (*LibraryInfo) XXX_Unmarshal ¶
func (m *LibraryInfo) XXX_Unmarshal(b []byte) error
type LibraryInfo_Language ¶
type LibraryInfo_Language int32
const ( LibraryInfo_LANGUAGE_UNSPECIFIED LibraryInfo_Language = 0 LibraryInfo_CPP LibraryInfo_Language = 1 LibraryInfo_C_SHARP LibraryInfo_Language = 2 LibraryInfo_ERLANG LibraryInfo_Language = 3 LibraryInfo_GO_LANG LibraryInfo_Language = 4 LibraryInfo_JAVA LibraryInfo_Language = 5 LibraryInfo_NODE_JS LibraryInfo_Language = 6 LibraryInfo_PHP LibraryInfo_Language = 7 LibraryInfo_PYTHON LibraryInfo_Language = 8 LibraryInfo_RUBY LibraryInfo_Language = 9 LibraryInfo_WEB_JS LibraryInfo_Language = 10 )
func (LibraryInfo_Language) EnumDescriptor ¶
func (LibraryInfo_Language) EnumDescriptor() ([]byte, []int)
func (LibraryInfo_Language) String ¶
func (x LibraryInfo_Language) String() string
type Node ¶
type Node struct { // Identifier that uniquely identifies a process within a VM/container. Identifier *ProcessIdentifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` // Information on the OpenCensus Library that initiates the stream. LibraryInfo *LibraryInfo `protobuf:"bytes,2,opt,name=library_info,json=libraryInfo,proto3" json:"library_info,omitempty"` // Additional information on service. ServiceInfo *ServiceInfo `protobuf:"bytes,3,opt,name=service_info,json=serviceInfo,proto3" json:"service_info,omitempty"` // Additional attributes. Attributes map[string]string `` /* 161-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Identifier metadata of the Node that produces the span or tracing data. Note, this is not the metadata about the Node or service that is described by associated spans. In the future we plan to extend the identifier proto definition to support additional information (e.g cloud id, etc.)
func (*Node) GetIdentifier ¶
func (m *Node) GetIdentifier() *ProcessIdentifier
func (*Node) GetLibraryInfo ¶
func (m *Node) GetLibraryInfo() *LibraryInfo
func (*Node) GetServiceInfo ¶
func (m *Node) GetServiceInfo() *ServiceInfo
type ProcessIdentifier ¶
type ProcessIdentifier struct { // The host name. Usually refers to the machine/container name. // For example: os.Hostname() in Go, socket.gethostname() in Python. HostName string `protobuf:"bytes,1,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` // Process id. Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"` // Start time of this ProcessIdentifier. Represented in epoch time. StartTimestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Identifier that uniquely identifies a process within a VM/container.
func (*ProcessIdentifier) Descriptor ¶
func (*ProcessIdentifier) Descriptor() ([]byte, []int)
func (*ProcessIdentifier) GetHostName ¶
func (m *ProcessIdentifier) GetHostName() string
func (*ProcessIdentifier) GetPid ¶
func (m *ProcessIdentifier) GetPid() uint32
func (*ProcessIdentifier) GetStartTimestamp ¶
func (m *ProcessIdentifier) GetStartTimestamp() *timestamp.Timestamp
func (*ProcessIdentifier) ProtoMessage ¶
func (*ProcessIdentifier) ProtoMessage()
func (*ProcessIdentifier) Reset ¶
func (m *ProcessIdentifier) Reset()
func (*ProcessIdentifier) String ¶
func (m *ProcessIdentifier) String() string
func (*ProcessIdentifier) XXX_DiscardUnknown ¶
func (m *ProcessIdentifier) XXX_DiscardUnknown()
func (*ProcessIdentifier) XXX_Marshal ¶
func (m *ProcessIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProcessIdentifier) XXX_Merge ¶
func (m *ProcessIdentifier) XXX_Merge(src proto.Message)
func (*ProcessIdentifier) XXX_Size ¶
func (m *ProcessIdentifier) XXX_Size() int
func (*ProcessIdentifier) XXX_Unmarshal ¶
func (m *ProcessIdentifier) XXX_Unmarshal(b []byte) error
type ServiceInfo ¶
type ServiceInfo struct { // Name of the service. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Additional service information.
func (*ServiceInfo) Descriptor ¶
func (*ServiceInfo) Descriptor() ([]byte, []int)
func (*ServiceInfo) GetName ¶
func (m *ServiceInfo) GetName() string
func (*ServiceInfo) ProtoMessage ¶
func (*ServiceInfo) ProtoMessage()
func (*ServiceInfo) Reset ¶
func (m *ServiceInfo) Reset()
func (*ServiceInfo) String ¶
func (m *ServiceInfo) String() string
func (*ServiceInfo) XXX_DiscardUnknown ¶
func (m *ServiceInfo) XXX_DiscardUnknown()
func (*ServiceInfo) XXX_Marshal ¶
func (m *ServiceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceInfo) XXX_Merge ¶
func (m *ServiceInfo) XXX_Merge(src proto.Message)
func (*ServiceInfo) XXX_Size ¶
func (m *ServiceInfo) XXX_Size() int
func (*ServiceInfo) XXX_Unmarshal ¶
func (m *ServiceInfo) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.