signalfx

package module
v1.6.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2020 License: Apache-2.0 Imports: 23 Imported by: 2

README

Go client library for SignalFx

GoDoc

This is a programmatic interface in Go for SignalFx's metadata and ingest APIs.

SignalFlow

There is an experimental SignalFlow client in the signalflow directory. An example of its use is in [signalflow/example]. For full documentation see the godocs.

Example

import "github.com/signalfx/signalfx-go"

// The client can be customized by backing options onto the end. Check the
// godoc for more info!

// Instantiate your own client if you want to customize its options
// or test with a RoundTripper
httpClient := &http.Client{…}
client := signalfx.NewClient("your-token-here", HTTPClient(httpClient))

// Then do things!
chart, err := client.GetChart("abc123IdHere")

Questions

Why are there some things missing?

We're working on it, feel free to file an issue if an endpoint is missing!

Why are the class names sometimes long and the source file names prefixed with model_?

The request and response bodies for this library are machine generated from our OpenAPI specs using OpenAPI code generator. This is a real boon for everyone, keeping the documentation as a source of truth and ensuring that this library has support for all the things!

This means that some of our type names are verbose. It's fine, you only type code once and the benefits are worth it.

Documentation

Index

Constants

View Source
const AlertMutingRuleAPIURL = "/v2/alertmuting"

AlertMutingRuleAPIURL is the base URL for interacting with alert muting rules.

View Source
const AuthHeaderKey = "X-Sf-Token"

AuthHeaderKey is the HTTP header used to pass along the auth token Note that while HTTP headers are case insensitive this header is case sensitive on the tests for convenience.

View Source
const ChartAPIURL = "/v2/chart"

ChartAPIURL is the base URL for interacting with charts.

View Source
const DashboardAPIURL = "/v2/dashboard"

DashboardAPIURL is the base URL for interacting with dashboard.

View Source
const DashboardGroupAPIURL = "/v2/dashboardgroup"

DashboardGroupAPIURL is the base URL for interacting with dashboard.

View Source
const DataLinkAPIURL = "/v2/crosslink"

DataLinkAPIURL is the base URL for interacting with data link.

View Source
const DefaultAPIURL = "https://api.signalfx.com"

DefaultAPIURL is the default URL for making API requests

View Source
const DetectorAPIURL = "/v2/detector"

DetectorAPIURL is the base URL for interacting with detectors.

View Source
const DimensionAPIURL = "/v2/dimension"

DimensionAPIURL is the base URL for interacting with dimensions.

View Source
const IntegrationAPIURL = "/v2/integration"

IntegrationAPIURL is the base URL for interacting with intergrations.

View Source
const MetricAPIURL = "/v2/metric"

MetricAPIURL is the base URL for interacting with dimensions.

View Source
const MetricTimeSeriesAPIURL = "/v2/metrictimeseries"

MetricTimeSeriesAPIURL is the base URL for interacting with dimensions.

View Source
const OrganizationAPIURL = "/v2/organization"

OrganizationAPIURL is the base URL for interacting with detectors.

View Source
const OrganizationMemberAPIURL = "/v2/organization/member"
View Source
const OrganizationMembersAPIURL = "/v2/organization/members"
View Source
const SessionTokenAPIURL = "/v2/session"

SessionTokenAPIURL is the base URL for interacting with org tokens.

View Source
const TagAPIURL = "/v2/tag"

TagAPIURL is the base URL for interacting with dimensions.

View Source
const TeamAPIURL = "/v2/team"

TeamAPIURL is the base URL for interacting with teams.

View Source
const TokenAPIURL = "/v2/token"

TokenAPIURL is the base URL for interacting with org tokens.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is a SignalFx API client.

func NewClient

func NewClient(token string, options ...ClientParam) (*Client, error)

NewClient creates a new SignalFx client using the specified token.

func (*Client) CreateAWSCloudWatchIntegration added in v1.3.0

func (c *Client) CreateAWSCloudWatchIntegration(acwi *integration.AwsCloudWatchIntegration) (*integration.AwsCloudWatchIntegration, error)

CreateAWSCloudWatchIntegration creates an AWS CloudWatch integration.

func (*Client) CreateAlertMutingRule added in v1.6.8

func (c *Client) CreateAlertMutingRule(muteRequest *alertmuting.CreateUpdateAlertMutingRuleRequest) (*alertmuting.AlertMutingRule, error)

CreateAlertMutingRule creates an alert muting rule.

func (*Client) CreateAzureIntegration added in v1.4.0

func (c *Client) CreateAzureIntegration(acwi *integration.AzureIntegration) (*integration.AzureIntegration, error)

CreateAzureIntegration creates an Azure integration.

func (*Client) CreateChart

func (c *Client) CreateChart(chartRequest *chart.CreateUpdateChartRequest) (*chart.Chart, error)

CreateChart creates a chart.

func (*Client) CreateDashboard

func (c *Client) CreateDashboard(dashboardRequest *dashboard.CreateUpdateDashboardRequest) (*dashboard.Dashboard, error)

CreateDashboard creates a dashboard.

func (*Client) CreateDashboardGroup

func (c *Client) CreateDashboardGroup(dashboardGroupRequest *dashboard_group.CreateUpdateDashboardGroupRequest, skipImplicitDashboard bool) (*dashboard_group.DashboardGroup, error)

CreateDashboardGroup creates a dashboard.

func (c *Client) CreateDataLink(dataLinkRequest *datalink.CreateUpdateDataLinkRequest) (*datalink.DataLink, error)

CreateDataLink creates a data link.

func (*Client) CreateDetector

func (c *Client) CreateDetector(detectorRequest *detector.CreateUpdateDetectorRequest) (*detector.Detector, error)

CreateDetector creates a detector.

func (*Client) CreateGCPIntegration added in v1.6.0

func (c *Client) CreateGCPIntegration(gcpi *integration.GCPIntegration) (*integration.GCPIntegration, error)

CreateGCPIntegration creates a GCP integration.

func (*Client) CreateJiraIntegration added in v1.6.5

func (c *Client) CreateJiraIntegration(ji *integration.JiraIntegration) (*integration.JiraIntegration, error)

CreateJiraIntegration creates an Jira integration.

func (*Client) CreateOpsgenieIntegration added in v1.6.0

func (c *Client) CreateOpsgenieIntegration(oi *integration.OpsgenieIntegration) (*integration.OpsgenieIntegration, error)

CreateOpsgenieIntegration creates an Opsgenie integration.

func (*Client) CreateOrgToken added in v1.5.0

func (c *Client) CreateOrgToken(tokenRequest *orgtoken.CreateUpdateTokenRequest) (*orgtoken.Token, error)

CreateOrgToken creates a org token.

func (*Client) CreatePagerDutyIntegration added in v1.6.0

func (c *Client) CreatePagerDutyIntegration(pdi *integration.PagerDutyIntegration) (*integration.PagerDutyIntegration, error)

CreatePagerDutyIntegration creates a PagerDuty integration.

func (*Client) CreateSessionToken added in v1.6.11

func (c *Client) CreateSessionToken(tokenRequest *sessiontoken.CreateTokenRequest) (*sessiontoken.Token, error)

CreateOrgToken creates a org token.

func (*Client) CreateSlackIntegration added in v1.6.0

func (c *Client) CreateSlackIntegration(si *integration.SlackIntegration) (*integration.SlackIntegration, error)

CreateSlackIntegration creates a Slack integration.

func (*Client) CreateTeam

func (c *Client) CreateTeam(t *team.CreateUpdateTeamRequest) (*team.Team, error)

CreateTeam creates a team.

func (*Client) CreateUpdateTag

func (c *Client) CreateUpdateTag(name string, cutr *metrics_metadata.CreateUpdateTagRequest) (*metrics_metadata.Tag, error)

CreateUpdateTag creates or updates a dimension.

func (*Client) CreateVictorOpsIntegration added in v1.6.2

func (c *Client) CreateVictorOpsIntegration(oi *integration.VictorOpsIntegration) (*integration.VictorOpsIntegration, error)

CreateVictorOpsIntegration creates an VictorOps integration.

func (*Client) CreateWebhookIntegration added in v1.6.19

func (c *Client) CreateWebhookIntegration(oi *integration.WebhookIntegration) (*integration.WebhookIntegration, error)

CreateWebhookIntegration creates an Webhook integration.

func (*Client) DeleteAWSCloudWatchIntegration added in v1.3.0

func (c *Client) DeleteAWSCloudWatchIntegration(id string) error

DeleteAWSCloudWatchIntegration deletes an AWS CloudWatch integration.

func (*Client) DeleteAlertMutingRule added in v1.6.8

func (c *Client) DeleteAlertMutingRule(name string) error

DeleteAlertMutingRule deletes an alert muting rule.

func (*Client) DeleteAzureIntegration added in v1.4.0

func (c *Client) DeleteAzureIntegration(id string) error

DeleteAzureIntegration deletes an Azure integration.

func (*Client) DeleteChart

func (c *Client) DeleteChart(id string) error

DeleteChart deletes a chart.

func (*Client) DeleteDashboard

func (c *Client) DeleteDashboard(id string) error

DeleteDashboard deletes a dashboard.

func (*Client) DeleteDashboardGroup

func (c *Client) DeleteDashboardGroup(id string) error

DeleteDashboardGroup deletes a dashboard.

func (c *Client) DeleteDataLink(id string) error

DeleteDataLink deletes a data link.

func (*Client) DeleteDetector

func (c *Client) DeleteDetector(id string) error

DeleteDetector deletes a detector.

func (*Client) DeleteGCPIntegration added in v1.6.0

func (c *Client) DeleteGCPIntegration(id string) error

DeleteGCPIntegration deletes a GCP integration.

func (*Client) DeleteIntegration

func (c *Client) DeleteIntegration(id string) error

DeleteIntegration deletes an integration.

func (*Client) DeleteJiraIntegration added in v1.6.5

func (c *Client) DeleteJiraIntegration(id string) error

DeleteJiraIntegration deletes an Jira integration.

func (*Client) DeleteMember

func (c *Client) DeleteMember(id string) error

DeleteMember deletes a detector.

func (*Client) DeleteOpsgenieIntegration added in v1.6.0

func (c *Client) DeleteOpsgenieIntegration(id string) error

DeleteOpsgenieIntegration deletes an Opsgenie integration.

func (*Client) DeleteOrgToken added in v1.5.0

func (c *Client) DeleteOrgToken(name string) error

DeleteOrgToken deletes a token.

func (*Client) DeletePagerDutyIntegration added in v1.6.0

func (c *Client) DeletePagerDutyIntegration(id string) error

DeletePagerDutyIntegration deletes a PagerDuty integration.

func (*Client) DeleteSessionToken added in v1.6.11

func (c *Client) DeleteSessionToken(token string) error

DeleteOrgToken deletes a token.

func (*Client) DeleteSlackIntegration added in v1.6.0

func (c *Client) DeleteSlackIntegration(id string) error

DeleteSlackIntegration deletes a Slack integration.

func (*Client) DeleteTag

func (c *Client) DeleteTag(id string) error

DeleteTag deletes a tag.

func (*Client) DeleteTeam

func (c *Client) DeleteTeam(id string) error

DeleteTeam deletes a team.

func (*Client) DeleteVictorOpsIntegration added in v1.6.2

func (c *Client) DeleteVictorOpsIntegration(id string) error

DeleteVictorOpsIntegration deletes an VictorOps integration.

func (*Client) DeleteWebhookIntegration added in v1.6.19

func (c *Client) DeleteWebhookIntegration(id string) error

DeleteWebhookIntegration deletes an Webhook integration.

func (*Client) DisableDetector

func (c *Client) DisableDetector(id string, labels []string) error

DisableDetector disables a detector.

func (*Client) EnableDetector

func (c *Client) EnableDetector(id string, labels []string) error

EnableDetector enables a detector.

func (*Client) GetAWSCloudWatchIntegration added in v1.3.0

func (c *Client) GetAWSCloudWatchIntegration(id string) (*integration.AwsCloudWatchIntegration, error)

GetAWSCloudWatchIntegration retrieves an AWS CloudWatch integration.

func (*Client) GetAlertMutingRule added in v1.6.8

func (c *Client) GetAlertMutingRule(id string) (*alertmuting.AlertMutingRule, error)

GetAlertMutingRule gets an alert muting rule.

func (*Client) GetAzureIntegration added in v1.4.0

func (c *Client) GetAzureIntegration(id string) (*integration.AzureIntegration, error)

GetAzureIntegration retrieves an Azure integration.

func (*Client) GetChart

func (c *Client) GetChart(id string) (*chart.Chart, error)

GetChart gets a chart.

func (*Client) GetDashboard

func (c *Client) GetDashboard(id string) (*dashboard.Dashboard, error)

GetDashboard gets a dashboard.

func (*Client) GetDashboardGroup

func (c *Client) GetDashboardGroup(id string) (*dashboard_group.DashboardGroup, error)

GetDashboardGroup gets a dashboard group.

func (c *Client) GetDataLink(id string) (*datalink.DataLink, error)

GetDataLink gets a data link.

func (*Client) GetDetector

func (c *Client) GetDetector(id string) (*detector.Detector, error)

GetDetector gets a detector.

func (*Client) GetDetectorEvents added in v1.6.17

func (c *Client) GetDetectorEvents(id string, from int, to int, offset int, limit int) ([]*detector.Event, error)

GetDetectorEvents gets a detector's events.

func (*Client) GetDetectorIncidents added in v1.6.17

func (c *Client) GetDetectorIncidents(id string, offset int, limit int) ([]*detector.Incident, error)

GetDetectorIncidents gets a detector's incidents.

func (*Client) GetDimension

func (c *Client) GetDimension(key string, value string) (*metrics_metadata.Dimension, error)

GetDimension gets a dimension.

func (*Client) GetGCPIntegration added in v1.6.0

func (c *Client) GetGCPIntegration(id string) (*integration.GCPIntegration, error)

GetGCPIntegration retrieves a GCP integration.

func (*Client) GetIntegration

func (c *Client) GetIntegration(id string) (map[string]interface{}, error)

GetIntegration gets a integration.

func (*Client) GetJiraIntegration added in v1.6.5

func (c *Client) GetJiraIntegration(id string) (*integration.JiraIntegration, error)

GetJiraIntegration retrieves an Jira integration.

func (*Client) GetMember

func (c *Client) GetMember(id string) (*organization.Member, error)

GetMember gets a member.

func (*Client) GetMetric

func (c *Client) GetMetric(name string) (*metrics_metadata.Metric, error)

GetMetric retrieves a single metric by name.

func (*Client) GetMetricTimeSeries

func (c *Client) GetMetricTimeSeries(id string) (*metrics_metadata.MetricTimeSeries, error)

GetMetricTimeSeries retrieves a metric time series by id.

func (*Client) GetOpsgenieIntegration added in v1.6.0

func (c *Client) GetOpsgenieIntegration(id string) (*integration.OpsgenieIntegration, error)

GetOpsgenieIntegration retrieves an Opsgenie integration.

func (*Client) GetOrgToken added in v1.5.0

func (c *Client) GetOrgToken(id string) (*orgtoken.Token, error)

GetToken gets a token.

func (*Client) GetOrganization

func (c *Client) GetOrganization(id string) (*organization.Organization, error)

GetOrganization gets an organization.

func (*Client) GetOrganizationMembers

func (c *Client) GetOrganizationMembers(limit int, query string, offset int, orderBy string) (*organization.MemberSearchResults, error)

GetOrganizationMembers gets members for an org, with an optional search.

func (*Client) GetPagerDutyIntegration added in v1.6.0

func (c *Client) GetPagerDutyIntegration(id string) (*integration.PagerDutyIntegration, error)

GetPagerDutyIntegration retrieves a PagerDuty integration.

func (*Client) GetSlackIntegration added in v1.6.0

func (c *Client) GetSlackIntegration(id string) (*integration.SlackIntegration, error)

GetSlackIntegration retrieves a Slack integration.

func (*Client) GetTag

func (c *Client) GetTag(name string) (*metrics_metadata.Tag, error)

GetTag gets a tag by name

func (*Client) GetTeam

func (c *Client) GetTeam(id string) (*team.Team, error)

GetTeam gets a team.

func (*Client) GetVictorOpsIntegration added in v1.6.2

func (c *Client) GetVictorOpsIntegration(id string) (*integration.VictorOpsIntegration, error)

GetVictorOpsIntegration retrieves an VictorOps integration.

func (*Client) GetWebhookIntegration added in v1.6.19

func (c *Client) GetWebhookIntegration(id string) (*integration.WebhookIntegration, error)

GetWebhookIntegration retrieves an Webhook integration.

func (*Client) InviteMember

func (c *Client) InviteMember(inviteRequest *organization.CreateUpdateMemberRequest) (*organization.Member, error)

InviteMember invites a member to the organization.

func (*Client) InviteMembers

func (c *Client) InviteMembers(inviteRequest *organization.InviteMembersRequest) (*organization.InviteMembersRequest, error)

InviteMembers invites many members to the organization.

func (*Client) SearchAlertMutingRules added in v1.6.8

func (c *Client) SearchAlertMutingRules(include string, limit int, name string, offset int) (*alertmuting.SearchResult, error)

SearchAlertMutingRules searches for alert muting rules given a query string in `name`.

func (*Client) SearchCharts

func (c *Client) SearchCharts(limit int, name string, offset int, tags string) (*chart.SearchResult, error)

SearchCharts searches for charts, given a query string in `name`.

func (*Client) SearchDashboard

func (c *Client) SearchDashboard(limit int, name string, offset int, tags string) (*dashboard.SearchResult, error)

SearchDashboard searches for dashboards, given a query string in `name`.

func (*Client) SearchDashboardGroups

func (c *Client) SearchDashboardGroups(limit int, name string, offset int) (*dashboard_group.SearchResult, error)

SearchDashboardGroup searches for dashboard groups, given a query string in `name`.

func (c *Client) SearchDataLinks(limit int, context string, offset int) (*datalink.SearchResults, error)

SearchDataLinks searches for data links given a query string in `name`.

func (*Client) SearchDetectors

func (c *Client) SearchDetectors(limit int, name string, offset int, tags string) (*detector.SearchResults, error)

SearchDetector searches for detectors, given a query string in `name`.

func (*Client) SearchDimension

func (c *Client) SearchDimension(query string, orderBy string, limit int, offset int) (*metrics_metadata.DimensionQueryResponseModel, error)

SearchDimension searches for dimensions, given a query string in `query`.

func (*Client) SearchMetric

func (c *Client) SearchMetric(query string, orderBy string, limit int, offset int) (*metrics_metadata.RetrieveMetricMetadataResponseModel, error)

SearchMetric searches for metrics, given a query string in `query`.

func (*Client) SearchMetricTimeSeries

func (c *Client) SearchMetricTimeSeries(query string, orderBy string, limit int, offset int) (*metrics_metadata.MetricTimeSeriesRetrieveResponseModel, error)

SearchMetricTimeSeries searches for metric time series, given a query string in `query`.

func (*Client) SearchOrgTokens added in v1.5.0

func (c *Client) SearchOrgTokens(limit int, name string, offset int) (*orgtoken.SearchResults, error)

SearchToken searches for tokens given a query string in `name`.

func (*Client) SearchTag

func (c *Client) SearchTag(query string, orderBy string, limit int, offset int) (*metrics_metadata.TagRetrieveResponseModel, error)

SearchTag searches for tags, given a query string in `query`.

func (*Client) SearchTeam

func (c *Client) SearchTeam(limit int, name string, offset int, tags string) (*team.SearchResults, error)

SearchTeam searches for teams, given a query string in `name`.

func (*Client) SignalFlow

func (c *Client) SignalFlow(options ...signalflow.ClientParam) (*signalflow.Client, error)

SignalFlow creates and returns a SignalFlow client that can be used to execute streaming jobs.

func (*Client) UpdateAWSCloudWatchIntegration added in v1.3.0

func (c *Client) UpdateAWSCloudWatchIntegration(id string, acwi *integration.AwsCloudWatchIntegration) (*integration.AwsCloudWatchIntegration, error)

UpdateAWSCloudWatchIntegration updates an AWS CloudWatch integration.

func (*Client) UpdateAlertMutingRule added in v1.6.8

func (c *Client) UpdateAlertMutingRule(id string, muteRequest *alertmuting.CreateUpdateAlertMutingRuleRequest) (*alertmuting.AlertMutingRule, error)

UpdateAlertMutingRule updates an alert muting rule.

func (*Client) UpdateAzureIntegration added in v1.4.0

func (c *Client) UpdateAzureIntegration(id string, acwi *integration.AzureIntegration) (*integration.AzureIntegration, error)

UpdateAzureIntegration updates an Azure integration.

func (*Client) UpdateChart

func (c *Client) UpdateChart(id string, chartRequest *chart.CreateUpdateChartRequest) (*chart.Chart, error)

UpdateChart updates a chart.

func (*Client) UpdateDashboard

func (c *Client) UpdateDashboard(id string, dashboardRequest *dashboard.CreateUpdateDashboardRequest) (*dashboard.Dashboard, error)

UpdateDashboard updates a dashboard.

func (*Client) UpdateDashboardGroup

func (c *Client) UpdateDashboardGroup(id string, dashboardGroupRequest *dashboard_group.CreateUpdateDashboardGroupRequest) (*dashboard_group.DashboardGroup, error)

UpdateDashboardGroup updates a dashboard group.

func (c *Client) UpdateDataLink(id string, dataLinkRequest *datalink.CreateUpdateDataLinkRequest) (*datalink.DataLink, error)

UpdateDataLink updates a data link.

func (*Client) UpdateDetector

func (c *Client) UpdateDetector(id string, detectorRequest *detector.CreateUpdateDetectorRequest) (*detector.Detector, error)

UpdateDetector updates a detector.

func (*Client) UpdateDimension

func (c *Client) UpdateDimension(key string, value string, dim *metrics_metadata.Dimension) (*metrics_metadata.Dimension, error)

UpdateDimension updates a dimension.

func (*Client) UpdateGCPIntegration added in v1.6.0

func (c *Client) UpdateGCPIntegration(id string, gcpi *integration.GCPIntegration) (*integration.GCPIntegration, error)

UpdateGCPIntegration updates a GCP integration.

func (*Client) UpdateJiraIntegration added in v1.6.5

func (c *Client) UpdateJiraIntegration(id string, ji *integration.JiraIntegration) (*integration.JiraIntegration, error)

UpdateJiraIntegration updates an Jira integration.

func (*Client) UpdateOpsgenieIntegration added in v1.6.0

func (c *Client) UpdateOpsgenieIntegration(id string, oi *integration.OpsgenieIntegration) (*integration.OpsgenieIntegration, error)

UpdateOpsgenieIntegration updates an Opsgenie integration.

func (*Client) UpdateOrgToken added in v1.5.0

func (c *Client) UpdateOrgToken(id string, tokenRequest *orgtoken.CreateUpdateTokenRequest) (*orgtoken.Token, error)

UpdateToken updates a token.

func (*Client) UpdatePagerDutyIntegration added in v1.6.0

func (c *Client) UpdatePagerDutyIntegration(id string, pdi *integration.PagerDutyIntegration) (*integration.PagerDutyIntegration, error)

UpdatePagerDutyIntegration updates a PagerDuty integration.

func (*Client) UpdateSlackIntegration added in v1.6.0

func (c *Client) UpdateSlackIntegration(id string, si *integration.SlackIntegration) (*integration.SlackIntegration, error)

UpdateSlackIntegration updates a Slack integration.

func (*Client) UpdateTeam

func (c *Client) UpdateTeam(id string, t *team.CreateUpdateTeamRequest) (*team.Team, error)

UpdateTeam updates a team.

func (*Client) UpdateVictorOpsIntegration added in v1.6.2

func (c *Client) UpdateVictorOpsIntegration(id string, oi *integration.VictorOpsIntegration) (*integration.VictorOpsIntegration, error)

UpdateVictorOpsIntegration updates an VictorOps integration.

func (*Client) UpdateWebhookIntegration added in v1.6.19

func (c *Client) UpdateWebhookIntegration(id string, oi *integration.WebhookIntegration) (*integration.WebhookIntegration, error)

UpdateWebhookIntegration updates an Webhook integration.

type ClientParam

type ClientParam func(*Client) error

ClientParam is an option for NewClient. Its implementation borrows from Dave Cheney's functional options API (https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis).

func APIUrl

func APIUrl(apiURL string) ClientParam

APIUrl sets the URL that our client will communicate with, allowing it to be adjusted to another URL for testing or communication with other SignalFx clusters. Example `"https://api.signalfx.com"`.

func HTTPClient

func HTTPClient(httpClient *http.Client) ClientParam

HTTPClient sets the `http.Client` that this API client will use to to communicate. This allows you to replace the client or tune it to your needs.

Directories

Path Synopsis
package realm contains helpers for constructing realm-specific urls and config.
package realm contains helpers for constructing realm-specific urls and config.
Package signalflow contains a SignalFx SignalFlow client, which can be used to execute analytics jobs against the SignalFx backend.
Package signalflow contains a SignalFx SignalFlow client, which can be used to execute analytics jobs against the SignalFx backend.
example
package main shows a basic usage pattern of the SiganlFlow client.
package main shows a basic usage pattern of the SiganlFlow client.
Package writer contains a set of components that accept a single type of SignalFx data (e.g.
Package writer contains a set of components that accept a single type of SignalFx data (e.g.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL