Data source.

interface DataSource {
    createdAt?: Date;
    id: string;
    name: string;
    origin: DataSourceOrigin;
    projectId: string;
    region: Region;
    retentionDays: number;
    synchronizedWithGrafana: boolean;
    type: DataSourceType;
    updatedAt?: Date;
    url: string;
}

Properties

createdAt?: Date

Date the data source was created.

id: string

ID of the data source.

name: string

Data source name.

Data source origin.

projectId: string

ID of the Project the data source belongs to.

region: Region

Region of the data source.

retentionDays: number

BETA - Duration for which the data will be retained in the data source.

synchronizedWithGrafana: boolean

Indicates whether the data source is synchronized with Grafana.

Data source type.

updatedAt?: Date

Date the data source was last updated.

url: string

Data source URL.