Grafana 将数据从XDB传递到graphite

Grafana 将数据从XDB传递到graphite,grafana,influxdb,graphite,Grafana,Influxdb,Graphite,我需要将度量数据从XDB传递到graphite 我目前正在docker上将模拟数据设置为graphite。所以现在,我想与influxdb集成,因为graphite可以使用数据执行函数,比如动态添加和减去值,以图形形式显示它们如果您的问题是如何将influxdb与graphite集成,请转到文件。并对石墨特有的部分进行干预,如下所示。如果您在Linux机器上部署了InfluxDb,您可以在以下路径中找到该文件/etc/InfluxDb ### ### [[graphite]] ### ### C

我需要将度量数据从XDB传递到graphite


我目前正在docker上将模拟数据设置为graphite。所以现在,我想与influxdb集成,因为graphite可以使用数据执行函数,比如动态添加和减去值,以图形形式显示它们

如果您的问题是如何将influxdb与graphite集成,请转到文件。并对石墨特有的部分进行干预,如下所示。如果您在Linux机器上部署了InfluxDb,您可以在以下路径中找到该文件
/etc/InfluxDb

###
### [[graphite]]
###
### Controls one or many listeners for Graphite data.
###

[[graphite]]
  enabled = false
  # database = "graphite"
  # bind-address = ":2003"
  # protocol = "tcp"
  # consistency-level = "one"

  # These next lines control how batching works. You should have this enabled
  # otherwise you could get dropped metrics or poor performance. Batching
  # will buffer points in memory if you have many coming in.

  # batch-size = 5000 # will flush if this many points get buffered
  # batch-pending = 10 # number of batches that may be pending in memory
  # batch-timeout = "1s" # will flush at least this often even if we haven't hit buffer limit
  # udp-read-buffer = 0 # UDP Read buffer size, 0 means OS default. UDP listener will fail if set above OS max.

  ### This string joins multiple matching 'measurement' values providing more control over the final measurement name.
  # separator = "."

  ### Default tags that will be added to all metrics.  These can be overridden at the template level
  ### or by tags extracted from metric
  # tags = ["region=us-east", "zone=1c"]

  ### Each template line requires a template pattern.  It can have an optional
  ### filter before the template and separated by spaces.  It can also have optional extra
  ### tags following the template.  Multiple tags should be separated by commas and no spaces
  ### similar to the line protocol format.  There can be only one default template.
  # templates = [
  #   "*.app env.service.resource.measurement",
  #   # Default template
  #   "server.*",
  # ]

###

是的,我是。谢谢,我成功地在启用graphite的情况下运行了influxDB。但现在我不明白如何把整个事情和格拉法纳联系起来。我应该将其用作XDB数据源还是graphite数据源?@PamudithaNavaratne如果有帮助,请接受答案并投票。如何与Graphana一起使用它是一个不同的问题,因此请发布一个单独的问题。有人知道Graphana会回答你的问题。我解决了这个问题。influxgraph需要一个graphite数据库,正在收听dockerhost,而不是localhost。所以我必须把它们都放在码头上。再次感谢