-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate markdown snippets using weaver_forge templates (#141)
* Prototype snippets on templates Create a prototype where markdown snippets are generated using Jinja / weaver_forge. - Fix an issue in cache/git resolver now that semconv repo has non-model yaml files. - Add new hooks in weaver_forge for generating just strings from templates. - Add optional weaver_forge support to weaver_semconv_gen for snippet generation. Lots of things that should be config are still hardcoded. * Add docs for snippet feature - Update to only use ONE snippet template for all snippets. - Update context for snippets to include attribute registry base url - Update documentation. * Fix clippy * Update allowed external types for semconv_gen * Remove publicly exposed jinja error. * Add weaver cache error to allowed external types. * Fix rustfmt issue. * Fix gen to use template-group instead of raw group. * Fix clippy issue * Fix from review.
- Loading branch information
Showing
13 changed files
with
350 additions
and
51 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!-- semconv registry.user_agent --> | ||
attribute_table: registry.user_agent | ||
<!-- endsemconv --> | ||
|
||
<!-- semconv metric.http.server.request.duration(metric_table) --> | ||
metric_table: metric.http.server.request.duration | ||
<!-- endsemconv --> |
Oops, something went wrong.