Skip to content

Commit a92b6bd

Browse files
authored
Update to weaver 0.13.2 (#1902)
1 parent 87bd2c1 commit a92b6bd

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

.vscode/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"MD040": false,
1111
},
1212
"yaml.schemas": {
13-
"https://raw.githubusercontent.com/open-telemetry/weaver/v0.12.0/schemas/semconv.schema.json": [
13+
"https://raw.githubusercontent.com/open-telemetry/weaver/v0.13.2/schemas/semconv.schema.json": [
1414
"model/**/*.yaml"
1515
]
1616
},

dependencies.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Dependabot can keep this file up to date with latest containers.
44

55
# Weaver is used to generate markdown docs, and enforce policies on the model.
6-
FROM otel/weaver:v0.12.0 AS weaver
6+
FROM otel/weaver:v0.13.2 AS weaver
77

88
# OPA is used to test policies enforced by weaver.
99
FROM openpolicyagent/opa:1.1.0 AS opa

docs/gen-ai/gen-ai-agent-spans.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The `gen_ai.operation.name` SHOULD be `create_agent`.
3636
The **span name** SHOULD be `create_agent {gen_ai.agent.name}`.
3737
Semantic conventions for individual GenAI systems and frameworks MAY specify different span name format.
3838

39-
<!-- semconv span.gen_ai.client.create_agent -->
39+
<!-- semconv span.gen_ai.create_agent.client -->
4040
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
4141
<!-- see templates/registry/markdown/snippet.md.j2 -->
4242
<!-- prettier-ignore-start -->

model/gen-ai/spans.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,10 @@ groups:
147147
requirement_level:
148148
conditionally_required: If not default (443).
149149

150-
- id: span.gen_ai.client.create_agent
150+
- id: span.gen_ai.create_agent.client
151151
type: span
152152
stability: development
153+
span_kind: client
153154
brief: >
154155
Describes GenAI agent creation and is usually applicable when working
155156
with remote agent services.

templates/registry/markdown/stability.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% macro badge(stability, deprecated) -%}
2-
{%- if deprecated %}![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>{{ deprecated | trim }}
2+
{%- if deprecated %}![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>{{ deprecated.note | trim }}
33
{%- elif stability == "mixed" %}![Mixed](https://img.shields.io/badge/-mixed-yellow)
44
{%- elif stability == "stable" %}![Stable](https://img.shields.io/badge/-stable-lightgreen)
55
{%- elif stability == "release_candidate" %}![Release Candidate](https://img.shields.io/badge/-rc-mediumorchid)

0 commit comments

Comments
 (0)