scanmetrics

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package scanmetrics instruments client-side scan planning. Attribute values are bounded operation/outcome names; filters, credentials, table names, plan tokens, paths, and server error messages are never exported.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expired

func Expired(ctx context.Context, operation string)

Expired records a recognized expired plan or plan-task response.

func Fallback

func Fallback(ctx context.Context, reason string)

Fallback records auto mode choosing local planning before submitting a plan.

func Retry

func Retry(ctx context.Context, operation string)

Retry records an additional attempt after a transient HTTP failure.

func Start

func Start(ctx context.Context, operation string) (context.Context, func(error))

Start traces a logical operation, including its retries. Instruments come from the application's global provider and are no-ops without an SDK.

Types

This section is empty.

Jump to

Keyboard shortcuts

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