Remove need to use lowercase in span name dropdown (#52645)

This commit is contained in:
Joey Tawadrous 2022-07-22 14:34:46 +01:00 committed by GitHub
parent f26c49ecc0
commit 39f385d2cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,10 +78,6 @@ class TempoQueryFieldComponent extends React.PureComponent<Props> {
{ value: 'serviceMap', label: 'Service Graph' },
];
// span names in Tempo search links (generated on the service graph page) are in camel case (for Prometheus queries)
// but the span name dropdown menu in the search tab is lower case
query.spanName = query.spanName?.toLowerCase();
if (!datasource?.search?.hide) {
queryTypeOptions.unshift({ value: 'nativeSearch', label: 'Search' });
}