What is Vanta?
Vanta is event analytics for developers. Send structured events from your application, track numeric measurements and counters, and monitor the health of your services - all in a real-time dashboard.
Vanta is built around a few core ideas. Once you understand them, everything else follows:
Events
An event is a structured record of something that happened in your application - a signup, a purchase, a job completing, a command running. Events have a type (like user.signup) and optional data, a user ID, and context. Vanta stores every event and lets you query, filter, and visualize it.
Measurements and counters
Not everything is a discrete event. A measurement records an observed numeric value such as latency or memory usage. A counter tracks a quantity that changes over time, such as jobs processed or active connections.
Users and groups
Events can be associated with a user ID, and users can be grouped into groups such as a service, a workspace, or an organization. This lets you answer questions about who did what and where.
Uptime monitoring
Vanta can monitor whether your services are alive. Using heartbeats, your application periodically signals Vanta that it is still running, and Vanta tracks whether those signals arrive on time and records incidents when they do not.
The dashboard
The dashboard is where you explore your data: live event streams, query builders, charts, uptime monitors, and public pages you can share with anyone.
A first example
Tracking an event is a few lines of code:
import { Vanta } from '@vanta-dev/node'
const vanta = new Vanta({
apiKey: process.env.VANTA_API_KEY,
})
await vanta.track({
event: 'user.signup',
userId: '123',
data: { plan: 'free' },
})Here is what happens when you run it:
- 1Your applicationcalls vanta.track(...)
- 2Vanta SDKvalidates and buffers the event
- 3Vanta APIauthenticates, enriches and queues the event
- 4Workerpersists the event to the Vanta database
- 5Dashboardyou see the event appear, in real time