constructor(){

        // Statistics for all requests
        this.all = null;

        // Statistics for requests by method
        // Initialized with most frequent ones, other methods will be added on demand if actually used
        this.method = null;

        // Additional prefix for prometheus metrics. Used if this coreStats instance
        // plays special role, i.e. count stats for egress
        this.metricsRolePrefix = '';

        // Prometheus metrics
        this.promClientMetrics = {};
    }
Created by sv2 on 2/18/17.
API usage statistics data