diagnosticst

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package diagnosticst contains the RouteDiagnostics struct used by apirtroute

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RouteDiagnostics

type RouteDiagnostics struct {
	PerfSMemloadConns     string `json:"perf_smemload_connections"`
	PerfSMemloadTransfers string `json:"perf_smemload_transfers"`
	PerfSMemloadWalksfrom string `json:"perf_smemload_walksfrom"`
	PerfSMemloadWalksto   string `json:"perf_smemload_walksto"`
	PerfSMemloadConnsverb string `json:"perf_smemload_connsverb"`
	PerfSRoute            string `json:"perf_sroute"`

	PerfNMemTransfers       int `json:"perf_nmemtransfers"`
	PerfNMemWalksfrom       int `json:"perf_nmemwalksfrom"`
	PerfNMemWalksfromNonnil int `json:"perf_nmemwalksfromnonnil"`
	PerfNMemWalksto         int `json:"perf_nmemwalksto"`
	PerfNMemWalkstoNonnil   int `json:"perf_nmemwalkstononnil"`
	PerfNMemConns           int `json:"perf_nmemconns"`

	PerfOptimizedFeeds []int `json:"perf_optimizedfeeds"`

	RouteinfoTransfers        uint      `json:"routeinfo_ntransfers"`
	RouteinfoDuration         uint      `json:"routeinfo_duration"`
	RouteinfoDurationWalkFrom uint      `json:"routeinfo_duration_walkfrom"`
	RouteinfoDurationWalkTo   uint      `json:"routeinfo_duration_walktto"`
	RouteinfoDurationTransit  uint      `json:"routeinfo_duration_transit"`
	RouteinfoDepart           time.Time `json:"routeinfo_depart"`
	RouteinfoArrive           time.Time `json:"routeinto_arrive"`
}

RouteDiagnostics contains diagnostic information for a routing request measuring number of seconds for specific parts of the pipeline, memory usage, and meta route information.

  • The PerfS fields indicate the amount of time taken for each stage.
  • The PerfNMem fields indicate the length of the arrays for each SQL query type extracted
  • The PerfOptimizedFeeds fields indicated which feed IDs were actually queries (as this is optimized earlier in the pipeline).
  • The Routeinfo fields contain various calculated route metalevel diagnostics.

Jump to

Keyboard shortcuts

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