Welcome to mirror list, hosted at ThFree Co, Russian Federation.

api.js « graph_shared « components « pipelines « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 04ac15ae24cc1cdd875e4a3f955744081b7b6308 (plain)
1
2
3
4
5
6
7
8
import axios from '~/lib/utils/axios_utils';
import { reportToSentry } from '../graph/utils';

export const reportPerformance = (path, stats) => {
  axios.post(path, stats).catch((err) => {
    reportToSentry('links_inner_perf', `error: ${err}`);
  });
};