目录
强大的性能,无限的扩展能力
收集、组织和处理海量高速数据。当您将任何数据视为时序数据时,它都更有价值。使用 InfluxDB,这是排名第一的时序平台,旨在通过 Telegraf 进行扩展。
查看入门方法
输入和输出集成概述
此插件收集并报告来自 HAProxy(一个流行的开源负载均衡器和代理服务器)的统计信息,以帮助监控和优化其性能。
Azure 数据资源管理器插件允许将指标收集与 Azure 数据资源管理器集成,使用户能够高效地分析和查询其遥测数据。借助此插件,用户可以配置摄取设置以满足其需求,并利用 Azure 强大的分析功能。
集成详情
HAProxy
Telegraf 的 HAProxy 插件使用户能够通过其统计套接字或 HTTP 统计页面直接从 HAProxy 服务器收集统计信息。HAProxy 是一种广泛使用的软件负载均衡器和代理服务器,为 TCP 和 HTTP 应用程序提供高可用性和高性能。通过与 HAProxy 集成,此插件允许用户实时监控和分析各种性能指标,例如活动服务器计数、请求率、响应代码和会话状态,从而更好地进行决策并主动管理网络资源。主要功能包括支持基于 HTTP 和套接字的指标收集、与基本身份验证的兼容性以实现安全访问,以及用于指标字段命名的可配置选项,从而允许根据用户偏好进行自定义。
Azure 数据资源管理器
Azure 数据资源管理器插件允许用户将从各种 Telegraf 输入插件收集的指标、日志和时序数据写入 Azure 数据资源管理器、Azure Synapse 和 Fabric 中的实时分析。此集成充当桥梁,使应用程序和服务能够有效地监控其性能指标或日志。Azure 数据资源管理器针对大量不同数据类型的分析进行了优化,使其成为云环境中实时分析和监控解决方案的绝佳选择。该插件使用户能够根据其需求配置指标摄取,动态定义表架构,并设置各种摄取方法,同时保留数据库操作所需的角色和权限的灵活性。这支持现代应用程序(利用云服务)的可扩展且安全的监控设置。
配置
HAProxy
[[inputs.haproxy]]
## List of stats endpoints. Metrics can be collected from both http and socket
## endpoints. Examples of valid endpoints:
## - http://myhaproxy.com:1936/haproxy?stats
## - https://myhaproxy.com:8000/stats
## - socket:/run/haproxy/admin.sock
## - /run/haproxy/*.sock
## - tcp://127.0.0.1:1936
##
## Server addresses not starting with 'http://', 'https://', 'tcp://' will be
## treated as possible sockets. When specifying local socket, glob patterns are
## supported.
servers = ["http://myhaproxy.com:1936/haproxy?stats"]
## By default, some of the fields are renamed from what haproxy calls them.
## Setting this option to true results in the plugin keeping the original
## field names.
# keep_field_names = false
## 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 = false
Azure 数据资源管理器
[[outputs.azure_data_explorer]]
## The URI property of the Azure Data Explorer resource on Azure
## ex: endpoint_url = https://myadxresource.australiasoutheast.kusto.windows.net
endpoint_url = ""
## The Azure Data Explorer database that the metrics will be ingested into.
## The plugin will NOT generate this database automatically, it's expected that this database already exists before ingestion.
## ex: "exampledatabase"
database = ""
## Timeout for Azure Data Explorer operations
# timeout = "20s"
## Type of metrics grouping used when pushing to Azure Data Explorer.
## Default is "TablePerMetric" for one table per different metric.
## For more information, please check the plugin README.
# metrics_grouping_type = "TablePerMetric"
## Name of the single table to store all the metrics (Only needed if metrics_grouping_type is "SingleTable").
# table_name = ""
## Creates tables and relevant mapping if set to true(default).
## Skips table and mapping creation if set to false, this is useful for running Telegraf with the lowest possible permissions i.e. table ingestor role.
# create_tables = true
## Ingestion method to use.
## Available options are
## - managed -- streaming ingestion with fallback to batched ingestion or the "queued" method below
## - queued -- queue up metrics data and process sequentially
# ingestion_type = "queued"
输入和输出集成示例
HAProxy
-
动态负载调整:利用 HAProxy 插件实时监控流量模式,从而自动调整负载均衡算法。通过持续收集服务器负载和请求率的指标,系统管理员可以动态分配资源,确保没有单个服务器成为瓶颈,从而提高整体应用程序性能和可用性。
-
历史性能分析:将此插件与时序数据库集成,以收集 HAProxy 随时间变化的指标,从而使您能够分析历史性能和流量趋势。这有助于预测分析和容量规划,使企业深入了解流量高峰时段,并帮助确定潜在的未来资源需求。
-
异常告警:实施告警工作流程,以便在 HAProxy 指标中检测到异常模式(例如错误率突然飙升或请求处理能力下降)时触发。通过利用此插件,运营团队可以及时收到通知,从而可以快速干预并最大限度地减少潜在停机对最终用户的影响。
Azure 数据资源管理器
-
实时监控仪表板:通过使用此插件将来自各种服务的指标集成到 Azure 数据资源管理器中,组织可以构建反映实时性能指标的综合仪表板。这使团队能够主动响应性能问题并优化系统运行状况,而不会造成延迟。
-
集中式日志管理:利用 Azure 数据资源管理器来整合来自多个应用程序和服务的日志。通过利用该插件,组织可以简化其日志分析流程,从而更轻松地搜索、筛选和从随着时间推移积累的历史数据中获取见解。
-
数据驱动的告警系统:通过根据通过此插件发送的指标配置告警来增强监控功能。组织可以设置阈值并自动化事件响应,从而显着减少停机时间并提高关键操作的可靠性。
-
机器学习模型训练:通过利用发送到 Azure 数据资源管理器的数据,组织可以执行大规模分析并准备数据以馈送到机器学习模型中。此插件支持数据结构化,随后可用于预测分析,从而提高决策能力。
反馈
感谢您成为我们社区的一份子!如果您有任何一般性反馈或在这些页面上发现了任何错误,我们欢迎并鼓励您提出意见。请在 InfluxDB 社区 Slack 中提交您的反馈。
强大的性能,无限的扩展能力
收集、组织和处理海量高速数据。当您将任何数据视为时序数据时,它都更有价值。使用 InfluxDB,这是排名第一的时序平台,旨在通过 Telegraf 进行扩展。
查看入门方法