Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartDataSet ¶
type HTMLReporter ¶
type HTMLReporter struct {
// contains filtered or unexported fields
}
func NewHTMLReporter ¶
func NewHTMLReporter() (*HTMLReporter, error)
func (*HTMLReporter) GenerateReport ¶
func (r *HTMLReporter) GenerateReport(data *models.ValidationResult, targetPlugin string, outputPath string) error
type PrometheusReporter ¶
type PrometheusReporter struct {
Port int
}
PrometheusReporter exports validation metrics to Prometheus.
func NewPrometheusReporter ¶
func NewPrometheusReporter(port int) *PrometheusReporter
NewPrometheusReporter creates a new PrometheusReporter.
func (*PrometheusReporter) ExportMetrics ¶
func (r *PrometheusReporter) ExportMetrics(report *services.ValidationReport) error
ExportMetrics updates Prometheus metrics based on the validation report and starts the HTTP server.
type ReportData ¶
type ReportData struct {
Timestamp string
TargetPlugin string
OverallPass bool
QPSDeviation float64
BaselineP99 float64
CurrentP99 float64
BaselineQPS float64
CurrentQPS float64
StatisticalTests []StatTestResult
ChartData ChartDataSet
}
Data structures for the template
Click to show internal directories.
Click to hide internal directories.