instrumenting

package
Version: v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Webhook

type Webhook struct {
	Webhook         webhook.Webhook
	WebhookName     string
	ReviewKind      metrics.ReviewKind
	MetricsRecorder metrics.Recorder
	Tracer          opentracing.Tracer
}

Webhook is a webhook wrapper that instruments the webhook with metrics and tracing. To the end user this webhook is transparent but internally instrumenting as a webhook wrapper we split responsibility.

func (*Webhook) Review

Review will review using the webhook wrapping it with instrumentation.

Jump to

Keyboard shortcuts

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