Skip to content

Commit

Permalink
examples(vercel): add links for launch (#3499)
Browse files Browse the repository at this point in the history
* examples(vercel): add initial setup

* examples(vercel): edit readm

* examples(vercel): add test cases

* examples(vercel): remove tokens

* examples(vercel): edit readme

* examples(vercel): comment out dev env

* docs(vercel): update example readme

* examples(vercel): fixes

* examples(vercel): edit no otel sample

* example(vercel): edit main sample

* examples(vercel): quick fix

* fix

* edit title

* add link
  • Loading branch information
adnanrahic committed Jan 8, 2024
1 parent 1ea4f9c commit 94ec27e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/integration-testing-vercel-functions/README.md
@@ -1,6 +1,6 @@
# Integration Testing Vercel Functions with Tracetest and OpenTelemetry

This example is from the article [**Integration Testing Vercel Serverless Functions**](add link) showing how to run integration tests against Vercel Functions using [OpenTelemetry](https://opentelemetry.io/) and Tracetest.
This example is from the article [**Integration Testing Vercel Serverless Functions and OpenTelemetry**](https://tracetest.io/blog/integration-testing-vercel-serverless-functions-with-opentelemetry) showing how to run integration tests against Vercel Functions using [OpenTelemetry](https://opentelemetry.io/) and Tracetest.

This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

Expand Down Expand Up @@ -57,7 +57,7 @@ It's using Vercel Functions via `/pages/api`, with [OpenTelemetry configured as
4. Trigger Tracetest Tests via CLI

```bash
tracetest run test -f ./test-api.development.yaml
tracetest run test -f ./api.pokemon.spec.development.yaml
```

(Optional. Trigger Tracetest Tests via `app.tracetest.io` against `http://localhost:3000`)
Expand Down
Expand Up @@ -17,7 +17,8 @@ services:
tracetest-agent:
image: kubeshop/tracetest-agent:latest
environment:
- TRACETEST_API_KEY=ttagent_<apikey> # Add your key
# Find the Agent API Key here: https://docs.tracetest.io/configuration/agent
- TRACETEST_API_KEY=ttagent_<apikey>
ports:
- 4317:4317
- 4318:4318
Expand Down

0 comments on commit 94ec27e

Please sign in to comment.