Documentation ¶ Index ¶ Constants type Provider func NewProvider(address string, logger *zap.Logger) (*Provider, error) func (p *Provider) RunQuery(ctx context.Context, query string, expected config.AnalysisExpected) (bool, error) func (p *Provider) Type() string Constants ¶ View Source const ( ProviderType = "Prometheus" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Provider ¶ type Provider struct { // contains filtered or unexported fields } Provider is a client for prometheus. func NewProvider ¶ func NewProvider(address string, logger *zap.Logger) (*Provider, error) func (*Provider) RunQuery ¶ func (p *Provider) RunQuery(ctx context.Context, query string, expected config.AnalysisExpected) (bool, error) func (*Provider) Type ¶ func (p *Provider) Type() string Source Files ¶ View all Source files fake_api.go prometheus.go Click to show internal directories. Click to hide internal directories.