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

test: reuse examples in quickstart #1507

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

test: reuse examples in quickstart #1507

wants to merge 1 commit into from

Conversation

sagikazarmark
Copy link
Contributor

@sagikazarmark sagikazarmark commented Sep 13, 2024

Overview

This PR ensures that the examples in the quick start guide are the same used in tests to make sure the quick start guide works.

Notes for reviewer

A downside of this change that the README no longer contains the ingested event JSON, but IMO that's a small price to pay. User can always look at the files themselves and it's actually easier to copy the command this way.

Signed-off-by: Mark Sagi-Kazar <[email protected]>
@sagikazarmark sagikazarmark added the release-note/misc Miscellaneous changes label Sep 13, 2024
@hekike
Copy link
Contributor

hekike commented Sep 13, 2024

To reduce the impact of event body is not visible anymore in .md, we can link from README to:
https://openmeter.io/docs/get-started/quick-start

Where we have events.

@sagikazarmark
Copy link
Contributor Author

It's kind of the point though: use a single source of truth for those events and make sure changing them in one place propagates to everywhere else. So linking to the docs isn't any better either. The docs should have the same instructions.

@GAlexIHU
Copy link
Contributor

@hekike As an option, we could template the quickstart README with the JSONs if that sound better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc Miscellaneous changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants