mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 15:29:01 +08:00
chore: changed default sample alert to High RPS (#497)
This commit is contained in:
parent
dc9ffcdd45
commit
8bf0123370
@ -12,7 +12,7 @@ import { ButtonContainer, Title } from './styles';
|
|||||||
|
|
||||||
const CreateAlert = (): JSX.Element => {
|
const CreateAlert = (): JSX.Element => {
|
||||||
const value = useRef<string>(
|
const value = useRef<string>(
|
||||||
`\n alert: <alert name>\n expr: system_cpu_load_average_1m > 0.01\n for: 0m\n labels:\n severity: warning\n annotations:\n summary: High CPU load\n description: "CPU load is > 0.01\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"\n `,
|
`\n alert: High RPS\n expr: sum(rate(signoz_latency_count{span_kind="SPAN_KIND_SERVER"}[2m])) by (service_name) > 100\n for: 0m\n labels:\n severity: warning\n annotations:\n summary: High RPS of Applications\n description: "RPS is > 100\n\t\t\t VALUE = {{ $value }}\n\t\t\t LABELS = {{ $labels }}"\n `,
|
||||||
);
|
);
|
||||||
|
|
||||||
const [newAlertState, setNewAlertState] = useState<
|
const [newAlertState, setNewAlertState] = useState<
|
||||||
|
Loading…
x
Reference in New Issue
Block a user