opencensus-proto: github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1 Index | Files

package v1

import "github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1"

Index

Package Files

common.pb.go

Variables

var (
    LibraryInfo_Language_name = map[int32]string{
        0:  "LANGUAGE_UNSPECIFIED",
        1:  "CPP",
        2:  "C_SHARP",
        3:  "ERLANG",
        4:  "GO_LANG",
        5:  "JAVA",
        6:  "NODE_JS",
        7:  "PHP",
        8:  "PYTHON",
        9:  "RUBY",
        10: "WEB_JS",
    }
    LibraryInfo_Language_value = map[string]int32{
        "LANGUAGE_UNSPECIFIED": 0,
        "CPP":                  1,
        "C_SHARP":              2,
        "ERLANG":               3,
        "GO_LANG":              4,
        "JAVA":                 5,
        "NODE_JS":              6,
        "PHP":                  7,
        "PYTHON":               8,
        "RUBY":                 9,
        "WEB_JS":               10,
    }
)

Enum value maps for LibraryInfo_Language.

var File_opencensus_proto_agent_common_v1_common_proto protoreflect.FileDescriptor

type LibraryInfo Uses

type LibraryInfo struct {

    // Language of OpenCensus Library.
    Language LibraryInfo_Language `protobuf:"varint,1,opt,name=language,proto3,enum=opencensus.proto.agent.common.v1.LibraryInfo_Language" json:"language,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

Information on OpenCensus Library.

func (*LibraryInfo) Descriptor Uses

func (*LibraryInfo) Descriptor() ([]byte, []int)

Deprecated: Use LibraryInfo.ProtoReflect.Descriptor instead.

func (*LibraryInfo) GetCoreLibraryVersion Uses

func (x *LibraryInfo) GetCoreLibraryVersion() string

func (*LibraryInfo) GetExporterVersion Uses

func (x *LibraryInfo) GetExporterVersion() string

func (*LibraryInfo) GetLanguage Uses

func (x *LibraryInfo) GetLanguage() LibraryInfo_Language

func (*LibraryInfo) ProtoMessage Uses

func (*LibraryInfo) ProtoMessage()

func (*LibraryInfo) ProtoReflect Uses

func (x *LibraryInfo) ProtoReflect() protoreflect.Message

func (*LibraryInfo) Reset Uses

func (x *LibraryInfo) Reset()

func (*LibraryInfo) String Uses

func (x *LibraryInfo) String() string

type LibraryInfo_Language Uses

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) Descriptor Uses

func (LibraryInfo_Language) Descriptor() protoreflect.EnumDescriptor

func (LibraryInfo_Language) Enum Uses

func (x LibraryInfo_Language) Enum() *LibraryInfo_Language

func (LibraryInfo_Language) EnumDescriptor Uses

func (LibraryInfo_Language) EnumDescriptor() ([]byte, []int)

Deprecated: Use LibraryInfo_Language.Descriptor instead.

func (LibraryInfo_Language) Number Uses

func (x LibraryInfo_Language) Number() protoreflect.EnumNumber

func (LibraryInfo_Language) String Uses

func (x LibraryInfo_Language) String() string

func (LibraryInfo_Language) Type Uses

func (LibraryInfo_Language) Type() protoreflect.EnumType

type Node Uses

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 `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

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) Descriptor Uses

func (*Node) Descriptor() ([]byte, []int)

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetAttributes Uses

func (x *Node) GetAttributes() map[string]string

func (*Node) GetIdentifier Uses

func (x *Node) GetIdentifier() *ProcessIdentifier

func (*Node) GetLibraryInfo Uses

func (x *Node) GetLibraryInfo() *LibraryInfo

func (*Node) GetServiceInfo Uses

func (x *Node) GetServiceInfo() *ServiceInfo

func (*Node) ProtoMessage Uses

func (*Node) ProtoMessage()

func (*Node) ProtoReflect Uses

func (x *Node) ProtoReflect() protoreflect.Message

func (*Node) Reset Uses

func (x *Node) Reset()

func (*Node) String Uses

func (x *Node) String() string

type ProcessIdentifier Uses

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"`
    // contains filtered or unexported fields
}

Identifier that uniquely identifies a process within a VM/container.

func (*ProcessIdentifier) Descriptor Uses

func (*ProcessIdentifier) Descriptor() ([]byte, []int)

Deprecated: Use ProcessIdentifier.ProtoReflect.Descriptor instead.

func (*ProcessIdentifier) GetHostName Uses

func (x *ProcessIdentifier) GetHostName() string

func (*ProcessIdentifier) GetPid Uses

func (x *ProcessIdentifier) GetPid() uint32

func (*ProcessIdentifier) GetStartTimestamp Uses

func (x *ProcessIdentifier) GetStartTimestamp() *timestamp.Timestamp

func (*ProcessIdentifier) ProtoMessage Uses

func (*ProcessIdentifier) ProtoMessage()

func (*ProcessIdentifier) ProtoReflect Uses

func (x *ProcessIdentifier) ProtoReflect() protoreflect.Message

func (*ProcessIdentifier) Reset Uses

func (x *ProcessIdentifier) Reset()

func (*ProcessIdentifier) String Uses

func (x *ProcessIdentifier) String() string

type ServiceInfo Uses

type ServiceInfo struct {

    // Name of the service.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Additional service information.

func (*ServiceInfo) Descriptor Uses

func (*ServiceInfo) Descriptor() ([]byte, []int)

Deprecated: Use ServiceInfo.ProtoReflect.Descriptor instead.

func (*ServiceInfo) GetName Uses

func (x *ServiceInfo) GetName() string

func (*ServiceInfo) ProtoMessage Uses

func (*ServiceInfo) ProtoMessage()

func (*ServiceInfo) ProtoReflect Uses

func (x *ServiceInfo) ProtoReflect() protoreflect.Message

func (*ServiceInfo) Reset Uses

func (x *ServiceInfo) Reset()

func (*ServiceInfo) String Uses

func (x *ServiceInfo) String() string

Package v1 imports 6 packages (graph) and is imported by 52 packages. Updated 2020-07-28. Refresh now. Tools for package owners.