mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -06:00
a4d4dd325f
* Add integration with Jeager Add Jaeger datasource and modify derived fields in loki to allow for opening a trace in Jager in separate split. Modifies build so that this branch docker images are pushed to docker hub Add a traceui dir with docker-compose and provision files for demoing.:wq * Enable docker logger plugin to send logs to loki * Add placeholder zipkin datasource * Fixed rebase issues, added enhanceDataFrame to non-legacy code path * Trace selector for jaeger query field * Fix logs default mode for Loki * Fix loading jaeger query field services on split * Updated grafana image in traceui/compose file * Fix prettier error * Hide behind feature flag, clean up unused code. * Fix tests * Fix tests * Cleanup code and review feedback * Remove traceui directory * Remove circle build changes * Fix feature toggles object * Fix merge issues * Add trace ui in Explore * WIP * WIP * WIP * Make jaeger datasource return trace data instead of link * Allow js in jest tests * Return data from Jaeger datasource * Take yarn.lock from master * Fix missing component * Update yarn lock * Fix some ts and lint errors * Fix merge * Fix type errors * Make tests pass again * Add tests * Fix es5 compatibility Co-authored-by: David Kaltschmidt <david.kaltschmidt@gmail.com>
37 lines
1.8 KiB
TypeScript
37 lines
1.8 KiB
TypeScript
// Copyright (c) 2017 Uber Technologies, Inc.
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
const keyboardMappings: Record<string, { binding: string | string[]; label: string }> = {
|
|
scrollPageDown: { binding: 's', label: 'Scroll down' },
|
|
scrollPageUp: { binding: 'w', label: 'Scroll up' },
|
|
scrollToNextVisibleSpan: { binding: 'f', label: 'Scroll to the next visible span' },
|
|
scrollToPrevVisibleSpan: { binding: 'b', label: 'Scroll to the previous visible span' },
|
|
panLeft: { binding: ['a', 'left'], label: 'Pan left' },
|
|
panLeftFast: { binding: ['shift+a', 'shift+left'], label: 'Pan left — Large' },
|
|
panRight: { binding: ['d', 'right'], label: 'Pan right' },
|
|
panRightFast: { binding: ['shift+d', 'shift+right'], label: 'Pan right — Large' },
|
|
zoomIn: { binding: 'up', label: 'Zoom in' },
|
|
zoomInFast: { binding: 'shift+up', label: 'Zoom in — Large' },
|
|
zoomOut: { binding: 'down', label: 'Zoom out' },
|
|
zoomOutFast: { binding: 'shift+down', label: 'Zoom out — Large' },
|
|
collapseAll: { binding: ']', label: 'Collapse All' },
|
|
expandAll: { binding: '[', label: 'Expand All' },
|
|
collapseOne: { binding: 'p', label: 'Collapse One Level' },
|
|
expandOne: { binding: 'o', label: 'Expand One Level' },
|
|
searchSpans: { binding: 'ctrl+b', label: 'Search Spans' },
|
|
clearSearch: { binding: 'escape', label: 'Clear Search' },
|
|
};
|
|
|
|
export default keyboardMappings;
|