semantic-conventions/templates/registry/markdown/weaver.yaml

59 lines
1.6 KiB
YAML

templates:
- pattern: attributes_readme.md.j2
filter: '.groups | map(select(.type == "attribute_group")) | map(select(.id | startswith("registry"))) | group_by(.id | split(".") | .[1]) | map({id: .[0].id | split(".") | .[1], groups: .})'
application_mode: single
file_name: attributes/README.md
- pattern: attribute_namespace.md.j2
filter: '.groups | map(select(.type == "attribute_group")) | map(select(.id | startswith("registry"))) | group_by(.id | split(".") | .[1]) | map({id: .[0].id | split(".") | .[1], groups: .})'
application_mode: each
file_name: attributes/{{ ctx.id | lower | kebab_case }}.md
- pattern: registry_readme.md.j2
filter: '.'
application_mode: single
file_name: README.md
- pattern: entity_readme.md.j2
filter: '.groups | map(select(.type == "entity")) | group_by(.name | split(".") | .[0]) | map({id: .[0].id | split(".") | .[1], groups: .})'
application_mode: single
file_name: 'entities/README.md'
- pattern: entity_namespace.md.j2
filter: '.groups | map(select(.type == "entity")) | group_by(.name | split(".") | .[0]) | map({id: .[0].id | split(".") | .[1], groups: .})'
application_mode: each
file_name: 'entities/{{ ctx.id | kebab_case }}.md'
acronyms:
- AI
- AWS
- CICD
- CloudEvents
- CloudFoundry
- CLR
- CPython
- CPU
- CSI
- DB
- DNS
- DynamoDB
- ECS
- EKS
- GCE
- GCP
- GraphQL
- HTTP
- iOS
- JVM
- NodeJS
- OCI
- OpenAI
- OpenTracing
- OracleDB
- OS
- OTel
- RabbitMQ
- RocketMQ
- RPC
- S3
- SignalR
- TLS
- URL
- VCS
- zOS