Open jvalrog opened 1 year ago
Hi @jvalrog,
Thanks for reaching out!
The issue you are reporting is related to this issue: https://github.com/elastic/apm-agent-rum-js/issues/865. There has not been any progress on it for the moment.
On this other issue (related to angular) you can find one the strategy/workaround a user followed to solve the issue
Thanks, Alberto
Thank you @devcorpio, I'll try that path then.
Hi!
Since still nothing has changed, I'm using the following declaration file:
declare module '@elastic/apm-rum-vue' {
import { AgentConfigOptions } from '@elastic/apm-rum';
import { App } from 'vue';
import { Router } from 'vue-router';
export interface IApmVuePluginOptions {
router?: Router;
captureErrors?: boolean;
config: AgentConfigOptions & {
errorThrottleLimit?: number;
errorThrottleInterval?: number;
transactionThrottleLimit?: number;
transactionThrottleInterval?: number;
queueLimit?: number;
monitorLongtasks?: boolean;
apmRequest?: (
requestParams: {
url: string;
method: string;
headers: string;
payload: any;
xhr: XMLHttpRequest;
}
) => boolean | Promise<boolean>;
sendCredentials?: boolean;
};
}
export const ApmVuePlugin: {
install(app: App, options: IApmVuePluginOptions): any;
};
}
Maybe someone will find it useful
@bpiaskiewicz Thanks a lot !!!!
So I'm trying to use this package "@elastic/apm-rum-vue" but I get that the declaration file is missing for Vue 3.
I'm using Vite btw.
I've followed the documentation but I'm missing something.
My dependencies:
Any help would be great, thanks.