@overcastsre/vue
v2.0.0
Published
Overcast SRE monitoring SDK for Vue.js — captures everything via plugin.
Downloads
147
Maintainers
Readme
@overcast/vue
Overcast SRE monitoring SDK for Vue 3. One plugin — captures everything.
Install
npm install @overcast/vueUsage
import { createApp } from 'vue';
import { OvercastPlugin } from '@overcast/vue';
import App from './App.vue';
createApp(App)
.use(OvercastPlugin, { apiKey: 'oc_...', serviceName: 'my-app' })
.mount('#app');Captures everything from @overcast/browser plus:
- Vue component render errors
- Vue warnings (dev mode)
- Component names and lifecycle hooks in error context
- vue-router navigation tracking (auto-detected)
Composable
import { useOvercast } from '@overcast/vue';
const overcast = useOvercast();
overcast.info('User clicked checkout');