extends |
Module_Skeleton |
---|---|
implements |
Tasking |
Copyright (C) Apis Networks, Inc - All Rights Reserved.
Unauthorized copying of this file, via any medium, is strictly prohibited without consent. Any dissemination of material herein is prohibited.
For licensing inquiries email licensing@apisnetworks.com
Written by Matt Saladna matt@apisnetworks.com, May 2017
Methods | ||
---|---|---|
public
|
__construct()
|
# |
public
|
enabled(): bool
|
# |
public
|
get(string|array $metric, int|null $site_id = null): int|int[]|null
|
# |
public
|
has(string $metric): bool
|
# |
public
|
range($metric, int $begin, int|null $end = null, int|null $site_id = null, string|bool $summable = true): int[]|int|null
|
# |
public
|
interval(string|int $metric, int $begin, int|null $end = null, int|null $site_id = null, int $size = 86400): mixed
|
# |
public
|
histogram(
$metric,
int $begin,
int|null $end = null,
int|null $site_id = null,
int $buckets = 5,
int|null $min = 0,
int|null $max = 1024,
): int[]|int|null
|
# |
public
|
drop_metric(string $metric, bool $rekey = false): bool
|
# |
public
|
chunks(): array
|
# |
public
|
metrics(): array
|
# |
public
|
db_compression_usage(): array
|
# |
public
|
db_usage(): array
|
# |
public
|
decompress_all(): bool
|
# |
public
|
reinitialize_compression(): bool
|
# |
public
|
collect(): void
|
# |
public
|
version(): string|null
|
# |
public
|
_cron(Cronus $cron)
|
# |