mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Remove need to use lowercase in span name dropdown (#52645)
This commit is contained in:
parent
f26c49ecc0
commit
39f385d2cd
@ -78,10 +78,6 @@ class TempoQueryFieldComponent extends React.PureComponent<Props> {
|
|||||||
{ value: 'serviceMap', label: 'Service Graph' },
|
{ 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) {
|
if (!datasource?.search?.hide) {
|
||||||
queryTypeOptions.unshift({ value: 'nativeSearch', label: 'Search' });
|
queryTypeOptions.unshift({ value: 'nativeSearch', label: 'Search' });
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user