4paradigm / 4paradigm/OpenMLDB

feat: add test and coverage test for openmldb-exporter

Ouverte
#1,970 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
call-for-contributions monitoring
Langage dominant
C++
Étoiles
1.7k
Forks
331
Merge moyen
12 j 12 h
PR mergées (30 j)
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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
go, prometheus
Domaine
observability, testing
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.