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

pull/52659/head
Joey Tawadrous 3 years ago committed by GitHub
parent f26c49ecc0
commit 39f385d2cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      public/app/plugins/datasource/tempo/QueryEditor/QueryField.tsx

@ -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' });
}

Loading…
Cancel
Save