<commit_before>#
# Copyright (c) 2014 Aconex
# 
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
# 
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
# 

use strict;
use warnings;
use File::Basename;
use lib dirname (__FILE__);

use PCP::PMDA;
use LWP::UserAgent;
use RESTClient;
use ActiveMQ;
use JVMMemory;
use JVMMemoryPool;
use JVMGarbageCollection;
use TimeSource;
use Cache;

my $rest_hostname = 'localhost';
my $rest_port = 8161;
my $rest_username = 'admin';
my $rest_password = '<PASSWORD>';
my $rest_realm = 'ActiveMQRealm';
my $rest_timeout = 1;
my $cache_time = 1;

my $queue_indom = 0;

my $broker_cluster = 0;
my $health_cluster = 1;
my $queue_cluster = 2;
my $jvm_memory_cluster = 3;
my $jvm_memory_pool_cluster = 4;<commit_msg>activemq PMDA: expire on each half second so we can sample at 1 second intervals<commit_after>#
# Copyright (c) 2014 Aconex
# 
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
# 
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
# 

use strict;
use warnings;
use File::Basename;
use lib dirname (__FILE__);

use PCP::PMDA;
use LWP::UserAgent;
use RESTClient;
use ActiveMQ;
use JVMMemory;
use JVMMemoryPool;
use JVMGarbageCollection;
use TimeSource;
use Cache;

my $rest_hostname = 'localhost';
my $rest_port = 8161;
my $rest_username = 'admin';
my $rest_password = '<PASSWORD>';
my $rest_realm = 'ActiveMQRealm';
my $rest_timeout = 1;
my $cache_time = 0.5;

my $queue_indom = 0;

my $broker_cluster = 0;
my $health_cluster = 1;
my $queue_cluster = 2;
my $jvm_memory_cluster = 3;
my $jvm_memory_pool_cluster = 4;
{'fraction_non_alphanumeric': 0.08565310492505353, 'fraction_numerical': 0.015417558886509636, 'mean_word_length': 4.959183673469388, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1668030', 'n_tokens_mistral': 787, 'n_tokens_neox': 742, 'n_words': 315}