Skip to content

Commit

Permalink
Merge pull request #222 from signalfx/fix_endpoints
Browse files Browse the repository at this point in the history
fix ingest endpoints for data ingestion
  • Loading branch information
jgheewala authored Sep 29, 2021
2 parents 00db2fd + bd62b17 commit beef535
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions sfxclient/httpsink.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,17 @@ const (
ClientVersion = "1.0"

// IngestEndpointV2 is the v2 version of the signalfx ingest endpoint
IngestEndpointV2 = "https://ingest.signalfx.com/v2/datapoint"
IngestEndpointV2 = "https://ingest.us0.signalfx.com/v2/datapoint"

// EventIngestEndpointV2 is the v2 version of the signalfx event endpoint
EventIngestEndpointV2 = "https://ingest.signalfx.com/v2/event"
EventIngestEndpointV2 = "https://ingest.us0.signalfx.com/v2/event"

// TraceIngestEndpointV1 is the v1 version of the signalfx trace endpoint
TraceIngestEndpointV1 = "https://ingest.signalfx.com/v1/trace"
// TraceIngestEndpointV1 is migrated to splunk o11y apm product endpoint
// @Deprecated
TraceIngestEndpointV1 = "https://ingest.us0.signalfx.com/v2/trace"

// TraceIngestSAPMEndpointV2 is the of the sapm trace endpoint
TraceIngestSAPMEndpointV2 = "https://ingest.signalfx.com/v2/trace"
TraceIngestSAPMEndpointV2 = "https://ingest.us0.signalfx.com/v2/trace"

// DefaultTimeout is the default time to fail signalfx datapoint requests if they don't succeed
DefaultTimeout = time.Second * 5
Expand Down

0 comments on commit beef535

Please sign in to comment.