mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
* CloudWatch: Datasource improvements * Add statistic as template variale * Add wildcard to list of values * Template variable intercept dimension key * Return row specific errors when transformation error occured * Add meta feedback * Make it possible to retrieve values without known metrics * Add curated dashboard for EC2 * Fix broken tests * Use correct dashboard name * Display alert in case multi template var is being used for some certain props in the cloudwatch query * Minor fixes after feedback * Update dashboard json * Update snapshot test * Make sure region default is intercepted in cloudwatch link * Update dashboards * Include ec2 dashboard in ds * Do not include ec2 dashboard in beta1 * Display actual region
28 lines
719 B
TypeScript
28 lines
719 B
TypeScript
import React, { FunctionComponent } from 'react';
|
|
|
|
export interface Props {
|
|
region: string;
|
|
}
|
|
|
|
export const ThrottlingErrorMessage: FunctionComponent<Props> = ({ region }) => (
|
|
<p>
|
|
Please visit the
|
|
<a
|
|
target="_blank"
|
|
className="text-link"
|
|
href={`https://${region}.console.aws.amazon.com/servicequotas/home?region=${region}#!/services/monitoring/quotas/L-5E141212`}
|
|
>
|
|
AWS Service Quotas console
|
|
</a>
|
|
to request a quota increase or see our
|
|
<a
|
|
target="_blank"
|
|
className="text-link"
|
|
href={`https://grafana.com/docs/features/datasources/cloudwatch/#service-quotas`}
|
|
>
|
|
documentation
|
|
</a>
|
|
to learn more.
|
|
</p>
|
|
);
|