Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrometheusService ¶
type PrometheusService struct {
// contains filtered or unexported fields
}
func NewPrometheusService ¶
func NewPrometheusService(config *config.CKManPrometheusConfig) *PrometheusService
func (*PrometheusService) QueryMetric ¶
func (p *PrometheusService) QueryMetric(params *model.MetricQueryReq) (m.Value, error)
func (*PrometheusService) QueryRangeMetric ¶
func (p *PrometheusService) QueryRangeMetric(params *model.MetricQueryRangeReq) (m.Value, error)
Click to show internal directories.
Click to hide internal directories.