可视化和监控解决方案
可视化和监控解决方案  /  监控 Grafana Agent
Grafana Agent logo

使用 Grafana 轻松监控 Grafana Agent

使用 Grafana Cloud 的开箱即用监控解决方案,轻松监控 Grafana Agent,这是一个与供应商无关的、包含电池的遥测收集器,其配置灵感来自 Terraform。Grafana Cloud 的永久免费层包含 3 个用户和最多 10,000 个指标系列,以满足您的监控需求。

Grafana Agent 已弃用,预计将于 2025 年 11 月 1 日达到生命周期终结 (EOL)。点击 这里 了解更多信息。

但是,Grafana Agent Flow 的现有用户会对 Grafana Alloy 感到宾至如归,这是我们的 OpenTelemetry Collector 发行版,支持 Prometheus 管道。Alloy 使用与 Grafana Agent Flow 中首次引入的相同组件、代码和概念,我们还开发了 用于监控 Alloy 实例运行状况的解决方案.

Grafana Agent Overview
Grafana Agent 概述
Grafana Agent Logs
Grafana Agent 日志
Grafana Agent Operational
Grafana Agent 操作
Grafana Agent Prometheus Remote Write
Grafana Agent Prometheus 远程写入
Grafana Agent Tracing Pipeline
Grafana Agent 追踪管道

包含的关键指标

agent_build_info
agent_tcp_connections
agent_wal_samples_appended_total
agent_wal_storage_active_series
go_gc_duration_seconds_count
go_goroutines
go_memstats_heap_inuse_bytes
process_cpu_seconds_total
process_start_time_seconds
prometheus_remote_storage_enqueue_retries_total
prometheus_remote_storage_highest_timestamp_in_seconds
prometheus_remote_storage_queue_highest_sent_timestamp_seconds
prometheus_remote_storage_samples_dropped_total
prometheus_remote_storage_samples_failed_total
prometheus_remote_storage_samples_pending
prometheus_remote_storage_samples_retried_total
prometheus_remote_storage_samples_total
prometheus_remote_storage_sent_batch_duration_seconds_bucket
prometheus_remote_storage_sent_batch_duration_seconds_count
prometheus_remote_storage_sent_batch_duration_seconds_sum
prometheus_remote_storage_shard_capacity
prometheus_remote_storage_shards
prometheus_remote_storage_shards_desired
prometheus_remote_storage_shards_max
prometheus_remote_storage_shards_min
prometheus_remote_storage_succeeded_samples_total
prometheus_sd_discovered_targets
prometheus_target_interval_length_seconds_count
prometheus_target_interval_length_seconds_sum
prometheus_target_scrapes_exceeded_sample_limit_total
prometheus_target_scrapes_sample_duplicate_timestamp_total
prometheus_target_scrapes_sample_out_of_bounds_total
prometheus_target_scrapes_sample_out_of_order_total
prometheus_target_sync_length_seconds_sum
prometheus_wal_watcher_current_segment
traces_exporter_send_failed_spans_total
traces_exporter_sent_spans_total
traces_receiver_accepted_spans_total
traces_receiver_refused_spans_total
up

包含的关键警报规则

GrafanaAgentDown (严重)
GrafanaAgentUnstable (警告)
GrafanaAgentCPUHigh (警告)
GrafanaAgentMemHigh (警告)