Versions in this module Expand all Collapse all v0 v0.0.5 Mar 26, 2020 Changes in this version + const ContentType + const DefaultAPIEndpoint + const DefaultRealm + const DefaultStreamEndpoint + const DefaultTimeout + const UserAgent + func DisableHTTP2(cli *http.Client) + func NewConfiguredClient(opts ...func(*http.Client)) *http.Client + func NewConfiguredRequestFunc(token string) ... + func NewConfiguredWebsocketFunc(token string) func(ctx context.Context, streamEndpoint string) (*websocket.Conn, error) + func WithFlagSet(cond bool, method func(*http.Client)) func(*http.Client) + type SignalFx struct + func NewRateLimitedSignalFxClient(realm, accessToken string, client *http.Client, limit ratelimit.Limiter) *SignalFx + func NewSignalFxClient(realm, accessToken string, client *http.Client) *SignalFx + func (sfx *SignalFx) GetAllDetectors(ctx context.Context) ([]*types.Detector, error) + func (sfx *SignalFx) GetDetectorByID(ctx context.Context, detectorID string) (*types.Detector, error) + func (sfx *SignalFx) GetIncidentsByDetectorID(ctx context.Context, detectorID string, query map[string]interface{}) ([]*types.Incident, error) + func (sfx *SignalFx) GetMetricTimeSeries(ctx context.Context, programText string, params map[string]interface{}) ([]types.Message, []*types.MetricDataPoint, error)