apache / apache/hertzbeat

[Feature] Add support for `Alibaba Cloud Elasticsearch` storage

Open
#3,589 6 comments 0 reactions 0 assignees View on GitHub
new feature
Dominant language
Java
Stars
7.4k
Forks
1.3k
Avg merge
1d 20h
Merged PRs (30d)
32

Description

### Feature Request

_No response_

### Is your feature request related to a problem? Please describe

_No response_

### Describe the solution you'd like

_No response_

### Describe alternatives you've considered

Currently, in some business scenarios, the Alibaba Cloud Elasticsearch product is being used. In specific kernel versions, this product supports PromQL statements through the timestream plugin to replace domain-specific language (DSL) statements for querying stored metric data. For background information and features, please refer to: [aliyun-timestream](https://www.alibabacloud.com/help/en/es/product-overview/overview-of-aliyun-timestream?spm=a2c63.p38356.0.i4)

After understanding the current logic flow of hertzbeat, I have determined that it does not currently support this feature. I expect to implement it within the next week, with the following approximate scope:

step1、Due to some differences with `prometheus rest api`, need to extend `AlibabaCloudESQueryExecutor` to support some differentiated `rest api`.
step2、 Add new documents or explanations related to access.
step3、 Add/complete test cases.

Image

If you have any questions or concerns, please feel free to contact me at any time.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with AlibabaCloudESQueryExecutor and trace the existing Prometheus REST API query flow. Compare the required Alibaba Cloud Elasticsearch timestream differences, then add the access documentation and complete the related test cases. Done means the supported Alibaba Cloud Elasticsearch configuration can query metric data through its differentiated REST API.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, java, prometheus
Domain
backend, databases, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.