-
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: Coralogix Processor #33090
Comments
Hello @galrose, since this is a vendor-specific component, I'll sponsor as I'm next in the list of rotating sponsors. A couple of comments/questions.
|
Hey @crobert-1 thanks for sponsoring the component 😄
The cache config options are the ristero cache config options sp.cache, err = ristretto.NewCache(&ristretto.Config{
NumCounters: numCounters, // number of keys to track frequency of.
MaxCost: cacheSize, // maximum cost of cache.
BufferItems: bufferItems, // number of keys per Get buffer.
}) |
Bit of a side note, but I'd suggest de-coupling the configuration options from the specific golang cache as much as possible, to make it simpler to change cache package if necessary. On the same note, it looks like the ristretto package hasn't had any new release for 1.5 years now, and I'm seeing some PRs that have been open for a long time without review. I have no experience with this package, but just thought I should call it out. Otherwise, you're welcome to start submitting PRs! Please follow the guide for adding new components, in terms of contents for each PR. Looking forward to making progress on this! |
That makes sense I'll update the configs in this issue accordingly. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
**Description:** <Describe what has changed.> Adding a feature - Adding a feature to create templates (blueprints) from sql queries. Currently specifically for postgresql and mysql queries. **Link to tracking Issue:** #33090 **Testing:** <Describe what testing was performed and which tests were added.> currently no tests, will be added in next PR **Documentation:** <Describe the documentation added.> Added documentation for possible configuration and the usecase of the processor --------- Co-authored-by: Curtis Robert <crobert@splunk.com> Co-authored-by: Antoine Toulme <atoulme@splunk.com>
**Description:** <Describe what has changed.> Adding a feature - Adding a feature to create templates (blueprints) from sql queries. Currently specifically for postgresql and mysql queries. **Link to tracking Issue:** open-telemetry#33090 **Testing:** <Describe what testing was performed and which tests were added.> currently no tests, will be added in next PR **Documentation:** <Describe the documentation added.> Added documentation for possible configuration and the usecase of the processor --------- Co-authored-by: Curtis Robert <crobert@splunk.com> Co-authored-by: Antoine Toulme <atoulme@splunk.com>
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
The purpose and use-cases of the new component
Coralogix processor is for clients using Coralogix.
The processor will have multiple features but the first one is, to template db.statements by removing the variables and replacing them with
?
. Which will add a new tag to the span called db.statement.blueprint.id and db.statement.blueprint. These will be used internally in Coralogix to be able to recognize which queries are of the same template.At the start we expect it to work only for postgresql, mysql, and sqlserver.
The processor will check the db.system and only if its in the recognized systems it will try to parse the query.
There is an option to work with sampling, and if so it will only add the sampling.priority key to db.statement.blueprints it has not seen before (using an internal cache), then it is possible to use the probabilistic sampler to only send new spans
Example configuration for the component
basic setup
with cache
Telemetry data types supported
traces
Is this a vendor-specific component?
Code Owner(s)
No response
Sponsor (optional)
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: