debugging

package
v0.0.0-...-9dd33c3 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package debugging provides debug-friendly representations of internal data structures

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestSummary

type RequestSummary struct {
	ByOperation map[string]Stats
	// contains filtered or unexported fields
}

RequestSummary represents a (debug-friendly) aggregated view of requests matching a (client, server, table name, operation) tuple

func Postgres

func Postgres(stats map[postgres.Key]*postgres.RequestStat) []RequestSummary

Postgres returns a debug-friendly representation of map[postgres.Key]postgres.RequestStats

type Stats

type Stats struct {
	Count              int
	FirstLatencySample float64
	LatencyP50         float64
	// contains filtered or unexported fields
}

Stats consolidates request count and latency information for a certain status code

Jump to

Keyboard shortcuts

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