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

Clarify readme example for how to send data to another site #1289

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

jonhyman
Copy link
Contributor

It turns out that string keys parameters on the server_variables doesn't work to update the site, it has to be a symbol key.

What does this PR do?

Fixes the README example for how to send data to another site, such as EU1.

We ran into an issue on our side where we were unable to get metric sending to work in EU1. Changing from string keys to symbol keys fixed it. There are two examples in the README, one with string and one with symbol keys.

Additional Notes

Review checklist

Please check relevant items below:

  • This PR includes all newly recorded cassettes for any modified tests.

  • This PR does not rely on API client schema changes.

    • The CI should be fully passing.
  • Or, this PR relies on API schema changes and this is a Draft PR to include tests for that new functionality.

    • Note: CI shouldn't be run on this Draft PR, as its expected to fail without the corresponding schema changes.

It turns out that string keys parameters on the server_variables doesn't work to update the site, it has to be a symbol key.
@jonhyman jonhyman requested a review from a team as a code owner March 25, 2023 00:24
@therve therve merged commit 392024f into DataDog:master Mar 27, 2023
@therve
Copy link
Contributor

therve commented Mar 27, 2023

Good catch, thank you!

github-actions bot pushed a commit that referenced this pull request Mar 27, 2023
It turns out that string keys parameters on the server_variables doesn't work to update the site, it has to be a symbol key. 392024f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants