-
Notifications
You must be signed in to change notification settings - Fork 549
Add docs for resource out otel #2405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,7 +37,8 @@ Only HTTP endpoints are supported. | |
| | `logs_max_resources` | Set the maximum number of OTLP log resources per export request (`0` disables the limit). | `0` | | ||
| | `logs_max_scopes` | Set the maximum number of OTLP log scopes per resource (`0` disables the limit). | `0` | | ||
| | `logs_metadata_key` | Set the key to look up in the metadata. | `otlp` | | ||
| | `logs_resource_metadata_key` | Specify a `Resource` key. | `Resource` | | ||
| | `logs_resource_metadata_key` | Specify a `Resource` key. | `Resource` | ||
| | `logs_resource_attributes_message_key` | Specify a `Resource` key. | _none_ | | ||
| | `log_response_payload` | Specify if the response payload should be logged or not. | `true` | | ||
| | `logs_severity_number_message_key` | Specify a `SeverityNumber` key. | `$severityNumber` | | ||
| | `logs_severity_number_metadata_key` | Specify a `SeverityNumber` key. | `$SeverityNumber` | | ||
|
|
@@ -135,6 +136,7 @@ pipeline: | |
| logs_trace_id_message_key: trace_id | ||
| logs_severity_text_message_key: loglevel | ||
| logs_severity_number_message_key: lognum | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Keep YAML and classic config examples aligned. The new option is shown in the Suggested YAML addition logs_severity_text_message_key: loglevel
logs_severity_number_message_key: lognum
+ logs_resource_attributes_message_key: application_id🤖 Prompt for AI Agents
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @cb645j need to fix this one.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| # add user-defined labels | ||
| add_label: | ||
| - app fluent-bit | ||
|
|
@@ -184,6 +186,8 @@ pipeline: | |
| logs_trace_id_message_key trace_id | ||
| logs_severity_text_message_key loglevel | ||
| logs_severity_number_message_key lognum | ||
| logs_resource_attributes_message_key application_id | ||
| logs_resource_attributes_message_key service_name | ||
eschabell marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| # add user-defined labels | ||
| add_label app fluent-bit | ||
| add_label color blue | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clarify the new key’s purpose in the parameter table.
At Line 41, the description currently matches
logs_resource_metadata_keysemantics and is too vague. Please make it explicit that this is a message-field key promoted into Resource attributes.Suggested doc wording
📝 Committable suggestion
🤖 Prompt for AI Agents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cb645j add a bit more clarity for each one in the description please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.