-
Notifications
You must be signed in to change notification settings - Fork 357
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
EU endpoint changes requested from team #6266
Closed
Closed
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ Regional Data Ingestion enables you to send data to Segment from both Device-mod | |
{% include content/eu-cloud-event-sources.html %} | ||
|
||
### Client-side sources | ||
You can configure Segment's client-side SDKs for JavaScript, iOS, Android, and React Native sources to send data to a regional host after you've updated the Data Ingestion Region in that source's settings. Segment's EU instance only supports data ingestion from Dublin, Ireland with the `events.eu1.segmentapis.com/` endpoint. If you are using the Segment EU endpoint with an Analytics-C# source, you must manually append `v1` to the URL. For instance, `events.eu1.segmentapis.com/v1`. | ||
You can configure Segment's client-side SDKs for JavaScript, iOS, Android, and React Native sources to send data to a regional host after you've updated the Data Ingestion Region in that source's settings. Segment's EU instance only supports data ingestion from Dublin, Ireland with the `in.eu2.segmentapis.com` endpoint. If you are using the Segment EU endpoint with an Analytics-C# source, you must manually append `v1` to the URL. For instance, `in.eu2.segmentapis.com`. | ||
|
||
> info "" | ||
> For workspaces that use the EU West Data Processing region, the Dublin Ingestion region is preselected for all sources. | ||
|
@@ -42,7 +42,7 @@ To set your Data Ingestion Region: | |
3. Click **Regional Settings**. | ||
4. Choose your **Data Ingestion Region**. | ||
- If you're in the *US West* data processing region, you can select from: Dublin, Singapore, Oregon, and Sydney. | ||
- If you're in the *EU West* data processing region, Segment's EU instance only supports data ingestion from Dublin with the `events.eu1.segmentapis.com/` endpoint. | ||
- If you're in the *EU West* data processing region, Segment's EU instance only supports data ingestion from Dublin with the `in.eu2.segmentapis.com` endpoint. | ||
|
||
All regions are configured on a **per-source** basis. You'll need to configure the region for each source separately if you don't want to use the default region. | ||
|
||
|
@@ -51,15 +51,15 @@ All Segment client-side SDKs read this setting and update themselves automatical | |
### Server-side and project sources | ||
When you send data from a server-side or project source, you can use the `host` configuration parameter to send data to the desired region: | ||
1. Oregon (Default) — `https://events.segmentapis.com/v1` | ||
2. Dublin — `https://events.eu1.segmentapis.com/` | ||
2. Dublin — `https://in.eu2.segmentapis.com` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think those examples only for us or eu data processing region not for proxy |
||
|
||
> success "" | ||
> If you are using the Segment EU endpoint with an Analytics-C# source, you must manually append `v1` to the URL. For instance, `events.eu1.segmentapis.com/v1`. | ||
> If you are using the Segment EU endpoint with an Analytics-C# source, you must manually append `v1` to the URL. For instance, `in.eu2.segmentapis.com`. | ||
|
||
Here is an example of how to set the host: | ||
|
||
```json | ||
Analytics.Initialize("<YOUR WRITEKEY HERE>", new Config().SetHost("https://events.eu1.segmentapis.com (https://events.eu1.segmentapis.com/)")); | ||
Analytics.Initialize("<YOUR WRITEKEY HERE>", new Config().SetHost("https://events.eu1.segmentapis.com (https://in.eu2.segmentapis.com)")); | ||
``` | ||
|
||
## Create a new workspace with a different region | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vbatanov & @vinodkone : I'm getting more confused now. 😬
Can you please confirm that we do still run the edge proxies in EU that forward all traffic to US?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@erikdw: Yes, we still running edge proxy in EU that forward traffic to US.
Regarding this PR changes
We could have two scenarios :
EU
workspace they must use the regional endpoint, which isevents.eu1.segmentapis.com
US
workspace and but desires to use the EU endpoint, they must use the edge proxy endpoint, which isin.eu2.segmentapis.com
The documentation need to be updated to include both cases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ohhh I seeee. will need to make some changes to my changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know if we still have the APAC edge proxies? I remember we set those up before, but not sure if they ever got used for reals.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we still have them and base on this metrics somebody still use them: https://segment.datadoghq.com/s/A9ih7c/df9-jqx-zpn
And would be better to mention them in this documentation as well:
US
workspace and but desires to use theap-southeast-1 (Singapore)
endpoint, they must use the edge proxy endpoint, which isin.ap1.segmentapis.com
US
workspace and but desires to use theap-southeast-2 (Sydney)
endpoint, they must use the edge proxy endpoint, which isin.au1.segmentapis.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
take a look at changes please and let me know what else might need done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, does this apply to server side end points or just client side?