observability

package
v0.99.0-sumo-0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecordRequestsBytes

func RecordRequestsBytes(bytes int64, statusCode int, endpoint string, pipeline string, exporter string) error

RecordRequestsBytes update metric which records number of send bytes

func RecordRequestsDuration

func RecordRequestsDuration(duration time.Duration, statusCode int, endpoint string, pipeline string, exporter string) error

RecordRequestsDuration update metric which records request duration

func RecordRequestsRecords

func RecordRequestsRecords(records int64, statusCode int, endpoint string, pipeline string, exporter string) error

RecordRequestsRecords update metric which records number of sent records

func RecordRequestsSent

func RecordRequestsSent(statusCode int, endpoint string, pipeline string, exporter string) error

RecordRequestsSent increments the metric that records sent requests

Types

This section is empty.

Jump to

Keyboard shortcuts

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