Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ingest endpoints for data ingestion #222

Merged
merged 1 commit into from
Sep 29, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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