Skip to content

Commit

Permalink
adding comments, sections for all languages
Browse files Browse the repository at this point in the history
  • Loading branch information
brettmc committed May 23, 2024
1 parent 26ff699 commit 92b40a6
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
9 changes: 8 additions & 1 deletion examples/kitchen-sink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -446,22 +446,29 @@ instrumentation:
#
# See http semantic conventions: https://opentelemetry.io/docs/specs/semconv/http/
http:
# Configure instrumentations following the http client semantic conentions.
# Configure instrumentations following the http client semantic conventions.
client:
request:
capture-headers:
- X-Foo
response:
capture-headers:
- X-Foo
# Configure instrumentations following the http server semantic conventions.
server:
request:
capture-headers:
- X-Bar
response:
capture-headers:
- X-Bar
# Configure instrumentations following the db semantic conventions.
#
# See db semantic conventions: https://opentelemetry.io/docs/specs/semconv/database/
db:
# Configure database statement sanitization.
#
# See https://opentelemetry.io/docs/specs/semconv/database/database-spans/#common-attributes
statement-sanitizer:
enabled: true
# Language-specific module options
Expand Down
34 changes: 33 additions & 1 deletion schema/instrumentation.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,21 @@
}
}
},
"android": {
"$ref": "#/$defs/AndroidModules"
},
"cpp": {
"$ref": "#/$defs/CppModules"
},
"dotnet": {
"$ref": "#/$defs/DotnetModules"
},
"erlang": {
"$ref": "#/$defs/ErlangModules"
},
"go": {
"$ref": "#/$defs/GoModules"
},
"java": {
"$ref": "#/$defs/JavaModules"
},
Expand All @@ -60,6 +75,15 @@
},
"python": {
"$ref": "#/$defs/PythonModules"
},
"ruby": {
"$ref": "#/$defs/RubyModules"
},
"rust": {
"$ref": "#/$defs/RustModules"
},
"swift": {
"$ref": "#/$defs/SwiftModules"
}
},
"$defs": {
Expand Down Expand Up @@ -106,9 +130,17 @@
}
}
},
"AndroidModules": {},
"CppModules": {},
"DotnetModules": {},
"ErlangModules": {},
"GoModules": {},
"JavaModules": {},
"JsModules": {},
"PhpModules": {},
"PythonModules": {}
"PythonModules": {},
"RubyModules": {},
"RustModules": {},
"SwiftModules": {}
}
}

0 comments on commit 92b40a6

Please sign in to comment.