metric

package
v0.0.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2021 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceLatencyV1

type ServiceLatencyV1 struct {
	event.NATSEvent

	Status         int                   `json:"status"`
	Error          string                `json:"description,omitempty"`
	Requestor      advisory.ClientInfoV1 `json:"requestor,omitempty"`
	Responder      advisory.ClientInfoV1 `json:"responder,omitempty"`
	RequestHeader  http.Header           `json:"header,omitempty"`
	RequestStart   time.Time             `json:"start"`
	ServiceLatency time.Duration         `json:"service"`
	SystemLatency  time.Duration         `json:"system"`
	TotalLatency   time.Duration         `json:"total"`
}

ServiceLatencyV1 is the JSON message sent out in response to latency tracking for exported services.

NATS Schema Type io.nats.server.metric.v1.service_latency

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL