You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
325 B
18 lines
325 B
package prometheus
|
|
|
|
import (
|
|
"repository.basistech.ru/BASIS/decort-golang-sdk/interfaces"
|
|
)
|
|
|
|
// Structure for creating request to prometheus
|
|
type Prometheus struct {
|
|
client interfaces.Caller
|
|
}
|
|
|
|
// Builder for prometheus endpoints
|
|
func New(client interfaces.Caller) *Prometheus {
|
|
return &Prometheus{
|
|
client: client,
|
|
}
|
|
}
|