apache / apache/hertzbeat

[Question] Support querying via prometheus for rocketMQ

Open
#1,810 5 comments 1 reaction 0 assignees View on GitHub
question
Dominant language
Java
Stars
7.4k
Forks
1.3k
Avg merge
1d 20h
Merged PRs (30d)
32

Description

### Question

According to [the doc](https://rocketmq.apache.org/docs/observability/01metrics/), rocketMQ is supported for querying metrics using the Prometheus protocol. Currently the code seems to use the method of creating an instance to query information (https://github.com/apache/hertzbeat/pull/1046), so the metrics that could be queried seems limited and its a waste of connection resource. I think it is necessary to support querying via prometheus for rocketMQ.

btw, I'm not sure if I should create a [Task], so I just create a [Question].

Contributor guide

Open the contributing guide

Research direction

Start with the RocketMQ metrics documentation linked in the issue and the existing implementation introduced by pull request #1046. Determine the intended Prometheus-query path and its scope before identifying the relevant monitoring entry points; done means RocketMQ metrics can be queried through Prometheus rather than only through the current instance-based method.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, prometheus
Domain
backend, observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.