Cloudwatch Logs: Clarify Cloudwatch Logs Limits (#67072)

Clarify Cloudwatch Logs Limits
This commit is contained in:
Sarah Zinger
2023-04-24 08:47:29 -04:00
committed by GitHub
parent 86be40555f
commit 5f16cd5124
3 changed files with 16 additions and 4 deletions

View File

@@ -74,9 +74,9 @@ export const ConfigEditor = (props: Props) => {
<h3 className="page-heading">CloudWatch Logs</h3>
<div className="gf-form-group">
<InlineField
label="Timeout"
label="Retry Timeout"
labelWidth={28}
tooltip='Custom timeout for CloudWatch Logs insights queries which have max concurrency limits. Default is 15 minutes. Must be a valid duration string, such as "15m" "30s" "2000ms" etc.'
tooltip='Cloudwatch Logs allows for a maximum of 30 concurrent queries. If Grafana hits a concurrent max query error from Cloudwatch Logs it will auto-retry requesting a query for up to 30min. This retry timeout strategy is configurable. Must be a valid duration string, such as "15m" "30s" "2000ms" etc.'
invalid={Boolean(logsTimeoutError)}
>
<Input

View File

@@ -139,11 +139,22 @@ export const LogGroupsSelector = ({
<div>
{!isLoading && selectableLogGroups.length >= 25 && (
<>
<Label className={styles.limitLabel}>
<div className={styles.limitLabel}>
<Icon name="info-circle"></Icon>
Only the first 50 results can be shown. If you do not see an expected log group, try narrowing down your
search.
</Label>
<p>
A{' '}
<a
target="_blank"
rel="noopener noreferrer"
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/cloudwatch_limits_cwl.html"
>
maximum{' '}
</a>{' '}
of 50 Cloudwatch log groups can be queried at one time.
</p>
</div>
<Space layout="block" v={1} />
</>
)}

View File

@@ -26,6 +26,7 @@ const getStyles = (theme: GrafanaTheme2) => ({
svg: {
marginRight: theme.spacing(0.5),
},
fontSize: 12,
}),
logGroupCountLabel: css({