4paradigm / 4paradigm/OpenMLDB

feat: add test and coverage test for openmldb-exporter

Open
#1,970 1 comment 0 reactions 0 assignees View on GitHub
call-for-contributions monitoring
Dominant language
C++
Stars
1.7k
Forks
331
Avg merge
12d 12h
Merged PRs (30d)
1

Description

**Describe the feature you'd like**

[openmldb-exporter](https://github.com/4paradigm/OpenMLDB/tree/main/monitoring) is the prometheus exporter for OpenMLDB. It lacks unit tests and coverage reports

**Additional context**

Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Research direction

The openmldb-exporter is in the monitoring directory. First, examine its existing code to understand what metrics it exposes and how it interacts with OpenMLDB. Look for existing test patterns in the repository to follow. Write unit tests for the exporter's functions and integrate a coverage tool like go test -cover. Ensure tests run successfully and generate a coverage report.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, prometheus
Domain
observability, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.