-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
New component: sumologicprocessor #23949
New component: sumologicprocessor #23949
Conversation
I may try to split that PR to smaller ones if it'll help. Now it is just moved from Sumo Logic repository and adjusted due to Adding nee components instruction |
29a7a55
to
72356b3
Compare
7ed6d9f
to
02205a2
Compare
nest_attributes: | ||
# Defines whether attributes should be nested. | ||
# default = false | ||
enabled: {true, false} | ||
|
||
# Defines the string used to separate key names in attributes that are to be nested. | ||
# default = "." | ||
separator: <separator> | ||
|
||
# Defines a list of allowed prefixes to be nested. | ||
# For example, if "kubernetes." is in this list, then all "kubernetes.*" attributes will be nested. | ||
# default = [] | ||
include: [<prefix>] | ||
|
||
# Defines a list of prefixes not allowed to be nested. | ||
# For example, if "k8s." is in this list, then all "k8s.*" attributes will not be nested. | ||
# default = [] | ||
exclude: [<prefix>] | ||
|
||
# If enabled, then maps that would have only one value will be squashed. | ||
# For example,{"k8s": {"pods": {"a": "A", "b": "B"}}} | ||
# will be squashed to {"k8s.pods": {"a": "A", "b": "B"}} | ||
# default = false | ||
squash_single_values: {true, false} | ||
|
||
# Specifies if attributes matching given pattern should be mapped to a common key. | ||
# See "Aggregating attributes" documentation chapter from this document. | ||
# default = [] | ||
aggregate_attributes: | ||
- attribute: <attribute> | ||
prefixes: [<prefix>] | ||
- ... | ||
|
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.
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.
What would be the migration path once these are resolved?
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.
- Mark configuration as deprecated and add warning in case of using it and also instruction how to use new configuration
- Remove support for the functionality, but leaving logs in order to avoid confusion with default missing configuration error
- Remove logs and configuration option completely
I don't know if it's needed, but I confirm my will to be a codeowner for this component. |
9d4e8f6
to
de15738
Compare
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
@evan-bradley Could you take a look? |
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.
@sumo-drosiek This PR is fairly large, so I only did a surface pass. I will try to go back and do an in-depth review within a week.
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Thank you, I made requested changes |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Co-authored-by: Daniel Jaglowski <jaglows3@gmail.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Co-authored-by: Andrzej Stencel <astencel@sumologic.com>
Co-authored-by: Andrzej Stencel <astencel@sumologic.com>
Co-authored-by: Andrzej Stencel <astencel@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
…gation Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
15de60c
to
e819f3b
Compare
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
**Description:** Adds Sumo Logic Processor The Sumo Logic processor (config name: `sumologic`) modifies the metadata on logs, metrics and traces sent to [Sumo Logic][sumologic_webpage] so that the Sumo Logic [apps][sumologic_apps] can make full use of the ingested data. [sumologic_webpage]: https://www.sumologic.com [sumologic_apps]: https://www.sumologic.com/applications/ **Link to tracking Issue:** open-telemetry#23946 **Testing:** - Unit tests - Component is being used by our customers **Documentation:** `README.md` --------- Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> Co-authored-by: Daniel Jaglowski <jaglows3@gmail.com> Co-authored-by: Andrzej Stencel <astencel@sumologic.com>
**Description:** Adds Sumo Logic Processor The Sumo Logic processor (config name: `sumologic`) modifies the metadata on logs, metrics and traces sent to [Sumo Logic][sumologic_webpage] so that the Sumo Logic [apps][sumologic_apps] can make full use of the ingested data. [sumologic_webpage]: https://www.sumologic.com [sumologic_apps]: https://www.sumologic.com/applications/ **Link to tracking Issue:** open-telemetry#23946 **Testing:** - Unit tests - Component is being used by our customers **Documentation:** `README.md` --------- Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> Co-authored-by: Daniel Jaglowski <jaglows3@gmail.com> Co-authored-by: Andrzej Stencel <astencel@sumologic.com>
Description:
Adds Sumo Logic Processor
The Sumo Logic processor (config name:
sumologic
)modifies the metadata on logs, metrics and traces sent to Sumo Logic
so that the Sumo Logic apps can make full use of the ingested data.
Link to tracking Issue: #23946
Testing:
Documentation:
README.md