Skip to content

Commit

Permalink
add resource schema_url (#50)
Browse files Browse the repository at this point in the history
Fixes #49

---------

Signed-off-by: Alex Boten <[email protected]>
Co-authored-by: jack-berg <[email protected]>
  • Loading branch information
Alex Boten and jack-berg authored Oct 12, 2023
1 parent 1c5370d commit 6f5cbbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/kitchen-sink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -374,3 +374,5 @@ resource:
#
# Environment variable: OTEL_SERVICE_NAME
service.name: !!str "unknown_service"
# Configure the resource schema URL.
schema_url: https://opentelemetry.io/schemas/1.16.0
3 changes: 3 additions & 0 deletions schema/resource.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"properties": {
"attributes": {
"$ref": "#/$defs/Attributes"
},
"schema_url": {
"type": "string"
}
},
"$defs": {
Expand Down

0 comments on commit 6f5cbbb

Please sign in to comment.