Documentation
¶
Overview ¶
Package converter handles conversion of health data to different formats
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSVConverter ¶
type CSVConverter interface {
Convert(data *collector.HealthData, outputDir, timestamp string) (*CSVFiles, error)
}
CSVConverter defines the interface for converting health data to CSV format
func NewCSVConverter ¶
func NewCSVConverter() CSVConverter
NewCSVConverter creates a new CSV converter
type CSVFiles ¶
type CSVFiles struct {
MetricsFile string
EventsFile string
ComponentsFile string
MachineInfoFile string
}
CSVFiles represents the collection of CSV files that can be generated
type OTLPConverter ¶
type OTLPConverter interface {
Convert(data *collector.HealthData) *OTLPData
}
OTLPConverter defines the interface for converting health data to OTLP format
func NewOTLPConverter ¶
func NewOTLPConverter() OTLPConverter
NewOTLPConverter creates a new OTLP converter
Click to show internal directories.
Click to hide internal directories.