Add info about logs histogram (#34886)

This commit is contained in:
Ivana Huckova 2021-05-28 17:07:27 +02:00 committed by GitHub
parent b47e7d12e6
commit 6adcfa9e50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -273,6 +273,9 @@ export class UnthemedLogs extends PureComponent<Props, State> {
return (
<>
<div className={styles.infoText}>
This datasource does not support full-range histograms. The graph is based on the logs seen in the response.
</div>
<ExploreGraphPanel
series={logsSeries || []}
width={width}
@ -425,5 +428,9 @@ const getStyles = stylesFactory((theme: GrafanaTheme) => {
logRows: css`
overflow-x: scroll;
`,
infoText: css`
font-size: ${theme.typography.size.sm};
color: ${theme.colors.textWeak};
`,
};
});