rctelemetryreporterimpl

package
v0.0.0-...-4dd3f74 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package rctelemetryreporterimpl provides a DdRcTelemetryReporter that sends RC-specific metrics to the DD backend.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fxutil.Module

Module defines the fx options for this component.

Types

type DdRcTelemetryReporter

type DdRcTelemetryReporter struct {
	BypassRateLimitCounter telemetry.Counter
	BypassTimeoutCounter   telemetry.Counter
}

DdRcTelemetryReporter is a datadog-agent telemetry counter for RC cache bypass metrics. It implements the RcTelemetryReporter interface.

func (*DdRcTelemetryReporter) IncRateLimit

func (r *DdRcTelemetryReporter) IncRateLimit()

IncRateLimit increments the DdRcTelemetryReporter BypassRateLimitCounter counter.

func (*DdRcTelemetryReporter) IncTimeout

func (r *DdRcTelemetryReporter) IncTimeout()

IncTimeout increments the DdRcTelemetryReporter BypassTimeoutCounter counter.

Jump to

Keyboard shortcuts

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