我正在使用cassandra导出器来监控我的cassandra,但是有一个问题。 https://github.com/criteo/cassandra_exporter
但promehteus中的所有指标都显示如下。 没有正则表达式来获取指标的名称,因此我无法在grafana中使用我的指标。
cassandra_stats{instance="localhost:8080",job="prometheus",name="java:lang:classloading:loadedclasscount"} 8237
cassandra_stats{instance="localhost:8080",job="prometheus",name="java:lang:classloading:totalloadedclasscount"} 8362
cassandra_stats{instance="localhost:8080",job="prometheus",name="java:lang:classloading:unloadedclasscount"} 125
cassandra_stats{instance="localhost:8080",job="prometheus",name="java:lang:classloading:verbose"} 0
cassandra_stats{instance="localhost:8080",job="prometheus",name="java:lang:compilation:compilationtimemonitoringsupported"} 1
cassandra_stats{instance="localhost:8080",job="prometheus",name="java:lang:compilation:totalcompilationtime"} 105255
cassandra_stats{instance="localhost:8080",job="prometheus",name="java:lang:garbagecollector:concurrentmarksweep:collectioncount"} 5