hadoop

package
v1.6.16-beta-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HadoopHandler

func HadoopHandler(w http.ResponseWriter, r *http.Request)

func SetLogger

func SetLogger(g_logger log.Logger)

Types

type CodeMap

type CodeMap struct {
	Code  string `json:"name"`
	Value int    `json:"value"`
}

type ExporterConfig

type ExporterConfig struct {
	ListenAddress string         `json:"listen"`
	Codes         []CodeMap      `json:"codeMaps"`
	Metrics       []MetricType   `json:"metrics"`
	TargetServers []TargetServer `json:"servers"`
}

type MetricType

type MetricType struct {
	Name string `json:"name"`
}

type TargetServer

type TargetServer struct {
	Name   string `json:"name"`
	Url    string `json:"url"`
	Module string `json:"module"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL