Documentation
¶
Index ¶
- Variables
- type CapturedRequest
- func (*CapturedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CapturedRequest) GetBody() string
- func (x *CapturedRequest) GetDurationMs() int64
- func (x *CapturedRequest) GetHeaders() map[string]string
- func (x *CapturedRequest) GetId() string
- func (x *CapturedRequest) GetMethod() string
- func (x *CapturedRequest) GetPath() string
- func (x *CapturedRequest) GetStatus() int32
- func (x *CapturedRequest) GetTimestamp() *timestamppb.Timestamp
- func (*CapturedRequest) ProtoMessage()
- func (x *CapturedRequest) ProtoReflect() protoreflect.Message
- func (x *CapturedRequest) Reset()
- func (x *CapturedRequest) String() string
- type DashboardMetrics
- func (*DashboardMetrics) Descriptor() ([]byte, []int)deprecated
- func (x *DashboardMetrics) GetDeadlocks() []*DeadlockInfo
- func (x *DashboardMetrics) GetOperations() []*OperationSummary
- func (x *DashboardMetrics) GetRuntime() *RuntimeMetrics
- func (x *DashboardMetrics) GetWorkers() []*WorkerStats
- func (*DashboardMetrics) ProtoMessage()
- func (x *DashboardMetrics) ProtoReflect() protoreflect.Message
- func (x *DashboardMetrics) Reset()
- func (x *DashboardMetrics) String() string
- type DeadlockInfo
- func (*DeadlockInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DeadlockInfo) GetHeldSec() float64
- func (x *DeadlockInfo) GetLock() string
- func (x *DeadlockInfo) GetOperation() string
- func (x *DeadlockInfo) GetWaiters() int32
- func (*DeadlockInfo) ProtoMessage()
- func (x *DeadlockInfo) ProtoReflect() protoreflect.Message
- func (x *DeadlockInfo) Reset()
- func (x *DeadlockInfo) String() string
- type OperationSummary
- func (*OperationSummary) Descriptor() ([]byte, []int)deprecated
- func (x *OperationSummary) GetAvgMs() float64
- func (x *OperationSummary) GetCount() int64
- func (x *OperationSummary) GetErrorCount() int64
- func (x *OperationSummary) GetMaxMs() float64
- func (x *OperationSummary) GetOperation() string
- func (x *OperationSummary) GetP50Ms() float64
- func (x *OperationSummary) GetP95Ms() float64
- func (x *OperationSummary) GetP99Ms() float64
- func (*OperationSummary) ProtoMessage()
- func (x *OperationSummary) ProtoReflect() protoreflect.Message
- func (x *OperationSummary) Reset()
- func (x *OperationSummary) String() string
- type RuntimeMetrics
- func (*RuntimeMetrics) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeMetrics) GetGoroutines() int32
- func (x *RuntimeMetrics) GetHeapAllocMb() float64
- func (x *RuntimeMetrics) GetHeapInuseMb() float64
- func (x *RuntimeMetrics) GetHeapSysMb() float64
- func (x *RuntimeMetrics) GetLastGcPauseMs() float64
- func (x *RuntimeMetrics) GetNumGc() uint32
- func (x *RuntimeMetrics) GetNumServices() int32
- func (x *RuntimeMetrics) GetTotalAllocMb() float64
- func (*RuntimeMetrics) ProtoMessage()
- func (x *RuntimeMetrics) ProtoReflect() protoreflect.Message
- func (x *RuntimeMetrics) Reset()
- func (x *RuntimeMetrics) String() string
- type StreamConsoleRequest
- type StreamConsoleResponse
- func (*StreamConsoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamConsoleResponse) GetRequest() *CapturedRequest
- func (*StreamConsoleResponse) ProtoMessage()
- func (x *StreamConsoleResponse) ProtoReflect() protoreflect.Message
- func (x *StreamConsoleResponse) Reset()
- func (x *StreamConsoleResponse) String() string
- type StreamMetricsRequest
- type StreamMetricsResponse
- func (*StreamMetricsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamMetricsResponse) GetDashboard() *DashboardMetrics
- func (*StreamMetricsResponse) ProtoMessage()
- func (x *StreamMetricsResponse) ProtoReflect() protoreflect.Message
- func (x *StreamMetricsResponse) Reset()
- func (x *StreamMetricsResponse) String() string
- type WorkerStats
- func (*WorkerStats) Descriptor() ([]byte, []int)deprecated
- func (x *WorkerStats) GetErrorsTotal() int64
- func (x *WorkerStats) GetItemsProcessedTotal() int64
- func (x *WorkerStats) GetQueueDepth() int32
- func (x *WorkerStats) GetService() string
- func (x *WorkerStats) GetTasksTotal() int64
- func (x *WorkerStats) GetWorker() string
- func (*WorkerStats) ProtoMessage()
- func (x *WorkerStats) ProtoReflect() protoreflect.Message
- func (x *WorkerStats) Reset()
- func (x *WorkerStats) String() string
Constants ¶
This section is empty.
Variables ¶
var File_gopherstack_dashboard_v1_dashboard_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CapturedRequest ¶
type CapturedRequest struct {
Headers map[string]string `` /* 180-byte string literal not displayed */
Timestamp *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
DurationMs int64 `protobuf:"varint,7,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
Status int32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*CapturedRequest) Descriptor
deprecated
func (*CapturedRequest) Descriptor() ([]byte, []int)
Deprecated: Use CapturedRequest.ProtoReflect.Descriptor instead.
func (*CapturedRequest) GetBody ¶
func (x *CapturedRequest) GetBody() string
func (*CapturedRequest) GetDurationMs ¶
func (x *CapturedRequest) GetDurationMs() int64
func (*CapturedRequest) GetHeaders ¶
func (x *CapturedRequest) GetHeaders() map[string]string
func (*CapturedRequest) GetId ¶
func (x *CapturedRequest) GetId() string
func (*CapturedRequest) GetMethod ¶
func (x *CapturedRequest) GetMethod() string
func (*CapturedRequest) GetPath ¶
func (x *CapturedRequest) GetPath() string
func (*CapturedRequest) GetStatus ¶
func (x *CapturedRequest) GetStatus() int32
func (*CapturedRequest) GetTimestamp ¶
func (x *CapturedRequest) GetTimestamp() *timestamppb.Timestamp
func (*CapturedRequest) ProtoMessage ¶
func (*CapturedRequest) ProtoMessage()
func (*CapturedRequest) ProtoReflect ¶
func (x *CapturedRequest) ProtoReflect() protoreflect.Message
func (*CapturedRequest) Reset ¶
func (x *CapturedRequest) Reset()
func (*CapturedRequest) String ¶
func (x *CapturedRequest) String() string
type DashboardMetrics ¶
type DashboardMetrics struct {
Runtime *RuntimeMetrics `protobuf:"bytes,1,opt,name=runtime,proto3" json:"runtime,omitempty"`
Operations []*OperationSummary `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"`
Deadlocks []*DeadlockInfo `protobuf:"bytes,3,rep,name=deadlocks,proto3" json:"deadlocks,omitempty"`
Workers []*WorkerStats `protobuf:"bytes,4,rep,name=workers,proto3" json:"workers,omitempty"`
// contains filtered or unexported fields
}
func (*DashboardMetrics) Descriptor
deprecated
func (*DashboardMetrics) Descriptor() ([]byte, []int)
Deprecated: Use DashboardMetrics.ProtoReflect.Descriptor instead.
func (*DashboardMetrics) GetDeadlocks ¶
func (x *DashboardMetrics) GetDeadlocks() []*DeadlockInfo
func (*DashboardMetrics) GetOperations ¶
func (x *DashboardMetrics) GetOperations() []*OperationSummary
func (*DashboardMetrics) GetRuntime ¶
func (x *DashboardMetrics) GetRuntime() *RuntimeMetrics
func (*DashboardMetrics) GetWorkers ¶
func (x *DashboardMetrics) GetWorkers() []*WorkerStats
func (*DashboardMetrics) ProtoMessage ¶
func (*DashboardMetrics) ProtoMessage()
func (*DashboardMetrics) ProtoReflect ¶
func (x *DashboardMetrics) ProtoReflect() protoreflect.Message
func (*DashboardMetrics) Reset ¶
func (x *DashboardMetrics) Reset()
func (*DashboardMetrics) String ¶
func (x *DashboardMetrics) String() string
type DeadlockInfo ¶
type DeadlockInfo struct {
Lock string `protobuf:"bytes,1,opt,name=lock,proto3" json:"lock,omitempty"`
Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
HeldSec float64 `protobuf:"fixed64,3,opt,name=held_sec,json=heldSec,proto3" json:"held_sec,omitempty"`
Waiters int32 `protobuf:"varint,4,opt,name=waiters,proto3" json:"waiters,omitempty"`
// contains filtered or unexported fields
}
func (*DeadlockInfo) Descriptor
deprecated
func (*DeadlockInfo) Descriptor() ([]byte, []int)
Deprecated: Use DeadlockInfo.ProtoReflect.Descriptor instead.
func (*DeadlockInfo) GetHeldSec ¶
func (x *DeadlockInfo) GetHeldSec() float64
func (*DeadlockInfo) GetLock ¶
func (x *DeadlockInfo) GetLock() string
func (*DeadlockInfo) GetOperation ¶
func (x *DeadlockInfo) GetOperation() string
func (*DeadlockInfo) GetWaiters ¶
func (x *DeadlockInfo) GetWaiters() int32
func (*DeadlockInfo) ProtoMessage ¶
func (*DeadlockInfo) ProtoMessage()
func (*DeadlockInfo) ProtoReflect ¶
func (x *DeadlockInfo) ProtoReflect() protoreflect.Message
func (*DeadlockInfo) Reset ¶
func (x *DeadlockInfo) Reset()
func (*DeadlockInfo) String ¶
func (x *DeadlockInfo) String() string
type OperationSummary ¶
type OperationSummary struct {
Operation string `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
ErrorCount int64 `protobuf:"varint,3,opt,name=error_count,json=errorCount,proto3" json:"error_count,omitempty"`
P50Ms float64 `protobuf:"fixed64,4,opt,name=p50_ms,json=p50Ms,proto3" json:"p50_ms,omitempty"`
P95Ms float64 `protobuf:"fixed64,5,opt,name=p95_ms,json=p95Ms,proto3" json:"p95_ms,omitempty"`
P99Ms float64 `protobuf:"fixed64,6,opt,name=p99_ms,json=p99Ms,proto3" json:"p99_ms,omitempty"`
AvgMs float64 `protobuf:"fixed64,7,opt,name=avg_ms,json=avgMs,proto3" json:"avg_ms,omitempty"`
MaxMs float64 `protobuf:"fixed64,8,opt,name=max_ms,json=maxMs,proto3" json:"max_ms,omitempty"`
// contains filtered or unexported fields
}
func (*OperationSummary) Descriptor
deprecated
func (*OperationSummary) Descriptor() ([]byte, []int)
Deprecated: Use OperationSummary.ProtoReflect.Descriptor instead.
func (*OperationSummary) GetAvgMs ¶
func (x *OperationSummary) GetAvgMs() float64
func (*OperationSummary) GetCount ¶
func (x *OperationSummary) GetCount() int64
func (*OperationSummary) GetErrorCount ¶
func (x *OperationSummary) GetErrorCount() int64
func (*OperationSummary) GetMaxMs ¶
func (x *OperationSummary) GetMaxMs() float64
func (*OperationSummary) GetOperation ¶
func (x *OperationSummary) GetOperation() string
func (*OperationSummary) GetP50Ms ¶
func (x *OperationSummary) GetP50Ms() float64
func (*OperationSummary) GetP95Ms ¶
func (x *OperationSummary) GetP95Ms() float64
func (*OperationSummary) GetP99Ms ¶
func (x *OperationSummary) GetP99Ms() float64
func (*OperationSummary) ProtoMessage ¶
func (*OperationSummary) ProtoMessage()
func (*OperationSummary) ProtoReflect ¶
func (x *OperationSummary) ProtoReflect() protoreflect.Message
func (*OperationSummary) Reset ¶
func (x *OperationSummary) Reset()
func (*OperationSummary) String ¶
func (x *OperationSummary) String() string
type RuntimeMetrics ¶
type RuntimeMetrics struct {
HeapAllocMb float64 `protobuf:"fixed64,2,opt,name=heap_alloc_mb,json=heapAllocMb,proto3" json:"heap_alloc_mb,omitempty"`
HeapInuseMb float64 `protobuf:"fixed64,3,opt,name=heap_inuse_mb,json=heapInuseMb,proto3" json:"heap_inuse_mb,omitempty"`
HeapSysMb float64 `protobuf:"fixed64,4,opt,name=heap_sys_mb,json=heapSysMb,proto3" json:"heap_sys_mb,omitempty"`
LastGcPauseMs float64 `protobuf:"fixed64,6,opt,name=last_gc_pause_ms,json=lastGcPauseMs,proto3" json:"last_gc_pause_ms,omitempty"`
TotalAllocMb float64 `protobuf:"fixed64,7,opt,name=total_alloc_mb,json=totalAllocMb,proto3" json:"total_alloc_mb,omitempty"`
Goroutines int32 `protobuf:"varint,1,opt,name=goroutines,proto3" json:"goroutines,omitempty"`
NumGc uint32 `protobuf:"varint,5,opt,name=num_gc,json=numGc,proto3" json:"num_gc,omitempty"`
NumServices int32 `protobuf:"varint,8,opt,name=num_services,json=numServices,proto3" json:"num_services,omitempty"`
// contains filtered or unexported fields
}
func (*RuntimeMetrics) Descriptor
deprecated
func (*RuntimeMetrics) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeMetrics.ProtoReflect.Descriptor instead.
func (*RuntimeMetrics) GetGoroutines ¶
func (x *RuntimeMetrics) GetGoroutines() int32
func (*RuntimeMetrics) GetHeapAllocMb ¶
func (x *RuntimeMetrics) GetHeapAllocMb() float64
func (*RuntimeMetrics) GetHeapInuseMb ¶
func (x *RuntimeMetrics) GetHeapInuseMb() float64
func (*RuntimeMetrics) GetHeapSysMb ¶
func (x *RuntimeMetrics) GetHeapSysMb() float64
func (*RuntimeMetrics) GetLastGcPauseMs ¶
func (x *RuntimeMetrics) GetLastGcPauseMs() float64
func (*RuntimeMetrics) GetNumGc ¶
func (x *RuntimeMetrics) GetNumGc() uint32
func (*RuntimeMetrics) GetNumServices ¶
func (x *RuntimeMetrics) GetNumServices() int32
func (*RuntimeMetrics) GetTotalAllocMb ¶
func (x *RuntimeMetrics) GetTotalAllocMb() float64
func (*RuntimeMetrics) ProtoMessage ¶
func (*RuntimeMetrics) ProtoMessage()
func (*RuntimeMetrics) ProtoReflect ¶
func (x *RuntimeMetrics) ProtoReflect() protoreflect.Message
func (*RuntimeMetrics) Reset ¶
func (x *RuntimeMetrics) Reset()
func (*RuntimeMetrics) String ¶
func (x *RuntimeMetrics) String() string
type StreamConsoleRequest ¶
type StreamConsoleRequest struct {
// contains filtered or unexported fields
}
func (*StreamConsoleRequest) Descriptor
deprecated
func (*StreamConsoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamConsoleRequest.ProtoReflect.Descriptor instead.
func (*StreamConsoleRequest) ProtoMessage ¶
func (*StreamConsoleRequest) ProtoMessage()
func (*StreamConsoleRequest) ProtoReflect ¶
func (x *StreamConsoleRequest) ProtoReflect() protoreflect.Message
func (*StreamConsoleRequest) Reset ¶
func (x *StreamConsoleRequest) Reset()
func (*StreamConsoleRequest) String ¶
func (x *StreamConsoleRequest) String() string
type StreamConsoleResponse ¶
type StreamConsoleResponse struct {
Request *CapturedRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
// contains filtered or unexported fields
}
func (*StreamConsoleResponse) Descriptor
deprecated
func (*StreamConsoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamConsoleResponse.ProtoReflect.Descriptor instead.
func (*StreamConsoleResponse) GetRequest ¶
func (x *StreamConsoleResponse) GetRequest() *CapturedRequest
func (*StreamConsoleResponse) ProtoMessage ¶
func (*StreamConsoleResponse) ProtoMessage()
func (*StreamConsoleResponse) ProtoReflect ¶
func (x *StreamConsoleResponse) ProtoReflect() protoreflect.Message
func (*StreamConsoleResponse) Reset ¶
func (x *StreamConsoleResponse) Reset()
func (*StreamConsoleResponse) String ¶
func (x *StreamConsoleResponse) String() string
type StreamMetricsRequest ¶
type StreamMetricsRequest struct {
// contains filtered or unexported fields
}
func (*StreamMetricsRequest) Descriptor
deprecated
func (*StreamMetricsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamMetricsRequest.ProtoReflect.Descriptor instead.
func (*StreamMetricsRequest) ProtoMessage ¶
func (*StreamMetricsRequest) ProtoMessage()
func (*StreamMetricsRequest) ProtoReflect ¶
func (x *StreamMetricsRequest) ProtoReflect() protoreflect.Message
func (*StreamMetricsRequest) Reset ¶
func (x *StreamMetricsRequest) Reset()
func (*StreamMetricsRequest) String ¶
func (x *StreamMetricsRequest) String() string
type StreamMetricsResponse ¶
type StreamMetricsResponse struct {
Dashboard *DashboardMetrics `protobuf:"bytes,1,opt,name=dashboard,proto3" json:"dashboard,omitempty"`
// contains filtered or unexported fields
}
func (*StreamMetricsResponse) Descriptor
deprecated
func (*StreamMetricsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamMetricsResponse.ProtoReflect.Descriptor instead.
func (*StreamMetricsResponse) GetDashboard ¶
func (x *StreamMetricsResponse) GetDashboard() *DashboardMetrics
func (*StreamMetricsResponse) ProtoMessage ¶
func (*StreamMetricsResponse) ProtoMessage()
func (*StreamMetricsResponse) ProtoReflect ¶
func (x *StreamMetricsResponse) ProtoReflect() protoreflect.Message
func (*StreamMetricsResponse) Reset ¶
func (x *StreamMetricsResponse) Reset()
func (*StreamMetricsResponse) String ¶
func (x *StreamMetricsResponse) String() string
type WorkerStats ¶
type WorkerStats struct {
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
Worker string `protobuf:"bytes,2,opt,name=worker,proto3" json:"worker,omitempty"`
TasksTotal int64 `protobuf:"varint,4,opt,name=tasks_total,json=tasksTotal,proto3" json:"tasks_total,omitempty"`
ErrorsTotal int64 `protobuf:"varint,5,opt,name=errors_total,json=errorsTotal,proto3" json:"errors_total,omitempty"`
ItemsProcessedTotal int64 `protobuf:"varint,6,opt,name=items_processed_total,json=itemsProcessedTotal,proto3" json:"items_processed_total,omitempty"`
QueueDepth int32 `protobuf:"varint,3,opt,name=queue_depth,json=queueDepth,proto3" json:"queue_depth,omitempty"`
// contains filtered or unexported fields
}
func (*WorkerStats) Descriptor
deprecated
func (*WorkerStats) Descriptor() ([]byte, []int)
Deprecated: Use WorkerStats.ProtoReflect.Descriptor instead.
func (*WorkerStats) GetErrorsTotal ¶
func (x *WorkerStats) GetErrorsTotal() int64
func (*WorkerStats) GetItemsProcessedTotal ¶
func (x *WorkerStats) GetItemsProcessedTotal() int64
func (*WorkerStats) GetQueueDepth ¶
func (x *WorkerStats) GetQueueDepth() int32
func (*WorkerStats) GetService ¶
func (x *WorkerStats) GetService() string
func (*WorkerStats) GetTasksTotal ¶
func (x *WorkerStats) GetTasksTotal() int64
func (*WorkerStats) GetWorker ¶
func (x *WorkerStats) GetWorker() string
func (*WorkerStats) ProtoMessage ¶
func (*WorkerStats) ProtoMessage()
func (*WorkerStats) ProtoReflect ¶
func (x *WorkerStats) ProtoReflect() protoreflect.Message
func (*WorkerStats) Reset ¶
func (x *WorkerStats) Reset()
func (*WorkerStats) String ¶
func (x *WorkerStats) String() string