https://github.com/mdp/prisma_hyperdx
A quick sample of tracing in Prisma with OpenTelemetry and sending it to HyperDX
https://github.com/mdp/prisma_hyperdx
Last synced: 9 months ago
JSON representation
A quick sample of tracing in Prisma with OpenTelemetry and sending it to HyperDX
- Host: GitHub
- URL: https://github.com/mdp/prisma_hyperdx
- Owner: mdp
- License: mit
- Created: 2023-12-06T20:26:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-06T20:27:25.000Z (over 2 years ago)
- Last Synced: 2025-01-23T12:14:54.091Z (over 1 year ago)
- Language: TypeScript
- Size: 56.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Setting up Primsa tracing with HyperDX
## Getting started
This repository includes a `.devcontainer` to run both the NodeJS app and the Postgres server for Prisma via docker compose.
First copy .env.sample to `.env` and update your HyperDX ingestion API key. Then:
- `git clone <>`
- `yarn install`
- `yarn prisma migrate dev`
- `yarn prisma seed`
- `yarn start`
At this point you should be able to visit http://localhost:3000/ and see a list of posts by user. Check your HyperDX console and you'll see the traces there.
## How it works
TODO: Update readme with better docs and more explanations