package runtime

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message ActivateComponentReply

runtime.proto:334

ActivateComponentReply is a reply to an ActivateComponentRequest.

(message has no fields)

message ActivateComponentRequest

runtime.proto:328

ActivateComponentRequest is a request from a weavelet to ensure that the provided component is running somewhere. An ActivateComponentRequest also implicitly signals that a weavelet is interested in receiving routing info for the component via UpdateRoutingInfoRequest.

message AppConfig

config.proto:26

AppConfig holds configuration for a Service Weaver application.

Used in: impl.BabysitterInfo, impl.SshConfig, multi.MultiConfig, Deployment, single.SingleConfig, status.Status

message Assignment

runtime.proto:292

Assignment partitions a key space (e.g., the hash space [0, 2^64)) into a set of subregions, called slices, and assigns each slice to a set of replicas.

Used in: RoutingInfo

message Assignment.Slice

runtime.proto:294

A slice of the key space and the replicas to which it is assigned.

Used in: Assignment

message ComponentGroup

config.proto:21

A group of components.

Used in: AppConfig

message Deployment

config.proto:89

Deployment holds internal information necessary for an application deployment. TODO(mwhittaker): Delete this proto.

message ExportListenerReply

runtime.proto:367

ExportListenerReply is a reply to an ExportListenerRequest.

message ExportListenerRequest

runtime.proto:361

ExportListenerRequest is a request from a weavelet to export the provided listener. Exporting a listener typically, but not always, involves running a proxy that forwards traffic to the provided address.

message GetHealthReply

runtime.proto:88

GetHealthReply is a reply to a GetHealthRequest.

message GetHealthRequest

runtime.proto:85

GetHealthRequest is a request from an envelope for a weavelet's health.

(message has no fields)

message GetListenerAddressReply

runtime.proto:354

GetListenerAddressReply is a reply to a GetListenerAddressRequest.

message GetListenerAddressRequest

runtime.proto:349

GetListenerAddressRequest is a request from a weavelet for the address the weavelet should listen on for a particular listener. Imagine a weavelet calls GetListener with LocalAdress localhost:9000. Here are some examples of how different deployers may handle a GetListenerAddressRequest. - The singleprocess deployer may instruct the weavelet to listen directly on localhost:9000. - The multiprocess deployer may instruct the weavelet to listen on localhost:0. It will separately start a proxy on localhost:9000. - The SSH deployer may instruct the weavelet to listen on $HOSTNAME:0. It will separately start a proxy on localhost:9000.

message GetLoadReply

runtime.proto:168

GetLoadReply is a reply to a GetLoadRequest.

message GetLoadRequest

runtime.proto:165

GetLoadRequest is a request from an envelope for a weavelet's load report.

(message has no fields)

message GetMetricsReply

runtime.proto:108

GetMetricsReply is a reply to a GetMetricsRequest. It only contains information about the metrics that have changed since the prior GetMetricsRequest.

message GetMetricsRequest

runtime.proto:103

GetMetricsRequest is a request from an envelope for a weavelet's metrics. There can only be one outstanding GetMetricsRequest at a time.

(message has no fields)

message GetProfileReply

runtime.proto:250

GetProfileReply is a reply to a GetProfileRequest.

message GetProfileRequest

runtime.proto:241

GetProfileRequest is a request from an envelope for a weavelet to collect and return a profile. Some profile types only support a single profile request at a time and an error will be returned if another profile request is active.

message GetSelfCertificateReply

runtime.proto:385

GetSelfCertificateReply is a reply to a GetSelfCertificateRequest.

message GetSelfCertificateRequest

runtime.proto:382

GetSelfCertificateRequest is a request from a weavelet for its certificate and the corresponding private key.

(message has no fields)

enum HealthStatus

runtime.proto:94

HealthStatus specifies the health of a weavelet.

Used in: GetHealthReply

message InitWeaveletReply

runtime.proto:64

InitWeaveletReply is the information provided by a weavelet to an envelope during the initial envelope-weavelet handshake.

message InitWeaveletRequest

runtime.proto:58

InitWeaveletRequest holds the initialization info passed to the weavelet by the envelope.

message LoadReport

runtime.proto:174

LoadReport contains load information for all routed components hosted by a particular weavelet.

Used in: GetLoadReply

message LoadReport.ComponentLoad

runtime.proto:184

ComponentLoad includes load information for a component. The component's key space is divided into a number of slices, each of which is associated with a particular double-valued load. TODO(mwhittaker): In the short term, a weavelet will report one SliceLoad for every slice it is assigned. In the future, however, we may report load in more advanced ways.

Used in: LoadReport

message LoadReport.SliceLoad

runtime.proto:199

SliceLoad includes the load of a slice, [start, end).

Used in: ComponentLoad

message LoadReport.SubsliceLoad

runtime.proto:232

SubsliceLoad divides the load of a slice into smaller subslices. For example, given a slice [0, 100) and load 9.0, we may have the following subslices: SubsliceLoad{Start: 0, Load: 3.0} // [0, 20) SubsliceLoad{Start: 20, Load: 3.0} // [20, 80) SubsliceLoad{Start: 80, Load: 3.0} // [80, 100) TODO(mwhittaker): In the future, we likely want to report hot keys as their own slice. Change SubsliceLoad to support that.

Used in: SliceLoad

message LogEntry

runtime.proto:426

LogEntry is a log entry. Every log entry consists of a message (the thing the user logged) and a set of metadata describing the message.

Used in: LogEntryBatch

message LogEntryBatch

runtime.proto:444

LogEntryBatch is a list of log entries.

message MetricDef

runtime.proto:133

MetricDef is the definition of a new metric.

Used in: MetricUpdate

message MetricSnapshot

runtime.proto:153

MetricSnapshot is a snapshot of a metric. It is the union of a MetricDef and a MetricValue. TODO(mwhittaker): Move out of runtime.proto. It's not used by the pipe.

Used in: impl.BabysitterMetrics, status.Metrics

enum MetricType

runtime.proto:113

MetricType specifies a particular kind of metric.

Used in: MetricDef, MetricSnapshot

message MetricUpdate

runtime.proto:121

MetricUpdate contains metric updates.

Used in: GetMetricsReply

message MetricValue

runtime.proto:143

MetricValue is the value associated with a metric.

Used in: MetricUpdate

enum ProfileType

runtime.proto:255

ProfileType specifies a type of profile.

Used in: GetProfileRequest

message RoutingInfo

runtime.proto:272

RoutingInfo contains routing information for a component. A weavelet uses a RoutingInfo to know where to send a remote method call.

Used in: impl.GetRoutingInfoReply, UpdateRoutingInfoRequest

message SemVer

runtime.proto:78

SemVer represents a [semantic version][1] of the form "<major>.<minor>.<patch>". For example, the semver "0.12.3" has major=0, minor=12, and patch=3. [1]: https://semver.org/

Used in: InitWeaveletReply

message Span

runtime.proto:457

Span is a proto-based representation of an open-telemetry Span [1]. [1]: https://opentelemetry.io/docs/concepts/signals/traces/#spans TODO(spetrovic): Rename to TraceSpan.

Used in: TraceSpans

message Span.Attribute

runtime.proto:478

Span attributes.

Used in: Span, Event, Link, Resource

message Span.Attribute.Value

runtime.proto:479

Used in: Attribute

message Span.Attribute.Value.NumberList

runtime.proto:492

Used in: Value

message Span.Attribute.Value.StringList

runtime.proto:495

Used in: Value

enum Span.Attribute.Value.Type

runtime.proto:481

Type describes the type of the value.

Used in: Value

message Span.Event

runtime.proto:523

Event represent an event that occurred in the span's lifetime.

Used in: Span

enum Span.Kind

runtime.proto:464

Span's role in the trace.

Used in: Span

message Span.Library

runtime.proto:557

Library stores information about the instrumentation library that created the span.

Used in: Span

runtime.proto:512

Link represents the link a span has to another span.

Used in: Span

message Span.Resource

runtime.proto:568

Resource describes an entity (e.g., a Service Weaver component) this span belongs to.

Used in: Span

message Span.Scope

runtime.proto:546

Scope stores information about the instrumentation scope that created the span.

Used in: Span

message Span.Status

runtime.proto:534

Status represents the status for a span.

Used in: Span

enum Span.Status.Code

runtime.proto:535

Used in: Status

message TraceSpans

runtime.proto:449

TraceSpans is a list of Span messages.

message UpdateComponentsReply

runtime.proto:322

UpdateComponentsReply is a reply to an UpdateComponentsRequest.

(message has no fields)

message UpdateComponentsRequest

runtime.proto:317

UpdateComponentsRequest is a request from an envelope to the weavelet to update the set of components it should be running. Currently, the set of components must only ever increase over time.

message UpdateRoutingInfoReply

runtime.proto:268

UpdateRoutingInfoReply is a reply to an UpdateRoutingInfoRequest.

(message has no fields)

message UpdateRoutingInfoRequest

runtime.proto:263

UpdateRoutingInfoRequest is a request from an envelope to the weavelet to update its routing information for a particular component.

message VerifyClientCertificateReply

runtime.proto:404

VerifyClientCertificateReply is a reply to a VerifyClientCertificateRequest. If the client certificate cannot be verified, an error should be returned rather than an empty reply.

message VerifyClientCertificateRequest

runtime.proto:395

VerifyClientCertificateRequest is a request from a weavelet to verify the identity of a client that is attempting to connect to the weavelet.

message VerifyServerCertificateReply

runtime.proto:422

VerifyServerCertificateReply is a reply to a VerifyServerCertificateRequest.

(message has no fields)

message VerifyServerCertificateRequest

runtime.proto:412

VerifyServerCertificateRequest is a request from a weavelet to verify the identity of the server it is attempting to connect to.

message WeaveletArgs

runtime.proto:22

WeaveletArgs is the information provided by an envelope to a weavelet when the weavelet is created.

message WeaveletArgs.Redirect

runtime.proto:47

A redirect entry instructs the weavelet to direct calls made to component to be instead sent to the component named target at the specified address.

Used in: WeaveletArgs