<commit_before>var Service = require('../lib/service.js');

function RDS(aws, bot, channel){
    var rds = {}

    var namespace = 'RDS';
    var period = 300;
    var dimension = 'DBInstanceIdentifier';
    var aws = aws
    var bot = bot
    var channel = channel
    var supported_metrics = ['cpuutilization',
                            'databaseconnections',
                            'diskqueuedepth',
                            'freestoragespace',
                            'readiops',
                            'writeiops'];

    rds.__proto__ = Service(aws, bot, channel, namespace, period, dimension, supported_metrics)

    rds.getHelperDescription = function() {
        return "\thal9001 *rds* <id> (metric)\t show metric <metric> for AWS RDS <id> instance. All if not specified\n";
    }

    return rds
}

module.exports = RDS<commit_msg>Better help for rds plugin<commit_after>var Service = require('../lib/service.js');

function RDS(aws, bot, channel){
    var rds = {}

    var namespace = 'RDS';
    var period = 300;
    var dimension = 'DBInstanceIdentifier';
    var aws = aws
    var bot = bot
    var channel = channel
    var supported_metrics = ['cpuutilization',
                            'databaseconnections',
                            'diskqueuedepth',
                            'freestoragespace',
                            'readiops',
                            'writeiops'];

    rds.__proto__ = Service(aws, bot, channel, namespace, period, dimension, supported_metrics)

    rds.getHelperDescription = function() {
        var message = "\thal9001 *rds* <id> (metric)\t show metric <metric> for AWS RDS <id> instance. All if not specified\n";
        message += "\t\t where <metric> is one of:\n\t\t\t - " + supported_metrics.join('\n\t\t\t - ') + '\n';
        return message
    }

    return rds
}

module.exports = RDS
{'fraction_non_alphanumeric': 0.11472785485592316, 'fraction_numerical': 0.007470651013874066, 'mean_word_length': 1.9069767441860466, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '7163901', 'n_tokens_mistral': 544, 'n_tokens_neox': 527, 'n_words': 147}