将数据从 influxdb 传递到 graphite
Pass data from influxdb to graphite
我需要将指标数据从 influxdb 传递到 graphite。
我目前正在 docker 上将模拟数据设置到 Graphite 中。所以现在,我想与 influxdb 集成,因为 graphite 可以对数据执行功能,例如动态添加和减去值以在图表中显示它们
如果您的问题是如何将 InfluxDb 与 Graphite 集成,请转到 influxdb.conf 文件。并插入特定于石墨的部分,如下所示。如果你在 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.*",
# ]
###
我需要将指标数据从 influxdb 传递到 graphite。
我目前正在 docker 上将模拟数据设置到 Graphite 中。所以现在,我想与 influxdb 集成,因为 graphite 可以对数据执行功能,例如动态添加和减去值以在图表中显示它们
如果您的问题是如何将 InfluxDb 与 Graphite 集成,请转到 influxdb.conf 文件。并插入特定于石墨的部分,如下所示。如果你在 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.*",
# ]
###