From b1f8b9f03e8860b5325e2cccaf9ad4f22bde0295 Mon Sep 17 00:00:00 2001 From: Fran Rodriguez Date: Tue, 15 Dec 2015 14:55:30 +0100 Subject: [PATCH] Remove old params --- plugins/hhvm/hhvm_ | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/plugins/hhvm/hhvm_ b/plugins/hhvm/hhvm_ index 42419999..e3db61be 100755 --- a/plugins/hhvm/hhvm_ +++ b/plugins/hhvm/hhvm_ @@ -40,7 +40,7 @@ server { =head2 APACHE 2.2 CONFIG FastCgiExternalServer /var/run/hhvm_admin.fcgi -host 127.0.0.1:8080 -Listen 127.0.0.1:8081 +Listen 127.0.0.1:8081 Alias /check-health /var/run/hhvm_admin.fcgi Alias /status.json /var/run/hhvm_admin.fcgi @@ -107,8 +107,6 @@ tc-profsize.label TC Profiling Size tc-profsize.info Translation Cache Profiling Size tc-coldsize.label TC Cold Size tc-coldsize.info Translation Cache Cold Size -tc-trampolinessize.label TC Trampoline Size -tc-trampolinessize.info Translation Cache Trampoline Size tc-frozensize.label TC Frozen Size tc-frozensize.info Translation Cache Frozen Size rds.label RDS Used Bytes @@ -121,7 +119,7 @@ EOF my $status = getJson( sprintf( '%s/status.json', $url ) ); printf( "multigraph hhvm_%s_threads\n", $graphName ); - printf( "threads.value %d\n", int( @{ $status->{'status'}->{'threads'} } ) ); + printf( "threads.value %d\n", int( @{ $status->{'status'}->{'threads'} } ) ); printf( "load.value %d\n", $health->{'load'} ); printf( "queued.value %d\n", $health->{'queued'} ); print "\n"; @@ -131,7 +129,6 @@ EOF printf( "tc-size.value %d\n", $health->{'tc-size'} ); printf( "tc-profsize.value %d\n", $health->{'tc-profsize'} ); printf( "tc-coldsize.value %d\n", $health->{'tc-coldsize'} ); - printf( "tc-trampolinessize.value %d\n", $health->{'tc-trampolinessize'} ); printf( "tc-frozensize.value %d\n", $health->{'tc-frozensize'} ); printf( "rds.value %d\n", $health->{'rds'} ); printf( "units.value %d\n", $health->{'units'} ); @@ -151,4 +148,4 @@ sub getJson( $ ) { die( sprintf( "Could not decode json from '%s'.", $url ) ); } return $data; -} \ No newline at end of file +}