post ui metrics
This commit is contained in:
parent
58d323fd97
commit
fb2ad33871
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ function sendPromMetric(name: string, value?: number) {
|
|||
let url = new URL(SDK_API_PATH + '/metric/ui');
|
||||
const params = { name: name, value: value ? value.toString() : '' };
|
||||
url.search = new URLSearchParams(params).toString();
|
||||
return fetch(url);
|
||||
return fetch(url, { method: 'post' });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue