Telemetry_Module

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
extends Module\Skeleton\Standard
Methods Summary
public
public
# get( string|array $metric , int $site_id = NULL )
Get latest metric value Performs a partial scan in last 12 hours
public
# has( string $metric )
Metric exists
public
# range( $metric , int $begin , int $end = NULL, int $site_id = NULL, string|bool $summable = true )
Get metric range
public
# histogram( $metric , array $bins , int $begin , int $end = NULL, int $site_id = NULL )
Get metric histogram
public
# drop_metric( string $metric , bool $rekey = false )
Drop metric value from database
public
# chunks( )
Timescale chunk statistics
public
# metrics( )
Get all metric symbols
public
# db_compression_usage( )
Get metric compression usage
public
# db_usage( )
Get metric usage
public
# decompress_all( )
Decompress all chunks Note: reinitialize_compression() must be called after this
public
# reinitialize_compression( )
Reinitialize suspended compression
public
# _cron( Cronus $cron )
Methods inherited from Module\Skeleton\Standard
__construct(), setUserParameters(), autoloadModule(), __wakeup(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), cleanUserParameters(), query()
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id