4paradigm / 4paradigm/OpenMLDB

feat: add test and coverage test for openmldb-exporter

Offen
#1,970 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
call-for-contributions monitoring
Vorherrschende Sprache
C++
Sterne
1.7k
Forks
331
Ø Merge
12 T. 12 Std.
Gemergte PRs (30 T.)
1

Beschreibung

**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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
go, prometheus
Bereich
observability, testing
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.