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

Add site option to API and CLI #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zachazar
Copy link

@zachazar zachazar commented Dec 9, 2022

Description

Datadog now offers different sites in addition to EU (I imagine to load balance a bit). Here is the link to site docs. When your account uses a different site, the URL for ingesting logs is different. Here is a link to the API docs. On the API docs page if you select V1 and a different site, you'll see that the URL is different for ingesting logs.

Screen Shot 2022-12-09 at 8 22 34 AM

This PR

  • Adds a site option to allow you to change the datadog site (along with --site for cli). This option updates the url.
  • Updates documentation
  • Adds tests for new code

Checklist

  • run npm run test
    Screen Shot 2022-12-09 at 8 38 03 AM

  • tests and/or benchmarks are included

  • documentation is changed or added

  • commit message and code follows Code Of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant