forked from grafana.jool/grafana-jool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
267 B
8 lines
267 B
import { getBackendSrv } from '@grafana/runtime';
|
|
import { StateHistoryItem } from 'app/types/unified-alerting';
|
|
|
|
export function fetchAnnotations(alertId: string): Promise<StateHistoryItem[]> {
|
|
return getBackendSrv().get('/api/annotations', {
|
|
alertId,
|
|
});
|
|
}
|
|
|