MarkLogic 输入插件
此插件从一个或多个 MarkLogic 主机收集运行状况状态指标。
引入于: Telegraf v1.12.0 标签: server 操作系统支持: all
全局配置选项
插件支持其他全局和插件配置设置,用于修改指标、标签和字段,创建别名以及配置插件顺序等任务。更多详情请参阅 CONFIGURATION.md。
配置
# Retrieves information on a specific host in a MarkLogic Cluster
[[inputs.marklogic]]
## Base URL of the MarkLogic HTTP Server.
url = "https://:8002"
## List of specific hostnames to retrieve information. At least (1) required.
# hosts = ["hostname1", "hostname2"]
## Using HTTP Basic Authentication. Management API requires 'manage-user' role privileges
# username = "myuser"
# password = "mypassword"
## Optional TLS Config
# tls_ca = "/etc/telegraf/ca.pem"
# tls_cert = "/etc/telegraf/cert.pem"
# tls_key = "/etc/telegraf/key.pem"
## Use TLS but skip chain & host verification
# insecure_skip_verify = falseMetrics
- marklogic
- 标签 (tags)
- source (服务器地址的主机名,例如:
ml1.local) - id (主机节点唯一 ID,例如:
2592913110757471141)
- source (服务器地址的主机名,例如:
- 字段 (fields)
- online
- total_load
- total_rate
- ncpus
- ncores
- total_cpu_stat_user
- total_cpu_stat_system
- total_cpu_stat_idle
- total_cpu_stat_iowait
- memory_process_size
- memory_process_rss
- memory_system_total
- memory_system_free
- memory_process_swap_size
- memory_size
- host_size
- log_device_space
- data_dir_space
- query_read_bytes
- query_read_load
- merge_read_bytes
- merge_write_load
- http_server_receive_bytes
- http_server_send_bytes
- 标签 (tags)
示例输出
marklogic,host=localhost,id=2592913110757471141,source=ml1.local total_cpu_stat_iowait=0.0125649003311992,memory_process_swap_size=0i,host_size=380i,data_dir_space=28216i,query_read_load=0i,ncpus=1i,log_device_space=28216i,query_read_bytes=13947332i,merge_write_load=0i,http_server_receive_bytes=225893i,online=true,ncores=4i,total_cpu_stat_user=0.150778993964195,total_cpu_stat_system=0.598927974700928,total_cpu_stat_idle=99.2210006713867,memory_system_total=3947i,memory_system_free=2669i,memory_size=4096i,total_rate=14.7697010040283,http_server_send_bytes=0i,memory_process_size=903i,memory_process_rss=486i,merge_read_load=0i,total_load=0.00502600101754069 1566373000000000000此页面是否有帮助?
感谢您的反馈!
支持和反馈
感谢您成为我们社区的一员!我们欢迎并鼓励您对 Telegraf 和本文档提出反馈和 bug 报告。要获取支持,请使用以下资源
具有年度合同或支持合同的客户可以 联系 InfluxData 支持。