Hi,

I configured this reporter recently thought the Apache Cassandra v2.1.x and I 
had no troubles.
Here is some points to check :

-          The directory “/etc/dse/Cassandra” has to be in the classpath (I’m 
not a DSE user so I don’t know if it is already the case.)

-          If the CVSReporter fails to start (rights issue on the output 
directory?), you should have some logs with ERROR level into your Cassandra log 
files.

Eric

De : Vikram Kone [mailto:vikramk...@gmail.com]
Envoyé : jeudi 25 février 2016 21:41
À : user@cassandra.apache.org
Objet : CsvReporter not spitting out metrics in cassandra

Hi,
I have added the following file on my 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 then added this line to etc/dse/cassandra/cassandra-env.sh

​
JVM_OPTS="$JVM_OPTS 
-Dcassandra.metricsReporterConfigFile=metrics-reporter-config.yaml

And then finally restarted DSE, /etc/init.d/dse restart

I dont see any csv metrics files being spitted out by the MetricsReported in 
/mnt/cassandra/metrics folder.


any  ideas why?

!!!*************************************************************************************
"Ce message et les pièces jointes sont confidentiels et réservés à l'usage 
exclusif de ses destinataires. Il peut également être protégé par le secret 
professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant 
être assurée sur Internet, la responsabilité de Worldline ne pourra être 
recherchée quant au contenu de ce message. Bien que les meilleurs efforts 
soient faits pour maintenir cette transmission exempte de tout virus, 
l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne 
saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for 
the addressee; it may also be privileged. If you receive this e-mail in error, 
please notify the sender immediately and destroy it. As its integrity cannot be 
secured on the Internet, the Worldline liability cannot be triggered for the 
message content. Although the sender endeavours to maintain a computer 
virus-free network, the sender does not warrant that this transmission is 
virus-free and will not be liable for any damages resulting from any virus 
transmitted.!!!"

Reply via email to