Skip to content

Commit

Permalink
docs: Fix schema.log_namespace and telemetry.tags documentation (#17961)
Browse files Browse the repository at this point in the history
  • Loading branch information
spencergilbert authored and jszwedko committed Jul 14, 2023
1 parent 5e3ee65 commit c6dcbbe
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
2 changes: 1 addition & 1 deletion website/content/en/blog/log-namespacing.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,4 @@ be used.
[global log schema]: /docs/reference/configuration/global-options/#log_schema
[set_semantic_meaning]: /docs/reference/vrl/functions/#set_semantic_meaning
[remap]: /docs/reference/configuration/transforms/remap/
[global config]: /docs/reference/configuration/global-options/#log_namespacing
[global config]: /docs/reference/configuration/global-options/#schema.log_namespacing
30 changes: 21 additions & 9 deletions website/cue/reference/configuration.cue
Original file line number Diff line number Diff line change
Expand Up @@ -251,16 +251,28 @@ configuration: {
}
}
}
log_namespacing: {
common: false
schema: {
common: false
description: """
Globally enables / disables log namespacing. See [Log Namespacing](\(urls.log_namespacing_blog))
for more details. If you want to enable individual sources, there is a config
option in the source configuration.
Configures options for how Vector handles event schema.
"""
required: false
warnings: []
type: bool: default: false
required: false
type: object: {
examples: []
options: {
log_namespacing: {
common: false
description: """
Globally enables / disables log namespacing. See [Log Namespacing](\(urls.log_namespacing_blog))
for more details. If you want to enable individual sources, there is a config
option in the source configuration.
"""
required: false
warnings: []
type: bool: default: false
}
}
}
}

telemetry: {
Expand All @@ -277,7 +289,7 @@ configuration: {
description: """
Controls which tags should be included with the `vector_component_sent_events_total` and
`vector_component_sent_event_bytes_total` metrics.
"""
"""
type: object: {
examples: []
options: {
Expand Down

0 comments on commit c6dcbbe

Please sign in to comment.