datastax - CsvReporter not spitting out metrics in cassandra -
i have added following file on cassandra node
/etc/dse/cassandra/metrics-reporter-config.yaml
csv: - outdir: '/mnt/cassandra/metrics' period: 10 timeunit: 'seconds' predicate: color: "white" usequalifiedname: true patterns: - "^org.apache.cassandra.metrics.cache.+" - "^org.apache.cassandra.metrics.clientrequest.+" - "^org.apache.cassandra.metrics.commitlog.+" - "^org.apache.cassandra.metrics.compaction.+" - "^org.apache.cassandra.metrics.droppedmetrics.+" - "^org.apache.cassandra.metrics.readrepair.+" - "^org.apache.cassandra.metrics.storage.+" - "^org.apache.cassandra.metrics.threadpools.+" - "^org.apache.cassandra.metrics.columnfamily.+" - "^org.apache.cassandra.metrics.streaming.+"
and added line etc/dse/cassandra/cassandra-env.sh
jvm_opts="$jvm_opts -dcassandra.metricsreporterconfigfile=metrics-reporter-config.yam"
and restarted dse, /etc/init.d/dse restart
i dont see csv metrics files being spitted out metricsreported in /mnt/cassandra/metrics folder.
any ideas why?
check logs, check if have like:
trying load metrics-reporter-config file
followed enabling csvreporter to
possibly metrics reporter not create metrics directory or so...
Comments
Post a Comment