OpenTelemetry PHP

RateLimitingSampler extends Message
in package

Sampler that tries to sample with a rate per time window.

Generated from protobuf message opentelemetry.proto.trace.v1.RateLimitingSampler

Table of Contents

Properties

$qps  : mixed
Rate per second.

Methods

__construct()  : mixed
Constructor.
getQps()  : int|string
Rate per second.
setQps()  : $this
Rate per second.

Properties

$qps

Rate per second.

protected mixed $qps = 0

Generated from protobuf field int64 qps = 1;

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
$data : array<string|int, mixed> = NULL

{ Optional. Data for populating the Message object.

@type int|string $qps
      Rate per second.

}

getQps()

Rate per second.

public getQps() : int|string

Generated from protobuf field int64 qps = 1;

Return values
int|string

setQps()

Rate per second.

public setQps(int|string $var) : $this

Generated from protobuf field int64 qps = 1;

Parameters
$var : int|string
Return values
$this

        
On this page

Search results