apache / apache/hertzbeat

[Task] Feature Request: Form Configuration for Reusable Monitoring Template Parameters

Open
#1,554 1 comment 2 reactions 0 assignees View on GitHub
status: volunteer wanted
Dominant language
Java
Stars
7.4k
Forks
1.3k
Avg merge
1d 20h
Merged PRs (30d)
32

Description

### Description

**Description**:
- In HertzBeat, each monitoring template requires the user to input various parameters, some of which may be common across multiple templates. Currently, users must manually enter these parameters for each template, which can be time-consuming and error-prone.

**Proposed Feature**:
- Implement a feature that allows users to create reusable form configurations for commonly used parameters. This would enable users to save a set of parameters as a configuration and then select the appropriate configuration when creating new templates, reducing the need to re-enter the same information.

**Use Case**:
- A user who needs to set up multiple monitoring templates for different services might have to input the same set of parameters (e.g., Prometheus HTTP API parameters, database connection strings, etc.) for each template. With the proposed feature, users could save these parameters as a configuration and then simply select the configuration when creating a new template, making the process more efficient and less error-prone.

**Benefits**:
- This feature would save time for users by reducing the amount of manual input required.
- It would also help maintain consistency across templates and minimize the chance of input errors.

### Task List

_No response_

Contributor guide

Open the contributing guide

Research direction

The issue does not name files, tests, or entry points. Start by tracing how monitoring template parameters are defined, entered, stored, and applied, including the Prometheus and database examples. Done should include an agreed configuration model, its selection when creating templates, and coverage for saving and reusing configurations.

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.