Documentation ¶
Index ¶
- func CreateMetrics(tableInfo [][]string, columnNames []string) []prometheus.Metric
- func ParseTableData(content string, lineSperator string, rowPattern string) [][]string
- func RequestHandler(w http.ResponseWriter, r *http.Request)
- func SetLogger(g_logger log.Logger)
- type ExporterConfig
- type ShellConfig
- type Template
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMetrics ¶
func CreateMetrics(tableInfo [][]string, columnNames []string) []prometheus.Metric
func ParseTableData ¶
func RequestHandler ¶
func RequestHandler(w http.ResponseWriter, r *http.Request)
Types ¶
type ExporterConfig ¶
type ExporterConfig struct {
Shells []ShellConfig `json:"scripts"`
}
type ShellConfig ¶
Click to show internal directories.
Click to hide internal directories.