mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
Prometheus: Fix exemplars hover disappearing and broken link (#33866)
* Revert "Tooltip: eliminate flickering when repaint can't keep up (#33609)"
This reverts commit e159985aa2.
* Fix exemplar linking
Co-authored-by: David Kaltschmidt <david.kaltschmidt@gmail.com>
This commit is contained in:
co-authored by
David Kaltschmidt
parent
0d044285a9
commit
03e4bad50a
@@ -64,7 +64,6 @@ export function getFocusStyles(theme: GrafanaTheme2): CSSObject {
|
||||
|
||||
// max-width is set up based on .grafana-tooltip class that's used in dashboard
|
||||
export const getTooltipContainerStyles = (theme: GrafanaTheme2) => `
|
||||
pointer-events: none;
|
||||
overflow: hidden;
|
||||
background: ${theme.colors.background.secondary};
|
||||
box-shadow: ${theme.shadows.z2};
|
||||
|
||||
@@ -149,7 +149,7 @@ function getDataLinks(options: ExemplarTraceIdDestination): DataLink[] {
|
||||
title: `Query with ${dsSettings?.name}`,
|
||||
url: '',
|
||||
internal: {
|
||||
query: { query: '${__value.raw}', queryType: 'getTrace' },
|
||||
query: { query: '${__value.raw}', queryType: 'traceId' },
|
||||
datasourceUid: options.datasourceUid,
|
||||
datasourceName: dsSettings?.name ?? 'Data source not found',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user