Skip to content

Support for custom (enterprise) domains in site configuration variable #2456

@inhearst

Description

@inhearst

Is your feature request related to a problem? Please describe.
I use Datadog under an enterprise domain (like xxx.datadoghq.com) but it does not seem like I can set the URL in the configuration to this. I am able to use the Ruby API with this URL and it works correctly. Same as #1913 but it was closed for some reason.

Describe the solution you'd like
Ability to set the site and similar variables to our custom domain.

Describe alternatives you've considered
I can use another language, however a package I want to use (DD query parser) is only available in golang.

Additional context
Error info:

% go run main.go
Error when calling `MetricsApi.ListMetricAssets`: the variable site in the server URL has invalid value xxx.datadoghq.com. Must be [datadoghq.com us3.datadoghq.com us5.datadoghq.com ap1.datadoghq.com datadoghq.eu ddog-gov.com]
Full HTTP response: <nil>
Response from `MetricsApi.ListMetricAssets`:
{}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions