From 39f385d2cd3357f7efcbc222f7b27c657e3f2030 Mon Sep 17 00:00:00 2001 From: Joey Tawadrous <90795735+joey-grafana@users.noreply.github.com> Date: Fri, 22 Jul 2022 14:34:46 +0100 Subject: [PATCH] Remove need to use lowercase in span name dropdown (#52645) --- .../app/plugins/datasource/tempo/QueryEditor/QueryField.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/public/app/plugins/datasource/tempo/QueryEditor/QueryField.tsx b/public/app/plugins/datasource/tempo/QueryEditor/QueryField.tsx index f9bfb4bc56e..246764fad12 100644 --- a/public/app/plugins/datasource/tempo/QueryEditor/QueryField.tsx +++ b/public/app/plugins/datasource/tempo/QueryEditor/QueryField.tsx @@ -78,10 +78,6 @@ class TempoQueryFieldComponent extends React.PureComponent { { 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' }); }