【问题标题】:Unable to see most metrics in Cassandra 3.3在 Cassandra 3.3 中无法查看大多数指标
【发布时间】:2016-03-11 22:06:56
【问题描述】:

我使用 Cassandra 2.2 设置了 metrics+graphite+grafana 监控。升级到 Cassandra 3.3 后,我再也看不到 JVM 指标,也看不到 org.apache.cassandra.ColumnFamily.* 中的任何内容。我的 metrics.yaml 文件如下:

graphite:
- period: 30
  timeunit: 'SECONDS'
  prefix: 'cassandra-%%hostid%%'
  hosts:
  - host: '%%graphite_host%%'
    port: %%graphite_port%%
  predicate:
    color: "white"
    useQualifiedName: true
    patterns:
    - ".*"

【问题讨论】:

  • 你把你的graphite-metrics jar放在哪里了,请问你用的是什么版本?我的 jar 位于 lib 目录中,我的石墨 yaml 位于 conf 目录中。我很难设置它。得到这个错误 java.lang.ClassNotFoundException: com.codahale.metrics.graphite.GraphiteSender.

标签: cassandra metrics codahale-metrics


【解决方案1】:

为了与 CQL 命名法保持一致,它们被移至 org.apache.cassandra.Tables.*

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-06-06
    • 2013-01-22
    • 1970-01-01
    • 1970-01-01
    • 2021-07-25
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多