Tempo: Remove unused functions in datasource.ts (#54081)

This commit is contained in:
Hamas Shafiq
2022-08-23 12:02:43 +01:00
committed by GitHub
parent 26dfdd5af3
commit 5f80bf5297

View File

@@ -419,16 +419,6 @@ export class TempoDatasource extends DataSourceWithBackend<TempoQuery, TempoJson
return searchQuery;
}
async getServiceGraphLabels() {
const ds = await getDatasourceSrv().get(this.serviceMap!.datasourceUid);
return ds.getTagKeys!();
}
async getServiceGraphLabelValues(key: string) {
const ds = await getDatasourceSrv().get(this.serviceMap!.datasourceUid);
return ds.getTagValues!({ key });
}
// Get linked loki search datasource. Fall back to legacy loki search/trace to logs config
getLokiSearchDS = (): string | undefined => {
const legacyLogsDatasourceUid =