[ 
https://issues.apache.org/jira/browse/CASSANDRA-13353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16097797#comment-16097797
 ] 

Alain Rastoul edited comment on CASSANDRA-13353 at 7/23/17 8:52 PM:
--------------------------------------------------------------------

Hi Roland,

I checked with metrics-graphite-3.1.2.jar (the version I had) and 
metrics-graphite-3.1.4.jar (your config), both works with cassandra 3.10 and 
trunk version.
I think may be it is more related  to reporter config library than to 
metrics-graphite or cassandra.
In my configuration I have reporter-config3-3.0.3.jar and working prefixes are  
 
{noformat}
prefix: '${host.name}' 
{noformat}
or    
{noformat}
 prefix: 'xxxxx'
{noformat}

Can you check this version and/or some ReporterConfig  exception in cassandra 
logs ?



was (Author: arastoul):
Hi Roland,

I checked with metrics-graphite-3.1.2.jar (the version I had) and 
metrics-graphite-3.1.4.jar (your config), both works with cassandra 3.10 and 
trunk version.
I think may be it is more related  to reporter config library than to 
metrics-graphite or cassandra.
In my configuration I have reporter-config3-3.0.3.jar and working prefixes are  
 
{quote} prefix: '${host.name}' {quote}
or    
{quote} prefix: 'xxxxx'{quote}
Can you check this version and/or some ReporterConfig  exception in cassandra 
logs ?


> some metrics are missing when using GraphiteReporter with parameter prefix
> --------------------------------------------------------------------------
>
>                 Key: CASSANDRA-13353
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13353
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: cassandra 3.10, metrics-graphite from 
> https://repo1.maven.org/maven2/io/dropwizard/metrics/metrics-graphite/3.1.4/metrics-graphite-3.1.4.jar
>            Reporter: Roland Otta
>
> we have currently the problem that some metrics are not getting reported 
> properly to graphite when using the prefix property in the 
> metricsreporterconfigfile
> here is our actual config
> {noformat}
> graphite:
>   -
>     period: 10
>     timeunit: 'SECONDS'
>     prefix: 'demo01'
>     hosts:
>      - host: 'our_graphite_host'
>        port: 2003
>     predicate:
>       color: "white"
>       useQualifiedName: true
>       patterns:
>         - "^org.apache.cassandra.metrics.+"
> {noformat} 
> we do some queries with cql against that host, but no metrics for
> "demo01.org.apache.cassandra.metrics.ClientRequest.Latency.Read.count"
> are getting reported.
> when omitting the "prefix: 'demo01'"
> we geht the proper metrics for
> "org.apache.cassandra.metrics.ClientRequest.Latency.Read.count"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to