apache / apache/shenyu

[Question] <Inquire about matters pertaining to the Metrics plugin>

Open
#5,132 1 comment 0 reactions 0 assignees View on GitHub
type: question
Dominant language
Java
Stars
8.8k
Forks
3.1k
Avg merge
7d 1h
Merged PRs (30d)
85

Description

### Question

使用[官方文档](https://shenyu.apache.org/zh/docs/plugin-center/observability/metrics-plugin)中提供的dashboards面板json配置导入grafana后发现监控界面中除grabage collector metrics监控指标有数据之外其他指标都为空,但是Prometheus中可以查到相关的指标数据。且文档编写的有不准确的地方,例如:文档提供的Prometheus相关配置中job_name为Apache ShenYu,但是相关的Grafana界面效果截图中job名却为shenyu,数据源为大写的Prometheus。
![image](https://github.com/apache/shenyu/assets/25050623/fa81b0a4-2302-41d7-8c0a-4c2dece723ec)
![image](https://github.com/apache/shenyu/assets/25050623/8a1429c8-2441-4241-ab09-1962860338d5)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Metrics plugin documentation and the imported Grafana dashboard JSON; compare their datasource and job settings with the metric labels visible in Prometheus. Reproduce the dashboard import and investigate why only garbage-collector panels populate. Done means the documented configuration and dashboard consistently display the available metrics with aligned job and datasource names.

Written by the indexing model from the issue text.

Assessment

Tech stack
grafana, prometheus
Domain
documentation, observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.