mirror of
https://github.com/zoriya/drizzle-otel.git
synced 2026-06-07 04:34:46 +00:00
Merge branch 'main' into better-auth-package
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# OpenTelemetry for Next.js ecosystem
|
||||
# OpenTelemetry for TypeScript ecosystem
|
||||
|
||||
The released packages:
|
||||
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# @kubiks/otel-drizzle
|
||||
|
||||
## 2.0.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [`d082628`](https://github.com/kubiks-inc/otel/commit/d082628085d5a1b68b1cdd1cd533b1897c32985a) Thanks [@alex-holovach](https://github.com/alex-holovach)! - update README
|
||||
|
||||
## 2.0.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -18,6 +18,28 @@ yarn add @kubiks/otel-drizzle
|
||||
|
||||
**Peer Dependencies:** `@opentelemetry/api` >= 1.9.0, `drizzle-orm` >= 0.28.0
|
||||
|
||||
## Supported Frameworks
|
||||
|
||||
Works with any TypeScript framework and Node.js runtime that Drizzle supports including:
|
||||
|
||||
- Next.js
|
||||
- Fastify
|
||||
- NestJS
|
||||
- Nuxt
|
||||
- And many more...
|
||||
|
||||
## Supported Platforms
|
||||
|
||||
Works with any observability platform that supports OpenTelemetry including:
|
||||
|
||||
- [Kubiks](https://kubiks.ai)
|
||||
- [Sentry](https://sentry.io)
|
||||
- [Axiom](https://axiom.co)
|
||||
- [Datadog](https://www.datadoghq.com)
|
||||
- [New Relic](https://newrelic.com)
|
||||
- [SigNoz](https://signoz.io)
|
||||
- And others ...
|
||||
|
||||
## Usage
|
||||
|
||||
Simply wrap your database connection pool with `instrumentDrizzle()` before passing it to Drizzle:
|
||||
@@ -50,7 +72,9 @@ const instrumentedPool = instrumentDrizzle(pool, {
|
||||
const db = drizzle(instrumentedPool);
|
||||
```
|
||||
|
||||
### Works with Any Database
|
||||
### Works with All Drizzle-Supported Databases
|
||||
|
||||
This package supports **all databases that Drizzle ORM supports**, including PostgreSQL, MySQL, SQLite, Turso, Neon, PlanetScale, and more.
|
||||
|
||||
```typescript
|
||||
// PostgreSQL with node-postgres
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@kubiks/otel-drizzle",
|
||||
"version": "2.0.2",
|
||||
"version": "2.0.3",
|
||||
"private": false,
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
||||
Reference in New Issue
Block a user