Add info about logs histogram (#34886) (#34910)

(cherry picked from commit 6adcfa9e50)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot) 2021-05-28 11:31:53 -04:00 committed by GitHub
parent 3652af9e0b
commit 0101d3a51d
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};
`,
};
});