Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(examples): Adding Tracetest Typescript Example #3559

Merged
merged 13 commits into from Jan 26, 2024

Conversation

xoscar
Copy link
Collaborator

@xoscar xoscar commented Jan 24, 2024

This PR updates the examples folder adding the Typescript example using the new @tracetest/client package.

Changes

  • Adds new example
  • Adds new recipe

Fixes

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

Loom video

localhost_3000_tools-and-integrations_typescript

@xoscar xoscar self-assigned this Jan 24, 2024
name: pokeshop

services:
app:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say naming this tracetest-client makes most sense.

otel-collector:
condition: service_started

tracetest-agent:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Putting this at the top with tracetest-client would make sense to keep them together for clarity.

@@ -0,0 +1,66 @@
import Tracetest from '@tracetest/core';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think renaming @tracetest/core to @tracetest/client will make sense in the long run. We would only call the OSS product Tracetest Core. WDYT?

@adnanrahic
Copy link
Contributor

This is awesome! Great work @xoscar 💪
We're moving into the space of programmatically triggering tests and it's super cool.

I have a technical question. How does the npm client library interact with Tracetest Agent? I don't quite understand that part.

@xoscar xoscar marked this pull request as ready for review January 26, 2024 17:44
Copy link
Member

@jfermi jfermi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An editing suggestion.

xoscar and others added 2 commits January 26, 2024 11:48
Co-authored-by: Julianne Fermi <julianne@kubeshop.io>
@xoscar xoscar merged commit ec749e6 into main Jan 26, 2024
37 checks passed
@xoscar xoscar deleted the feat-tracetest-typescript-example branch January 26, 2024 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants