RegionalApiCreateDataSourceRequest: {
    name: string;
    projectId?: string;
    region?: Region;
    retentionDays?: number;
    type?: DataSourceType;
}

Create a data source.

Type declaration

  • name: string

    Data source name.

  • OptionalprojectId?: string

    ID of the Project the data source belongs to.

  • Optionalregion?: Region

    Region to target. If none is passed will use default region from the config.

  • OptionalretentionDays?: number

    Default values are 30 days for metrics, 7 days for logs and traces.

  • Optionaltype?: DataSourceType

    Data source type.