(self)
return config
Returns the default collector settings
Returns the default collector settings
Returns the default collector settings
def get_default_config(self):
        """
        Returns the default collector settings
        """
        config = super(DseOpsCenterCollector, self).get_default_config()
        metrics = [
            'cf-bf-false-positives',
            'cf-bf-false-ratio',
            'cf-bf-space-used',
            'cf-keycache-hit-rate',
            'cf-keycache-hits',
            'cf-keycache-requests',
            'cf-live-disk-used',
            'cf-live-sstables',
            'cf-pending-tasks',
            'cf-read-latency-op',
            'cf-read-ops',
            'cf-rowcache-hit-rate',
            'cf-rowcache-hits',
            'cf-rowcache-requests',
            'cf-total-disk-used',
            'cf-write-latency-op',
            'cf-write-ops',
            'cms-collection-count',
            'cms-collection-time',
            'data-load',
            'heap-committed',
            'heap-max',
            'heap-used',
            'key-cache-hit-rate',
            'key-cache-hits',
            'key-cache-requests',
            'nonheap-committed',
            'nonheap-max',
            'nonheap-used',
            'pending-compaction-tasks',
            'pending-flush-sorter-tasks',
            'pending-flushes',
            'pending-gossip-tasks',
            'pending-hinted-handoff',
            'pending-internal-responses',
            'pending-memtable-post-flushers',
            'pending-migrations',
            'pending-misc-tasks',
            'pending-read-ops',
            'pending-read-repair-tasks',
            'pending-repair-tasks',
            'pending-repl-on-write-tasks',
            'pending-request-responses',
            'pending-streams',
            'pending-write-ops',
            'read-latency-op',
            'read-ops',
            'row-cache-hit-rate',
            'row-cache-hits',
            'row-cache-requests',
            'solr-avg-time-per-req',
            'solr-errors',
            'solr-requests',
            'solr-timeouts',
            'total-bytes-compacted',
            'total-compactions-completed',
            'write-latency-op',
            'write-ops',
        ]
        config.update({
            'host':              '127.0.0.1',
            'port':              8888,
            'path':              'cassandra',
            'node_group':        '*',
            'metrics':           ','.join(metrics),
            'default_tail_opts': '&forecast=0&node_aggregation=1',

        })
        return config
def get_default_config ( self ) : config = super ( DseOpsCenterCollector , self ) . get_default_config ( ) metrics = [ 'cf-bf-false-positives' , 'cf-bf-false-ratio' , 'cf-bf-space-used' , 'cf-keycache-hit-rate' , 'cf-keycache-hits' , 'cf-keycache-requests' , 'cf-live-disk-used' , 'cf-live-sstables' , 'cf-pending-tasks' , 'cf-read-latency-op' , 'cf-read-ops' , 'cf-rowcache-hit-rate' , 'cf-rowcache-hits' , 'cf-rowcache-requests' , 'cf-total-disk-used' , 'cf-write-latency-op' , 'cf-write-ops' , 'cms-collection-count' , 'cms-collection-time' , 'data-load' , 'heap-committed' , 'heap-max' , 'heap-used' , 'key-cache-hit-rate' , 'key-cache-hits' , 'key-cache-requests' , 'nonheap-committed' , 'nonheap-max' , 'nonheap-used' , 'pending-compaction-tasks' , 'pending-flush-sorter-tasks' , 'pending-flushes' , 'pending-gossip-tasks' , 'pending-hinted-handoff' , 'pending-internal-responses' , 'pending-memtable-post-flushers' , 'pending-migrations' , 'pending-misc-tasks' , 'pending-read-ops' , 'pending-read-repair-tasks' , 'pending-repair-tasks' , 'pending-repl-on-write-tasks' , 'pending-request-responses' , 'pending-streams' , 'pending-write-ops' , 'read-latency-op' , 'read-ops' , 'row-cache-hit-rate' , 'row-cache-hits' , 'row-cache-requests' , 'solr-avg-time-per-req' , 'solr-errors' , 'solr-requests' , 'solr-timeouts' , 'total-bytes-compacted' , 'total-compactions-completed' , 'write-latency-op' , 'write-ops' , ] config . update ( { 'host' : '127.0.0.1' , 'port' : 8888 , 'path' : 'cassandra' , 'node_group' : '*' , 'metrics' : ',' . join ( metrics ) , 'default_tail_opts' : '&forecast=0&node_aggregation=1' , } ) return config