Skip to content

DatadogSite

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

enum DatadogSite : Enum<DatadogSite>

Defines the Datadog sites you can send tracked data to.

Parameters

siteName Explicit site name property introduced in order to have a consistent SDK instance ID (because this value is used there) in case if enum values are renamed.
intakeHostName the host name for the given site.

Entries

US1

US1

The US1 site: app.datadoghq.com.

Properties

Name Summary
intakeEndpoint [androidJvm]
val intakeEndpoint: String
The intake endpoint url.
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

US3

US3

The US3 site: us3.datadoghq.com.

Properties

Name Summary
intakeEndpoint [androidJvm]
val intakeEndpoint: String
The intake endpoint url.
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

US5

US5

The US5 site: us5.datadoghq.com.

Properties

Name Summary
intakeEndpoint [androidJvm]
val intakeEndpoint: String
The intake endpoint url.
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

EU1

EU1

The EU1 site: app.datadoghq.eu.

Properties

Name Summary
intakeEndpoint [androidJvm]
val intakeEndpoint: String
The intake endpoint url.
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

AP1

AP1

The AP1 site: ap1.datadoghq.com.

Properties

Name Summary
intakeEndpoint [androidJvm]
val intakeEndpoint: String
The intake endpoint url.
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

US1_FED

US1_FED

The US1_FED site (FedRAMP compatible): app.ddog-gov.com.

Properties

Name Summary
intakeEndpoint [androidJvm]
val intakeEndpoint: String
The intake endpoint url.
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

STAGING

STAGING

The STAGING site (internal usage only): app.datad0g.com.

Properties

Name Summary
intakeEndpoint [androidJvm]
val intakeEndpoint: String
The intake endpoint url.
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

Properties

intakeEndpoint

val intakeEndpoint: String

The intake endpoint url.

Functions

valueOf

fun valueOf(value: String): DatadogSite

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
IllegalArgumentException if this enum type has no constant with the specified name

values

fun values(): Array<DatadogSite>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

Clone this wiki locally