Documentation ¶
Index ¶
Constants ¶
View Source
const ( PrometheusInstanceTargetId = "com.github.steadybit.extension_prometheus.instance" PrometheusIcon = "" /* 1053-byte string literal not displayed */ )
Variables ¶
View Source
var (
Instances []Instance
)
Functions ¶
func RegisterInstanceDiscoveryHandlers ¶
func RegisterInstanceDiscoveryHandlers()
Types ¶
type Instance ¶
type Instance struct { Name string `json:"name"` BaseUrl string `json:"baseUrl"` HeaderKey string `json:"headerKey"` HeaderValue string `json:"headerValue"` }
func FindInstanceByName ¶
func (*Instance) GetApiClient ¶
func (i *Instance) GetApiClient() (prometheus.API, error)
func (*Instance) IsAuthenticated ¶
Click to show internal directories.
Click to hide internal directories.