4paradigm / 4paradigm/OpenMLDB
feat: add test and coverage test for openmldb-exporter
- Lenguaje dominante
- C++
- Estrellas
- 1.7k
- Forks
- 331
- Merge medio
- 12 d 12 h
- PR fusionados (30 d)
- 1
Descripción
**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.
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- go, prometheus
- Área
- observability, testing
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100