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