<commit_before>package blackboard.monitor.newrelic.postgresql;

import java.util.HashMap;
import java.util.Map;

/**
 * PostgreSQL data enum
 * Created by ntatsumi on 5/6/14.
 */
public enum PostgresqlData {
    TOTAL_CONNECTIONS("TotalConnections", "", "Total Connections"),
    MAX_CONNECTIONS("MaxConnections", "", "Max Connections"),
    TOTAL_SESSION_TIME_HOURS("TotalSessionTimeHours", "hours", "Total Session Time"),
    OLDEST_SESSION_TIME_HOURS("OldestSessionTimeHours", "hours", "Oldest Session Duration");

    private String key;<commit_msg>Added storage and access patterns metrics<commit_after>package blackboard.monitor.newrelic.postgresql;

import java.util.HashMap;
import java.util.Map;

/**
 * PostgreSQL data enum
 * Created by ntatsumi on 5/6/14.
 */
public enum PostgresqlData {
    TOTAL_CONNECTIONS("TotalConnections", "", "Total Connections"),
    MAX_CONNECTIONS("MaxConnections", "", "Max Connections"),
    TOTAL_SESSION_TIME_HOURS("TotalSessionTimeHours", "hours", "Total Session Time"),
    OLDEST_SESSION_TIME_HOURS("OldestSessionTimeHours", "hours", "Oldest Session Duration"),
    DATABASE_SIZE("DatabaseSize", "MB", "Database Size"),
    TOTAL_LIVE_SIZE("TotalLiveSize", "MB", "Total Live Size"),
    TOTAL_DEAD_SIZE("TotalDeadSize", "MB", "Total Dead Size"),
    TOTAL_TABLE_SCANS("TotalTableScans", "MB", "Total Table Scans"),
    TOTAL_INDEX_SCANS("TotalIndexScans", "MB", "Total Index Scans"),
    TOTAL_INSERTS("TotalInserts", "MB", "Total Inserts"),
    TOTAL_UPDATES("TotalUpdates", "MB", "Total Updates"),
    TOTAL_DELETES("TotalDeletes", "MB", "Total Deletes");

    private String key;
{'fraction_non_alphanumeric': 0.13865030674846626, 'fraction_numerical': 0.0049079754601227, 'mean_word_length': 5.97008547008547, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4507595', 'n_tokens_mistral': 554, 'n_tokens_neox': 516, 'n_words': 112}