Skip to content
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

add a new ottl func to calculate sql fingerprint and sql format #37023

Closed
haifzhu opened this issue Jan 4, 2025 · 2 comments
Closed

add a new ottl func to calculate sql fingerprint and sql format #37023

haifzhu opened this issue Jan 4, 2025 · 2 comments
Labels
enhancement New feature or request needs triage New item requiring triage pkg/ottl

Comments

@haifzhu
Copy link

haifzhu commented Jan 4, 2025

Component(s)

pkg/ottl

Is your feature request related to a problem? Please describe.

When we use otel collector collect slow sql from db slow sql file, we should format the sql and calculate the sql fingerprint before store it to elasticsearch.

Describe the solution you'd like

Add one ottl func to support sql format and calculate sql fingerprint.

Describe alternatives you've considered

No response

Additional context

No response

@haifzhu haifzhu added enhancement New feature or request needs triage New item requiring triage labels Jan 4, 2025
Copy link
Contributor

github-actions bot commented Jan 4, 2025

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@TylerHelmuth
Copy link
Member

@haifzhu I believe this is a duplicate of #34610. Please ping me if you think otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage New item requiring triage pkg/ottl
Projects
None yet
Development

No branches or pull requests

2 participants