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

fix(external docs): Fix log/metric example output #9542

Merged
merged 2 commits into from
Oct 9, 2021

Conversation

lucperkins
Copy link
Contributor

@lucperkins lucperkins commented Oct 9, 2021

Fixes #9306

It's a bit quick and dirty but it does the job. I'm gonna try to convert this script to Typescript to make it a bit less janky. Until then, this should work fine.

Here's the fixed Syslog source example:

https://deploy-preview-9542--vector-project.netlify.app/docs/reference/configuration/sources/syslog/#examples-syslog-event

Signed-off-by: Luc Perkins <luc.perkins@datadoghq.com>
@netlify
Copy link

netlify bot commented Oct 9, 2021

✔️ Deploy Preview for vector-project ready!

🔨 Explore the source changes: 81c07ed

🔍 Inspect the deploy log: https://app.netlify.com/sites/vector-project/deploys/6160ea70836f400007fd959c

😎 Browse the preview: https://deploy-preview-9542--vector-project.netlify.app

Signed-off-by: Luc Perkins <luc.perkins@datadoghq.com>
@lucperkins
Copy link
Contributor Author

I'm gonna YOLO merge this to get it out the door. I feel mildly bad but I promise not to make it a habit!

@lucperkins lucperkins merged commit 59fef46 into master Oct 9, 2021
@lucperkins lucperkins deleted the fix-example-config-gen branch October 9, 2021 01:14
lucperkins added a commit that referenced this pull request Oct 9, 2021
* Strip log and metric key from example output

Signed-off-by: Luc Perkins <luc.perkins@datadoghq.com>

* Indent JSON two spaces

Signed-off-by: Luc Perkins <luc.perkins@datadoghq.com>
Copy link
Member

@jszwedko jszwedko left a comment

Choose a reason for hiding this comment

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

Thanks @lucperkins !

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.

Website examples rendering includes event wrapper
2 participants