querysample

package
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-2-Clause, BSD-3-Clause, PostgreSQL Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportQuerySamplesAsTraceSpans added in v0.52.0

func ExportQuerySamplesAsTraceSpans(ctx context.Context, server *state.Server, logger *util.Logger, grant state.GrantLogs, samples []state.PostgresQuerySample)

func NormalizeExplainJSON

func NormalizeExplainJSON(explainOutputJSON *state.ExplainPlanContainer) (*state.ExplainPlanContainer, error)

NormalizeExplainJSON - Normalizes the expressions contained within the passed in EXPLAIN JSON output.

func TransformAutoExplainToQuerySample

func TransformAutoExplainToQuerySample(logLine state.LogLine, explainText string, queryRuntime string) (state.PostgresQuerySample, error)

func TransformLogMinDurationStatementToQuerySample

func TransformLogMinDurationStatementToQuerySample(logLine state.LogLine, queryText string, queryRuntime string, queryProtocolStep string, parameterParts [][]string) (s state.PostgresQuerySample, ok bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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