diff --git a/_posts/2022-07-15-test-markdown.md b/_posts/2022-07-15-test-markdown.md index 3b5774610a02..0fb5e02f961f 100644 --- a/_posts/2022-07-15-test-markdown.md +++ b/_posts/2022-07-15-test-markdown.md @@ -2,7 +2,7 @@ layout: post title: 关于Metrics, tracing, and logging 的不同 subtitle: 从本质来看........ -tags: [Metric] +tags: [监控] --- # 关于Metrics, tracing, and logging 的不同 diff --git a/_posts/2022-07-21-test-markdown.md b/_posts/2022-07-21-test-markdown.md index 766b242a015d..6cdf11c3d9fc 100644 --- a/_posts/2022-07-21-test-markdown.md +++ b/_posts/2022-07-21-test-markdown.md @@ -2,7 +2,7 @@ layout: post title: 通过Exporter收集指标 subtitle: 自定义Exporter收集指标 -tags: [Microservices gateway] +tags: [监控] --- # 通过Exporter收集指标 diff --git a/_posts/2023-10-16-test-markdown.md b/_posts/2023-10-16-test-markdown.md index 4cc62d617d87..11907bd79983 100644 --- a/_posts/2023-10-16-test-markdown.md +++ b/_posts/2023-10-16-test-markdown.md @@ -2,7 +2,7 @@ layout: post title: Prometheus subtitle: -tags: [Prometheus] +tags: [监控] comments: true --- diff --git a/_posts/2023-10-19-test-markdown.md b/_posts/2023-10-19-test-markdown.md index 8a8f5babae27..0f8085438b29 100644 --- a/_posts/2023-10-19-test-markdown.md +++ b/_posts/2023-10-19-test-markdown.md @@ -2,7 +2,7 @@ layout: post title: OpenTelemetry和Jaeger进行分布式追踪 subtitle: -tags: [OpenTelemetry] +tags: [监控] comments: true --- diff --git a/_posts/2023-10-3-test-markdown.md b/_posts/2023-10-3-test-markdown.md index 31f4134e9998..09c858953e0a 100644 --- a/_posts/2023-10-3-test-markdown.md +++ b/_posts/2023-10-3-test-markdown.md @@ -2,7 +2,7 @@ layout: post title: Prometheus subtitle: -tags: [Prometheus] +tags: [监控] --- diff --git a/_posts/2023-11-12-test-markdown.md b/_posts/2023-11-12-test-markdown.md index 0a4ff398830f..fd7c4109a2b0 100644 --- a/_posts/2023-11-12-test-markdown.md +++ b/_posts/2023-11-12-test-markdown.md @@ -2,7 +2,7 @@ layout: post title: 使用 OpenTelemetry 构建可观测性 subtitle: -tags: [可观测性] +tags: [监控] comments: true --- diff --git a/_posts/2023-9-25-test-markdown.md b/_posts/2023-9-25-test-markdown.md index 58282361bc9a..8503ea5d9417 100644 --- a/_posts/2023-9-25-test-markdown.md +++ b/_posts/2023-9-25-test-markdown.md @@ -2,7 +2,7 @@ layout: post title: Prometheus 实践 subtitle: -tags: [Prometheus] +tags: [监控] --- # 1.基于Prometheus的业务指标弹性伸缩 diff --git a/_posts/2024-8-2-test-markdown.md b/_posts/2024-8-2-test-markdown.md new file mode 100644 index 000000000000..7aa7b5f6a538 --- /dev/null +++ b/_posts/2024-8-2-test-markdown.md @@ -0,0 +1,31 @@ +--- +layout: post +title: 使用Kvass分配任务给Prometheus 集群 +subtitle: +tags: [监控] +comments: true +--- + +## 1.监控任务分配组件(Kvass) + +功能:负责将用户配置的监控任务平均分配给多个 Prometheus 实例。 + +作用: +加载配置:从数据库中加载用户配置的监控任务。 + +任务分配:将这些监控任务分配给多个 Prometheus 实例,以实现负载均衡和高可用性。这样可以避免单个 Prometheus 实例的负载过重,提高系统的整体性能和可靠性。 + +## 2.Prometheus + +功能:根据分配的监控任务,向相应的 Prometheus Exporter 采集监控指标。 + +作用: +采集数据:Prometheus 会定期向分配给它的 Exporter 发送请求,获取监控数据。 + +存储数据:采集到的监控数据会被写入到 Prometheus 的时间序列数据库中,以便后续查询和分析。 + +## 3.Prometheus Exporter + +功能:提供一个 HTTP 接口,供 Prometheus 采集监控数据。 +作用: +数据提供:Exporter 负责从被监控的系统或服务中收集指标,并通过 HTTP 接口将这些指标暴露出来。Prometheus 会定期访问这个接口,获取最新的监控数据。 \ No newline at end of file